Open LiamHowley opened 2 years ago
I'm experiencing the exact same error when building this roswell.scm
file
(define-module (gnu packages roswell)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix licenses)
#:use-module (gnu packages autotools)
#:use-module (gnu packages curl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages tls))
(define-public roswell
(package
(name "roswell")
(version "21.10.14.111")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/roswell/roswell.git")
(commit (string-append "v" version))))
(sha256
(base32
"1nymvaw8fd4p9rg2vm2951yb96b9k34mrc1qiq6s70rw6qsl711b"))))
(build-system gnu-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(add-before 'build 'call-bootstrap
(lambda* (#:key outputs #:allow-other-keys)
(invoke "sh" "bootstrap"))))))
(native-inputs (list autoconf automake curl openssl pkg-config))
(synopsis "Common Lisp Roswell")
(description "Common Lisp Roswell")
(home-page "https://roswell.github.io")
(license gpl3+)))
roswell
with this command:
guix build -f roswell.scm
(using GNU Guix).
The CFLAGS -fcommon
or -fno-common
is needed for these to link...
OK I can confirm that this roswell.scm
works in Guile, thanks @jbenden !
(define-module (gnu packages roswell)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix licenses)
#:use-module (gnu packages autotools)
#:use-module (gnu packages curl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages tls))
(define-public roswell
(package
(name "roswell")
(version "21.10.14.111")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/roswell/roswell.git")
(commit (string-append "v" version))))
(sha256
(base32
"1nymvaw8fd4p9rg2vm2951yb96b9k34mrc1qiq6s70rw6qsl711b"))))
(build-system gnu-build-system)
(arguments
'(#:make-flags
(list "CFLAGS=-fcommon")
#:phases (modify-phases %standard-phases
(add-before 'build 'call-bootstrap
(lambda* (#:key outputs #:allow-other-keys)
(invoke "sh" "bootstrap"))))))
(native-inputs (list autoconf automake curl openssl pkg-config))
(synopsis "Common Lisp Roswell")
(description "Common Lisp Roswell")
(home-page "https://roswell.github.io")
(license gpl3+)))
roswell
Environment
Void Linux: Void Packages Travis CI test-results Fails on i686, x86_64 and x86_64-musl
Result