unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Mathieu Othacehe <m.othacehe@gmail.com>
To: 36477@debbugs.gnu.org
Cc: Mathieu Othacehe <m.othacehe@gmail.com>
Subject: [bug#36477] [PATCH v2 08/61] gnu: python: Further cross-compilation fixes.
Date: Wed, 21 Aug 2019 10:54:02 +0200	[thread overview]
Message-ID: <20190821085455.18508-8-m.othacehe@gmail.com> (raw)
In-Reply-To: <20190821085455.18508-1-m.othacehe@gmail.com>

* gnu/packages/patches/python-2.7-search-paths.patch: Add cross-compilation
support.
* gnu/packages/patches/python-3-search-paths.patch: Ditto.
* gnu/packages/patches/python-cross-compile.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add above new patch.
* gnu/packages/python.scm (python-2.7)[patches]: Add new patch above,
[arguments]: Set _PYTHON_HOST_PLATFORM env variable when cross compiling.
---
 gnu/local.mk                                  |   1 +
 .../patches/python-2.7-search-paths.patch     |  10 +-
 .../patches/python-3-search-paths.patch       |  11 +-
 .../patches/python-cross-compile.patch        | 145 ++++++++++++++++++
 gnu/packages/python.scm                       |  23 ++-
 5 files changed, 181 insertions(+), 9 deletions(-)
 create mode 100644 gnu/packages/patches/python-cross-compile.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 0002f49409..07be1f205b 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1232,6 +1232,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/python-CVE-2018-14647.patch		\
   %D%/packages/patches/python-axolotl-AES-fix.patch		\
   %D%/packages/patches/python-cairocffi-dlopen-path.patch	\
+  %D%/packages/patches/python-cross-compile.patch		\
   %D%/packages/patches/python-cffi-x87-stack-clean.patch	\
   %D%/packages/patches/python2-larch-coverage-4.0a6-compatibility.patch \
   %D%/packages/patches/python-configobj-setuptools.patch	\
diff --git a/gnu/packages/patches/python-2.7-search-paths.patch b/gnu/packages/patches/python-2.7-search-paths.patch
index a012bc8fe0..5a345c7691 100644
--- a/gnu/packages/patches/python-2.7-search-paths.patch
+++ b/gnu/packages/patches/python-2.7-search-paths.patch
@@ -3,13 +3,17 @@ looking for headers and libraries.
 
 --- Python-2.7.10/setup.py	2015-10-07 18:33:18.125153186 +0200
 +++ Python-2.7.10/setup.py	2015-10-07 18:33:47.497347552 +0200
-@@ -526,6 +526,10 @@ class PyBuildExt(build_ext):
+@@ -526,6 +526,14 @@ class PyBuildExt(build_ext):
              inc_dirs += ['/system/include', '/atheos/autolnk/include']
              inc_dirs += os.getenv('C_INCLUDE_PATH', '').split(os.pathsep)
  
 +        # Always honor these variables.
-+        lib_dirs += os.getenv('LIBRARY_PATH', '').split(os.pathsep)
-+        inc_dirs += os.getenv('CPATH', '').split(os.pathsep)
++        if not cross_compiling:
++            lib_dirs += os.getenv('LIBRARY_PATH', '').split(os.pathsep)
++            inc_dirs += os.getenv('CPATH', '').split(os.pathsep)
++        else:
++            lib_dirs = os.getenv('CROSS_LIBRARY_PATH', '').split(os.pathsep)
++            inc_dirs = os.getenv('CROSS_CPATH', '').split(os.pathsep)
 +
          # OSF/1 and Unixware have some stuff in /usr/ccs/lib (like -ldb)
          if host_platform in ['osf1', 'unixware7', 'openunix8']:
diff --git a/gnu/packages/patches/python-3-search-paths.patch b/gnu/packages/patches/python-3-search-paths.patch
index 5fea9c66b6..cf1647207b 100644
--- a/gnu/packages/patches/python-3-search-paths.patch
+++ b/gnu/packages/patches/python-3-search-paths.patch
@@ -3,7 +3,7 @@ looking for headers and libraries.
 
 --- a/setup.py	2015-10-07 23:32:58.891329173 +0200
 +++ b/setup.py	2015-10-07 23:46:29.653349924 +0200
-@@ -575,8 +575,8 @@
+@@ -575,15 +575,15 @@
          # if a file is found in one of those directories, it can
          # be assumed that no additional -I,-L directives are needed.
          if not cross_compiling:
@@ -14,3 +14,12 @@ looking for headers and libraries.
          else:
              # Add the sysroot paths. 'sysroot' is a compiler option used to
              # set the logical path of the standard system headers and
+             # libraries.
+-            lib_dirs = (self.compiler.library_dirs +
++            lib_dirs = (os.getenv('CROSS_LIBRARY_PATH', '').split(os.pathsep) +
+                         sysroot_paths(('LDFLAGS', 'CC'), system_lib_dirs))
+-            inc_dirs = (self.compiler.include_dirs +
++            inc_dirs = (os.getenv('CROSS_CPATH', '').split(os.pathsep) +
+                         sysroot_paths(('CPPFLAGS', 'CFLAGS', 'CC'),
+                                       system_include_dirs))
+         exts = []
diff --git a/gnu/packages/patches/python-cross-compile.patch b/gnu/packages/patches/python-cross-compile.patch
new file mode 100644
index 0000000000..5a470e1852
--- /dev/null
+++ b/gnu/packages/patches/python-cross-compile.patch
@@ -0,0 +1,145 @@
+Patch taken from https://bugs.python.org/issue22724 and augmented with
+following Nix patch
+https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/python/cpython/2.7/cross-compile.patch
+to fix the whole cross-compilation circus.
+
+---
+ Makefile.pre.in | 14 +++++++-------
+ configure       |  5 ++++-
+ setup.py        |  9 ++++++---
+ 3 files changed, 17 insertions(+), 11 deletions(-)
+
+diff --git a/Makefile.pre.in b/Makefile.pre.in
+index 2a14f3323b..6239fc32fc 100644
+--- a/Makefile.pre.in
++++ b/Makefile.pre.in
+@@ -492,7 +492,7 @@ $(BUILDPYTHON):	Modules/python.o $(LIBRARY) $(LDLIBRARY)
+ 			$(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
+ 
+ platform: $(BUILDPYTHON) pybuilddir.txt
+-	$(RUNSHARED) $(PYTHON_FOR_BUILD) -c 'import sys ; from sysconfig import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform
++	$(RUNSHARED) $(PY_BUILD_ENVIRON) $(PYTHON_FOR_BUILD) -c 'import sys ; from sysconfig import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform
+ 
+ # Create build directory and generate the sysconfig build-time data there.
+ # pybuilddir.txt contains the name of the build dir and is used for
+@@ -503,7 +503,7 @@ platform: $(BUILDPYTHON) pybuilddir.txt
+ # or removed in case of failure.
+ pybuilddir.txt: $(BUILDPYTHON)
+ 	@echo "none" > ./pybuilddir.txt
+-	$(RUNSHARED) $(PYTHON_FOR_BUILD) -S -m sysconfig --generate-posix-vars ;\
++	$(RUNSHARED) $(PY_BUILD_ENVIRON) $(PYTHON_FOR_BUILD) -S -m sysconfig --generate-posix-vars ;\
+ 	if test $$? -ne 0 ; then \
+ 		echo "generate-posix-vars failed" ; \
+ 		rm -f ./pybuilddir.txt ; \
+@@ -525,7 +525,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o
+ 	esac; \
+ 	$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \
+ 		_TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \
+-		$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
++		$(PY_BUILD_ENVIRON) $(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
+ 
+ # Build static library
+ # avoid long command lines, same as LIBRARY_OBJS
+@@ -928,7 +928,7 @@ install:	@FRAMEWORKINSTALLFIRST@ commoninstall bininstall maninstall @FRAMEWORKI
+ 			upgrade) ensurepip="--upgrade" ;; \
+ 			install|*) ensurepip="" ;; \
+ 		esac; \
+-		$(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \
++		$(RUNSHARED) $(PY_BUILD_ENVIRON) $(PYTHON_FOR_BUILD) -m ensurepip \
+ 			$$ensurepip --root=$(DESTDIR)/ ; \
+ 	fi
+ 
+@@ -939,7 +939,7 @@ altinstall:	commoninstall
+ 			upgrade) ensurepip="--altinstall --upgrade --no-default-pip" ;; \
+ 			install|*) ensurepip="--altinstall --no-default-pip" ;; \
+ 		esac; \
+-		$(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \
++		$(RUNSHARED) $(PY_BUILD_ENVIRON) $(PYTHON_FOR_BUILD) -m ensurepip \
+ 			$$ensurepip --root=$(DESTDIR)/ ; \
+ 	fi
+ 
+@@ -1270,7 +1270,7 @@ libainstall:	@DEF_MAKE_RULE@ python-config
+ # Install the dynamically loadable modules
+ # This goes into $(exec_prefix)
+ sharedinstall: sharedmods
+-	$(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \
++	$(RUNSHARED) $(PY_BUILD_ENVIRON) $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \
+ 	   	--prefix=$(prefix) \
+ 		--install-scripts=$(BINDIR) \
+ 		--install-platlib=$(DESTSHARED) \
+@@ -1344,7 +1344,7 @@ frameworkinstallextras:
+ # This installs a few of the useful scripts in Tools/scripts
+ scriptsinstall:
+ 	SRCDIR=$(srcdir) $(RUNSHARED) \
+-	$(PYTHON_FOR_BUILD) $(srcdir)/Tools/scripts/setup.py install \
++	$(PY_BUILD_ENVIRON) $(PYTHON_FOR_BUILD) $(srcdir)/Tools/scripts/setup.py install \
+ 	--prefix=$(prefix) \
+ 	--install-scripts=$(BINDIR) \
+ 	--root=$(DESTDIR)/
+diff --git a/configure b/configure
+index 67300fe2b6..6050f588c5 100755
+--- a/configure
++++ b/configure
+@@ -741,6 +741,7 @@ CONFIG_ARGS
+ SOVERSION
+ VERSION
+ PYTHON_FOR_BUILD
++PY_BUILD_ENVIRON
+ PYTHON_FOR_REGEN
+ host_os
+ host_vendor
+@@ -2964,7 +2965,8 @@ $as_echo_n "checking for python interpreter for cross build... " >&6; }
+ 	fi
+         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $interp" >&5
+ $as_echo "$interp" >&6; }
+-	PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/$(PLATDIR) '$interp
++	PY_BUILD_ENVIRON='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/$(PLATDIR)'
++	PYTHON_FOR_BUILD=$interp
+     fi
+ elif test "$cross_compiling" = maybe; then
+     as_fn_error $? "Cross compiling required --host=HOST-TUPLE and --build=ARCH" "$LINENO" 5
+@@ -2974,6 +2976,7 @@ fi
+ 
+ 
+ 
++
+ if test "$prefix" != "/"; then
+     prefix=`echo "$prefix" | sed -e 's/\/$//g'`
+ fi
+diff --git a/setup.py b/setup.py
+index cb47a2339c..472e7e2b26 100644
+--- a/setup.py
++++ b/setup.py
+@@ -497,8 +497,6 @@ class PyBuildExt(build_ext):
+         if not cross_compiling:
+             add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
+             add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
+-        if cross_compiling:
+-            self.add_gcc_paths()
+         self.add_multiarch_paths()
+ 
+         # Add paths specified in the environment variables LDFLAGS and
+@@ -556,7 +554,10 @@ class PyBuildExt(build_ext):
+         # be assumed that no additional -I,-L directives are needed.
+         inc_dirs = self.compiler.include_dirs[:]
+         lib_dirs = self.compiler.library_dirs[:]
+-        if not cross_compiling:
++        if cross_compiling:
++            inc_dirs = []
++            lib_dirs = []
++        else:
+             for d in (
+                 '/usr/include',
+                 ):
+@@ -621,6 +622,8 @@ class PyBuildExt(build_ext):
+         # Some modules that are normally always on:
+         #exts.append( Extension('_weakref', ['_weakref.c']) )
+ 
++        self.compiler.library_dirs = lib_dirs + [ '.' ]
++
+         # array objects
+         exts.append( Extension('array', ['arraymodule.c']) )
+ 
+-- 
+2.17.1
+
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 09c1f7d716..8241c09d37 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -109,7 +109,8 @@
                                "python-2-deterministic-build-info.patch"
                                "python-2.7-site-prefixes.patch"
                                "python-2.7-source-date-epoch.patch"
-                               "python-2.7-adjust-tests.patch"))
+                               "python-2.7-adjust-tests.patch"
+                               "python-cross-compile.patch"))
       (modules '((guix build utils)))
       (snippet
        '(begin
@@ -177,6 +178,12 @@
           (add-before
            'configure 'patch-lib-shells
            (lambda _
+             ;; This variable is used in setup.py to enable cross compilation
+             ;; specific switches. As it is not set properly by configure
+             ;; script, set it manually.
+             ,@(if (%current-target-system)
+                   '((setenv "_PYTHON_HOST_PLATFORM" ""))
+                   '())
              ;; Filter for existing files, since some may not exist in all
              ;; versions of python that are built with this recipe.
              (substitute* (filter file-exists?
@@ -256,7 +263,9 @@
                            (if (null? opt) "none" (car opt)))
                    (for-each (lambda (file)
                                (apply invoke
-                                      `(,(string-append out "/bin/python")
+                                      `(,,(if (%current-target-system)
+                                              "python2"
+                                              '(string-append out "/bin/python"))
                                         ,@opt
                                         "-m" "compileall"
                                         "-f" ; force rebuild
@@ -302,7 +311,7 @@
      `(("pkg-config" ,pkg-config)
        ;; When cross-compiling, a native version of Python itself is needed.
        ,@(if (%current-target-system)
-             `(("self" ,this-package)
+             `(("python2" ,this-package)
                ("which" ,which))
              '())))
     (native-search-paths
@@ -376,10 +385,11 @@ data types.")
        ((#:phases phases)
        `(modify-phases ,phases
           (add-before 'check 'set-TZDIR
-            (lambda* (#:key inputs #:allow-other-keys)
+            (lambda* (#:key inputs native-inputs #:allow-other-keys)
               ;; test_email requires the Olson time zone database.
               (setenv "TZDIR"
-                      (string-append (assoc-ref inputs "tzdata")
+                      (string-append (assoc-ref
+                                      (or native-inputs inputs) "tzdata")
                                      "/share/zoneinfo"))
               #t))
           ;; Unset SOURCE_DATE_EPOCH while running the test-suite and set it
@@ -415,6 +425,9 @@ data types.")
                  #t)))))))
     (native-inputs
      `(("tzdata" ,tzdata-for-tests)
+       ,@(if (%current-target-system)
+             `(("python3" ,this-package))
+             '())
        ,@(package-native-inputs python-2)))
     (native-search-paths
      (list (search-path-specification
-- 
2.17.1

  parent reply	other threads:[~2019-08-21  8:56 UTC|newest]

Thread overview: 244+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-02 15:18 [bug#36477] Add Guix System cross-compilation support Mathieu Othacehe
2019-07-08  9:58 ` [bug#36477] [PATCH 00/31] Fix cross-compilation issues Mathieu Othacehe
2019-07-08  9:58   ` [bug#36477] [PATCH 01/31] gnu: perl: Fix cross-compilation Mathieu Othacehe
2019-07-08 17:39     ` Marius Bakke
2019-07-08  9:58   ` [bug#36477] [PATCH 02/31] gnu: python: Fix cross compilation Mathieu Othacehe
2019-07-15 20:20     ` Ludovic Courtès
2019-07-08  9:58   ` [bug#36477] [PATCH 03/31] gnu: tcl: Fix cross-compilation Mathieu Othacehe
2019-07-08 17:41     ` Marius Bakke
2019-07-08  9:58   ` [bug#36477] [PATCH 04/31] gnu: tk: " Mathieu Othacehe
2019-07-08 17:42     ` Marius Bakke
2019-07-08  9:58   ` [bug#36477] [PATCH 05/31] gnu: libxslt: " Mathieu Othacehe
2019-07-08 17:42     ` Marius Bakke
2019-07-08  9:58   ` [bug#36477] [PATCH 06/31] gnu: xorg: Fix cross-compilation of multiple packages Mathieu Othacehe
2019-07-08 17:43     ` Marius Bakke
2019-07-25 13:12       ` Mathieu Othacehe
2019-07-08  9:58   ` [bug#36477] [PATCH 07/31] gnu: libgpg-error: Fix cross compilation Mathieu Othacehe
2019-07-15 20:24     ` Ludovic Courtès
2019-07-08  9:58   ` [bug#36477] [PATCH 08/31] gnu: python: Fix cross-compilation Mathieu Othacehe
2019-07-15 20:29     ` Ludovic Courtès
2019-07-08  9:58   ` [bug#36477] [PATCH 09/31] gnu: http-parser: " Mathieu Othacehe
2019-07-08 17:46     ` Marius Bakke
2019-07-25 13:25       ` Mathieu Othacehe
2019-07-08  9:58   ` [bug#36477] [PATCH 10/31] gnu: openssl: " Mathieu Othacehe
2019-07-08  9:58   ` [bug#36477] [PATCH 11/31] gnu: texinfo: " Mathieu Othacehe
2019-07-08  9:58   ` [bug#36477] [PATCH 12/31] gnu: cmake: Extend CMAKE_PREFIX_PATH to non-native inputs Mathieu Othacehe
2019-07-08 17:47     ` Marius Bakke
2019-07-25 13:33       ` Mathieu Othacehe
2019-07-08  9:58   ` [bug#36477] [PATCH 13/31] gnu: libgit2: Fix cross compilation Mathieu Othacehe
2019-07-08 17:49     ` Marius Bakke
2019-07-08  9:58   ` [bug#36477] [PATCH 14/31] gnu: ath9k-htc-firmware: " Mathieu Othacehe
2019-07-08 17:50     ` Marius Bakke
2019-07-08  9:58   ` [bug#36477] [PATCH 15/31] gnu: libpaper: Fix aarch64 cross-compilation Mathieu Othacehe
2019-07-08 17:53     ` Marius Bakke
2019-07-09  6:14       ` Efraim Flashner
2019-07-08  9:58   ` [bug#36477] [PATCH 16/31] gnu: groff: Fix cross compilation Mathieu Othacehe
2019-07-08  9:58   ` [bug#36477] [PATCH 17/31] gnu: texinfo-5: Fix cross-compilation Mathieu Othacehe
2019-07-08  9:59   ` [bug#36477] [PATCH 18/31] gnu: bc: " Mathieu Othacehe
2019-07-08  9:59   ` [bug#36477] [PATCH 19/31] gnu: indent: Fix aarch64 cross-compilation Mathieu Othacehe
2019-07-08  9:59   ` [bug#36477] [PATCH 20/31] gnu: libsamplerate: " Mathieu Othacehe
2019-07-08  9:59   ` [bug#36477] [PATCH 21/31] gnu: mit-krb5: Fix cross-compilation Mathieu Othacehe
2019-07-08 18:13     ` Marius Bakke
2019-07-25 13:48       ` Mathieu Othacehe
2019-07-08  9:59   ` [bug#36477] [PATCH 22/31] gnu: cyrus-sasl: " Mathieu Othacehe
2019-07-08  9:59   ` [bug#36477] [PATCH 23/31] gnu: help2man: " Mathieu Othacehe
2019-07-08 18:15     ` Marius Bakke
2019-07-25 14:28       ` Mathieu Othacehe
2019-07-08  9:59   ` [bug#36477] [PATCH 24/31] gnu: xmlto: " Mathieu Othacehe
2019-07-08 18:18     ` Marius Bakke
2019-07-08  9:59   ` [bug#36477] [PATCH 25/31] gnu: libarchive: " Mathieu Othacehe
2019-07-08 18:25     ` Marius Bakke
2019-07-08  9:59   ` [bug#36477] [PATCH 26/31] gnu: tcsh: " Mathieu Othacehe
2019-07-08 18:25     ` Marius Bakke
2019-07-08 18:26     ` Marius Bakke
2019-07-25 15:23       ` Mathieu Othacehe
2019-07-08  9:59   ` [bug#36477] [PATCH 27/31] gnu: pkg-config: " Mathieu Othacehe
2019-07-08 18:29     ` Marius Bakke
2019-07-25 15:27       ` Mathieu Othacehe
2019-07-25 19:04         ` Ricardo Wurmus
2019-07-08  9:59   ` [bug#36477] [PATCH 28/31] gnu: mkfontdir: Fix aarch64 cross-compilation Mathieu Othacehe
2019-07-08  9:59   ` [bug#36477] [PATCH 29/31] gnu: alsa-utils: Fix cross-compilation Mathieu Othacehe
2019-07-08 18:30     ` Marius Bakke
2019-07-08  9:59   ` [bug#36477] [PATCH 30/31] gnu: icu4c: " Mathieu Othacehe
2019-07-08  9:59   ` [bug#36477] [PATCH 31/31] gnu: glibc-utf8-locales: " Mathieu Othacehe
2019-07-08 18:37     ` Marius Bakke
2019-07-29 14:54       ` Mathieu Othacehe
2019-07-08 17:36   ` [bug#36477] [PATCH 00/31] Fix cross-compilation issues Marius Bakke
2019-07-25 13:10     ` Mathieu Othacehe
2019-08-21  8:47 ` [bug#36477] [PATCH v2 00/61] Add --target support to guix system Mathieu Othacehe
2019-09-02 12:50   ` Ludovic Courtès
2019-09-02 15:40     ` Mathieu Othacehe
2019-08-21  8:53 ` [bug#36477] [PATCH v2 01/61] gnu: perl: Fix cross-compilation Mathieu Othacehe
2019-08-21  8:53   ` [bug#36477] [PATCH v2 02/61] gnu: python: Fix cross compilation Mathieu Othacehe
2019-08-21  8:53   ` [bug#36477] [PATCH v2 03/61] gnu: tcl: Fix cross-compilation Mathieu Othacehe
2019-08-21  8:53   ` [bug#36477] [PATCH v2 04/61] gnu: tk: " Mathieu Othacehe
2019-08-21  8:53   ` [bug#36477] [PATCH v2 05/61] gnu: libxslt: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 06/61] gnu: xorg: Fix cross-compilation of multiple packages Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 07/61] gnu: libgpg-error: Fix cross compilation Mathieu Othacehe
2019-08-21  8:54   ` Mathieu Othacehe [this message]
2019-08-21  8:54   ` [bug#36477] [PATCH v2 09/61] gnu: http-parser: Fix cross-compilation Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 10/61] gnu: openssl: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 11/61] gnu: texinfo: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 12/61] gnu: cmake: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 13/61] gnu: libgit2: Fix cross compilation Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 14/61] gnu: ath9k-htc-firmware: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 15/61] gnu: libpaper: Fix aarch64 cross-compilation Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 16/61] gnu: groff: Fix cross compilation Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 17/61] gnu: texinfo-5: Fix cross-compilation Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 18/61] gnu: bc: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 19/61] gnu: indent: Fix aarch64 cross-compilation Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 20/61] gnu: libsamplerate: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 21/61] gnu: mit-krb5: Fix cross-compilation Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 22/61] gnu: cyrus-sasl: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 23/61] gnu: help2man: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 24/61] gnu: xmlto: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 25/61] gnu: libarchive: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 26/61] gnu: tcsh: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 27/61] gnu: pkg-config: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 28/61] gnu: mkfontdir: Fix aarch64 cross-compilation Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 29/61] gnu: alsa-utils: Fix cross-compilation Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 30/61] gnu: icu4c: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 31/61] gnu: glibc-utf8-locales: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 32/61] gnu: boost: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 33/61] gnu: eudev: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 34/61] gnu: lvm2: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 35/61] gnu: nghttp2: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 36/61] gnu: openldap: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 37/61] gnu: swig: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 38/61] gnu: git: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 39/61] gnu: make-linux-libre: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 40/61] gnu: procps: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 41/61] gnu: doxygen: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 42/61] gnu: guile-sqlite3: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 43/61] gnu: guile-gcrypt: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 44/61] gnu: libtool: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 45/61] gnu: texinfo-4: Fix cross compilation Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 46/61] gnu: libnl: Fix cross-compilation Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 47/61] gnu: crda: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 48/61] gnu: guile-xcb: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 49/61] gnu: guile-wm: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 50/61] gnu: cmake: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 51/61] gnu: console-setup: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 52/61] gnu: mdadm: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 53/61] gnu: grub: " Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 54/61] linux-initrd: Use native gzip Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 55/61] gnu: linux-libre: Enable built-in ext4 support Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 56/61] gexp: Use cross extensions when cross-compiling Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 57/61] gexp: Pass target to compiled-modules in lower-gexp Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 58/61] utils: Use target-arm64? and target-arm? helpers Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 59/61] system: vm: Add arm64 support Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 60/61] system: vm: Support cross-compilation Mathieu Othacehe
2019-08-21  8:54   ` [bug#36477] [PATCH v2 61/61] scripts: system: Add --target option Mathieu Othacehe
2019-09-02 15:32 ` [bug#36477] [PATCH v3 00/48] Add --target support to guix system Mathieu Othacehe
2019-09-02 15:32   ` [bug#36477] [PATCH v3 01/48] gnu: libgpg-error: Fix cross compilation Mathieu Othacehe
2019-09-02 15:32   ` [bug#36477] [PATCH v3 02/48] gnu: openssl: Fix cross-compilation Mathieu Othacehe
2019-09-02 15:32   ` [bug#36477] [PATCH v3 03/48] gnu: texinfo: " Mathieu Othacehe
2019-09-04 12:54     ` Ludovic Courtès
2019-09-04 16:28       ` Mathieu Othacehe
2019-09-04 21:21         ` Marius Bakke
2019-09-05  7:53           ` Mathieu Othacehe
2019-09-05  8:47         ` Ludovic Courtès
2019-09-02 15:32   ` [bug#36477] [PATCH v3 04/48] gnu: cmake: " Mathieu Othacehe
2019-09-04 13:00     ` Ludovic Courtès
2019-09-20 14:18       ` Mathieu Othacehe
2019-09-02 15:32   ` [bug#36477] [PATCH v3 05/48] gnu: libpaper: Fix aarch64 cross-compilation Mathieu Othacehe
2019-09-02 15:32   ` [bug#36477] [PATCH v3 06/48] gnu: groff: Fix cross compilation Mathieu Othacehe
2019-09-04 13:23     ` Ludovic Courtès
2019-09-02 15:32   ` [bug#36477] [PATCH v3 07/48] gnu: texinfo-5: Fix cross-compilation Mathieu Othacehe
2019-09-02 15:32   ` [bug#36477] [PATCH v3 08/48] gnu: bc: " Mathieu Othacehe
2019-09-02 15:32   ` [bug#36477] [PATCH v3 09/48] gnu: indent: Fix aarch64 cross-compilation Mathieu Othacehe
2019-09-02 15:32   ` [bug#36477] [PATCH v3 10/48] gnu: libsamplerate: " Mathieu Othacehe
2019-09-02 15:32   ` [bug#36477] [PATCH v3 11/48] gnu: cyrus-sasl: Fix cross-compilation Mathieu Othacehe
2019-09-02 15:32   ` [bug#36477] [PATCH v3 12/48] gnu: mkfontdir: Fix aarch64 cross-compilation Mathieu Othacehe
2019-09-02 15:32   ` [bug#36477] [PATCH v3 13/48] gnu: icu4c: Fix cross-compilation Mathieu Othacehe
2019-09-02 15:32   ` [bug#36477] [PATCH v3 14/48] gnu: glibc-utf8-locales: " Mathieu Othacehe
2019-09-04 13:01     ` Ludovic Courtès
2019-09-02 15:33   ` [bug#36477] [PATCH v3 15/48] gnu: boost: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 16/48] gnu: eudev: " Mathieu Othacehe
2019-09-04 13:12     ` Ludovic Courtès
2019-10-02  9:38       ` Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 17/48] gnu: lvm2: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 18/48] gnu: nghttp2: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 19/48] gnu: bdb: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 20/48] gnu: openldap: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 21/48] gnu: swig: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 22/48] gnu: git: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 23/48] gnu: make-linux-libre: " Mathieu Othacehe
2019-09-04 12:52     ` Ludovic Courtès
2019-09-02 15:33   ` [bug#36477] [PATCH v3 24/48] gnu: procps: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 25/48] gnu: doxygen: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 26/48] gnu: guile-sqlite3: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 27/48] gnu: guile-gcrypt: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 28/48] gnu: libtool: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 29/48] gnu: texinfo-4: Fix cross compilation Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 30/48] packages: Set outputs field as thunked Mathieu Othacehe
2019-09-04 12:48     ` Ludovic Courtès
2019-09-04 16:01       ` Mathieu Othacehe
2019-09-05  8:41         ` Ludovic Courtès
2019-09-02 15:33   ` [bug#36477] [PATCH v3 31/48] gnu: libnl: Fix cross-compilation Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 32/48] gnu: crda: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 33/48] gnu: guile-xcb: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 34/48] gnu: guile-wm: " Mathieu Othacehe
2019-09-04 12:50     ` Ludovic Courtès
2019-09-02 15:33   ` [bug#36477] [PATCH v3 35/48] gnu: cmake: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 36/48] gnu: console-setup: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 37/48] gnu: mdadm: " Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 38/48] gnu: grub: " Mathieu Othacehe
2019-09-04 13:13     ` Ludovic Courtès
2019-09-02 15:33   ` [bug#36477] [PATCH v3 39/48] linux-initrd: Use native gzip Mathieu Othacehe
2019-09-04 12:49     ` Ludovic Courtès
2019-09-02 15:33   ` [bug#36477] [PATCH v3 40/48] gnu: linux-libre: Enable built-in ext4 support Mathieu Othacehe
2019-09-04 13:14     ` Ludovic Courtès
2019-09-04 16:17       ` Mathieu Othacehe
2019-09-05  8:45         ` Ludovic Courtès
2019-09-02 15:33   ` [bug#36477] [PATCH v3 41/48] gexp: Use cross extensions when cross-compiling Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 42/48] gexp: Pass target to compiled-modules in lower-gexp Mathieu Othacehe
2019-09-04 12:31     ` Ludovic Courtès
2019-10-02  9:23       ` Mathieu Othacehe
2019-10-11 10:22         ` Ludovic Courtès
2019-09-02 15:33   ` [bug#36477] [PATCH v3 43/48] utils: Use target-arm64? and target-arm? helpers Mathieu Othacehe
2019-09-04 12:32     ` Ludovic Courtès
2019-10-02  9:25       ` Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 44/48] build: vm: Fix arm32 support Mathieu Othacehe
2019-09-04 12:33     ` Ludovic Courtès
2019-09-02 15:33   ` [bug#36477] [PATCH v3 45/48] system: vm: Add arm64 support Mathieu Othacehe
2019-09-04 12:36     ` Ludovic Courtès
2019-09-02 15:33   ` [bug#36477] [PATCH v3 46/48] system: vm: Support cross-compilation Mathieu Othacehe
2019-09-04 12:46     ` Ludovic Courtès
2019-10-02  9:30       ` Mathieu Othacehe
2019-09-02 15:33   ` [bug#36477] [PATCH v3 47/48] scripts: system: Add --target option Mathieu Othacehe
2019-09-04 12:47     ` Ludovic Courtès
2019-09-02 15:33   ` [bug#36477] [PATCH v3 48/48] wip: tools Mathieu Othacehe
2019-09-02 15:35     ` Mathieu Othacehe
2019-10-02  9:58 ` [bug#36477] [PATCH v4 00/23] System cross-compilation Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 01/23] gnu: openssl: Fix cross-compilation Mathieu Othacehe
2019-10-02 10:17     ` Efraim Flashner
2019-10-02 13:12       ` Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 02/23] gnu: cmake: " Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 03/23] gnu: groff: Fix cross compilation Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 04/23] gnu: cyrus-sasl: Fix cross-compilation Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 05/23] gnu: icu4c: " Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 06/23] gnu: boost: " Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 07/23] gnu: eudev: " Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 08/23] gnu: bdb: " Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 09/23] gnu: openldap: " Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 10/23] gnu: swig: " Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 11/23] gnu: git: " Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 12/23] gnu: doxygen: " Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 13/23] gnu: guile-gcrypt: " Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 14/23] gnu: guile-sqlite3: " Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 15/23] gnu: libnl: Move python outputs to separate packages Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 16/23] gnu: crda: Fix cross-compilation Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 17/23] gnu: cmake: " Mathieu Othacehe
2019-10-02  9:58   ` [bug#36477] [PATCH v4 18/23] gexp: Use cross extensions when cross-compiling Mathieu Othacehe
2019-10-02 14:47     ` Mathieu Othacehe
2019-10-11 10:21       ` Ludovic Courtès
2019-10-11 10:22       ` Ludovic Courtès
2019-10-14  8:00         ` Mathieu Othacehe
2019-10-02  9:59   ` [bug#36477] [PATCH v4 19/23] utils: Use target-aarch64? and target-arm? helpers Mathieu Othacehe
2019-10-02  9:59   ` [bug#36477] [PATCH v4 20/23] build: vm: Fix arm32 support Mathieu Othacehe
2019-10-02  9:59   ` [bug#36477] [PATCH v4 21/23] system: vm: Add arm64 support Mathieu Othacehe
2019-10-02  9:59   ` [bug#36477] [PATCH v4 22/23] system: vm: Support cross-compilation Mathieu Othacehe
2019-10-02  9:59   ` [bug#36477] [PATCH v4 23/23] scripts: system: Add --target option Mathieu Othacehe
2019-10-18 12:17   ` [bug#36477] [PATCH v4 00/23] System cross-compilation Mathieu Othacehe
2019-11-15 16:39 ` bug#36477: Closing guix system --target support Mathieu Othacehe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190821085455.18508-8-m.othacehe@gmail.com \
    --to=m.othacehe@gmail.com \
    --cc=36477@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).