From unknown Sat Sep 13 12:31:10 2025
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
From: bug#55559 <55559@debbugs.gnu.org>
To: bug#55559 <55559@debbugs.gnu.org>
Subject: Status: btrfs-progs fails to cross-compile
Reply-To: bug#55559 <55559@debbugs.gnu.org>
Date: Sat, 13 Sep 2025 19:31:10 +0000
retitle 55559 btrfs-progs fails to cross-compile
reassign 55559 guix
submitter 55559 Pavel Shlyak
severity 55559 normal
thanks
From debbugs-submit-bounces@debbugs.gnu.org Sat May 21 14:02:22 2022
Received: (at submit) by debbugs.gnu.org; 21 May 2022 18:02:22 +0000
Received: from localhost ([127.0.0.1]:42908 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1nsTQk-0000ul-FQ
for submit@debbugs.gnu.org; Sat, 21 May 2022 14:02:22 -0400
Received: from lists.gnu.org ([209.51.188.17]:59198)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1nsTQb-0000uX-VB
for submit@debbugs.gnu.org; Sat, 21 May 2022 14:02:21 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38070)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1nsTQb-0000ni-I8
for bug-guix@gnu.org; Sat, 21 May 2022 14:02:13 -0400
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:55711)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1nsTQW-00027Z-4C
for bug-guix@gnu.org; Sat, 21 May 2022 14:02:13 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
by mailout.west.internal (Postfix) with ESMTP id 2EC753200437
for ; Sat, 21 May 2022 14:02:05 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
by compute5.internal (MEProxy); Sat, 21 May 2022 14:02:05 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h=
cc:content-transfer-encoding:content-type:date:date:from:from
:in-reply-to:message-id:mime-version:reply-to:sender:subject
:subject:to:to; s=fm2; t=1653156124; x=1653242524; bh=7RyXzG085+
nauE0/7tvfHJtxAUtyaanOdjf7ReY1MvQ=; b=RNfggNiai7aQt6Xw+53P4blaVb
AXj36rY3DXBS7zF8PeN5tA53VA7NyddFNh25a7qePSKNcnqXvRFHkzKynhJ/bexa
WHEkSVo5M9X5ewWeiTpA2PpEB7pWaI9xE+ezFKuOoKwfhstg1UZSAt43O1XBnmGh
dFdWc20ZuTgTgPp8pD+ylpeyCWWaXBBx3FNCVmVFD7HHyzzCe9ORZHLplXqz55IS
taTqiSTlFxZFhlgknE73xIw9+CYcZ+lok9nKhqf0Hg4vhYneZO/kIoJM703o/rOH
RYSPnZYG/CFVzubkaS5YsX6TbDfiL6GOjgflAJuNh2JbaAfd9+bVN7f97iWg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:content-transfer-encoding:content-type
:date:date:feedback-id:feedback-id:from:from:in-reply-to
:message-id:mime-version:reply-to:sender:subject:subject:to:to
:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
fm1; t=1653156124; x=1653242524; bh=7RyXzG085+nauE0/7tvfHJtxAUty
aanOdjf7ReY1MvQ=; b=C1B+isjsdgyR8IwWje0ttlXKukIHdiInldi342ng3snP
bPmRDPpyGBJ2YQ74lBLzlyyF8I3CFEN2yHA8LnsQGKGnXjlzacfO0/kZOq7xp4qb
E+FIiJ1Z/88oa+EVJWW5QedFah/7L9HDHh0dczldzeKWm0hVD9WYEYA4bQfzK6AC
WPaL+uFwCngZ7XJp4KM2E52S5yHwTKGauvilLsEdxCDpQjnCH1WvetTxEWyNdqOm
+tFBUH5MYZtUwuE0AJHrp8UiYYGjsUWSAA6U3QPbFuNVwVdYSLx4VkqxIdQ59av7
kM8ZDdG0vtI4AkmgWipus9nCO5mV/LH8zEY3gBRPbQ==
X-ME-Sender:
X-ME-Received:
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrieeigdduudefucetufdoteggodetrfdotf
fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
uceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfgggfukfffvffosehtqhhmtd
hhtddvnecuhfhrohhmpefrrghvvghlucfuhhhlhigrkhcuoehprdhshhhlhigrkhesphgr
nhhthhgvrhigrdhorhhgqeenucggtffrrghtthgvrhhnpeejgeehveekveeugeegteette
ejfedtteekudeghfdtudfhjeekueeiveduhedtudenucevlhhushhtvghrufhiiigvpedt
necurfgrrhgrmhepmhgrihhlfhhrohhmpehprdhshhhlhigrkhesphgrnhhthhgvrhigrd
horhhg
X-ME-Proxy:
Feedback-ID: idda946d0:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
; Sat, 21 May 2022 14:02:03 -0400 (EDT)
From: Pavel Shlyak
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
Subject: btrfs-progs fails to cross-compile
Message-Id:
Date: Sat, 21 May 2022 21:02:00 +0300
To: bug-guix@gnu.org
X-Mailer: Apple Mail (2.3696.100.31)
Received-SPF: pass client-ip=64.147.123.25; envelope-from=p.shlyak@pantherx.org;
helo=wout2-smtp.messagingengine.com
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
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: -2.7 (--)
I can build it natively on aarch64 or x86_64. Only cross-compilation =
fails
To reproduce, run (on x86_64 host)
guix build btrfs-progs --target=3Daarch64-linux-gnu
Output:
configure: error: Package requirements (libudev) were not met:
No package 'libudev' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBUDEV_CFLAGS
and LIBUDEV_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
error: in phase 'configure': uncaught exception:
%exception #<&invoke-error program: =
"/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash" =
arguments: ("./configure" "CC_FOR_BUILD=3Dgcc" =
"CONFIG_SHELL=3D/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5=
.1.8/bin/bash" =
"SHELL=3D/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bi=
n/bash" =
"--prefix=3D/gnu/store/0sa8vdwlg49bdcshpnp8ry0mjszncn40-btrfs-progs-5.15.1=
" "--enable-fast-install" "--build=3Dx86_64-unknown-linux-gnu" =
"--host=3Daarch64-linux-gnu") exit-status: 1 term-signal: #f =
stop-signal: #f>
phase `configure' failed after 1.1 seconds
command =
"/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash" =
"./configure" "CC_FOR_BUILD=3Dgcc" =
"CONFIG_SHELL=3D/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5=
.1.8/bin/bash" =
"SHELL=3D/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bi=
n/bash" =
"--prefix=3D/gnu/store/0sa8vdwlg49bdcshpnp8ry0mjszncn40-btrfs-progs-5.15.1=
" "--enable-fast-install" "--build=3Dx86_64-unknown-linux-gnu" =
"--host=3Daarch64-linux-gnu" failed with status 1=
From debbugs-submit-bounces@debbugs.gnu.org Sat May 21 14:46:47 2022
Received: (at 55559) by debbugs.gnu.org; 21 May 2022 18:46:47 +0000
Received: from localhost ([127.0.0.1]:42944 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1nsU7j-00020k-6k
for submit@debbugs.gnu.org; Sat, 21 May 2022 14:46:47 -0400
Received: from albert.telenet-ops.be ([195.130.137.90]:34662)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1nsU7g-00020Z-Gf
for 55559@debbugs.gnu.org; Sat, 21 May 2022 14:46:46 -0400
Received: from [172.20.10.5] ([188.188.138.241])
by albert.telenet-ops.be with bizsmtp
id ZWmi270015Ch72L06Wmitr; Sat, 21 May 2022 20:46:42 +0200
Message-ID: <80af36427a9625a3453a6d043b2c6c8d45343719.camel@telenet.be>
Subject: Re: bug#55559: btrfs-progs fails to cross-compile
From: Maxime Devos
To: Pavel Shlyak , 55559@debbugs.gnu.org
Date: Sat, 21 May 2022 20:46:35 +0200
In-Reply-To:
References:
Content-Type: multipart/signed; micalg="pgp-sha512";
protocol="application/pgp-signature"; boundary="=-EsxpELfSOU03rjC1O8GK"
User-Agent: Evolution 3.38.3-1
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
t=1653158802; bh=/mxeChyBfRYZl6AWQjO8VT5tO5WB7Z5iID2blmJQjgU=;
h=Subject:From:To:Date:In-Reply-To:References;
b=BCMIiZm6sYFI7H6fIy6ViVWqnjChgiMfEYb/czAnphDffL8qD7TN6q3PcfzJZ52Fp
pOJPUyo3S+K1r55ELo5h3oR4+LMLdLldvC8XzIK8nqT1p3nCxkCnxZLjKUdgZuWfCr
Fd1uLuzOMd71BIh4Fc3j1dQACKPn6HxkJnAiMuU76Y5lWOhSV7Iw/dUHbSLOODU3sz
NsxURcYj0iJw4F+g5Se/yWgrBH9laXJIvHJeHIVBSEl4KUs5gTn34gGG2/gsFKjUsw
AC29lv6bblAWodNLU1u/RwH4I+dBnx5KNBcy4OQECGpuLujGqqtc7xpacsL5mUpziL
5ofTa1BrtmrUQ==
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 55559
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.0 (-)
--=-EsxpELfSOU03rjC1O8GK
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Pavel Shlyak schreef op za 21-05-2022 om 21:02 [+0300]:
> I can build it natively on aarch64 or x86_64. Only cross-compilation fail=
s
> To reproduce, run (on x86_64 host)
> guix build btrfs-progs --target=3Daarch64-linux-gnu
> Output:
>=20
> configure: error: Package requirements (libudev) were not met:
>=20
> No package 'libudev' found
Given that 'eudev' appears in the references, it looks like 'eudev'
needs to be moved from native-inputs to inputs (apparently it's not
only for tests!) in the package definition of btrfs-progs.
Greetings,
Maxime.
--=-EsxpELfSOU03rjC1O8GK
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYokzixccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lMBAQCQLcejpFcCET3ZOCGTviQWniKG
kqEH/hNR6RrotMS1awEAnz2Dh0bv5lKQ9P9LAHllNb6+rj98tJD1I3+IHbCFDwY=
=OhFq
-----END PGP SIGNATURE-----
--=-EsxpELfSOU03rjC1O8GK--
From debbugs-submit-bounces@debbugs.gnu.org Sat May 21 14:46:55 2022
Received: (at 55559-done) by debbugs.gnu.org; 21 May 2022 18:46:55 +0000
Received: from localhost ([127.0.0.1]:42949 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1nsU7r-00021J-JW
for submit@debbugs.gnu.org; Sat, 21 May 2022 14:46:55 -0400
Received: from tobias.gr ([80.241.217.52]:48990)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1nsU7o-000218-Pa
for 55559-done@debbugs.gnu.org; Sat, 21 May 2022 14:46:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=q1Ch+PiKPrYf0
AD9DDiW3k0aZM2NrhAyqVFCRWbGmZ4=;
h=in-reply-to:date:subject:cc:to:
from:references; d=tobias.gr; b=R3MSe98bv7vEglTAPT2C4hgx5kQZng20vCNrw6
6IQ97Om0Lxj+XW74K8EqmnQIt6l5IvxiKPwd9Tpcu0fRZXk3WxJRNnNfbx5lN4D7unJWNd
PvMRSqhNr7cycex9sZ5Qf7rg+BRk6V/BrD1zT4+c3RvkFvnqLhc912/avWMU7wJHHqPONX
wZoB7XLiJAzZyswDCwfLFZ8oW4QD1cVhhxCbeE+lZZ6TSbPKXVQxkhmWgz3WIrNCdM+WmD
rvU2AIflCU+Me5k5U+MCRhTQIbOQjdtkR6ESDGq6mspqY9nA+LiV0iuLZez2++ViIuK8kQ
e+oYiGDYT4DSzNEAErFkzN3w==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id cc7e6ea6
(TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO);
Sat, 21 May 2022 18:46:51 +0000 (UTC)
References:
From: Tobias Geerinckx-Rice
To: Pavel Shlyak
Subject: Re: bug#55559: btrfs-progs fails to cross-compile
Date: Sat, 21 May 2022 20:44:06 +0200
In-reply-to:
BIMI-Selector: v=BIMI1; s=default;
Message-ID: <87h75ihgdp@nckx>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 55559-done
Cc: 55559-done@debbugs.gnu.org, bug-guix@gnu.org
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.0 (-)
--=-=-=
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Pavel,
Pavel Shlyak =E5=86=99=E9=81=93=EF=BC=9A
> Only cross-compilation fails
> guix build btrfs-progs --target=3Daarch64-linux-gnu
Thanks. This was due to
=2D a bogus eudev native-input that should have been regular,
=2D broken Python support somewhere upstream.
Handily, said Python support was never actually used by Guix, so=20
we can just ignore it and --disable-python.
Kind regards,
T G-R
--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYokz0w0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15qd8A/0s3l44ckytvdNRTjMXTzWbkQAUt32hfH5F/0l/4
k4voAQCPb0VMbtUXYZn8uZ1xMIkDrLJYRkLAenFa7actas39AA==
=1REb
-----END PGP SIGNATURE-----
--=-=-=--
From unknown Sat Sep 13 12:31:10 2025
Received: (at fakecontrol) by fakecontrolmessage;
To: internal_control@debbugs.gnu.org
From: Debbugs Internal Request
Subject: Internal Control
Message-Id: bug archived.
Date: Sun, 19 Jun 2022 11:24:08 +0000
User-Agent: Fakemail v42.6.9
# This is a fake control message.
#
# The action:
# bug archived.
thanks
# This fakemail brought to you by your local debbugs
# administrator