Hi together, after I've seen that there log4cpp is now part of the buildroot, I've appended the related package to the 2016.5 version, by getting the related stuff from the git repository in the newest version. The compile itself works fine, but it fails when run as user, as the related install part tries to write data to /usr/doc, where now write access is allowed. Searching around for the different compile flags from log4cpp itself, it shown up, that the problem can be suppressed, by deactivating the logging itself with the following line in the log4cpp.mk: LOG4CPP_CONF_OPTS += "--disable-doxygen" But this part deactivates all kind of documentation stuff. I've tried a couple of different things to change path specification done via the LOG4CPP_STAGING_CONFIG_SCRIPT_FIXUP definition. I.e the following ones: --datarootdir --mandir --docdir Not all at once, but tried some variants. But didn't help. The reduced build log part to the relevant part is: /bin/bash ../config/mkinstalldirs /usr/share/man/man3 /usr/bin/install -c -m 644 ./man/man3/log4cpp.3/usr/share/man/man3/log4cpp.3 /usr/bin/install: cannot create regular file '/usr/share/man/man3/log4cpp.3': Permission denied If the full build log is necessary, I can append it, too. As I've not run through the whole Makefile, it seems like some of the path definitions is not done in a correct way. Hope there is a cleaner way to allow the compile the package and keeping all parts of documentation alive and present within the output staging folder. Never the less thanks for appending the log4cpp package to the infrastructure Greets Martin
This problem has already been fixed in commit https://git.buildroot.org/buildroot/commit/package/log4cpp?id=bf20a49d4c2f064015b4d437a7cd98c6dd8ce4ff, which is part of Buildroot since 2016.08. This commit disables the build of the documentation, since Buildroot generally doesn't build the documentation of its packages.