Subject: Guile 3.0.7 fails to build on armhf-linux
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Date: Sat, 12 Mar 2022 10:28:01 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Guile 3.0.7 appears to fail tests reproducibly on armhf-linux:

--8<---------------cut here---------------start------------->8---
Running vm.test
Running weaks.test
Running web-client.test
Running web-http.test
Running web-request.test
Running web-response.test
Running web-server.test
ERROR: web-server.test: GET / - arguments: ((system-error "connect" "~A" ("Connection refused") (111)))
ERROR: web-server.test: GET /latin1 - arguments: ((system-error "connect" "~A" ("Connection refused") (111)))
ERROR: web-server.test: GET /user-agent - arguments: ((system-error "connect" "~A" ("Connection refused") (111)))
ERROR: web-server.test: GET /does-not-exist - arguments: ((system-error "connect" "~A" ("Connection refused") (111)))
ERROR: web-server.test: GET with keep-alive - arguments: ((system-error "connect" "~A" ("Connection refused") (111)))
ERROR: web-server.test: POST / - arguments: ((system-error "connect" "~A" ("Connection refused") (111)))
Running web-uri.test
UNRESOLVED: web-uri.test: build-uri: http://ill\xe9gal.com
UNRESOLVED: web-uri.test: string->uri: http://www.example.com (sv_SE)

Totals for this test run:
passes:                 41640
failures:               0
unexpected passes:      0
expected failures:      10
unresolved test cases:  581
untested test cases:    1
unsupported test cases: 1
errors:                 6

WARNING: Use of `load' in declarative module (test-suite test-r4rs).  Add #:declarative? #f to your define-module invocation.
WARNING: (test-suite test-rnrs-exceptions): imported module (rnrs exceptions) overrides core binding `raise'
warning: call to primitive-fork while multiple threads are running;
         further behavior unspecified.  See "Processes" in the
         manual, for more information.
;;; SSAX warning: Skipping PI: xml

;;; SSAX warning: Skipping PI: PI

;;; SSAX warning: Skipping PI: PI1

;;; SSAX warning: (
 Warning:  DOCTYPE DECL  T   system1  found and skipped)
;;; SSAX warning: (
 Warning:  Internal DTD subset is not currently handled )
;;; SSAX warning: (
 Warning:  DOCTYPE DECL  T   system1  found and skipped)
;;; SSAX warning: Skipping PI: pi

;;; SSAX warning: DOCTYPE DECL T system1 found and skipped
WARNING: (test-suite sxml-xpath): imported module (sxml xpath) overrides core binding `filter'
FAIL: check-guile
==================================
1 of 1 test failed
Please report to [email-masked]
==================================
make[3]: *** [Makefile:2151: check-TESTS] Error 1
make[3]: Leaving directory '/tmp/guix-build-guile-3.0.7.drv-0/guile-3.0.7'
make[2]: *** [Makefile:2442: check-am] Error 2
make[2]: Leaving directory '/tmp/guix-build-guile-3.0.7.drv-0/guile-3.0.7'
make[1]: *** [Makefile:2051: check-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-guile-3.0.7.drv-0/guile-3.0.7'
make: *** [Makefile:2444: check] Error 2

Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
srfi-34 #<condition &invoke-error [program: "make" arguments: ("check" "-j" "16") exit-status: 2 term-signal: #f stop-signal: #f] b5ec40>
phase `check' failed after 196.6 seconds
command "make" "check" "-j" "16" failed with status 2
builder for `/gnu/store/0f37iw8slim3zkmc4mivjk90akl4pdn0-guile-3.0.7.drv' failed with exit code 1
@ build-failed /gnu/store/0f37iw8slim3zkmc4mivjk90akl4pdn0-guile-3.0.7.drv - 1 builder for `/gnu/store/0f37iw8slim3zkmc4mivjk90akl4pdn0-guile-3.0.7.drv' failed with exit code 1
derivation '/gnu/store/0f37iw8slim3zkmc4mivjk90akl4pdn0-guile-3.0.7.drv' offloaded to '10.0.0.9' failed: build of `/gnu/store/0f37iw8slim3zkmc4mivjk90akl4pdn0-guile-3.0.7.drv' failed
build of /gnu/store/0f37iw8slim3zkmc4mivjk90akl4pdn0-guile-3.0.7.drv failed
--8<---------------cut here---------------end--------------->8---

This is the current ‘guile-final’, meaning Guix has presumably been
unavailable on armhf-linux since the ‘core-updates’ merge in December:

--8<---------------cut here---------------start------------->8---
$ guix describe
Generation 25   Jan 20 2022 18:20:43    (current)
  guix 3e62af6
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 3e62af6f3b2efcf3181094be79da237ac9208d46
$ guix build -e '(@@ (gnu packages commencement) guile-final)' --no-grafts -d -s armhf-linux
/gnu/store/0f37iw8slim3zkmc4mivjk90akl4pdn0-guile-3.0.7.drv
--8<---------------cut here---------------end--------------->8---

The build machine above, behind berlin, is actually an aarch64 machine.

Ludo’.