[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36477] [PATCH v3 03/48] gnu: texinfo: Fix cross-compilation.
From: |
Ludovic Courtès |
Subject: |
[bug#36477] [PATCH v3 03/48] gnu: texinfo: Fix cross-compilation. |
Date: |
Wed, 04 Sep 2019 14:54:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Mathieu Othacehe <address@hidden> skribis:
> * gnu/packages/texinfo.scm (texinfo)[arguments]: Do not reset environment
> before running configure with the native compiler, in a cross-compilation
> context,
> [inputs]: move perl from here ...
> [native-inputs]: ... to here. Also add ncurses that is needed in a
> cross-compilation context to build texinfo native tools.
[...]
> + (arguments
> + ;; When cross-compiling, the package is configured twice: once with the
> + ;; native compiler and once with the cross-compiler. During the
> configure
> + ;; with the native compiler, the environment is reset. This leads to
> + ;; multiple environment variables missing. Do not reset the environment
> + ;; to prevent that.
> + `(,@(if (%current-target-system)
Simply: (arguments (if (%current-target-system) …)).
> + ;; When cross-compiling, texinfo will build some of it's own binaries
> with
s/it’s/its/
> + ;; the native compiler. This means ncurses is needed both in both inputs
> + ;; and native-inputs.
> + (native-inputs `(("perl" ,perl)
> + ("ncurses" ,ncurses)))
Could you check whether that triggers a full rebuild? If it doesn’t,
you can push to master.
Ludo’.
- [bug#36477] [PATCH v3 00/48] Add --target support to guix system, Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 05/48] gnu: libpaper: Fix aarch64 cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 09/48] gnu: indent: Fix aarch64 cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 10/48] gnu: libsamplerate: Fix aarch64 cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 12/48] gnu: mkfontdir: Fix aarch64 cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 02/48] gnu: openssl: Fix cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 07/48] gnu: texinfo-5: Fix cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 06/48] gnu: groff: Fix cross compilation., Mathieu Othacehe, 2019/09/02