libfive is broken since 0559a4b

  • Done
  • quality assurance status badge
Details
2 participants
  • Andreas Enge
  • nomike (they/them)
Owner
unassigned
Submitted by
nomike (they/them)
Severity
normal

Debbugs page

N
N
nomike (they/them) wrote on 18 Jul 05:03 -0700
(name . Ludovic Courtès)(address . ludo@gnu.org)
43778a66-ce11-4a80-8bd6-dcb3ecaecd8a@nomike.com
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:

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@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@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
N
N
nomike (they/them) wrote on 18 Jul 19:50 -0700
(address . bug-guix@gnu.org)
0a05b69e-5e50-4924-96dd-05581b4d2c51@nomike.com
On 18.07.25 14:03, nomike (they/them) wrote:
Toggle quote (2 lines)
> @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:

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
A
A
Andreas Enge wrote on 26 Jul 10:53 -0700
Close
(address . 79045-done@debbugs.gnu.org)
aIUWBl07t3y2FLhY@jurong
Should be solved after the merge, closing.

Andreas
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 79045@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 79045
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch