From patchwork Wed Oct 2 09:58:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 15555 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D37E51749F; Wed, 2 Oct 2019 11:00:23 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 9380F1749D for ; Wed, 2 Oct 2019 11:00:23 +0100 (BST) Received: from localhost ([::1]:53122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFbQi-0003i3-Qm for patchwork@mira.cbaines.net; Wed, 02 Oct 2019 06:00:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50963) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFbQU-0003hh-EX for guix-patches@gnu.org; Wed, 02 Oct 2019 06:00:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFbQT-0008RK-AB for guix-patches@gnu.org; Wed, 02 Oct 2019 06:00:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54908) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFbQT-0008RF-6i for guix-patches@gnu.org; Wed, 02 Oct 2019 06:00:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFbQR-0000XR-EP for guix-patches@gnu.org; Wed, 02 Oct 2019 06:00:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36477] [PATCH v4 00/23] System cross-compilation References: <87zhlwmpmy.fsf@gmail.com> In-Reply-To: <87zhlwmpmy.fsf@gmail.com> Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Oct 2019 10:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36477 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 36477@debbugs.gnu.org Cc: Mathieu Othacehe Received: via spool by 36477-submit@debbugs.gnu.org id=B36477.15700103671722 (code B ref 36477); Wed, 02 Oct 2019 10:00:03 +0000 Received: (at 36477) by debbugs.gnu.org; 2 Oct 2019 09:59:27 +0000 Received: from localhost ([127.0.0.1]:35430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFbPq-0000Rh-Ou for submit@debbugs.gnu.org; Wed, 02 Oct 2019 05:59:27 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:35498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFbPo-0000RI-PZ for 36477@debbugs.gnu.org; Wed, 02 Oct 2019 05:59:25 -0400 Received: by mail-wr1-f67.google.com with SMTP id v8so18929810wrt.2 for <36477@debbugs.gnu.org>; Wed, 02 Oct 2019 02:59:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uP/YFPRRfgDwMlbhiBLWcL7bI+NQp6+gzi8atRk3YNg=; b=thEv9ppa+VoWmL0+wfab1T2YGYe60qBZo1VHefcvttPoif+93dAq6tBQLWlfBhf4g+ QThQXod+E/Se2Q6DTOrAYTsQ1l5sFitTM6Cv0xomitWE0kUA1B434CmB+iJN2GXW7uOU waB0lFxDO0zSPtV7Fq8SbxblYMaOf5uapcGPVLzFOo7kD+9s92iqMWVxIB7wRefqoxGv jf5UG7XKFcJisgv7XCmqVAI2tbmIFdFrWRo/JpxMHpe/ltNcOEry/dZV+0t4SvQ7cKCl SO5a1sSpPZiOkcW8i82vpVFKawaj24IqYK+T0CegSZf3Uwc7U7jjnePBqxmXK5IuWWKO WdnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uP/YFPRRfgDwMlbhiBLWcL7bI+NQp6+gzi8atRk3YNg=; b=n2EhFXh3u0xfP1W0hOTDv9RmEsXzVMnVtey4NhCPFJTlrh63eQZ0+w/aH4N+la76zA DyOmID3DdBToEaAaEhyzcOTXmSlBM20+MmSszI9cZOibGjeylsqCKujxdg0OSmw0Gl81 vhSp2cxDb4nqT24lr6LCY9CnGwLGivyMmp6XPRwMwbQplS7p+RK4syGlAwK5iSrGgmaD CETdwzF2HaUh9udcoRHOPIQTEkTANpxek/HsUre5DX1kwTzlBvQ8J6bDOdr4WuxVsTly 0C1SAefgTWHTEc8KvXC2eprOx+4NDwkAADKyLnRoqP783pW3UCwBdi9vbqOyj0Rz8qjb 7Dlw== X-Gm-Message-State: APjAAAXRnlrQrte85wJDQn8rHli7HU0VrMOe31iFAs6+VFwzVJzImlV1 YT6OqcwdWH2tLbLNSvUXh6Ah1YJT X-Google-Smtp-Source: APXvYqzOYATkf3IoxeCSlyv7ZVG31KWgpS+6oli5QbJb6Ac/LcKfPSrw90UoommPCB2k/w+HhBqoEw== X-Received: by 2002:a5d:620d:: with SMTP id y13mr1907024wru.86.1570010358276; Wed, 02 Oct 2019 02:59:18 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:fa:a50:21e:67ff:fe5b:4283]) by smtp.gmail.com with ESMTPSA id w12sm29621318wrg.47.2019.10.02.02.59.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Oct 2019 02:59:17 -0700 (PDT) From: Mathieu Othacehe Date: Wed, 2 Oct 2019 11:58:41 +0200 Message-Id: <20191002095904.6325-1-m.othacehe@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello, Here's a v4 of the serie. Since v3, half of the patches were pushed to core-update-next. Among the remaining patches, I could not find a better solution to cmake native-search-path issue. I also turned libl python2 and python3 outputs into separate libnl-python2 and libnl-python3 packages, so to avoid turning the output field into a thunked field. Thanks, Mathieu Mathieu Othacehe (21): gnu: openssl: Fix cross-compilation. gnu: cmake: Fix cross-compilation. gnu: groff: Fix cross compilation. gnu: cyrus-sasl: Fix cross-compilation. gnu: icu4c: Fix cross-compilation. gnu: boost: Fix cross-compilation. gnu: eudev: Fix cross-compilation. gnu: bdb: Fix cross-compilation. gnu: openldap: Fix cross-compilation. gnu: swig: Fix cross-compilation. gnu: git: Fix cross-compilation. gnu: doxygen: Fix cross-compilation. gnu: guile-gcrypt: Fix cross-compilation. gnu: guile-sqlite3: Fix cross-compilation. gnu: libnl: Move python outputs to separate packages. gexp: Use cross extensions when cross-compiling. utils: Use target-aarch64? and target-arm? helpers. build: vm: Fix arm32 support. system: vm: Add arm64 support. system: vm: Support cross-compilation. scripts: system: Add --target option. Pierre-Moana Levesque (2): gnu: crda: Fix cross-compilation gnu: cmake: Fix cross-compilation. gnu/build/vm.scm | 27 +++- gnu/local.mk | 3 + gnu/packages/boost.scm | 59 +++++-- gnu/packages/cmake.scm | 14 +- gnu/packages/cyrus-sasl.scm | 17 +- gnu/packages/dbm.scm | 6 +- gnu/packages/documentation.scm | 12 +- gnu/packages/gnupg.scm | 18 ++- gnu/packages/groff.scm | 22 ++- gnu/packages/guile.scm | 7 +- gnu/packages/icu4c.scm | 35 +++- gnu/packages/linux.scm | 149 +++++++++++------- gnu/packages/openldap.scm | 38 ++++- gnu/packages/patches/boost-dumpversion.patch | 24 +++ .../patches/cyrus-sasl-ac-try-run-fix.patch | 12 ++ .../guile-sqlite3-fix-cross-compilation.patch | 55 +++++++ gnu/packages/swig.scm | 1 + gnu/packages/tls.scm | 62 ++++++-- gnu/packages/version-control.scm | 23 ++- gnu/system.scm | 15 +- gnu/system/vm.scm | 33 ++-- guix/build-system/cmake.scm | 9 +- guix/gexp.scm | 4 +- guix/scripts/system.scm | 15 +- guix/utils.scm | 8 + 25 files changed, 535 insertions(+), 133 deletions(-) create mode 100644 gnu/packages/patches/boost-dumpversion.patch create mode 100644 gnu/packages/patches/cyrus-sasl-ac-try-run-fix.patch create mode 100644 gnu/packages/patches/guile-sqlite3-fix-cross-compilation.patch