From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#20102: Problem with ld.so RUNPATH on armhf Date: Sat, 13 Jun 2015 11:12:45 -0400 Message-ID: <87bngjk5g2.fsf@netris.org> References: <87y4n0ybdd.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3n7R-0004Kb-VS for bug-guix@gnu.org; Sat, 13 Jun 2015 11:13:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3n7G-0001UQ-F1 for bug-guix@gnu.org; Sat, 13 Jun 2015 11:13:13 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:38408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3n7G-0001UM-BI for bug-guix@gnu.org; Sat, 13 Jun 2015 11:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z3n7G-0008R9-58 for bug-guix@gnu.org; Sat, 13 Jun 2015 11:13:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87y4n0ybdd.fsf@netris.org> (Mark H. Weaver's message of "Fri, 13 Mar 2015 14:56:46 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 20102@debbugs.gnu.org In March 2015, Mark H Weaver wrote: > I recently tried rebuilding Guix on armhf, specifically master since the > recent core-updates merge, and have run into a snag. I'm able to build > a lot of stuff, including our full 'emacs' package (with Gtk+), but I'm > unable to build 'glibc-utf8-locales', which means I can't build any > profiles at all, because the ca-certificates-bundle uses > glibc-utf8-locales. > > Here's what happens when I try to build 'glibc-utf8-locales' manually: > > mhw@novena:~$ guix build -K glibc-utf8-locales > The following derivation will be built: > /gnu/store/14kf28i9qkzrdjn5m150zk6dxijssk2k-glibc-utf8-locales-2.21.drv > warning: failed to install locale: Invalid argument > @ build-started /gnu/store/14kf28i9qkzrdjn5m150zk6dxijssk2k-glibc-utf8-locales-2.21.drv - armhf-linux /var/log/guix/drvs/14//kf28i9qkzrdjn5m150zk6dxijssk2k-glibc-utf8-locales-2.21.drv.bz2 > Inconsistency detected by ld.so: get-dynamic-info.h: 142: elf_get_dynamic_info: Assertion `info[29] == ((void *)0)' failed! > note: keeping build directory `/tmp/nix-build-glibc-utf8-locales-2.21.drv-0' > builder for `/gnu/store/14kf28i9qkzrdjn5m150zk6dxijssk2k-glibc-utf8-locales-2.21.drv' failed with exit code 1 > @ build-failed /gnu/store/14kf28i9qkzrdjn5m150zk6dxijssk2k-glibc-utf8-locales-2.21.drv - 1 builder for `/gnu/store/14kf28i9qkzrdjn5m150zk6dxijssk2k-glibc-utf8-locales-2.21.drv' failed with exit code 1 > killing process 1498 > guix build: error: build failed: build of `/gnu/store/14kf28i9qkzrdjn5m150zk6dxijssk2k-glibc-utf8-locales-2.21.drv' failed > > The key line being: > > Inconsistency detected by ld.so: get-dynamic-info.h: 142: elf_get_dynamic_info: Assertion `info[29] == ((void *)0)' failed! The same problem has resurfaced on armhf on the current core-updates branch. More precisely, this is a merge of core-updates (16cae79), master (1e44cf8), and openssl-update (0515580). There's one difference: I can successfully run "guix build -K glibc-utf8-locales", but if I try to build any profile, it fails while building another package named "glibc-utf8-locales", with precisely the same error message above. Otherwise, I managed to build every package in my profile, which includes some substantial software. I'm surprised because I thought we already fixed this in two redundant ways: by improving 'ld-wrapper' to avoid adding an '-rpath' for ld.so, and by patching gcc. I would have expected at least one of those fixes to take care of this. Should I open a new ticket for this, or should we reuse this ticket? For now, I unarchived and reopened this bug. Thanks, Mark