Subject: bug#21987: closed (Re: bug#21987: Version 0.9 Fails to Compile on Raspbian)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 25 Nov 2015 16:04:03 +0000

Your bug report

#21987: Version 0.9 Fails to Compile on Raspbian

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
21987: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21987
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#21987: Version 0.9 Fails to Compile on Raspbian
From: [email-masked] (Ludovic Courtès)
To: Mark H Weaver <[email-masked]>
Cc: Martin Vahi <[email-masked]>, [email-masked]
Date: Wed, 25 Nov 2015 17:02:46 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Mark H Weaver <[email-masked]> skribis:

> We should allow arm8* as well, no?  Actually armN* for N >= 7.

Right.  I did that in 968ae90.  We’ll revisit it when ARMv10 is out.
;-)

> Ideally, we would test for the processor features we actually need.

Yes.  I’m not sure how to test each of them.  Maybe GMP has something in
that vein?

Ludo’.

Subject: Version 0.9 Fails to Compile on Raspbian
From: Martin Vahi <[email-masked]>
To: [email-masked]
Date: Mon, 23 Nov 2015 00:41:24 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

An excerpt of the console output:

----citation--start-----
  CXX      nix/libstore/libstore_a-build.o
nix/libstore/build.cc: In member function 'void
nix::Worker::waitForInput()':
nix/libstore/build.cc:3332:74: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
     if (!waitingForAWhile.empty() && lastWokenUp +
settings.pollInterval <= after) {
                                                                          ^
  CXX      nix/libstore/libstore_a-pathlocks.o
  CXX      nix/libstore/libstore_a-derivations.o
  AR       libstore.a
  CXX      nix/nix-daemon/guix_daemon-nix-daemon.o
  CXX      nix/nix-daemon/guix_daemon-guix-daemon.o
  CXXLD    guix-daemon
  CXX      nix/guix-register/guix_register-guix-register.o
  CXXLD    guix-register
  GUILEC guix/base32.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /usr/bin/guild
;;; compiled /home/pi/.cache/guile/ccache/2.0-LE-4-2.0/usr/bin/guild.go
wrote `guix/base32.go'
  GUILEC guix/base64.go
wrote `guix/base64.go'
  GUILEC guix/cpio.go
wrote `guix/cpio.go'
  GUILEC guix/records.go
wrote `guix/records.go'
  GUILEC guix/gcrypt.go
wrote `guix/gcrypt.go'
  GUILEC guix/hash.go
wrote `guix/hash.go'
  GUILEC guix/pk-crypto.go
Backtrace:
In ice-9/boot-9.scm:
2401: 19 [save-module-excursion #<procedure 14675b8 at
ice-9/boot-9.scm:3066:17 ()>]
3085: 18 [#<procedure 14675b8 at ice-9/boot-9.scm:3066:17 ()>]
In unknown file:
   ?: 17 [primitive-load-path "guix/utils" ...]
In ice-9/eval.scm:
 505: 16 [#<procedure 1174400 at ice-9/eval.scm:499:4 (exp)>
(define-module # # ...)]
In ice-9/psyntax.scm:
1106: 15 [expand-top-sequence ((define-module (guix utils) #:use-module
...)) () ...]
 989: 14 [scan ((define-module (guix utils) #:use-module ...)) () ...]
 279: 13 [scan ((#(syntax-object let # ...) (#) (# #) ...)) () ...]
In ice-9/eval.scm:
 411: 12 [eval # ()]
In ice-9/boot-9.scm:
2951: 11 [define-module* (guix utils) #:filename ...]
2926: 10 [resolve-imports (((guix config)) ((srfi srfi-1)) ((srfi
srfi-9)) ...)]
2864: 9 [resolve-interface (guix build syscalls) #:select ...]
2789: 8 [#<procedure 11c92b0 at ice-9/boot-9.scm:2777:4 (name #:optional
autoload version #:key ensure)> # ...]
3065: 7 [try-module-autoload (guix build syscalls) #f]
2401: 6 [save-module-excursion #<procedure 188e798 at
ice-9/boot-9.scm:3066:17 ()>]
3085: 5 [#<procedure 188e798 at ice-9/boot-9.scm:3066:17 ()>]
In unknown file:
   ?: 4 [primitive-load-path "guix/build/syscalls" ...]
In ice-9/eval.scm:
 453: 3 [eval # ()]
 411: 2 [eval # #]
 386: 1 [eval # #]
In ice-9/boot-9.scm:
 106: 0 [#<procedure 13164c0 at ice-9/boot-9.scm:97:6 (thrown-k . args)>
match-error ...]

ice-9/boot-9.scm:106:20: In procedure #<procedure 13164c0 at
ice-9/boot-9.scm:97:6 (thrown-k . args)>:
ice-9/boot-9.scm:106:20: Throw to key `match-error' with args `("match"
"no matching pattern" "armv6l")'.
Makefile:4526: recipe for target 'guix/pk-crypto.go' failed
make[2]: *** [guix/pk-crypto.go] Error 1
make[2]: Leaving directory '/nix/mmmv_jama/GNU_Guix/guix-0.9.0'
Makefile:3688: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/nix/mmmv_jama/GNU_Guix/guix-0.9.0'
Makefile:2302: recipe for target 'all' failed
make: *** [all] Error 2
pi@raspberrypi /nix/mmmv_jama/GNU_Guix/guix-0.9.0 $ uname -a
Linux raspberrypi 4.1.7+ #817 PREEMPT Sat Sep 19 15:25:36 BST 2015
armv6l GNU/Linux
pi@raspberrypi /nix/mmmv_jama/GNU_Guix/guix-0.9.0 $ date
Sun Nov 22 15:03:12 UTC 2015
pi@raspberrypi /nix/mmmv_jama/GNU_Guix/guix-0.9.0 $ echo $CFLAGS
-mtune=native -ftree-vectorize
pi@raspberrypi /nix/mmmv_jama/GNU_Guix/guix-0.9.0 $ echo $CXXFLAGS
-mtune=native -ftree-vectorize
pi@raspberrypi /nix/mmmv_jama/GNU_Guix/guix-0.9.0 $
----citation--end-----