Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guix build fails for clasp@2.6.0-50-g09bd88a #1632

Open
logoraz opened this issue Sep 22, 2024 · 0 comments
Open

Guix build fails for clasp@2.6.0-50-g09bd88a #1632

logoraz opened this issue Sep 22, 2024 · 0 comments
Labels

Comments

@logoraz
Copy link

logoraz commented Sep 22, 2024

Describe the bug
Following build prescription in clasp.scm results missing dependency error, namely schubfach.hpp.

Expected behavior
Build proceeds successfully as previously observed for 2.6.0-32-g01cf28c..

Actual behavior
Build fails due to apparent missing dependency schubfach.hpp:

../src/core/float_to_digits.cc:36:10: fatal error: '../schubfach/schubfach.hpp' file not found
   36 | #include "../schubfach/schubfach.hpp"
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated.

Code at issue & Potential solution

Added path for schubfach.hpp to clasp.scm file which resolved issue and resulted in a successful build for clasp@2.6.0-50-g09bd88a, see code snippet below:

(define clasp-cl
  (let* ((source-dir (dirname (dirname (current-filename))))
         (version (git-checkout-description source-dir))
         (external-dirs               ; dirs containing nested Git repos
          (list (string-append source-dir "/src/lisp/kernel/contrib")
                (string-append source-dir "/dependencies")
                (string-append source-dir "/extensions")))
         (git-dirs
          (apply append
                 (list (string-append source-dir "/src/bdwgc")
                       ;; added the below path for schubfach which resolved issue of missing dependency
                       (string-append source-dir "/src/schubfach")
                       ;;
                       (string-append source-dir "/src/libatomic_ops")
                       (string-append source-dir "/src/lisp/modules/asdf"))
                 (map-in-order scandir-absolute external-dirs)))
         (descend-dirs (append git-dirs external-dirs))
         (predicates (map-in-order git-predicate (cons source-dir git-dirs))))...

Context

@logoraz logoraz added the bug label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant