Subject: Re: [bug#36477] [PATCH 00/31] Fix cross-compilation issues

From: Marius Bakke <[email-masked]>
Date: Mon, 08 Jul 2019 19:36:48 +0200

Hi Mathieu,

Mathieu Othacehe <[email-masked]> writes:

> Hello,
>
> Here's a batch of cross-compilation related patches. They can be seen on
> wip-cross-system branch of savannah. Some of them cause mass-rebuilds so I
> guess this serie is targeting core-updates.

This is very impressive work, thank you!

I'm not comfortable pulling in all of this on 'core-updates' right now.
There are already a huge pile of changes that have not really
"stabilized" yet.  So my preference is to wait until the next round
(probably around October/November).

However some of these changes look really innocuous to me.  I'll review
those that are OK for this 'core-updates' separately.  Maybe we can work
around the remaining ones in the mean time?

> Mathieu Othacehe (30):
>   gnu: perl: Fix cross-compilation.
>   gnu: python: Fix cross compilation.
>   gnu: tcl: Fix cross-compilation.
>   gnu: tk: Fix cross-compilation.
>   gnu: libxslt: Fix cross-compilation.
>   gnu: xorg: Fix cross-compilation of multiple packages.
>   gnu: libgpg-error: Fix cross compilation.
>   gnu: python: Fix cross-compilation.
>   gnu: http-parser: Fix cross-compilation.
>   gnu: openssl: Fix cross-compilation.
>   gnu: texinfo: Fix cross-compilation.
>   gnu: cmake: Extend CMAKE_PREFIX_PATH to non-native inputs.
>   gnu: libgit2: Fix cross compilation.
>   gnu: ath9k-htc-firmware: Fix cross compilation.
>   gnu: libpaper: Fix aarch64 cross-compilation.
>   gnu: groff: Fix cross compilation.
>   gnu: bc: Fix cross-compilation.
>   gnu: indent: Fix aarch64 cross-compilation.
>   gnu: libsamplerate: Fix aarch64 cross-compilation.
>   gnu: mit-krb5: Fix cross-compilation.
>   gnu: cyrus-sasl: Fix cross-compilation.
>   gnu: help2man: Fix cross-compilation.
>   gnu: xmlto: Fix cross-compilation.
>   gnu: libarchive: Fix cross-compilation.
>   gnu: tcsh: Fix cross-compilation.
>   gnu: pkg-config: Fix cross-compilation.
>   gnu: mkfontdir: Fix aarch64 cross-compilation.
>   gnu: alsa-utils: Fix cross-compilation.
>   gnu: icu4c: Fix cross-compilation.
>   gnu: glibc-utf8-locales: Fix cross-compilation.
>
> Pierre-Moana Levesque (1):
>   gnu: texinfo-5: Fix cross-compilation.
>
>  gnu/local.mk                                  |   3 +
>  gnu/packages/algebra.scm                      |  15 +-
>  gnu/packages/backup.scm                       |  31 ++--
>  gnu/packages/base.scm                         |   4 +-
>  gnu/packages/cmake.scm                        |   2 +-
>  gnu/packages/code.scm                         |  21 ++-
>  gnu/packages/commencement.scm                 |  11 +-
>  gnu/packages/cyrus-sasl.scm                   |  17 +-
>  gnu/packages/firmware.scm                     |   5 +-
>  gnu/packages/ghostscript.scm                  |  19 ++
>  gnu/packages/gnupg.scm                        |  22 +++
>  gnu/packages/groff.scm                        |  40 +++-
>  gnu/packages/icu4c.scm                        |  33 +++-
>  gnu/packages/kerberos.scm                     |  23 ++-
>  gnu/packages/linux.scm                        |   7 +-
>  gnu/packages/man.scm                          |   2 +-
>  .../patches/bc-fix-cross-compilation.patch    | 171 ++++++++++++++++++
>  .../patches/cyrus-sasl-ac-try-run-fix.patch   |  12 ++
>  .../patches/python-2.7-search-paths.patch     |  10 +-
>  .../patches/python-3-search-paths.patch       |  11 +-
>  .../patches/python-cross-compile.patch        | 145 +++++++++++++++
>  gnu/packages/perl.scm                         |   7 +-
>  gnu/packages/pkg-config.scm                   |  11 +-
>  gnu/packages/pulseaudio.scm                   |  22 ++-
>  gnu/packages/python.scm                       |  40 +++-
>  gnu/packages/shells.scm                       |   9 +
>  gnu/packages/tcl.scm                          |  28 ++-
>  gnu/packages/texinfo.scm                      |  28 ++-
>  gnu/packages/tls.scm                          |  59 ++++--
>  gnu/packages/version-control.scm              |  16 +-
>  gnu/packages/web.scm                          |  13 +-
>  gnu/packages/xml.scm                          |   7 +-
>  gnu/packages/xorg.scm                         |  44 ++++-
>  33 files changed, 794 insertions(+), 94 deletions(-)
>  create mode 100644 gnu/packages/patches/bc-fix-cross-compilation.patch
>  create mode 100644 gnu/packages/patches/cyrus-sasl-ac-try-run-fix.patch
>  create mode 100644 gnu/packages/patches/python-cross-compile.patch
>
> -- 
> 2.17.1