unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#65725: guix pull fails on riscv64
@ 2023-09-03 10:47 much.effort283--- via Bug reports for GNU Guix
       [not found] ` <handler.65725.B.16937932707502.ack@debbugs.gnu.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: much.effort283--- via Bug reports for GNU Guix @ 2023-09-03 10:47 UTC (permalink / raw)
  To: 65725

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@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#65725: Acknowledgement (guix pull fails on riscv64)
       [not found] ` <handler.65725.B.16937932707502.ack@debbugs.gnu.org>
@ 2023-09-04  9:23   ` much.effort283--- via Bug reports for GNU Guix
  2023-09-07  8:14     ` Josselin Poiret via Bug reports for GNU Guix
  0 siblings, 1 reply; 7+ messages in thread
From: much.effort283--- via Bug reports for GNU Guix @ 2023-09-04  9:23 UTC (permalink / raw)
  To: 65725

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#65725: Acknowledgement (guix pull fails on riscv64)
  2023-09-04  9:23   ` bug#65725: Acknowledgement (guix pull fails on riscv64) much.effort283--- via Bug reports for GNU Guix
@ 2023-09-07  8:14     ` Josselin Poiret via Bug reports for GNU Guix
  2023-09-14 17:47       ` much.effort283--- via Bug reports for GNU Guix
  0 siblings, 1 reply; 7+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2023-09-07  8:14 UTC (permalink / raw)
  To: much.effort283, 65725

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

Hi,

much.effort283--- via Bug reports for GNU Guix <bug-guix@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#65725: Acknowledgement (guix pull fails on riscv64)
  2023-09-07  8:14     ` Josselin Poiret via Bug reports for GNU Guix
@ 2023-09-14 17:47       ` much.effort283--- via Bug reports for GNU Guix
  0 siblings, 0 replies; 7+ messages in thread
From: much.effort283--- via Bug reports for GNU Guix @ 2023-09-14 17:47 UTC (permalink / raw)
  Cc: 65725

> 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@gnu.org>.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#65725: guix pull fails on riscv64 (guix install openssl, too)
  2023-09-03 10:47 bug#65725: guix pull fails on riscv64 much.effort283--- via Bug reports for GNU Guix
       [not found] ` <handler.65725.B.16937932707502.ack@debbugs.gnu.org>
@ 2023-11-15 16:09 ` much.effort283--- via Bug reports for GNU Guix
       [not found]   ` <CAK51vgC5zkVVPH8ObxP2TzMonsYtpZ+2s+cgNbP_qS6u1ub1rw@mail.gmail.com>
  2023-12-07 17:11 ` bug#65725: much.effort283--- via Bug reports for GNU Guix
  2 siblings, 1 reply; 7+ messages in thread
From: much.effort283--- via Bug reports for GNU Guix @ 2023-11-15 16:09 UTC (permalink / raw)
  To: 65725

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#65725: guix pull fails on riscv64 (guix install openssl, too)
       [not found]   ` <CAK51vgC5zkVVPH8ObxP2TzMonsYtpZ+2s+cgNbP_qS6u1ub1rw@mail.gmail.com>
@ 2023-11-23 13:43     ` much.effort283--- via Bug reports for GNU Guix
  0 siblings, 0 replies; 7+ messages in thread
From: much.effort283--- via Bug reports for GNU Guix @ 2023-11-23 13:43 UTC (permalink / raw)
  To: 65725

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"





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* bug#65725:
  2023-09-03 10:47 bug#65725: guix pull fails on riscv64 much.effort283--- via Bug reports for GNU Guix
       [not found] ` <handler.65725.B.16937932707502.ack@debbugs.gnu.org>
  2023-11-15 16:09 ` bug#65725: guix pull fails on riscv64 (guix install openssl, too) much.effort283--- via Bug reports for GNU Guix
@ 2023-12-07 17:11 ` much.effort283--- via Bug reports for GNU Guix
  2 siblings, 0 replies; 7+ messages in thread
From: much.effort283--- via Bug reports for GNU Guix @ 2023-12-07 17:11 UTC (permalink / raw)
  To: 65725-done







^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-12-07 17:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-03 10:47 bug#65725: guix pull fails on riscv64 much.effort283--- via Bug reports for GNU Guix
     [not found] ` <handler.65725.B.16937932707502.ack@debbugs.gnu.org>
2023-09-04  9:23   ` bug#65725: Acknowledgement (guix pull fails on riscv64) much.effort283--- via Bug reports for GNU Guix
2023-09-07  8:14     ` Josselin Poiret via Bug reports for GNU Guix
2023-09-14 17:47       ` much.effort283--- via Bug reports for GNU Guix
2023-11-15 16:09 ` bug#65725: guix pull fails on riscv64 (guix install openssl, too) much.effort283--- via Bug reports for GNU Guix
     [not found]   ` <CAK51vgC5zkVVPH8ObxP2TzMonsYtpZ+2s+cgNbP_qS6u1ub1rw@mail.gmail.com>
2023-11-23 13:43     ` much.effort283--- via Bug reports for GNU Guix
2023-12-07 17:11 ` bug#65725: much.effort283--- via Bug reports for GNU Guix

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).