[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with cross-toolchain support for Hurd
From: |
Manolis Ragkousis |
Subject: |
Problem with cross-toolchain support for Hurd |
Date: |
Fri, 27 Jul 2018 18:33:31 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Hello everyone,
On current master I tried running `./pre-inst-env guix build -e '((@@
(gnu packages cross-base) cross-kernel-headers) "i586-pc-gnu")'` and it
fails with
checking for __builtin_trap with no external dependencies... yes
checking whether the C++ compiler supports thread_local... no
running configure fragment for sysdeps/mach/hurd
checking Hurd header version... bad
configure: error: Hurd headers not installed or too old
Backtrace:
4 (primitive-load "/gnu/store/mydjjawi1vspl5p5i547ny2fz5x?")
In ice-9/eval.scm:
191:35 3 (_ _)
In srfi/srfi-1.scm:
640:9 2 (for-each #<procedure a45b00 at /gnu/store/f95ghy8mx00?> ?)
In
/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-build-system.scm:
799:31 1 (_ _)
In
/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:
616:6 0 (invoke _ . _)
/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:616:6:
In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program:
"/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash"
arguments: ("../glibc-2.23-hurd+libpthread-20161218/configure"
"CONFIG_SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash"
"SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash"
"--prefix=/gnu/store/wb4gn1d5prgc9xl8flz5vhl8alhvcdmd-glibc-hurd-headers-cross-i586-pc-gnu-2.23"
"--enable-fast-install" "--build=x86_64-unknown-linux-gnu"
"--enable-add-ons" "--host=i586-pc-gnu" "--enable-obsolete-rpc")
exit-status: 1 term-signal: #f stop-signal: #f] a47740>)'.
note: keeping build directory
`/tmp/guix-build-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv-3'
builder for
`/gnu/store/8c3s6f959aqrpwnglvwz52093hnxd4p1-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv'
failed with exit code 1
@ build-failed
/gnu/store/8c3s6f959aqrpwnglvwz52093hnxd4p1-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv
- 1 builder for
`/gnu/store/8c3s6f959aqrpwnglvwz52093hnxd4p1-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv'
failed with exit code 1
cannot build derivation
`/gnu/store/pc74fikk33drazw249ap3h5a0bz5x7bm-hurd-minimal-cross-i586-pc-gnu-0.9.drv':
1 dependencies couldn't be built
cannot build derivation
`/gnu/store/nmn0gzcds2alakyhdc50ns59azfv2b15-hurd-core-headers-cross-i586-pc-gnu-0.9.drv':
1 dependencies couldn't be built
guix build: error: build failed: build of
`/gnu/store/nmn0gzcds2alakyhdc50ns59azfv2b15-hurd-core-headers-cross-i586-pc-gnu-0.9.drv'
failed
Normally this issue should be solved by this part inside (gnu packages
cross-base)
```
((#:phases phases)
`(modify-phases ,phases
(add-before 'pre-configure 'set-cross-headers-path
(lambda* (#:key inputs #:allow-other-keys)
(let* ((mach (assoc-ref inputs "gnumach-headers"))
(hurd (assoc-ref inputs "hurd-headers"))
(cpath (string-append hurd "/include:"
mach "/include"))
)
(for-each (cut setenv <> cpath)
',%gcc-cross-include-paths)
#t)))))))
```
>From what I remember, normally in the environment-variables during
cross-building there should be a CROSS_INCLUDE_PATH variable, among
others. But from what you can see in the attached environment file it
doesn't.
Any ideas?
Thank you for your time and help,
Manolis
3s6f959aqrpwnglvwz52093hnxd4p1-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv.bz2
Description: application/bzip
config.log
Description: Text Data
environment-variables
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problem with cross-toolchain support for Hurd,
Manolis Ragkousis <=