all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Guix 1.4.0 build on Debian fails test suites
@ 2024-08-09 18:43 Vagrant Cascadian
  2024-08-09 19:37 ` Vagrant Cascadian
  0 siblings, 1 reply; 2+ messages in thread
From: Vagrant Cascadian @ 2024-08-09 18:43 UTC (permalink / raw)
  To: guix-devel

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

So, facing down another round of windmills...

guix started failing to build on Debian a back in late July:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/guix.html

First problem I fixed by updating guile-gcrypt to build against the
current versions of gcrypt... so guix actually builds again...

.. but fails test suites, in particular tests/gremlins.scm:

  FAIL: tests/gremlin.scm - strip-runpath
  FAIL: tests/gremlin.scm - set-file-runpath + file-runpath

These quite plausibly seem to be due to a newer compiler version or
something... have not dug into those yet...

and tests/style.scm:

  FAIL: tests/style.scm - input labels, mismatch
  FAIL: tests/style.scm - input labels, simple
  FAIL: tests/style.scm - input labels, long list with one item per line
  FAIL: tests/style.scm - input labels, sdl-union
  FAIL: tests/style.scm - input labels, output
  FAIL: tests/style.scm - input labels, prepend
  FAIL: tests/style.scm - input labels, prepend + delete
  FAIL: tests/style.scm - input labels, prepend + delete multiple
  FAIL: tests/style.scm - input labels, replace
  FAIL: tests/style.scm - input labels, 'safe' policy
  FAIL: tests/style.scm - input labels, 'safe' policy, nothing changed
  FAIL: tests/style.scm - input labels, margin comment
  FAIL: tests/style.scm - input labels, margin comment on long list
  FAIL: tests/style.scm - input labels, line comment
  FAIL: tests/style.scm - input labels, modify-inputs and margin comment

These mostly seem to be about whitespace changes, which I guess is one
of the things "guix style" actually should have working tests... but
what changes in Guix build dependencies *might* have changed this
behavior? No changes in the code itself occurred.

Here is at least one of the example failures:

  test-name: input labels, mismatch
  location: /<<PKGBUILDDIR>>/tests/style.scm:124
  source:
  + (test-equal
  +  "input labels, mismatch"
  +  (list `(("foo" ,gmp) ("bar" ,acl))
  +        "      (inputs `((\"foo\" ,gmp) (\"bar\" ,acl)))\n")
  +  (with-test-package
  +   '((inputs `(("foo" ,gmp) ("bar" ,acl))))
  +   (list (package-direct-inputs (@ (my-packages) my-coreutils))
  +         (read-package-field (@ (my-packages) my-coreutils) 'inputs))))
  expected-value: ((("foo" #<package gmp@6.2.1 gnu/packages/multiprecision.scm:45 7f5221c9d0b0>) ("bar" #<package acl@2.3.1 gnu/packages/acl.scm:41 7f5221dc3210>)) "      (inputs `((\"foo\" ,gmp) (\"bar\" ,acl)))\n")
  actual-value: ((("foo" #<package gmp@6.2.1 gnu/packages/multiprecision.scm:45 7f5221c9d0b0>) ("bar" #<package acl@2.3.1 gnu/packages/acl.scm:41 7f5221dc3210>)) "     (inputs `((\"foo\" ,gmp) (\"bar\" ,acl)))\n")
  result: FAIL


Help? :)


live well,
  vagrant

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

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

* Re: Guix 1.4.0 build on Debian fails test suites
  2024-08-09 18:43 Guix 1.4.0 build on Debian fails test suites Vagrant Cascadian
@ 2024-08-09 19:37 ` Vagrant Cascadian
  0 siblings, 0 replies; 2+ messages in thread
From: Vagrant Cascadian @ 2024-08-09 19:37 UTC (permalink / raw)
  To: guix-devel

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

On 2024-08-09, Vagrant Cascadian wrote:
>   test-name: input labels, mismatch
>   location: /<<PKGBUILDDIR>>/tests/style.scm:124
>   source:
>   + (test-equal
>   +  "input labels, mismatch"
>   +  (list `(("foo" ,gmp) ("bar" ,acl))
>   +        "      (inputs `((\"foo\" ,gmp) (\"bar\" ,acl)))\n")
>   +  (with-test-package
>   +   '((inputs `(("foo" ,gmp) ("bar" ,acl))))
>   +   (list (package-direct-inputs (@ (my-packages) my-coreutils))
>   +         (read-package-field (@ (my-packages) my-coreutils) 'inputs))))
>   expected-value: ((("foo" #<package gmp@6.2.1 gnu/packages/multiprecision.scm:45 7f5221c9d0b0>) ("bar" #<package acl@2.3.1 gnu/packages/acl.scm:41 7f5221dc3210>)) "      (inputs `((\"foo\" ,gmp) (\"bar\" ,acl)))\n")
>   actual-value: ((("foo" #<package gmp@6.2.1 gnu/packages/multiprecision.scm:45 7f5221c9d0b0>) ("bar" #<package acl@2.3.1 gnu/packages/acl.scm:41 7f5221dc3210>)) "     (inputs `((\"foo\" ,gmp) (\"bar\" ,acl)))\n")
>   result: FAIL

Looks like guile was updated to 3.0.10 in Debian fairly
recently... managed to build on debian testing/trixie which still has
guile 3.0.9 and gcc 13 by default at the moment, which resolved the
tests/style.scm and tests/gremlin.scm test suite failures (...and
introduces issues with tests/nar.scm and tests/store.scm, but who is
really counting?)

This does not solve the problem for Debian, but at least that gives a
hint at where the problem lies... and obviously long-term guix should be
buildable with newer versions of gcc and guile... which could then be
backported to 1.4.0?

live well,
  vagrant

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

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

end of thread, other threads:[~2024-08-09 19:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-09 18:43 Guix 1.4.0 build on Debian fails test suites Vagrant Cascadian
2024-08-09 19:37 ` Vagrant Cascadian

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.