GNU bug report logs -
#21610
FreeBSD compilation problem (errno_location)
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21610 in the body.
You can then email your comments to 21610 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#21610
; Package
guix
.
(Sat, 03 Oct 2015 03:14:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Janus Troelsen <ysangkok <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 03 Oct 2015 03:14:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
When compiling Guix on FreeBSD, everything works great until I get the following error message. Does anyone know how to handle this?
This my configure line:
LDFLAGS="-largp -lintl -L/usr/local/lib" CPPFLAGS="-I/usr/local/include" ./configure --prefix=$HOME/guix-build --with-courage
I know FreeBSD is not officially supported, but I don't see why it shouldn't be? Many GNU tools work on FreeBSD.
Regards,
Janus
> [janus <at> xn--kn-1ia ~/guix-0.8.3] ../make-build/bin/make
> /usr/home/janus/guix-0.8.3/../make-build/bin/make all-recursive
> make[1]: Entering directory '/usr/home/janus/guix-0.8.3'
> Making all in po/guix
> make[2]: Entering directory '/usr/home/janus/guix-0.8.3/po/guix'
> make[2]: Leaving directory '/usr/home/janus/guix-0.8.3/po/guix'
> Making all in po/packages
> make[2]: Entering directory '/usr/home/janus/guix-0.8.3/po/packages'
> make[2]: Leaving directory '/usr/home/janus/guix-0.8.3/po/packages'
> make[2]: Entering directory '/usr/home/janus/guix-0.8.3'
> GUILEC guix/pk-crypto.go
> Backtrace:
> In ice-9/boot-9.scm:
> 2401: 19 [save-module-excursion #<procedure a71780 at ice-9/boot-9.scm:3066:17 ()>]
> 3085: 18 [#<procedure a71780 at ice-9/boot-9.scm:3066:17 ()>]
> In unknown file:
> ?: 17 [primitive-load-path "guix/utils" ...]
> In ice-9/eval.scm:
> 505: 16 [#<procedure 73fac0 at ice-9/eval.scm:499:4 (exp)> (define-module # # ...)]
> In ice-9/psyntax.scm:
> 1106: 15 [expand-top-sequence ((define-module (guix utils) #:use-module ...)) () ...]
> 989: 14 [scan ((define-module (guix utils) #:use-module ...)) () ...]
> 279: 13 [scan ((#(syntax-object let # ...) (#) (# #) ...)) () ...]
> In ice-9/eval.scm:
> 411: 12 [eval # ()]
> In ice-9/boot-9.scm:
> 2951: 11 [define-module* (guix utils) #:filename ...]
> 2926: 10 [resolve-imports (((guix config)) ((srfi srfi-1)) ((srfi srfi-9)) ...)]
> 2864: 9 [resolve-interface (guix build syscalls) #:select ...]
> 2789: 8 [#<procedure 7e7620 at ice-9/boot-9.scm:2777:4 (name #:optional autoload version #:key ensure)> # ...]
> 3065: 7 [try-module-autoload (guix build syscalls) #f]
> 2401: 6 [save-module-excursion #<procedure 106e0c0 at ice-9/boot-9.scm:3066:17 ()>]
> 3085: 5 [#<procedure 106e0c0 at ice-9/boot-9.scm:3066:17 ()>]
> In unknown file:
> ?: 4 [primitive-load-path "guix/build/syscalls" ...]
> In ice-9/eval.scm:
> 453: 3 [eval # ()]
> 411: 2 [eval # ()]
> In unknown file:
> ?: 1 [dynamic-func "__errno_location" #<dynamic-object #f>]
> In ice-9/boot-9.scm:
> 106: 0 [#<procedure ad2d40 at ice-9/boot-9.scm:97:6 (thrown-k . args)> misc-error ...]
>
> ice-9/boot-9.scm:106:20: In procedure #<procedure ad2d40 at ice-9/boot-9.scm:97:6 (thrown-k . args)>:
> ice-9/boot-9.scm:106:20: In procedure dynamic-pointer: Symbol not found: __errno_location
> Makefile:4457: recipe for target 'guix/pk-crypto.go' failed
> make[2]: *** [guix/pk-crypto.go] Error 1
> make[2]: Leaving directory '/usr/home/janus/guix-0.8.3'
> Makefile:3619: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/usr/home/janus/guix-0.8.3'
> Makefile:2231: recipe for target 'all' failed
> make: *** [all] Error 2
> [janus <at> xn--kn-1ia ~/guix-0.8.3]
[smime.p7s (application/x-pkcs7-signature, attachment)]
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Sat, 03 Oct 2015 10:05:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Janus Troelsen <ysangkok <at> gmail.com>
:
bug acknowledged by developer.
(Sat, 03 Oct 2015 10:05:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 21610-done <at> debbugs.gnu.org (full text, mbox):
Hello,
Janus Troelsen <ysangkok <at> gmail.com> skribis:
> I know FreeBSD is not officially supported, but I don't see why it shouldn't be? Many GNU tools work on FreeBSD.
Guix depends on the availability of the GNU C Library, with either the
Linux-libre kernel or the Hurd. So it cannot be used at all on FreeBSD.
Now, an interesting project would be to use Debian’s port of the
GNU libc to the kernel of FreeBSD (GNU/kFreeBSD) in Guix…
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#21610
; Package
guix
.
(Sun, 04 Oct 2015 18:04:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 21610 <at> debbugs.gnu.org (full text, mbox):
ludo <at> gnu.org (Ludovic Courtès) writes:
> Janus Troelsen <ysangkok <at> gmail.com> skribis:
>
>> I know FreeBSD is not officially supported, but I don't see why it shouldn't be? Many GNU tools work on FreeBSD.
>
> Guix depends on the availability of the GNU C Library, with either the
> Linux-libre kernel or the Hurd. So it cannot be used at all on FreeBSD.
I'd like to expand on this. When Guix builds packages, the container in
which software is built does not use any software or libraries from the
host system at all. The only part of the host system that we use,
implicitly, is the kernel.
Guix is bootstrapped in a manner analogous to Cross [GNU/]Linux from
Scratch, starting from statically "bootstrap binaries" that we provide
for each supported architecture/kernel combination. At present, we
provide bootstrap binaries for x86_64, i686, mips64el, and armhf on top
of Linux (the kernel), and soon we will support the Hurd as well.
Unless the FreeBSD kernel is able to emulate Linux (the kernel)
sufficiently well to run our binaries for GNU/Linux unmodified, and to
convince 'configure' scripts and other build systems that the kernel is
Linux, using Guix on top of FreeBSD will involve porting it, as
described in section 7.8 (Porting to a New Platform) in the Guix manual.
As Ludovic pointed out, such a port would still need to use GNU libc,
and would use all of the GNU userland on top, so only the kernel from
FreeBSD would be used.
Regards,
Mark
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 02 Nov 2015 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 287 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.