GNU bug report logs -
#55559
btrfs-progs fails to cross-compile
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55559 in the body.
You can then email your comments to 55559 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#55559
; Package
guix
.
(Sat, 21 May 2022 18:03:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Pavel Shlyak <p.shlyak <at> pantherx.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 21 May 2022 18:03:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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=aarch64-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=gcc" "CONFIG_SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash" "SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash" "--prefix=/gnu/store/0sa8vdwlg49bdcshpnp8ry0mjszncn40-btrfs-progs-5.15.1" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--host=aarch64-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=gcc" "CONFIG_SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash" "SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash" "--prefix=/gnu/store/0sa8vdwlg49bdcshpnp8ry0mjszncn40-btrfs-progs-5.15.1" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--host=aarch64-linux-gnu" failed with status 1
Information forwarded
to
bug-guix <at> gnu.org
:
bug#55559
; Package
guix
.
(Sat, 21 May 2022 18:47:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 55559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 fails
> To reproduce, run (on x86_64 host)
> guix build btrfs-progs --target=aarch64-linux-gnu
> Output:
>
> configure: error: Package requirements (libudev) were not met:
>
> 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.
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Tobias Geerinckx-Rice <me <at> tobias.gr>
:
You have taken responsibility.
(Sat, 21 May 2022 18:47:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Pavel Shlyak <p.shlyak <at> pantherx.org>
:
bug acknowledged by developer.
(Sat, 21 May 2022 18:47:03 GMT)
Full text and
rfc822 format available.
Message #13 received at 55559-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Pavel,
Pavel Shlyak 写道:
> Only cross-compilation fails
> guix build btrfs-progs --target=aarch64-linux-gnu
Thanks. This was due to
- a bogus eudev native-input that should have been regular,
- broken Python support somewhere upstream.
Handily, said Python support was never actually used by Guix, so
we can just ignore it and --disable-python.
Kind regards,
T G-R
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#55559
; Package
guix
.
(Sat, 21 May 2022 18:48:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 19 Jun 2022 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 305 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.