From patchwork Mon Sep 2 15:32:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 15220 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 F0E161734D; Mon, 2 Sep 2019 16:34:30 +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,URIBL_BLOCKED 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 98C0217329 for ; Mon, 2 Sep 2019 16:34:30 +0100 (BST) Received: from localhost ([::1]:37548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4oLd-0001M6-FQ for patchwork@mira.cbaines.net; Mon, 02 Sep 2019 11:34:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41913) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4oLF-0001KQ-4G for guix-patches@gnu.org; Mon, 02 Sep 2019 11:34:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i4oLD-0002Xd-Na for guix-patches@gnu.org; Mon, 02 Sep 2019 11:34:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49890) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i4oLD-0002XM-Kn for guix-patches@gnu.org; Mon, 02 Sep 2019 11:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i4oLD-0006Qg-EZ for guix-patches@gnu.org; Mon, 02 Sep 2019 11:34:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36477] [PATCH v3 00/48] Add --target support to guix system 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: Mon, 02 Sep 2019 15:34: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 Received: via spool by 36477-submit@debbugs.gnu.org id=B36477.156743843024571 (code B ref 36477); Mon, 02 Sep 2019 15:34:03 +0000 Received: (at 36477) by debbugs.gnu.org; 2 Sep 2019 15:33:50 +0000 Received: from localhost ([127.0.0.1]:58682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i4oL0-0006OD-2v for submit@debbugs.gnu.org; Mon, 02 Sep 2019 11:33:50 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:37195) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i4oKy-0006Np-4t for 36477@debbugs.gnu.org; Mon, 02 Sep 2019 11:33:48 -0400 Received: by mail-wr1-f66.google.com with SMTP id z11so14452396wrt.4 for <36477@debbugs.gnu.org>; Mon, 02 Sep 2019 08:33:48 -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=r/R3EDHyBXxeNeFiBP4rQ17dhIfd86mtbSO8J+J8N08=; b=bYpquKMq1OKACLMwAOEh4CfmOdul+U+kgjKA9mDB+AmefX3RWNv2hzRMaYxXaz/qpk 3VEOzTCZL+hidLrFL3H9wnxVAK1mqhb/UQrbWgofEXukSU/mpQI2gFJLG7VnjE632A0v NLJU3Gwa9FTMkRlfKxTfXD4vsI+NBHGkLseTNutS6DkG2/wqyIi+SGKRuhRHdr3xXWUW ZwvFH/JlWX/3ret2L/9xM4BsCKfIUG70RDxZl7rfUSjaNyOwylARDotCyZe9iaE8Ny/6 P4FQT+aZZHWjjEZXOR2JILxsUa9Ra5y5t+vROMlMhvMZggRtb7TiiuapopnVujTNpfbE TgjA== 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=r/R3EDHyBXxeNeFiBP4rQ17dhIfd86mtbSO8J+J8N08=; b=JunJvTtIlea2Yw3alq0sc1GNCJfjNMxOGY3E4wT99Zmz95Mpw2UP0Bw0r9tRk7En9e HA7dbQiEK02tcmv2pl1jTYv0a0gGNOsKxvGK+hTikjYGn3rv0HZG700So/pZcXdLzM5C dY1J5iXVZklYeu5DMHXTvzLWIEUoG1N/oeq2XzPRYei6tlYZOzDT2buZYCH1R0VdEMd9 t5sYTKAbm7msi9EaJq0oFoFrvo/gEQCAbnJfdPwhdUfPXnI6/x2wjLHCanvxkiN4CXH3 HQUuGLvaAbjqPRZQYN5EB7bpnZBAKRBouHEbwhFWGc1yqclRFstKTl0xo4gA+yZNBIOa jDxg== X-Gm-Message-State: APjAAAUM80FXe37vpt/MWrG/1eTMjRxBceKwgoH0HT2ss1SX4EajNunV Ckg5GpLt8UcqkqTSMJTbyZIDC/Be X-Google-Smtp-Source: APXvYqzsdA9TnxNk0m0wuVuJbm47NrN6fNie7ZZPKWW4kE/8UgUCXTeoSNYIcvd95/10HBhE5izCDw== X-Received: by 2002:adf:9482:: with SMTP id 2mr36462823wrr.91.1567438422169; Mon, 02 Sep 2019 08:33:42 -0700 (PDT) Received: from localhost.localdomain ([80.12.63.115]) by smtp.gmail.com with ESMTPSA id b26sm17232265wmj.14.2019.09.02.08.33.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2019 08:33:41 -0700 (PDT) From: Mathieu Othacehe Date: Mon, 2 Sep 2019 17:32:45 +0200 Message-Id: <20190902153333.11190-1-m.othacehe@gmail.com> X-Mailer: git-send-email 2.20.1 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: , Cc: Mathieu Othacehe Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello, Here's a v3. The only difference with v2, is that I pushed all the patches from v2 that were reviewed and I rebased the serie on top of core-updates-next. Thanks, Mathieu Mathieu Othacehe (39): gnu: libgpg-error: Fix cross compilation. gnu: openssl: Fix cross-compilation. gnu: texinfo: Fix cross-compilation. gnu: cmake: 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: cyrus-sasl: Fix cross-compilation. gnu: mkfontdir: Fix aarch64 cross-compilation. gnu: icu4c: Fix cross-compilation. gnu: glibc-utf8-locales: Fix cross-compilation. gnu: boost: Fix cross-compilation. gnu: eudev: Fix cross-compilation. gnu: lvm2: Fix cross-compilation. gnu: bdb: Fix cross-compilation. gnu: openldap: Fix cross-compilation. gnu: swig: Fix cross-compilation. gnu: git: Fix cross-compilation. gnu: make-linux-libre: Fix cross-compilation. gnu: procps: Fix cross-compilation. gnu: doxygen: Fix cross-compilation. gnu: guile-sqlite3: Fix cross-compilation. gnu: guile-gcrypt: Fix cross-compilation. packages: Set outputs field as thunked. gnu: console-setup: Fix cross-compilation. gnu: mdadm: Fix cross-compilation. gnu: grub: Fix cross-compilation. linux-initrd: Use native gzip. gnu: linux-libre: Enable built-in ext4 support. gexp: Use cross extensions when cross-compiling. gexp: Pass target to compiled-modules in lower-gexp. utils: Use target-arm64? and target-arm? helpers. build: vm: Fix arm32 support. system: vm: Add arm64 support. system: vm: Support cross-compilation. scripts: system: Add --target option. wip: tools. Pierre-Moana Levesque (9): gnu: texinfo-5: Fix cross-compilation. gnu: nghttp2: Fix cross-compilation. gnu: libtool: Fix cross-compilation. gnu: texinfo-4: Fix cross compilation gnu: libnl: Fix cross-compilation. gnu: crda: Fix cross-compilation gnu: guile-xcb: Fix cross-compilation. gnu: guile-wm: Fix cross-compilation. gnu: cmake: Fix cross-compilation. build-sorted-ok-ko-packages.sh | 354 ++++++++++++++ deps.scm | 184 ++++++++ gnu/build/vm.scm | 30 +- gnu/local.mk | 5 + gnu/packages/algebra.scm | 15 +- gnu/packages/autotools.scm | 10 +- .../aux-files/linux-libre/5.2-arm64.conf | 2 +- gnu/packages/base.scm | 4 +- gnu/packages/boost.scm | 59 ++- gnu/packages/bootloaders.scm | 6 +- gnu/packages/cmake.scm | 14 +- gnu/packages/code.scm | 18 +- gnu/packages/commencement.scm | 11 +- gnu/packages/cyrus-sasl.scm | 17 +- gnu/packages/dbm.scm | 6 +- gnu/packages/documentation.scm | 12 +- gnu/packages/ghostscript.scm | 19 + gnu/packages/gnupg.scm | 47 +- gnu/packages/groff.scm | 40 +- gnu/packages/guile-wm.scm | 8 +- gnu/packages/guile.scm | 7 +- gnu/packages/icu4c.scm | 35 +- gnu/packages/linux.scm | 157 ++++--- gnu/packages/openldap.scm | 38 +- .../patches/bc-fix-cross-compilation.patch | 171 +++++++ gnu/packages/patches/boost-dumpversion.patch | 24 + .../patches/cyrus-sasl-ac-try-run-fix.patch | 12 + .../guile-gcrypt-fix-cross-compilation.patch | 431 ++++++++++++++++++ .../guile-sqlite3-fix-cross-compilation.patch | 55 +++ gnu/packages/pulseaudio.scm | 22 +- gnu/packages/swig.scm | 1 + gnu/packages/texinfo.scm | 63 ++- gnu/packages/tls.scm | 62 ++- gnu/packages/version-control.scm | 23 +- gnu/packages/web.scm | 8 +- gnu/packages/xorg.scm | 32 +- gnu/system.scm | 15 +- gnu/system/examples/mini-beaglebone.scm | 61 +++ gnu/system/examples/mini.scm | 54 +++ gnu/system/linux-initrd.scm | 2 +- gnu/system/vm.scm | 42 +- guix/build-system/cmake.scm | 9 +- guix/gexp.scm | 5 +- guix/packages.scm | 4 +- guix/scripts/system.scm | 15 +- guix/utils.scm | 8 + 46 files changed, 2039 insertions(+), 178 deletions(-) create mode 100755 build-sorted-ok-ko-packages.sh create mode 100644 deps.scm create mode 100644 gnu/packages/patches/bc-fix-cross-compilation.patch 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-gcrypt-fix-cross-compilation.patch create mode 100644 gnu/packages/patches/guile-sqlite3-fix-cross-compilation.patch create mode 100644 gnu/system/examples/mini-beaglebone.scm create mode 100644 gnu/system/examples/mini.scm