guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Guix 1.4.0 build on Debian fails test suites


From: Vagrant Cascadian
Subject: Guix 1.4.0 build on Debian fails test suites
Date: Fri, 09 Aug 2024 11:43:17 -0700

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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]