all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pavel Shlyak <p.shlyak@pantherx.org>
To: 55559@debbugs.gnu.org
Subject: bug#55559: btrfs-progs fails to cross-compile
Date: Sat, 21 May 2022 21:02:00 +0300	[thread overview]
Message-ID: <A24D7681-3497-4639-86C5-12F30F5345CE@pantherx.org> (raw)

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



             reply	other threads:[~2022-05-21 18:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-21 18:02 Pavel Shlyak [this message]
2022-05-21 18:44 ` bug#55559: btrfs-progs fails to cross-compile Tobias Geerinckx-Rice via Bug reports for GNU Guix
2022-05-21 18:46 ` Maxime Devos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A24D7681-3497-4639-86C5-12F30F5345CE@pantherx.org \
    --to=p.shlyak@pantherx.org \
    --cc=55559@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.