GNU bug report logs -
#48759
[PATCH]: Replace '%build-inputs' with 'inputs' in some places and fix 'smalltalk' cross-compilation somewhat
Previous Next
Reported by: Maxime Devos <maximedevos <at> telenet.be>
Date: Mon, 31 May 2021 12:37:01 UTC
Severity: normal
Tags: patch
Done: Mathieu Othacehe <othacehe <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi guix,
Overview:
(%build-inputs --> inputs, native-inputs)
#1: gnu: ci: Use 'inputs' in build phases instead of '%build-inputs'.
#2: gnu: smalltalk: Use 'inputs' in phases instead of '%build-inputs'.
#3: gnu: neovim: Use 'inputs' in phases instead of '%build-inputs'.
#4: gnu: qemacs: Use 'native-inputs' instead of '%build-inputs'.
#5: gnu: ding: Use 'inputs' in build phases instead of '%build-inputs'.
(more smalltalk fixes)
#6: gnu: smalltalk: Move 'zip' from 'inputs' to 'native-inputs'.
#7: gnu: smalltalk: Find glibc even when cross-compiling.
See patch descriptions for details.
This would cause 5 rebuilds:
./pre-inst-env guix refresh --list-dependents ding qemacs neovim smalltalk cuirass
No dependents other than themselves: cuirass <at> 1.0.0-17.31fd4d4 smalltalk <at> 3.2.91 neovim <at> 0.4.4 qemacs <at> 0.3.3 ding <at> 1.8.1
Building succeeds:
./pre-inst-env guix build ding qemacs neovim smalltalk cuirass
Cross-compilation: somewhat improved
# ding: ok, refers to binaries of correct architecture
# qemacs: cannot cross-compile, because its dependency libxv
# tries to run a test program (even when cross-compiling)
# (during configuration, "checking whether malloc(0) returns NULL...")
# neovim: cannot cross-compile, because its dependency "libtermkey" is not cross-compilable
# cuirass: the meson build system does not support cross-compilaion
# smalltalk: still some failures, even after patches (#6 and #7)
#
# ./gst --no-user-files --kernel-dir "./kernel" --image gst.im -iQ /dev/null
# ./gst: line 117: /tmp/guix-build-smalltalk-3.2.91.drv-0/smalltalk-3.2.91/.libs/gst: cannot execute binary file: Exec format error
# ./gst: line 117: /tmp/guix-build-smalltalk-3.2.91.drv-0/smalltalk-3.2.91/.libs/gst: Success
./pre-inst-env guix build ding --target=aarch64-linux-gnu
Greetings,
Maxime.
[0001-gnu-ci-Use-inputs-in-build-phases-instead-of-build-i.patch (text/x-patch, attachment)]
[0002-gnu-smalltalk-Use-inputs-in-phases-instead-of-build-.patch (text/x-patch, attachment)]
[0003-gnu-neovim-Use-inputs-in-phases-instead-of-build-inp.patch (text/x-patch, attachment)]
[0004-gnu-qemacs-Use-native-inputs-instead-of-build-inputs.patch (text/x-patch, attachment)]
[0005-gnu-ding-Use-inputs-in-build-phases-instead-of-build.patch (text/x-patch, attachment)]
[0006-gnu-smalltalk-Move-zip-from-inputs-to-native-inputs.patch (text/x-patch, attachment)]
[0007-gnu-smalltalk-Find-glibc-even-when-cross-compiling.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 347 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.