unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Vagrant Cascadian <vagrant@debian.org>
To: guix-devel@gnu.org
Subject: Guix 1.4.0 build on Debian fails test suites
Date: Fri, 09 Aug 2024 11:43:17 -0700	[thread overview]
Message-ID: <87jzgpsfju.fsf@wireframe> (raw)

[-- 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 --]

             reply	other threads:[~2024-08-09 18:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-09 18:43 Vagrant Cascadian [this message]
2024-08-09 19:37 ` Guix 1.4.0 build on Debian fails test suites Vagrant Cascadian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87jzgpsfju.fsf@wireframe \
    --to=vagrant@debian.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).