unofficial mirror of guix-devel@gnu.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

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