GNU bug report logs -
#65725
guix pull fails on riscv64
Previous Next
Reported by: much.effort283 <at> slmail.me
Date: Mon, 4 Sep 2023 02:08:04 UTC
Severity: normal
Done: much.effort283 <at> slmail.me
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65725 in the body.
You can then email your comments to 65725 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#65725
; Package
guix
.
(Mon, 04 Sep 2023 02:08:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
much.effort283 <at> slmail.me
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 04 Sep 2023 02:08:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Not sure if those are two issues, or one, but on riscv64 the following
seems to fail:
* guix pull
* openssl "check" phase
Steps to reproduce:
Install guix 1.4.0 and run "guix pull".
Output:
building /gnu/store/qkwilbf7fvc4rj55cvrf02xvmmx6mvv2-gnutls-3.7.7.tar.xz.drv...
building /gnu/store/d0gkh0hkxrfbb7i8z328rqws5m8xm05n-guile-gnutls-3.7.9-checkout.drv...
building /gnu/store/lzjryc1fdsi6xsjh7m050dygirccbglm-openssl-1.1.1l.drv...
- 'check' phasebuilder for
`/gnu/store/lzjryc1fdsi6xsjh7m050dygirccbglm-openssl-1.1.1l.drv'
failed with exit code 1
build of /gnu/store/lzjryc1fdsi6xsjh7m050dygirccbglm-openssl-1.1.1l.drv failed
View build log at
'/var/log/guix/drvs/lz/jryc1fdsi6xsjh7m050dygirccbglm-openssl-1.1.1l.drv.gz'.
cannot build derivation
`/gnu/store/6xs1rj5x52hmaldlygbc089jyr70j33s-mit-krb5-1.19.2.drv': 1
dependencies couldn't be built
cannot build derivation
`/gnu/store/bpy3jvm3zjmsc9gkiqhyv1y99z7vnzik-nghttp2-1.44.0.drv': 1
dependencies couldn't be built
Backtrace:
14 (primitive-load
"/gnu/store/bjmgis3jwxw9cwv900dc3h8xabgnbk4p-compute-guix-derivation")
In ice-9/eval.scm:
155:9 13 (_ _)
159:9 12 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?>
?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 11 (with-fluid* _ _ _)
152:2 10 (with-fluid* _ _ _)
In ./guix/store.scm:
2170:24 9 (run-with-store #<store-connection 256.99 227deaa0>
#<procedure 31ce75a0 at ./guix/self.scm:1303:2 (st?> ?)
1998:8 8 (_ #<store-connection 256.99 227deaa0>)
In ./guix/gexp.scm:
299:22 7 (_ #<store-connection 256.99 227deaa0>)
1180:2 6 (_ #<store-connection 256.99 3799f230>)
1046:2 5 (_ #<store-connection 256.99 3799f230>)
892:4 4 (_ #<store-connection 256.99 3799f230>)
\In ./guix/store.scm:
2055:12 3 (_ #<store-connection 256.99 3799f230>)
1403:5 2 (map/accumulate-builds #<store-connection 256.99
3799f230> #<procedure 36085b80 at ./guix/store.scm:20?> ?)
1419:15 1 (_ #<store-connection 256.99 3799f230>
("/gnu/store/jv53661ncfx9nlja7wkqfck18s2qbrdi-curl-7.84.0.drv" ?) ?)
1419:15 0 (loop #f)
./guix/store.scm:1419:15: In procedure loop:
ERROR:
1. &store-protocol-error:
message: "build of
`/gnu/store/jv53661ncfx9nlja7wkqfck18s2qbrdi-curl-7.84.0.drv' failed"
status: 100
guix pull: error: You found a bug: the program
'/gnu/store/bjmgis3jwxw9cwv900dc3h8xabgnbk4p-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"47348b85f67d23b074d8d624450eaf1d443c101a"; system: "riscv64-linux";
host version: "1.4.0"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix <at> gnu.org>.
The full openssl output is:
https://github.com/starfive-tech/VisionFive2/files/12505756/jryc1fdsi6xsjh7m050dygirccbglm-openssl-1.1.1l.drv.txt
Let me know if anything else is required.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#65725
; Package
guix
.
(Mon, 04 Sep 2023 09:24:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 65725 <at> debbugs.gnu.org (full text, mbox):
Since openssl is already bumped from "1.1.1l" to a version that has
the bug fixed in the development branch, I presume this will be fixed
once the next guix release (1.5) is out?
In the meantime, I wonder if there is a workaround I can apply. I
tried compiling from source, but that seems to fail as well:
$ make
...
MAKEINFO doc/guix.info
MAKEINFO doc/guix.de.info
MAKEINFO doc/guix.es.info
guix.es.texi:19957: warning: `.' or `,' must follow @xref, not p
guix.es.texi:46743: warning: `.' or `,' must follow @xref, not p
MAKEINFO doc/guix.fr.info
guix.fr.texi:15509: warning: `.' or `,' must follow @xref, not p
MAKEINFO doc/guix.pt_BR.info
MAKEINFO doc/guix.ru.info
Wide character in warn at /usr/bin/makeinfo line 637.
guix.ru.texi:13133: warning: `.' or `,' must follow @xref, not ะด
MAKEINFO doc/guix.zh_CN.info
MAKEINFO doc/guix-cookbook.de.info
guix-cookbook.de.texi:611: @menu reference to nonexistent node `A
``Hello World'' package'
guix-cookbook.de.texi:612: @menu reference to nonexistent node `Setup'
guix-cookbook.de.texi:613: @menu reference to nonexistent node
`Extended example'
guix-cookbook.de.texi:614: @menu reference to nonexistent node `Other
build systems'
guix-cookbook.de.texi:615: @menu reference to nonexistent node
`Programmable and automated package definition'
guix-cookbook.de.texi:616: @menu reference to nonexistent node `Getting help'
guix-cookbook.de.texi:617: @menu reference to nonexistent node `Conclusion'
guix-cookbook.de.texi:842: @menu reference to nonexistent node `Local file'
guix-cookbook.de.texi:843: @menu reference to nonexistent node `Channels'
guix-cookbook.de.texi:1551: @menu reference to nonexistent node
`Recursive importers'
guix-cookbook.de.texi:1552: @menu reference to nonexistent node
`Automatic update'
guix-cookbook.de.texi:3767: @menu reference to nonexistent node `A
Database Container'
guix-cookbook.de.texi:4066: @menu reference to nonexistent node `Basic
setup with manifests'
guix-cookbook.de.texi:4067: @menu reference to nonexistent node
`Required packages'
guix-cookbook.de.texi:4068: @menu reference to nonexistent node
`Default profile'
guix-cookbook.de.texi:4069: @menu reference to nonexistent node `The
benefits of manifests'
guix-cookbook.de.texi:117: @detailmenu reference to nonexistent node
`A ``Hello World'' package'
guix-cookbook.de.texi:118: @detailmenu reference to nonexistent node `Setup'
guix-cookbook.de.texi:119: @detailmenu reference to nonexistent node
`Extended example'
guix-cookbook.de.texi:120: @detailmenu reference to nonexistent node
`Other build systems'
guix-cookbook.de.texi:121: @detailmenu reference to nonexistent node
`Programmable and automated package definition'
guix-cookbook.de.texi:122: @detailmenu reference to nonexistent node
`Getting help'
guix-cookbook.de.texi:123: @detailmenu reference to nonexistent node
`Conclusion'
guix-cookbook.de.texi:130: @detailmenu reference to nonexistent node
`Local file'
guix-cookbook.de.texi:131: @detailmenu reference to nonexistent node `Channels'
guix-cookbook.de.texi:138: @detailmenu reference to nonexistent node
`Recursive importers'
guix-cookbook.de.texi:139: @detailmenu reference to nonexistent node
`Automatic update'
guix-cookbook.de.texi:197: @detailmenu reference to nonexistent node
`A Database Container'
guix-cookbook.de.texi:211: @detailmenu reference to nonexistent node
`Basic setup with manifests'
guix-cookbook.de.texi:212: @detailmenu reference to nonexistent node
`Required packages'
guix-cookbook.de.texi:213: @detailmenu reference to nonexistent node
`Default profile'
guix-cookbook.de.texi:214: @detailmenu reference to nonexistent node
`The benefits of manifests'
make[2]: *** [Makefile:5396: doc/guix-cookbook.de.info] Error 1
Information forwarded
to
bug-guix <at> gnu.org
:
bug#65725
; Package
guix
.
(Thu, 07 Sep 2023 08:15:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 65725 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
much.effort283--- via Bug reports for GNU Guix <bug-guix <at> gnu.org>
writes:
> Since openssl is already bumped from "1.1.1l" to a version that has
> the bug fixed in the development branch, I presume this will be fixed
> once the next guix release (1.5) is out?
`guix pull` should pull the latest available commit on master, and so it
should use the newer openssl version there. Can you retry, after rm'ing
.cache/guix/checkouts? If it still mentions 1.1.1l, we might have a bug
in `guix pull`.
> In the meantime, I wonder if there is a workaround I can apply. I
> tried compiling from source, but that seems to fail as well:
Unfortunately, the latest source requires a patched po4a that was added
very recently. I don't know if you can confidently build all of Guix
locally without the doc, I haven't inspected the Makefile too closely.
Sorry I couldn't be of much help.
Best,
--
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#65725
; Package
guix
.
(Thu, 14 Sep 2023 17:49:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 65725 <at> debbugs.gnu.org (full text, mbox):
> Can you retry, after rm'ing .cache/guix/checkouts?
Ok, I started from scratch again, but now it seems to be stuck
downloading libgit?
Not sure if this is an issue with my internet or a bug in guix. The output is:
guix pull
accepted connection from pid 852656, user root
Updating channel 'guix' from Git repository at
'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 6d12c16 (9 new commits)...
Building from this channel:
guix https://git.savannah.gnu.org/git/guix.git 6d12c16
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
building /gnu/store/l1x4l1rdxqc3xb5pfpc7qzn73bwb6f2j-compute-guix-derivation.drv...
Computing Guix derivation for 'riscv64-linux'... -\
/
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
ore/33n8ncsjhr9lw3l7c8gprjqyz4v4rl89-libjpeg-turbo-2.1.4.tar.gz
https://ci.guix.gnu.org/nar/33n8ncsjhr9lw3l7c8gprjqyz4v4rl89-libjpeg-turbo-2.1.4.tar.gz
2261936 1572960
libjpeg-turbo-2.1.4.tar.gz 2.2MiB
676KiB/s 00:03
[##################] 100.0%
libgit2-1.3.2-checkout 3.2MiB
129KiB/s 00:22
[############### ] 88.5%Backtrace:
In guix/scripts/substitute.scm:
856:15 19 (_)
650:2 18 (process-substitution _ _ _ #:cache-urls _ #:acl _ # _ # ?)
In ice-9/boot-9.scm:
1752:10 17 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/substitute.scm:
525:9 16 (download-nar #<<narinfo> path: "/gnu/store/25lmh68nvb?> ?)
In guix/serialization.scm:
424:4 15 (fold-archive _ _ _ _)
468:33 14 (read "/gnu/store/25lmh68nvby582y958fv84jnglf75jaz-lib?" ?)
468:33 13 (read "/gnu/store/25lmh68nvby582y958fv84jnglf75jaz-lib?" ?)
468:33 12 (read "/gnu/store/25lmh68nvby582y958fv84jnglf75jaz-lib?" ?)
468:33 11 (read "/gnu/store/25lmh68nvby582y958fv84jnglf75jaz-lib?" ?)
442:24 10 (read "/gnu/store/25lmh68nvby582y958fv84jnglf75jaz-lib?" ?)
525:24 9 (_ "/gnu/store/25lmh68nvby582y958fv84jnglf75jaz-libgit?" ?)
In ice-9/ports.scm:
467:11 8 (call-with-output-file "/gnu/store/25lmh68nvby582y958f?" ?)
In unknown file:
7 (open-file "/gnu/store/25lmh68nvby582y958fv84jnglf75ja?" ?)
In ice-9/boot-9.scm:
1685:16 6 (raise-exception _ #:continuable? _)
Backtrace:
17 (primitive-load
"/gnu/store/dmnd8rjz3frcv9cs3vd950nzayynl30z-compute-guix-derivation")
In ice-9/eval.scm:
155:9 16 (_ _)
159:9 15 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?>
?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 14 (with-fluid* _ _ _)
152:2 13 (with-fluid* _ _ _)
In ./guix/store.scm:
2168:24 12 (run-with-store #<store-connection 256.99 206a6140>
#<procedure 35823af0 at ./guix/self.scm:1330:2 (st?> ?)
1996:8 11 (_ #<store-connection 256.99 206a6140>)
In ./guix/gexp.scm:
299:22 10 (_ #<store-connection 256.99 206a6140>)
1180:2 9 (_ #<store-connection 256.99 206a6140>)
1046:2 8 (_ #<store-connection 256.99 206a6140>)
892:4 7 (_ #<store-connection 256.99 206a6140>)
In ./guix/store.scm:
2053:12 6 (_ #<store-connection 256.99 206a6140>)
1401:5 5 (map/accumulate-builds #<store-connection 256.99
206a6140> #<procedure 2e09c700 at ./guix/store.scm:20?> ?)
/ 1417:15 4 (_ #<store-connection 256.99 206a6140>
("/gnu/store/ha2p9cl9cd3x2yrwli11gksqb6nvgkxq-guix-daemon-1.?" ?) ?)
1417:15 3 (loop #f)
711:11 2 (process-stderr #<store-connection 256.99 206a6140> _)
In ./guix/serialization.scm:
101:11 1 (read-int #<input-output: file 10>)
79:6 0 (get-bytevector-n* #<input-output: file 10> 8)
./guix/serialization.scm:79:6: In procedure get-bytevector-n*:
ERROR:
1. &nar-error:
file: #f
port: #<input-output: file 10>
guix pull: error: You found a bug: the program
'/gnu/store/dmnd8rjz3frcv9cs3vd950nzayynl30z-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"6d12c16299c1654a909c69d52bcb99b02cca0962"; system: "riscv64-linux";
host version: "1.4.0"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix <at> gnu.org>.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#65725
; Package
guix
.
(Wed, 15 Nov 2023 16:10:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 65725 <at> debbugs.gnu.org (full text, mbox):
Hi all,
just to check in on this bug again. Recall, I am on guix 1.4.0 (the
Ubuntu package) on riscv64 and I was running into an openssl-1.1.1l
issue and a libgit issue.
I can reproduce the openssl issue in the unit tests with "guix install openssl".
Still, trying to disable the unit test, I tried
`--without-tests=openssl-1.1.1l`, but that didn't seem to be working
either:
# guix install --keep-going --without-tests=openssl-1.1.1l openssl
accepted connection from pid 3611385, user root
guix install: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.
The following package will be installed:
openssl 3.0.7
The following derivations will be built:
/gnu/store/8wrlkm74fg8j01ixjarbgsdr4l7zx38s-glibc-utf8-locales-2.33.drv
/gnu/store/xx80y9hw2ilw1y8bwmkg77rp3bks7xby-glibc-2.33.drv
/gnu/store/9i591y0qb9m33m4ny6hdbsvbv24grxcm-python-minimal-3.9.9.drv
/gnu/store/lzjryc1fdsi6xsjh7m050dygirccbglm-openssl-1.1.1l.drv
building /gnu/store/lzjryc1fdsi6xsjh7m050dygirccbglm-openssl-1.1.1l.drv...
- 'check' phase
/ 'check' phase
| 'check' phase builder for
`/gnu/store/lzjryc1fdsi6xsjh7m050dygirccbglm-openssl-1.1.1l.drv'
failed with exit code 1
build of /gnu/store/lzjryc1fdsi6xsjh7m050dygirccbglm-openssl-1.1.1l.drv failed
View build log at
'/var/log/guix/drvs/lz/jryc1fdsi6xsjh7m050dygirccbglm-openssl-1.1.1l.drv.gz'.
cannot build derivation
`/gnu/store/9i591y0qb9m33m4ny6hdbsvbv24grxcm-python-minimal-3.9.9.drv':
1 dependencies couldn't be built
cannot build derivation
`/gnu/store/xx80y9hw2ilw1y8bwmkg77rp3bks7xby-glibc-2.33.drv': 1
dependencies couldn't be built
cannot build derivation
`/gnu/store/8wrlkm74fg8j01ixjarbgsdr4l7zx38s-glibc-utf8-locales-2.33.drv':
1 dependencies couldn't be built
guix install: error: build of
`/gnu/store/8wrlkm74fg8j01ixjarbgsdr4l7zx38s-glibc-utf8-locales-2.33.drv'
failed
Information forwarded
to
bug-guix <at> gnu.org
:
bug#65725
; Package
guix
.
(Thu, 23 Nov 2023 13:45:03 GMT)
Full text and
rfc822 format available.
Message #20 received at 65725 <at> debbugs.gnu.org (full text, mbox):
Hi all,
I've worked around the issue for now by building from source and
disabling all tests for now, using the following diff.
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index f1e844b..1077c4b 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -494,4 +494,5 @@ (define-public openssl-1.1
(arguments
`(#:parallel-tests? #f
+ #:tests? #f
#:test-target "test"
Reply sent
to
much.effort283 <at> slmail.me
:
You have taken responsibility.
(Thu, 07 Dec 2023 17:13:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
much.effort283 <at> slmail.me
:
bug acknowledged by developer.
(Thu, 07 Dec 2023 17:13:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 65725-done <at> debbugs.gnu.org (full text, mbox):
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 05 Jan 2024 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 124 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.