Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 9216] New: log4cpp package build fails to build within install
Date: Fri, 02 Sep 2016 06:08:12 +0000	[thread overview]
Message-ID: <bug-9216-163@https.bugs.busybox.net/> (raw)

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.

             reply	other threads:[~2016-09-02  6:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-02  6:08 bugzilla at busybox.net [this message]
2016-09-12 14:40 ` [Buildroot] [Bug 9216] log4cpp package build fails to build within install bugzilla at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-9216-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox