* bug#21610: FreeBSD compilation problem (errno_location)
@ 2015-10-03 1:56 Janus Troelsen
2015-10-03 10:04 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Janus Troelsen @ 2015-10-03 1:56 UTC (permalink / raw
To: 21610
[-- Attachment #1: Type: text/plain, Size: 3258 bytes --]
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@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@xn--kn-1ia ~/guix-0.8.3]
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3895 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#21610: FreeBSD compilation problem (errno_location)
2015-10-03 1:56 bug#21610: FreeBSD compilation problem (errno_location) Janus Troelsen
@ 2015-10-03 10:04 ` Ludovic Courtès
2015-10-04 18:02 ` Mark H Weaver
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2015-10-03 10:04 UTC (permalink / raw
To: Janus Troelsen; +Cc: 21610-done
Hello,
Janus Troelsen <ysangkok@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’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#21610: FreeBSD compilation problem (errno_location)
2015-10-03 10:04 ` Ludovic Courtès
@ 2015-10-04 18:02 ` Mark H Weaver
0 siblings, 0 replies; 3+ messages in thread
From: Mark H Weaver @ 2015-10-04 18:02 UTC (permalink / raw
To: 21610
ludo@gnu.org (Ludovic Courtès) writes:
> Janus Troelsen <ysangkok@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-04 18:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-03 1:56 bug#21610: FreeBSD compilation problem (errno_location) Janus Troelsen
2015-10-03 10:04 ` Ludovic Courtès
2015-10-04 18:02 ` Mark H Weaver
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.