guix-build-branch.sh failed on Fedora 29

  • Open
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Matt Wette
Owner
unassigned
Submitted by
Matt Wette
Severity
normal
M
M
Matt Wette wrote on 22 Jun 2019 16:25
(address . bug-guix@gnu.org)
688a6ff1-c2b5-edad-fd84-c64669b1fa19@gmail.com
[mwette@localhost guix-1.0.1]$ uname -a
Linux localhost.localdomain 5.1.11-200.fc29.x86_64 #1 SMP Mon Jun 17
19:30:44 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[mwette@localhost guix-1.0.1]$ cat /etc/redhat-release
Fedora release 29 (Twenty Nine)

test-suite.log attached

config.log attached
Attachment: config.log
Attachment: test-suite.log
L
L
Ludovic Courtès wrote on 24 Jun 2019 10:26
(name . Matt Wette)(address . matt.wette@gmail.com)(address . 36330@debbugs.gnu.org)
87sgrze6dt.fsf@gnu.org
Hi Matt,

Matt Wette <matt.wette@gmail.com> skribis:

Toggle quote (19 lines)
> FAIL: tests/guix-build-branch
> =============================
>
> accepted connection from pid 18056, user mwette
> + guix build --version
> guix build (GNU Guix) 1.0.1
> Copyright (C) 2019 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> + guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)'
> ++ guix build guile-gcrypt -d
> accepted connection from pid 18073, user mwette
> + orig_drv=/home/mwette/proj/guix/guix-1.0.1/test-tmp/store/18ck9672wax2asspiin305l3drpjq8g3-guile-gcrypt-0.1.0.drv
> ++ guix build guile-gcrypt --with-branch=guile-gcrypt=master -d
> accepted connection from pid 18078, user mwette
> updating checkout of 'https://notabug.org/cwebber/guile-gcrypt.git'...
> guix build: error: cannot fetch branch 'master' from https://notabug.org/cwebber/guile-gcrypt.git: failed to resolve path '/home/mwette/proj/guix/guix-1.0.1/test-tmp/var/18047/cache-18047/guix/checkouts/yxwtks42sv5sew5opm5xd3umk7xmxwfr2vgde5nsbfj6fmb5epmq': No such file or directory

It looks like the directory where Guix was attempting to store the
checkout of guile-gcrypt disappeared under its feet. I wonder if this
could be due to parallel builds (“make check -j”).

Does it work if you run this test specifically?

make check TESTS=tests/guix-build-branch.sh

?

Regardless, this is a harmless issue.

Thank you,
Ludo’.
M
M
Matt Wette wrote on 24 Jun 2019 14:37
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 36330@debbugs.gnu.org)
b6b8099f-d964-0ce3-52f9-e05005af97b1@gmail.com
On 6/24/19 1:26 AM, Ludovic Courtès wrote:

Toggle quote (2 lines)
> make check TESTS=tests/guix-build-branch.sh

I did not use "-j" and the above fails also.

In addition,

$ guix install glibc-locales

failed as well. I don't remember the error message.
I will see if I can find a log.

Thanks for responding,
Matt
L
L
Ludovic Courtès wrote on 24 Jun 2019 20:54
(name . Matt Wette)(address . matt.wette@gmail.com)(address . 36330@debbugs.gnu.org)
87sgry95lq.fsf@gnu.org
Hello,

Matt Wette <matt.wette@gmail.com> skribis:

Toggle quote (6 lines)
> On 6/24/19 1:26 AM, Ludovic Courtès wrote:
>
>> make check TESTS=tests/guix-build-branch.sh
>
> I did not use "-j" and the above fails also.

Does it fail in the same way?

What does this command return:

readlink -f /home/mwette/proj/guix/guix-1.0.1/test-tmp/var

?

Toggle quote (7 lines)
> In addition,
>
> $ guix install glibc-locales
>
> failed as well. I don't remember the error message.
> I will see if I can find a log.

Please open a separate bug report when you have more info.

Thank you,
Ludo’.
M
M
Matt Wette wrote on 25 Jun 2019 04:31
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 36330@debbugs.gnu.org)
6564f4d3-4d5b-a641-8727-5ab1684ab9b4@gmail.com
On 6/24/19 11:54 AM, Ludovic Courtès wrote:

Toggle quote (2 lines)
> readlink -f /home/mwette/proj/guix/guix-1.0.1/test-tmp/var

[mwette@localhost ~]$ readlink -f /home/mwette/proj/guix/guix-1.0.1/test-tmp/var

/home/mwette/proj/guix/guix-1.0.1/test-tmp/var
L
L
Ludovic Courtès wrote on 25 Jun 2019 16:02
(name . Matt Wette)(address . matt.wette@gmail.com)(address . 36330@debbugs.gnu.org)
87pnn1n4oq.fsf@gnu.org
Hello Matt,

Matt Wette <matt.wette@gmail.com> skribis:

Toggle quote (8 lines)
> On 6/24/19 11:54 AM, Ludovic Courtès wrote:
>
>> readlink -f /home/mwette/proj/guix/guix-1.0.1/test-tmp/var
>
> [mwette@localhost ~]$ readlink -f /home/mwette/proj/guix/guix-1.0.1/test-tmp/var
>
> /home/mwette/proj/guix/guix-1.0.1/test-tmp/var

Hmm I’m running out of ideas.

Would you like to edit the test, add ‘strace -s 200 -o log’ there before
the “guix build --with-branch” command?

Thanks for helping,
Ludo’.
M
M
Matt Wette wrote on 26 Jun 2019 04:13
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 36330@debbugs.gnu.org)
0e150819-29fb-d491-8f4a-9c34771513fd@gmail.com
Toggle quote (6 lines)
> Would you like to edit the test, add ‘strace -s 200 -o log’ there before
> the “guix build --with-branch” command?
>
> Thanks for helping,
> Ludo’.

log attached
Attachment: log
L
L
Ludovic Courtès wrote on 2 Jul 2019 17:10
(name . Matt Wette)(address . matt.wette@gmail.com)(address . 36330@debbugs.gnu.org)
87muhw79rp.fsf@gnu.org
Hi Matt,

Matt Wette <matt.wette@gmail.com> skribis:

Toggle quote (11 lines)
>> Would you like to edit the test, add ‘strace -s 200 -o log’ there before
>> the “guix build --with-branch” command?
>>
>> Thanks for helping,
>> Ludo’.
>
> log attached
>
> execve("/home/mwette/proj/guix/guix-1.0.1/scripts/guix", ["guix",
> "build", "--version"], 0x7ffd701d92e0 /* 76 vars

I was interested in the strace log of “guix build --with-branch”, not
that of “guix build --version”. :-)

Could you send it?

Thanks, and apologies for the delay.

Ludo’.
M
M
Matt Wette wrote on 3 Jul 2019 05:30
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 36330@debbugs.gnu.org)
619b781c-20c6-58d5-84c4-151eef303f12@gmail.com
hoping this does the trick

On 7/2/19 8:10 AM, Ludovic Courtès wrote:
Toggle quote (21 lines)
> Hi Matt,
>
> Matt Wette <matt.wette@gmail.com> skribis:
>
>>> Would you like to edit the test, add ‘strace -s 200 -o log’ there before
>>> the “guix build --with-branch” command?
>>>
>>> Thanks for helping,
>>> Ludo’.
>> log attached
>>
>> execve("/home/mwette/proj/guix/guix-1.0.1/scripts/guix", ["guix",
>> "build", "--version"], 0x7ffd701d92e0 /* 76 vars
> I was interested in the strace log of “guix build --with-branch”, not
> that of “guix build --version”. :-)
>
> Could you send it?
>
> Thanks, and apologies for the delay.
>
> Ludo’.
Attachment: log
L
L
Ludovic Courtès wrote on 4 Jul 2019 11:29
(name . Matt Wette)(address . matt.wette@gmail.com)(address . 36330@debbugs.gnu.org)
87a7du87x0.fsf@gnu.org
Hi Matt,

Matt Wette <matt.wette@gmail.com> skribis:

Toggle quote (3 lines)
> write(2, "updating checkout of 'https://notabug.org/cwebber/guile-gcrypt.git'...\n",71) = 71
> openat(AT_FDCWD, "/usr/lib64/libgit2.la", O_RDONLY) = -1 ENOENT (No such file or directory)

It seems that your installation of Guile-Git fails to load libgit2, and
thus doesn’t work at all. Could you check if that is the case?

(Besides, unless you want to build from source, I’d recommend using the
binary tarball to get Guix set up quickly:

Thanks,
Ludo’.
M
M
Matt Wette wrote on 4 Jul 2019 16:12
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 36330@debbugs.gnu.org)
030fdb4d-a44a-eeae-c317-5b3ba9a65df6@gmail.com
On 7/4/19 2:29 AM, Ludovic Courtès wrote:
Toggle quote (14 lines)
> Hi Matt,
>
> Matt Wette <matt.wette@gmail.com> skribis:
>
>> write(2, "updating checkout of 'https://notabug.org/cwebber/guile-gcrypt.git'...\n", 71) = 71
>> openat(AT_FDCWD, "/usr/lib64/libgit2.la", O_RDONLY) = -1 ENOENT (No such file or directory)
> It seems that your installation of Guile-Git fails to load libgit2, and
> thus doesn’t work at all. Could you check if that is the case?
>
> (Besides, unless you want to build from source, I’d recommend using the
> binary tarball to get Guix set up quickly:
> <https://gnu.org/software/guix/manual/en/html_node/Binary-Installation.html>.)
>

I will look into the binary.  Thanks for taking the time on this.

Matt
?