unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 19780@debbugs.gnu.org
Subject: bug#19780: 13 failing tests
Date: Mon, 2 Mar 2015 16:57:11 +0100	[thread overview]
Message-ID: <idjd24rs888.fsf@bimsb-sys02.mdc-berlin.net> (raw)
In-Reply-To: <87bnky0wyz.fsf@gnu.org>


Ludovic Courtès writes:

> Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> skribis:
>
>> 17814 execve("/localhome/rwurmus-tmp/guix/test-tmp/store/nakn26p520psw7jawgfv74wm34dn6kxj-bash", ["nakn26p520psw7jawgfv74wm34dn6kxj"..., "/localhome/rwurmus-tmp/guix/test"...], [/* 11 vars */]) = 0
>
> [...]
>
>> 17814 connect(3, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
>> 17814 close(3)                          = 0
>> 17814 open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
>> 17814 fstat(3, {st_mode=S_IFREG|0644, st_size=1861, ...}) = 0
>> 17814 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fed42e86000
>> 17814 read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1861
>> 17814 read(3, "", 4096)                 = 0
>> 17814 close(3)                          = 0
>> 17814 munmap(0x7fed42e86000, 4096)      = 0
>> 17814 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
>> 17814 fstat(3, {st_mode=S_IFREG|0644, st_size=33941, ...}) = 0
>> 17814 mmap(NULL, 33941, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fed42e7e000
>> 17814 close(3)                          = 0
>> 17814 open("/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3
>
> And from there we’re doomed.
>
> Could you download
> <ftp://alpha.gnu.org:/gnu/guix/bootstrap/x86_64-linux/20131110/static-binaries.tar.xz>
> and replace ‘gnu/packages/bootstrap/x86_64-linux/bash’ with the ‘bash’
> file from that tarball (make it executable), and then try again?
>
> I believe the problem is that these binaries date from before commit
> d3b59727 (Jan. 2013), which disabled dynamic NSS support in bootstrap
> binaries.

With the bash from that tarball I no longer get a segfault related to
NSS, but I still get a segfault :-/

~~~~~~~~~~~~~~~~~~~~~~
[rwurmus@guix-builder:/localhome/rwurmus-tmp/guix] (548) $ ./test-env guix build guile-bootstrap
accepted connection from pid 9363, uid 22840
substitute-binary: warning: authentication and authorization of substitutes disabled!
substitute-binary: guix substitute-binary: warning: ACL for archive imports seems to be uninitialized, substitutes may be unavailable
substitute-binary: updating list of substitutes from 'file:///localhome/rwurmus-tmp/guix/test-tmp/var/9357/substituter-data'...
The following derivation will be built:
   /localhome/rwurmus-tmp/guix/test-tmp/store/mfljxqix4a8lqkfcpchrnr8yz4ijwcq0-guile-bootstrap-2.0.drv
@ build-started /localhome/rwurmus-tmp/guix/test-tmp/store/mfljxqix4a8lqkfcpchrnr8yz4ijwcq0-guile-bootstrap-2.0.drv - x86_64-linux /localhome/rwurmus-tmp/guix/test-tmp/var/log/guix/drvs/mf//ljxqix4a8lqkfcpchrnr8yz4ijwcq0-guile-bootstrap-2.0.drv.bz2
unpacking bootstrap Guile to '/localhome/rwurmus-tmp/guix/test-tmp/store/zwq7a0qpq4fljviyycn4zdryqqx2yjn1-guile-bootstrap-2.0'...
/localhome/rwurmus-tmp/guix/test-tmp/store/qa6832c56pfysmdjbw1x1fbnxjc7azj5-build-bootstrap-guile.sh: line 5:  9416 Done                    /localhome/rwurmus-tmp/guix/test-tmp/store/hjdspi89n2d27lx9c4k3387iip4vk604-xz -dc < /localhome/rwurmus-tmp/guix/test-tmp/store/mhmv9m38s69c7d61hxap2hba928q3hyz-guile-2.0.9.tar.xz
      9417 Segmentation fault      | /localhome/rwurmus-tmp/guix/test-tmp/store/gb5wsd2yr71l075klclydfnkj7qil2yw-tar xv
/localhome/rwurmus-tmp/guix/test-tmp/store/qa6832c56pfysmdjbw1x1fbnxjc7azj5-build-bootstrap-guile.sh: line 8: /localhome/rwurmus-tmp/guix/test-tmp/store/zwq7a0qpq4fljviyycn4zdryqqx2yjn1-guile-bootstrap-2.0/bin/guile: No such file or directory
builder for `/localhome/rwurmus-tmp/guix/test-tmp/store/mfljxqix4a8lqkfcpchrnr8yz4ijwcq0-guile-bootstrap-2.0.drv' failed with exit code 127
@ build-failed /localhome/rwurmus-tmp/guix/test-tmp/store/mfljxqix4a8lqkfcpchrnr8yz4ijwcq0-guile-bootstrap-2.0.drv - 1 builder for `/localhome/rwurmus-tmp/guix/test-tmp/store/mfljxqix4a8lqkfcpchrnr8yz4ijwcq0-guile-bootstrap-2.0.drv' failed with exit code 127
killing process 9412
guix build: error: build failed: build of `/localhome/rwurmus-tmp/guix/test-tmp/store/mfljxqix4a8lqkfcpchrnr8yz4ijwcq0-guile-bootstrap-2.0.drv' failed
13 operations
./test-env: line 1:  9362 Terminated              "/localhome/rwurmus-tmp/guix/pre-inst-env" "/localhome/rwurmus-tmp/guix/guix-daemon" --disable-chroot --substitute-urls="$GUIX_BINARY_SUBSTITUTE_URL"
[rwurmus@guix-builder:/localhome/rwurmus-tmp/guix] (549) $ 
~~~~~~~~~~~~~~~~~~~~~~~~~~

The segfault seems to be in tar.  After replacing both tar and xz with
the versions from the tarball, however, the segfault disappears.  I'm
now running "make check" again.  So far it looks good as it takes longer
than before.

~~ Ricardo

  parent reply	other threads:[~2015-03-02 15:58 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <idj4mhv15e4.fsf@bimsb-sys02.mdc-berlin.net>
2015-02-05 13:55 ` bug#19781: 13 failing tests Ricardo Wurmus
2015-02-07 15:45   ` bug#19781: Close Andreas Enge
2015-02-07 17:19   ` bug#19780: 13 failing tests Ludovic Courtès
2015-02-10 12:03     ` Ricardo Wurmus
2015-02-10 12:42       ` Ludovic Courtès
2015-02-10 14:15         ` Ricardo Wurmus
2015-02-10 14:30           ` Ludovic Courtès
2015-02-10 14:59             ` Ricardo Wurmus
2015-02-10 15:49               ` Ludovic Courtès
2015-02-10 16:45                 ` Ricardo Wurmus
2015-02-10 17:08                   ` Ludovic Courtès
2015-02-11 11:25                     ` Ricardo Wurmus
2015-02-11 11:47                     ` Ricardo Wurmus
2015-02-11 12:40                     ` Ricardo Wurmus
2015-02-13  9:14                       ` Ludovic Courtès
2015-02-13 10:33                         ` Ricardo Wurmus
2015-02-13 13:20                           ` Ludovic Courtès
2015-02-26 16:49                             ` Ludovic Courtès
2015-02-28 21:58                               ` Ricardo Wurmus
2015-03-02 15:57                             ` Ricardo Wurmus [this message]
2015-03-03  8:04                               ` Ludovic Courtès
2015-03-31 21:18                                 ` Ludovic Courtès
2015-02-13 13:23                           ` Ludovic Courtès
2015-02-13 15:14                             ` Ricardo Wurmus
2015-02-13 22:38                               ` Ludovic Courtès
2015-10-13  9:59   ` bug#19780: “User has no home directory” (was: bug#19780: 13 failing tests) Ricardo Wurmus
2015-10-13 12:29 ` bug#19780: “User has no home directory” Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=idjd24rs888.fsf@bimsb-sys02.mdc-berlin.net \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=19780@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).