Debian Bug report logs -
#830912
fakeroot complains about missing acl_* symbols
Reported by: Eric Valette <eric.valette@free.fr>
Date: Tue, 12 Jul 2016 22:06:02 UTC
Severity: important
Found in version fakeroot/1.21-1
Fixed in version fakeroot/1.21-2
Done: Clint Adams <clint@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Clint Adams <clint@debian.org>:
Bug#830912; Package fakeroot.
(Tue, 12 Jul 2016 22:06:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Eric Valette <eric.valette@free.fr>:
New Bug report received and forwarded. Copy sent to Clint Adams <clint@debian.org>.
(Tue, 12 Jul 2016 22:06:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: fakeroot
Version: 1.21-1
Severity: normal
fakeroot
dlsym(acl_get_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_file
dlsym(acl_get_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_file
dlsym(acl_get_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_file
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.4.14 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF8, LC_CTYPE=fr_FR.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages fakeroot depends on:
ii libc6 2.23.90+20160711.c10f90d-1
ii libfakeroot 1.21-1
fakeroot recommends no packages.
fakeroot suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Clint Adams <clint@debian.org>:
Bug#830912; Package fakeroot.
(Tue, 26 Jul 2016 22:33:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Aurelien Jarno <aurelien@aurel32.net>:
Extra info received and forwarded to list. Copy sent to Clint Adams <clint@debian.org>.
(Tue, 26 Jul 2016 22:33:04 GMT) (full text, mbox, link).
Message #10 received at 830912@bugs.debian.org (full text, mbox, reply):
control: affects -1 libc6
On 2016-07-13 00:02, Eric Valette wrote:
> Package: fakeroot
> Version: 1.21-1
> Severity: normal
>
> fakeroot
> dlsym(acl_get_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_fd
> dlsym(acl_get_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_file
> dlsym(acl_set_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_fd
> dlsym(acl_set_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_file
> dlsym(acl_get_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_fd
> dlsym(acl_get_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_file
> dlsym(acl_set_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_fd
> dlsym(acl_set_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_file
> dlsym(acl_get_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_fd
> dlsym(acl_get_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_file
> dlsym(acl_set_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_fd
> dlsym(acl_set_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_file
[ snip ]
> Versions of packages fakeroot depends on:
> ii libc6 2.23.90+20160711.c10f90d-1
The reason why these messages have appeared is that you install glibc
from experimental. It includes the following fix:
| commit 7d45c163d00c88d5875a112343c4ea3e61349e6b
| Author: Florian Weimer <fweimer@redhat.com>
| Date: Thu Mar 31 11:26:55 2016 +0200
|
| Report dlsym, dlvsym lookup errors using dlerror [BZ #19509]
|
| * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
| skip_map != NULL.
| * elf/tst-dlsym-error.c: New file.
| * elf/Makefile (tests): Add tst-dlsym-error.
| (tst-dlsym-error): Link against libdl.
Basically now dlerror() correctly returns an error message when dlsym
fails due to a missing symbol. The acl symbols are not in libc, but in
libacl so they are not found.
It looks like this error message should probably be conditioned on
LIBFAKEROOT_DEBUGGING.
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net
Added indication that 830912 affects libc6
Request was from Aurelien Jarno <aurelien@aurel32.net>
to 830912-submit@bugs.debian.org.
(Tue, 26 Jul 2016 22:33:04 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, jak@debian.org, Clint Adams <clint@debian.org>:
Bug#830912; Package fakeroot.
(Fri, 12 Aug 2016 16:21:09 GMT) (full text, mbox, link).
Acknowledgement sent
to Julian Andres Klode <juliank@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to jak@debian.org, Clint Adams <clint@debian.org>.
(Fri, 12 Aug 2016 16:21:09 GMT) (full text, mbox, link).
Message #17 received at 830912@bugs.debian.org (full text, mbox, reply):
Package: fakeroot
Version: 1.21-1
Followup-For: Bug #830912
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu yakkety ubuntu-patch
*** /tmp/tmp5iowY_/bug_body
In Ubuntu, the attached patch was applied to achieve the following:
Hide the warnings, at least for now. This should bring us back to glibc 2.23
state, AFAICT.
* Add hide-dlsym-error.patch to hide the errors from dlsym() unless
debugging was enabled. This makes builds less noisy and fixes failures
in APT test suite with glibc 2.24, which started reporting errors for
dlsym()
Thanks for considering the patch.
*** /tmp/tmp5iowY_/fakeroot_1.21-1ubuntu2.debdiff
diff -Nru fakeroot-1.21/debian/patches/hide-dlsym-error.patch fakeroot-1.21/debian/patches/hide-dlsym-error.patch
--- fakeroot-1.21/debian/patches/hide-dlsym-error.patch 1970-01-01 01:00:00.000000000 +0100
+++ fakeroot-1.21/debian/patches/hide-dlsym-error.patch 2016-08-12 15:40:08.000000000 +0200
@@ -0,0 +1,32 @@
+Description: Hide error from dlsym()
+ dlsym(), starting in glibc 2.24 actually reports errors. In our case,
+ we try to get ACL functions which are not in the glibc. This causes
+ failures in test suites, so hide those messages for non-debugging
+ purposes for now. It also makes the build logs annoying to read.
+Author: Julian Andres Klode <juliank@ubuntu.com>
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/830912
+Forwarded: no
+Last-Update: 2016-08-12
+
+--- a/libfakeroot.c
++++ b/libfakeroot.c
+@@ -256,10 +256,16 @@ void load_library_symbols(void){
+ /* clear dlerror() just in case dlsym() legitimately returns NULL */
+ msg = dlerror();
+ *(next_wrap[i].doit)=dlsym(get_libc(), next_wrap[i].name);
++
+ if ( (msg = dlerror()) != NULL){
+- fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg);
+-/* abort ();*/
++#ifdef LIBFAKEROOT_DEBUGGING
++ if (fakeroot_debug) {
++ fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg);
++/* abort ();*/
++ }
++#endif
+ }
++
+ }
+ }
+
diff -Nru fakeroot-1.21/debian/patches/series fakeroot-1.21/debian/patches/series
--- fakeroot-1.21/debian/patches/series 2016-08-12 13:01:28.000000000 +0200
+++ fakeroot-1.21/debian/patches/series 2016-08-12 14:48:31.000000000 +0200
@@ -1,3 +1,4 @@
eglibc-fts-without-LFS
#glibc-xattr-types
getopt-gnu-test.patch
+hide-dlsym-error.patch
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'unstable-debug'), (500, 'testing'), (500, 'stable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
--
Debian Developer - deb.li/jak | jak-linux.org - free software dev
When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to (`inline'). Thank you.
Information forwarded
to debian-bugs-dist@lists.debian.org, Clint Adams <clint@debian.org>:
Bug#830912; Package fakeroot.
(Thu, 01 Sep 2016 10:09:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Clint Adams <clint@debian.org>.
(Thu, 01 Sep 2016 10:09:08 GMT) (full text, mbox, link).
Message #22 received at 830912@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: severity -1 important
On Wed, 27 Jul 2016 00:31:21 +0200 Aurelien Jarno <aurelien@aurel32.net>
wrote:
> control: affects -1 libc6
>
> On 2016-07-13 00:02, Eric Valette wrote:
> > Package: fakeroot
> > Version: 1.21-1
> > Severity: normal
> >
> > fakeroot
> > dlsym(acl_get_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_fd
> > dlsym(acl_get_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_file
> > dlsym(acl_set_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_fd
> > dlsym(acl_set_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_file
> > dlsym(acl_get_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_fd
> > dlsym(acl_get_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_file
> > dlsym(acl_set_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_fd
> > dlsym(acl_set_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_file
> > dlsym(acl_get_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_fd
> > dlsym(acl_get_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_get_file
> > dlsym(acl_set_fd): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_fd
> > dlsym(acl_set_file): /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so: undefined symbol: acl_set_file
>
> [ snip ]
>
> > Versions of packages fakeroot depends on:
> > ii libc6 2.23.90+20160711.c10f90d-1
>
> The reason why these messages have appeared is that you install glibc
> from experimental. It includes the following fix:
>
Since glibc 2.24 has entered unstable, I think it's justified to bump
the severity slightly.
Would be great to have a fix for fakeroot soon. Atm, building deb
packages (which usually use fakeroot) is severely hampered by those log
messages being spewed all over the terminal.
Regards,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
[signature.asc (application/pgp-signature, attachment)]
Severity set to 'important' from 'normal'
Request was from Michael Biebl <biebl@debian.org>
to 830912-submit@bugs.debian.org.
(Thu, 01 Sep 2016 10:09:08 GMT) (full text, mbox, link).
Reply sent
to Clint Adams <clint@debian.org>:
You have taken responsibility.
(Thu, 01 Sep 2016 16:24:09 GMT) (full text, mbox, link).
Notification sent
to Eric Valette <eric.valette@free.fr>:
Bug acknowledged by developer.
(Thu, 01 Sep 2016 16:24:09 GMT) (full text, mbox, link).
Message #29 received at 830912-close@bugs.debian.org (full text, mbox, reply):
Source: fakeroot
Source-Version: 1.21-2
We believe that the bug you reported is fixed in the latest version of
fakeroot, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 830912@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Clint Adams <clint@debian.org> (supplier of updated fakeroot package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 01 Sep 2016 10:50:06 -0400
Source: fakeroot
Binary: fakeroot libfakeroot
Architecture: source
Version: 1.21-2
Distribution: unstable
Urgency: medium
Maintainer: Clint Adams <clint@debian.org>
Changed-By: Clint Adams <clint@debian.org>
Description:
fakeroot - tool for simulating superuser privileges
libfakeroot - tool for simulating superuser privileges - shared libraries
Closes: 830912
Changes:
fakeroot (1.21-2) unstable; urgency=medium
.
* Patch from Julian Andres Klode (hide-dlsym-error.patch) to hide the
errors from dlsym() unless debugging was enabled. This makes builds
less noisy and fixes failures in APT test suite with glibc 2.24,
which started reporting errors for dlsym(). closes: #830912.
Checksums-Sha1:
e8fa5ac21a61b6e3688527f628062dd3bcec59ea 2066 fakeroot_1.21-2.dsc
7f09b96b495f3502ff8d805376eb74cd98ee188f 22308 fakeroot_1.21-2.debian.tar.xz
Checksums-Sha256:
dcda0518dc586bcc67ce90b7a1e3f34624cd0b672237fa4e31342849ee2739e6 2066 fakeroot_1.21-2.dsc
2d6ff6900ebc553b0b66d910b5a7ad4889dd738cd757629afe4bc4e80be484e3 22308 fakeroot_1.21-2.debian.tar.xz
Files:
d54fb22c28f6044aac2b03b1649aef89 2066 utils optional fakeroot_1.21-2.dsc
c021e8aef94083170dc946c8b9007efc 22308 utils optional fakeroot_1.21-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Debian!
iQJ8BAEBCgBmBQJXyEI7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ3NTgxRUM4NzQwNTNFNkM4MDc3OTFCOUI1
NTkyMzMxRTE5OUQzOEE4AAoJEFWSMx4ZnTiobaQP/3clnp93poF/WGOS2KuhYuK2
dGLyHbrkjIcOrYeWDQPAS5FPIcLi+niT4CQJeX7yVCPCG0B5LvkmRvb7l6RyMieO
4TkQDxpKPzoQlFIljbIt4iyFkB4G1rm3oekqzybP72N3T5fKkf8HZ7BrDTcdkamB
ggi130b0hFn6Drje8lQ7j1a4RMV5y/eQlxJL0mEPEWNkxcdxgVvR7h9An0q28bv/
cxsOdEhefM2lGCAJNKf/HvV4vZxg8BWhstPMrbhSnj60RkJJOuHIhancfBVlPeYf
hAO6ib0ML8CSOEE+NwWnwO9ByZzzFif/LH1Co5z0tPJ/oeHkW4zOgqSoBIevDZ0E
cKHIneP89bja5fVAlvUAhuEhDO0pbr+qKz7jz5DFfdL+egFKGR72ZU29LJObefZ1
2U19Y1RGgofzvj5ZLB3t6DGYGpkf8vfgxwuhoGkFN3r+d1QseTTdSS898ekePDUg
f+3Wbuhq6D/JhuJFYeojYX57QTXSDJ9L7lXo5AnnMPoYv6KWSvUjUMZuZPXHFCOd
J/IbXyA8KZs875Qck0A3gCCVg5tDP8DxdI0kC/O9rwgyU47ChilfFWpZ9ofRhs4p
JmAnlJcRPmNi7TgV7cawf7LAT/p4DiYUQAcKvpxGpObtIFRmX/6UTT5PlByhPJ0X
07cM3Sxs5Cqu/tIfqpbp
=/mxQ
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 05 Oct 2016 07:25:44 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 6 04:33:01 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.