From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#31221: Cross compiling perl with guix pack fails Date: Sun, 22 Apr 2018 21:53:51 +0200 Message-ID: <87604jhvao.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAL3l-0001ox-9C for bug-guix@gnu.org; Sun, 22 Apr 2018 15:54:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAL3i-0003Xr-7m for bug-guix@gnu.org; Sun, 22 Apr 2018 15:54:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56479) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fAL3i-0003XZ-3Q for bug-guix@gnu.org; Sun, 22 Apr 2018 15:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fAL3h-00049d-Jd for bug-guix@gnu.org; Sun, 22 Apr 2018 15:54:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: ("=?UTF-8?Q?Rapha=C3=ABl_?= =?UTF-8?Q?M=C3=A9lotte?="'s message of "Thu, 19 Apr 2018 22:58:49 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: =?UTF-8?Q?Rapha=C3=ABl_?= =?UTF-8?Q?M=C3=A9lotte?= Cc: 31221@debbugs.gnu.org Hello, Rapha=C3=ABl M=C3=A9lotte skribis: > I'm trying to make a wireshark package for an old 32bit system where I > cannot install guix but it always fails with the same error. This is the > command I'm using: > guix pack -S /opt/gnu/bin=3Dbin --target=3Di686-pc-linux-gnu wireshark The analysis of Chris looks correct. In the meantime, note that if you=E2=80=99re on x86_64, you do not need to cross-compile to produce i686 binaries. Instead, you can simply run: guix pack =E2=80=A6 -s i686-linux wireshark This is because x86_64 can run i686 code just fine, and so guix-daemon will arrange to make an i686 container. HTH, Ludo=E2=80=99.