All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 9216] New: log4cpp package build fails to build within install
@ 2016-09-02  6:08 bugzilla at busybox.net
  2016-09-12 14:40 ` [Buildroot] [Bug 9216] " bugzilla at busybox.net
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla at busybox.net @ 2016-09-02  6:08 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9216

            Bug ID: 9216
           Summary: log4cpp package build fails to build within install
           Product: buildroot
           Version: 2016.05
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: martin.guethle at bachmann-technology.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [Bug 9216] log4cpp package build fails to build within install
  2016-09-02  6:08 [Buildroot] [Bug 9216] New: log4cpp package build fails to build within install bugzilla at busybox.net
@ 2016-09-12 14:40 ` bugzilla at busybox.net
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla at busybox.net @ 2016-09-12 14:40 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9216

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-12 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-02  6:08 [Buildroot] [Bug 9216] New: log4cpp package build fails to build within install bugzilla at busybox.net
2016-09-12 14:40 ` [Buildroot] [Bug 9216] " bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.