unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Matthieu Haefele <matthieu.haefele@cnrs.fr>
To: "Ludovic Courtès" <ludovic.courtes@inria.fr>
Cc: 58149@debbugs.gnu.org, zimoun <zimon.toutoune@gmail.com>
Subject: bug#58149: guix pull error
Date: Tue, 4 Oct 2022 15:01:31 +0200	[thread overview]
Message-ID: <9b9460ae-1e13-c681-9c16-6c8119e1615e@cnrs.fr> (raw)
In-Reply-To: <87o7urvqxj.fsf@inria.fr>

[-- Attachment #1: Type: text/plain, Size: 9292 bytes --]

Hi,

Le 04/10/2022 à 12:11, Ludovic Courtès a écrit :
> Matthieu Haefele <matthieu.haefele@cnrs.fr> skribis:
>
>> Le 03/10/2022 à 16:03, Ludovic Courtès a écrit :
> [...]
>
>>> You should be able to get around it by first building things locally:
>>>
>>>     guix build --no-substitutes \
>>>       $(guix gc --derivers /gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4)
>>>
>>> This is going to take a while though…
>>>
>>> I’m sorry this upgrade turns out to be so painful.  We know what to work
>>> on next.
>>>
>> Problems at fetching the kernel sources apparently...
>>
>> (base) mhaefele@mdlspc113:m2-mms-hpc (master)*$ guix build --no-substitutes \
>>       $(guix gc --derivers /gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4)
>>
> You can fetch it with:
>
>    wget -O linux-libre-4.14.67-gnu.tar.xz \
>         https://ci.guix.gnu.org/file/linux-libre-4.14.67-gnu.tar.xz/sha256/050zvdxjy6sc64q75pr1gxsmh49chwav2pwxz8xlif39bvahnrpg
>    guix download file://$PWD/linux-libre-4.14.67-gnu.tar.xz
>
> Let’s see if you can proceed from there.
>
> At any rate, it’s a good lesson for us developers, so thanks for
> persevering.

Some progresses indeed, but still failing during compile time this time :

  (base) mhaefele@mdlspc113:m2-mms-hpc (master)*$ guix build --no-substitutes \
      $(guix gc --derivers /gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4)

[...]

configure: summary of build options:

   Version:           GNU MP 6.0.0
   Host type:         none-unknown-linux-gnu
   ABI:               standard
   Install prefix: /gnu/store/n4xapbpjryd69dia5yxmz4ah5k6iwhjb-gcc-cross-boot0-5.5.0
   Compiler:          gcc -std=gnu99
   Static libraries:  yes
   Shared libraries:  no

[...]

g++   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing 
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros 
-Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc 
-Wl,-rpath=/gnu/store/8zqhf670igizfl895hnhhmx9vz6zyzsj-glibc-bootstrap-0/lib -Wl,-dynamic-linker 
-Wl,/gnu/store/8zqhf670igizfl895hnhhmx9vz6zyzsj-glibc-bootstrap-0/lib/ld-linux-x86-64.so.2 -o cc1 c/c-lang.o c-family/stub-objc.o 
attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o c/c-array-notation.o 
c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o 
c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o 
c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o 
c-family/c-ubsan.o i386-c.o glibc-c.o \
   cc1-checksum.o libbackend.a main.o  libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a 
libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
-L/tmp/guix-build-gcc-cross-boot0-5.5.0.drv-0/build/./gmp/.libs 
-L/tmp/guix-build-gcc-cross-boot0-5.5.0.drv-0/build/./mpfr/src/.libs 
-L/tmp/guix-build-gcc-cross-boot0-5.5.0.drv-0/build/./mpc/src/.libs -lmpc -lmpfr -lgmp -rdynamic -ldl  -L../zlib -lz
g++   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing 
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros 
-Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc 
-Wl,-rpath=/gnu/store/8zqhf670igizfl895hnhhmx9vz6zyzsj-glibc-bootstrap-0/lib -Wl,-dynamic-linker 
-Wl,/gnu/store/8zqhf670igizfl895hnhhmx9vz6zyzsj-glibc-bootstrap-0/lib/ld-linux-x86-64.so.2 -o cc1plus \
       cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o 
cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o 
cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o 
cp/cp-cilkplus.o cp/cp-gimplify.o cp/cp-array-notation.o cp/lambda.o cp/vtable-class-hierarchy.o cp/constexpr.o cp/cp-ubsan.o 
attribs.o incpath.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o 
c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o 
c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o 
c-family/cilk.o c-family/c-ubsan.o i386-c.o glibc-c.o cc1plus-checksum.o libbackend.a main.o  libcommon-target.a libcommon.a 
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a 
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/tmp/guix-build-gcc-cross-boot0-5.5.0.drv-0/build/./gmp/.libs 
-L/tmp/guix-build-gcc-cross-boot0-5.5.0.drv-0/build/./mpfr/src/.libs 
-L/tmp/guix-build-gcc-cross-boot0-5.5.0.drv-0/build/./mpc/src/.libs -lmpc -lmpfr -lgmp -rdynamic -ldl  -L../zlib -lz
collect2: error: ld returned 1 exit status
make[2]: *** [../../gcc-5.5.0/gcc/c/Make-lang.in:71: cc1] Error 1
make[2]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make[2]: *** [../../gcc-5.5.0/gcc/lto/Make-lang.in:71: lto1] Error 1
collect2: error: ld returned 1 exit status
make[2]: *** [../../gcc-5.5.0/gcc/cp/Make-lang.in:99: cc1plus] Error 1
make[2]: Leaving directory '/tmp/guix-build-gcc-cross-boot0-5.5.0.drv-0/build/gcc'
make[1]: *** [Makefile:4105: all-gcc] Error 2
make[1]: Leaving directory '/tmp/guix-build-gcc-cross-boot0-5.5.0.drv-0/build'
make: *** [Makefile:859: all] Error 2
Backtrace:
In ice-9/boot-9.scm:
  157: 12 [catch #t #<catch-closure c900a0> ...]
In unknown file:
    ?: 11 [apply-smob/1 #<catch-closure c900a0>]
In ice-9/boot-9.scm:
   63: 10 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
  432: 9 [eval # #]
In ice-9/boot-9.scm:
2320: 8 [save-module-excursion #<procedure cc1b80 at ice-9/boot-9.scm:3961:3 ()>]
3966: 7 [#<procedure cc1b80 at ice-9/boot-9.scm:3961:3 ()>]
1645: 6 [%start-stack load-stack #<procedure cbd2c0 at ice-9/boot-9.scm:3957:10 ()>]
1650: 5 [#<procedure cc3060 ()>]
In unknown file:
    ?: 4 [primitive-load "/gnu/store/1ybknnj20hqz1mnzi3my0hpd3mj7gpjz-gcc-cross-boot0-5.5.0-guile-builder"]
In ice-9/eval.scm:
  387: 3 [eval # ()]
In srfi/srfi-1.scm:
  830: 2 [every1 #<procedure 155dc40 at 
/gnu/store/lpals6qq7ccbdldzamis7x9mv2p7g4sb-module-import/guix/build/gnu-build-system.scm:795:9 (expr)> ...]
In /gnu/store/lpals6qq7ccbdldzamis7x9mv2p7g4sb-module-import/guix/build/gnu-build-system.scm:
  799: 1 [#<procedure 155dc40 at /gnu/store/lpals6qq7ccbdldzamis7x9mv2p7g4sb-module-import/guix/build/gnu-build-system.scm:795:9 
(expr)> #]
In /gnu/store/lpals6qq7ccbdldzamis7x9mv2p7g4sb-module-import/guix/build/utils.scm:
  616: 0 [invoke "make" "-j" ...]

/gnu/store/lpals6qq7ccbdldzamis7x9mv2p7g4sb-module-import/guix/build/utils.scm:616:6: In procedure invoke:
/gnu/store/lpals6qq7ccbdldzamis7x9mv2p7g4sb-module-import/guix/build/utils.scm:616:6: Throw to key `srfi-34' with args 
`(#<condition &invoke-error [program: "make" arguments: ("-j" "8" 
"LDFLAGS=-Wl,-rpath=/gnu/store/8zqhf670igizfl895hnhhmx9vz6zyzsj-glibc-bootstrap-0/lib -Wl,-dynamic-linker 
-Wl,/gnu/store/8zqhf670igizfl895hnhhmx9vz6zyzsj-glibc-bootstrap-0/lib/ld-linux-x86-64.so.2" "BOOT_CFLAGS=-O2 -g0") exit-status: 2 
term-signal: #f stop-signal: #f] 1e4ef00>)'.
builder for `/gnu/store/dd5vn44jf5w5wa1bx2v5n4mbvm577b4r-gcc-cross-boot0-5.5.0.drv' failed with exit code 1
build of /gnu/store/dd5vn44jf5w5wa1bx2v5n4mbvm577b4r-gcc-cross-boot0-5.5.0.drv failed
View build log at '/var/log/guix/drvs/dd/5vn44jf5w5wa1bx2v5n4mbvm577b4r-gcc-cross-boot0-5.5.0.drv.bz2'.
cannot build derivation `/gnu/store/01217q7g5wi7g0x9vx4w6429dvcbnlf8-gcc-cross-boot0-wrapped-5.5.0.drv': 1 dependencies couldn't 
be built
cannot build derivation `/gnu/store/zlarpjla570axb9hi6c78njaf4y9ffci-glibc-2.28.drv': 1 dependencies couldn't be built
building /gnu/store/a5r02gf0s745bbb28mhbx3sfka2ddnd3-perl-boot0-5.28.0.drv...
cannot build derivation `/gnu/store/16c8c8hm1qdn6xz8014939mirc7c4d4j-guile-2.2.4.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/16c8c8hm1qdn6xz8014939mirc7c4d4j-guile-2.2.4.drv' failed

Not yet given up !!
Thanks for diving in this ocean of code and trying to make it manageable with a reproducible process to build it :)

BTW I am watching the videos of the very interesting event organized for the ten years of guix. The presentation of Efraim 
Flashner stunted me. 40h of compile just for rust from the bootstrap on a RISC-V but still GHz processor. How can these things 
work in the end ... ? Life, as the single negentropic known process should play its role here as well. The minimalism wished by 
Pjotr Prins is the way to go if we want to keep the illusion of controlling what we are doing.

Thanks for your work guys :)
Mat






[-- Attachment #2: Signature cryptographique S/MIME --]
[-- Type: application/pkcs7-signature, Size: 4270 bytes --]

  reply	other threads:[~2022-10-04 13:49 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-28 15:47 bug#58149: guix pull error Matthieu Haefele
2022-09-28 22:06 ` zimoun
2022-09-29 13:37   ` Ludovic Courtès
2022-09-29 15:04     ` Matthieu Haefele
2022-09-29 15:15       ` Ludovic Courtès
2022-09-29 15:35         ` Matthieu Haefele
2022-09-29 17:55           ` Maxime Devos
2022-09-30  6:09             ` Matthieu Haefele
2022-09-30  7:59           ` Ludovic Courtès
2022-09-30  9:42             ` Matthieu Haefele
2022-10-03  9:04               ` bug#58149: Letting clients warn about old daemons Ludovic Courtès
2022-10-03 15:12                 ` Maxim Cournoyer
2022-10-03  9:17               ` bug#58149: guix pull error Ludovic Courtès
2022-10-03  9:33                 ` Matthieu Haefele
2022-10-03 14:03                   ` Ludovic Courtès
2022-10-03 14:49                     ` Matthieu Haefele
2022-10-04 10:11                       ` Ludovic Courtès
2022-10-04 13:01                         ` Matthieu Haefele [this message]
2022-10-05  9:34                           ` Ludovic Courtès
2022-10-05 10:47                             ` Matthieu Haefele
2022-10-05 10:52                               ` Matthieu Haefele
2022-10-05 15:02                               ` zimoun
2022-10-05 15:08                                 ` Matthieu Haefele
2022-10-06  8:47                               ` Ludovic Courtès
2022-10-06 10:10                                 ` Matthieu Haefele
2022-10-06 10:30                                   ` zimoun
2022-10-06 12:14                                     ` Matthieu Haefele
2022-10-06 13:56                                       ` zimoun
2022-10-06 15:15                                         ` Matthieu Haefele
2022-10-06 15:38                                           ` zimoun
2022-10-06 16:00                                         ` Maxime Devos
2022-10-06 16:01                                     ` Ludovic Courtès
2022-10-06 10:57                                   ` Maxime Devos
2022-10-06 12:08                                     ` Matthieu Haefele
2022-10-06 15:56                                       ` Maxime Devos
2022-10-06 15:58                                   ` Ludovic Courtès
2022-10-05 14:36                             ` Matthieu Haefele
2022-10-07  2:40                         ` bokr
2022-10-14 12:19                           ` zimoun
2022-10-03 20:47 ` bug#58149: Unable to pull when using a pre-lzip version of guix-daemon Ricardo Wurmus

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=9b9460ae-1e13-c681-9c16-6c8119e1615e@cnrs.fr \
    --to=matthieu.haefele@cnrs.fr \
    --cc=58149@debbugs.gnu.org \
    --cc=ludovic.courtes@inria.fr \
    --cc=zimon.toutoune@gmail.com \
    /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).