Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] fakeroot: fix spurious message "undefined symbol"
Date: Wed, 5 Oct 2016 22:55:38 +0200	[thread overview]
Message-ID: <20161005225538.35a39fa4@free-electrons.com> (raw)
In-Reply-To: <20161005150123.6334-1-maxime.hadjinlian@gmail.com>

Hello,

On Wed,  5 Oct 2016 17:01:23 +0200, Maxime Hadjinlian wrote:
> Since the glibc 2.24-3, and this commit:
> https://sourceware.org/git/?p=glibc.git;a=commit;h=80f87443eed17838fe453f1f5406ccf5d3698c25
> fakeroot will print spurious message about symbols not being found.
> 
> [...]
> dlsym(acl_get_fd): /usr/lib/libfakeroot/libfakeroot.so: undefined symbol: acl_get_fd
> dlsym(acl_get_file): /usr/lib/libfakeroot/libfakeroot.so: undefined symbol: acl_get_file
> dlsym(acl_set_fd): /usr/lib/libfakeroot/libfakeroot.so: undefined symbol: acl_set_fd
> dlsym(acl_set_file): /usr/lib/libfakeroot/libfakeroot.so: undefined symbol: acl_set_file
> dlsym(acl_get_fd): /usr/lib/libfakeroot/libfakeroot.so: undefined symbol: acl_get_fd
> dlsym(acl_get_file): /usr/lib/libfakeroot/libfakeroot.so: undefined symbol: acl_get_file
> [...]
> 
> It doesn't seem to impair the behavior of fakeroot, it's simply annoying
> for the user.
> 
> Debian (which is the creator of fakeroot) has a patch which is a
> workaround: simply don't display the message.
> 
> Note if you wish to bump fakeroot:
> A new version is available but the release tarball doesn't include the
> 'configure' and 'Makefile' pre-generated.
> This means that if we were to bump, the package would need to run its
> own 'bootstrap' script which will add dependencies to
> host-{automake,autoconf,...} which would be annoying (since almost every
> build runs fakeroot).
> 
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> ---
> v1 -> v2:
>     - Rename patch to include ordering
>     - Add SoB on the patch
> ---
>  package/fakeroot/0001-hide-dlsym-error.patch | 34 ++++++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
>  create mode 100644 package/fakeroot/0001-hide-dlsym-error.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      reply	other threads:[~2016-10-05 20:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-05 15:01 [Buildroot] [PATCH v2] fakeroot: fix spurious message "undefined symbol" Maxime Hadjinlian
2016-10-05 20:55 ` Thomas Petazzoni [this message]

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=20161005225538.35a39fa4@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --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