GNU bug report logs - #79045
libfive is broken since 0559a4b

Previous Next

Package: guix;

Reported by: "nomike (they/them)" <nomike <at> nomike.com>

Date: Fri, 18 Jul 2025 12:05:02 UTC

Severity: normal

To reply to this bug, email your comments to 79045 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#79045; Package guix. (Fri, 18 Jul 2025 12:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "nomike (they/them)" <nomike <at> nomike.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 18 Jul 2025 12:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "nomike (they/them)" <nomike <at> nomike.com>
To: bug-guix <at> gnu.org, ngraves <at> ngraves.fr
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: libfive is broken since 0559a4b
Date: Fri, 18 Jul 2025 14:03:30 +0200
Hi!

libfive doesn't build anymore.

I've hacked together a script which uses `guix time-machine` and binary 
search to
determine when something broke:
<https://codeberg.org/nomike/guix-binary-issue-search>

With this I was able to confirm that the build of libfive is broken 
starting from
commit 0559a4b5472f9dc4c88240c61e7ad49a95855d6f.

Commit comment:

```plaintext
Author: Nicolas Graves <ngraves <at> ngraves.fr>
Date:   Tue Jul 8 11:26:04 2025 +0200

    build-system: guile: Remove unused build defaults.

    Defaults should be set in guix/build-system/guile.scm rather than
    guix/build/guile-build-system.scm, to disambiguate at first sight
    where those defaults are set.

    * guix/build-system/guile.scm (guile-build)
      <#:not-compiled-file-regexp>: Add default.

    * guix/build/guile-build-system.scm (build): Remove unused keyword
      defaults.

    Signed-off-by: Ludovic Courtès <ludo <at> gnu.org>
```


Error message during `guix build libfive`:

```plaintext
phase `build' succeeded after 334.2 seconds
starting phase `guile-build'
Compiling with Guile 3.0...
compile flags: #f
error: in phase 'guile-build': uncaught exception:
wrong-type-arg "make-regexp" "Wrong type argument in position ~A 
(expecting ~A): ~S" (1 "string" #f) (#f)
phase `guile-build' failed after 0.0 seconds
Backtrace:
          11 (primitive-load "/gnu/store/w97a3anggzr3iph22d0f07znhxi…")
In guix/build/gnu-build-system.scm:
    966:2 10 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
In ice-9/boot-9.scm:
  1752:10  9 (with-exception-handler _ _ #:unwind? _ # _)
In srfi/srfi-1.scm:
    634:9  8 (for-each #<procedure 78dccc45db20 at guix/build/gnu-b…> …)
In ice-9/boot-9.scm:
  1752:10  7 (with-exception-handler _ _ #:unwind? _ # _)
In guix/build/gnu-build-system.scm:
   987:23  6 (_)
In guix/build/guile-build-system.scm:
   180:13  5 (build #:outputs _ #:inputs _ #:native-inputs _ # _ # _ …)
In guix/build/utils.scm:
   547:18  4 (find-files "." _ #:stat _ #:directories? _ # _)
   530:21  3 (file-name-predicate #f)
In unknown file:
           2 (make-regexp #f)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure make-regexp: Wrong type argument in position 1 (expecting 
string): #f
build process 14 exited with status 256
builder for 
`/gnu/store/hlzpkqkgmr8f7rpq58hm1fn9q8cbs4ak-libfive-0-5.b1ea998.drv' 
failed with exit code 1
build of 
/gnu/store/hlzpkqkgmr8f7rpq58hm1fn9q8cbs4ak-libfive-0-5.b1ea998.drv failed
View build log at 
'/var/log/guix/drvs/hl/zpkqkgmr8f7rpq58hm1fn9q8cbs4ak-libfive-0-5.b1ea998.drv.gz'.
guix build: error: build of 
`/gnu/store/hlzpkqkgmr8f7rpq58hm1fn9q8cbs4ak-libfive-0-5.b1ea998.drv' failed
```

I want to finalize and submit a new package for PythonSCAD. a 
programmating 3D modelling tool but I'm now blocked
due to it's dependency on libfive.

@Nicolas: Could you (or someone else) have a look at this and fix it please?

Thanks

nomike





Information forwarded to bug-guix <at> gnu.org:
bug#79045; Package guix. (Sat, 19 Jul 2025 02:51:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "nomike (they/them)" <nomike <at> nomike.com>
To: bug-guix <at> gnu.org
Subject: Re: bug#79045: libfive is broken since 0559a4b
Date: Sat, 19 Jul 2025 04:50:16 +0200
On 18.07.25 14:03, nomike (they/them) wrote:
> @Nicolas: Could you (or someone else) have a look at this and fix it 
> please?
I've just finally figured out how to solve this and updated my PR:
https://codeberg.org/guix/guix/pulls/1347

Once this is merged. libfive should work again.

I had a quick look through the code with grep, but as far as I can tell 
no other package is doing something similar, so everything else should 
be fine.

IMHO this ticket could be closed. Any further discussion could happen in 
the PR if required.

Thanks

nomike






This bug report was last modified today.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.