GNU bug report logs -
#36477
Add Guix System cross-compilation support
Previous Next
Full log
View this message in rfc822 format
Mathieu Othacehe <m.othacehe <at> gmail.com> 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’.
This bug report was last modified 5 years and 270 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.