GNU bug report logs - #48759
[PATCH]: Replace '%build-inputs' with 'inputs' in some places and fix 'smalltalk' cross-compilation somewhat

Previous Next

Package: guix-patches;

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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#48759: closed ([PATCH]: Replace '%build-inputs' with 'inputs'
 in some places and fix 'smalltalk' cross-compilation somewhat)
Date: Fri, 04 Jun 2021 11:48:05 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 04 Jun 2021 13:46:58 +0200
with message-id <87wnr9etsd.fsf <at> gnu.org>
and subject line Re: bug#48759: [PATCH]: Replace '%build-inputs' with 'inputs' in some places and fix 'smalltalk' cross-compilation somewhat
has caused the debbugs.gnu.org bug report #48759,
regarding [PATCH]: Replace '%build-inputs' with 'inputs' in some places and fix 'smalltalk' cross-compilation somewhat
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
48759: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48759
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Maxime Devos <maximedevos <at> telenet.be>
To: guix-patches <at> gnu.org
Subject: [PATCH]: Replace '%build-inputs' with 'inputs' in some places and
 fix 'smalltalk' cross-compilation somewhat
Date: Mon, 31 May 2021 14:30:31 +0200
[Message part 3 (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)]
[Message part 12 (message/rfc822, inline)]
From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 48759-done <at> debbugs.gnu.org
Subject: Re: bug#48759: [PATCH]: Replace '%build-inputs' with 'inputs' in
 some places and fix 'smalltalk' cross-compilation somewhat
Date: Fri, 04 Jun 2021 13:46:58 +0200
Hello Maxime,

Pushed as 8190f5bb97be4696b7ab6a88ff8397d5a28299e8 to
f50a88c1fa2e07a668ee87402a5462267d1baf12.

Thanks,

Mathieu


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.