From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#30298: core-updates: Failure to find the guixbuild group Date: Wed, 31 Jan 2018 18:47:17 -0500 Message-ID: <20180131234717.GA32689@jasmine.lan> References: <20180131025652.GA14550@jasmine.lan> <87tvv1r6vo.fsf@gnu.org> <20180131224913.GA29149@jasmine.lan> <87k1vxr68o.fsf@gnu.org> <20180131230753.GC29149@jasmine.lan> <871si5r4kf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eh26n-00008G-Nh for bug-guix@gnu.org; Wed, 31 Jan 2018 18:48:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eh26k-0006Z3-2s for bug-guix@gnu.org; Wed, 31 Jan 2018 18:48:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:43769) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eh26j-0006YB-V2 for bug-guix@gnu.org; Wed, 31 Jan 2018 18:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eh26j-0007BU-IU for bug-guix@gnu.org; Wed, 31 Jan 2018 18:48:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <871si5r4kf.fsf@gnu.org> 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" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30298@debbugs.gnu.org --huq684BweRXVnRxX Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 01, 2018 at 12:28:32AM +0100, Ludovic Court=C3=A8s wrote: > I think you attached strace to the running guix-daemon process here. > What I meant is that we should trace it from the beginning of its > execution (so either run it by hand or modify the .service file to run > =E2=80=9Cstrace -f guix-daemon =E2=80=A6=E2=80=9D.) Oh, right. The issue is that, starting in glibc 2.26, libnss_compat is not built unless the glibc build is configured with --enable-obsolete-nsl: "If glibc was configured without --enable-obsolete-nsl the libnss_compat library will not be built. If the library is not built, it may still be found during testing if dl_open searches the default host library directories." https://sourceware.org/glibc/wiki/Release/2.26#Architecture-independent In fact, I already noticed this and worked around it for another package without really understanding what it meant: https://bugs.gnu.org/29970 https://git.savannah.gnu.org/cgit/guix.git/commit/?h=3Dcore-updates&id=3D0f= 7db1d320fd26a11854c8d7f404a3cf16eb3fbc And we can see the core-updates guix-daemon try and fail to open libnss_compat.so: 308 connect(5, {sa_family=3DAF_UNIX, sun_path=3D"/var/run/nscd/socket"}, 11= 0) =3D -1 ENOENT (No such file or directory) 309 close(5) =3D 0 310 socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) =3D 5 311 connect(5, {sa_family=3DAF_UNIX, sun_path=3D"/var/run/nscd/socket"}, 11= 0) =3D -1 ENOENT (No such file or directory) 312 close(5) =3D 0 313 open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) =3D 5 314 fstat(5, {st_dev=3Dmakedev(252, 1), st_ino=3D1047888, st_mode=3DS_IFREG= |0644, st_nlink=3D1, st_uid=3D0, st_gid=3D0, st_blksize=3D4096, st_blocks= =3D8, st_size=3D529, st_atime=3D2018-01-31T17:17:26-0500.3612163 70, st_= mtime=3D2017-06-13T03:33:07-0400.283237951, st_ctime=3D2017-06-13T03:33:07-= 0400.283237951}) =3D 0 315 read(5, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) =3D 529 316 read(5, "", 4096) =3D 0 317 close(5) =3D 0 318 openat(AT_FDCWD, "/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.2= 6.105-g0890d5379c/lib/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) =3D -1 ENOEN= T (No such file or directory) --huq684BweRXVnRxX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlpyVYUACgkQJkb6MLrK fwjpng//ccu4cmdluhYK71ZSbe9zZFV/kpYtHFFKtXe123U7WqPjZejEV+hmJsFA IK3Lugszw3uq+peWdAEmm49yib+USLkqGdYfepi0uAxsQrwdCmOK1cqbr+BubKN+ d3kSzDc92V0TSCjOmzIeL6tl0z1bHtV3imV2qMejumdNW2wI1zemGJGUMMz+7qWT begFUxK6aKxnrioUA7568n0dYuMxGE9oEU4NOeCv2nPr8Cmn4jbs3cH529+Hob0x NO+uvD0G44VrUVmfSYYlIDy6JGcal/NzBv+5wy0CWmZSkMVbTHEUUvajV/M8C8uJ pylBm/mckGibCxNuVt9OvdrVWhdzErw4z3Qj7pBCa2+O01YzOvF1MnyTuIwvgxJa 4SFhh5jp7dN9C5cmATVLbYDwtgOdJrMu7pL94BleSzOdrggKj2k3WAIs7gSpGplg LYoDj+WNUcEYMcq0ZpLkyUts3OiSaxPFNxUFTLXNTIts3R7iTnNqiNSFxlDv9PL7 YxjpgGGPIT6KiNRMlkVDTbt/ucwmp6XyioqpHjLsFSaX2GLPMF9ESqF/TEFfRl63 S9iUna1DaGH1NW5vD6dol7ySk7A1FFS7cs95sHpTL7Xzz2Y9+6TFQRTQ2/p2O4du lbvz7qEGWc/sHLd0IMGSMYMxkP3Iv4JQdMogGd3Dv/8XijtVAIc= =5UJf -----END PGP SIGNATURE----- --huq684BweRXVnRxX--