From unknown Thu Aug 14 18:36:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26897: =?UTF-8?Q?=E2=80=98cmake-build-system=E2=80=99?= does not support cross-compilation Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 12 May 2017 16:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26897 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 26897@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149460485718753 (code B ref -1); Fri, 12 May 2017 16:01:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 May 2017 16:00:57 +0000 Received: from localhost ([127.0.0.1]:41164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9Czx-0004sO-DR for submit@debbugs.gnu.org; Fri, 12 May 2017 12:00:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9Czv-0004s6-0E for submit@debbugs.gnu.org; Fri, 12 May 2017 12:00:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Czp-0004jy-37 for submit@debbugs.gnu.org; Fri, 12 May 2017 12:00:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56460) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d9Czo-0004jr-WD for submit@debbugs.gnu.org; Fri, 12 May 2017 12:00:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9Czn-000252-Ra for bug-guix@gnu.org; Fri, 12 May 2017 12:00:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Czk-0004i3-Pf for bug-guix@gnu.org; Fri, 12 May 2017 12:00:47 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9Czk-0004hp-LG for bug-guix@gnu.org; Fri, 12 May 2017 12:00:44 -0400 Received: from [193.50.110.203] (port=49418 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d9Czk-0002gW-33 for bug-guix@gnu.org; Fri, 12 May 2017 12:00:44 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 =?UTF-8?Q?Flor=C3=A9al?= an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 12 May 2017 18:00:41 +0200 Message-ID: <878tm2oyja.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Currently =E2=80=98cmake-build-system=E2=80=99 does not support cross-compi= lation, which is becoming more and more of a problem. For instance, it prevents cross-compilation of Guix: --8<---------------cut here---------------start------------->8--- $ guix build guix --target=3Daarch64-linux-gnu -n guix build: error: gnu/packages/ssh.scm:59:2: libssh-0.7.4: build system `c= make' does not support cross builds --8<---------------cut here---------------end--------------->8--- I think CMake supports cross-compilation in theory, so we should try to implement it. Ludo=E2=80=99. From unknown Thu Aug 14 18:36:21 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#26897: closed (=?UTF-8?Q?=E2=80=98cmake-build-system=E2=80=99?= does not support cross-compilation) Message-ID: References: <87a85u4cha.fsf@elephly.net> <878tm2oyja.fsf@gnu.org> X-Gnu-PR-Message: they-closed 26897 X-Gnu-PR-Package: guix Reply-To: 26897@debbugs.gnu.org Date: Tue, 30 May 2017 15:00:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1496156403-25724-1" This is a multi-part message in MIME format... ------------=_1496156403-25724-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #26897: =E2=80=98cmake-build-system=E2=80=99 does not support cross-compila= tion which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 26897@debbugs.gnu.org. --=20 26897: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26897 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1496156403-25724-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 26897-done) by debbugs.gnu.org; 30 May 2017 14:59:40 +0000 Received: from localhost ([127.0.0.1]:45400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFicW-0006g5-9T for submit@debbugs.gnu.org; Tue, 30 May 2017 10:59:40 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFicT-0006fv-Fm for 26897-done@debbugs.gnu.org; Tue, 30 May 2017 10:59:39 -0400 Received: from localhost (141.80.148.190 [141.80.148.190]) by mx.zohomail.com with SMTPS id 1496156373851105.41974129146035; Tue, 30 May 2017 07:59:33 -0700 (PDT) User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus To: 26897-done@debbugs.gnu.org Subject: =?utf-8?Q?=E2=80=98cmake-build-system=E2=80=99?= does not support cross-compilation X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 30 May 2017 16:59:29 +0200 Message-ID: <87a85u4cha.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 26897-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Implemented in commit d2ac5e297578dea1c872f77a26ef4d481d5dc7bd. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net ------------=_1496156403-25724-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 May 2017 16:00:57 +0000 Received: from localhost ([127.0.0.1]:41164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9Czx-0004sO-DR for submit@debbugs.gnu.org; Fri, 12 May 2017 12:00:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9Czv-0004s6-0E for submit@debbugs.gnu.org; Fri, 12 May 2017 12:00:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Czp-0004jy-37 for submit@debbugs.gnu.org; Fri, 12 May 2017 12:00:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56460) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d9Czo-0004jr-WD for submit@debbugs.gnu.org; Fri, 12 May 2017 12:00:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9Czn-000252-Ra for bug-guix@gnu.org; Fri, 12 May 2017 12:00:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Czk-0004i3-Pf for bug-guix@gnu.org; Fri, 12 May 2017 12:00:47 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9Czk-0004hp-LG for bug-guix@gnu.org; Fri, 12 May 2017 12:00:44 -0400 Received: from [193.50.110.203] (port=49418 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d9Czk-0002gW-33 for bug-guix@gnu.org; Fri, 12 May 2017 12:00:44 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: bug-guix@gnu.org Subject: =?utf-8?Q?=E2=80=98cmake-build-system=E2=80=99?= does not support cross-compilation X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 =?utf-8?Q?Flor=C3=A9al?= an 225 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 12 May 2017 18:00:41 +0200 Message-ID: <878tm2oyja.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Currently =E2=80=98cmake-build-system=E2=80=99 does not support cross-compi= lation, which is becoming more and more of a problem. For instance, it prevents cross-compilation of Guix: --8<---------------cut here---------------start------------->8--- $ guix build guix --target=3Daarch64-linux-gnu -n guix build: error: gnu/packages/ssh.scm:59:2: libssh-0.7.4: build system `c= make' does not support cross builds --8<---------------cut here---------------end--------------->8--- I think CMake supports cross-compilation in theory, so we should try to implement it. Ludo=E2=80=99. ------------=_1496156403-25724-1--