Package Details: qemu-user-static 5.2.0-1

Git Clone URL: https://aur.archlinux.org/qemu-user-static.git (read-only, click to copy)
Package Base: qemu-user-static
Description: Statically linked binaries of Qemu with user emulation. Useful for containers/chroot environment with binfmt.
Upstream URL: http://wiki.qemu.org/
Licenses: GPL2, LGPL2.1
Provides: qemu-user-static
Submitter: falstaff_ch
Maintainer: crab2313
Last Packager: crab2313
Votes: 13
Popularity: 1.28
First Submitted: 2019-01-11 13:55
Last Updated: 2021-01-05 09:57

Pinned Comments

crab2313 commented on 2020-06-09 02:25

NOTE: The version of pcre-static and glib2-static should match their corresponding non-static system libraries since they are just static libraries without C headers.

Latest Comments

1 2 3 4 Next › Last »

crab2313 commented on 2021-01-13 03:27

@l3rc10

Rebuild your glib2-static and pcre-static with gcc 10.

l3rc10 commented on 2021-01-13 03:08

[533/2818] Linking target qemu-aarch64_be
FAILED: qemu-aarch64_be 
g++  -o qemu-aarch64_be libcommon.fa.p/cpus-common.c.o libcommon.fa.p/disas_i386.c.o libcommon.fa.p/disas_libvixl_vixl_a64_instructions-a64.cc.o libcommon.fa.p/disas_arm.c.o libcommon.fa.p/disas_libvixl_vixl_utils.cc.o libcommon.fa.p/disas_libvixl_vixl_a64_decoder-a64.cc.o libcommon.fa.p/disas_libvixl_vixl_a64_disasm-a64.cc.o libcommon.fa.p/disas_arm-a64.cc.o libcommon.fa.p/disas_libvixl_vixl_compiler-intrinsics.cc.o libcommon.fa.p/hw_core_cpu.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_aarch64_signal.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_aarch64_cpu_loop.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_kvm-stub.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_op_helper.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_translate.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_debug_helper.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_neon_helper.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_gdbstub.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_arm-semi.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_crypto_helper.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_pauth_helper.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_translate-a64.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_tlb_helper.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_cpu64.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_cpu_tcg.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_gdbstub64.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_cpu.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_sve_helper.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_helper.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_mte_helper.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_vfp_helper.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_iwmmxt_helper.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_helper-a64.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_translate-sve.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_vec_helper.c.o libqemu-aarch64_be-linux-user.fa.p/target_arm_m_helper.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_mmap.c.o libqemu-aarch64_be-linux-user.fa.p/tcg_tcg.c.o libqemu-aarch64_be-linux-user.fa.p/tcg_tcg-common.c.o libqemu-aarch64_be-linux-user.fa.p/tcg_optimize.c.o libqemu-aarch64_be-linux-user.fa.p/fpu_softfloat.c.o libqemu-aarch64_be-linux-user.fa.p/accel_tcg_cpu-exec-common.c.o libqemu-aarch64_be-linux-user.fa.p/accel_tcg_user-exec.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_fd-trans.c.o libqemu-aarch64_be-linux-user.fa.p/accel_stubs_hax-stub.c.o libqemu-aarch64_be-linux-user.fa.p/gdbstub.c.o libqemu-aarch64_be-linux-user.fa.p/trace_control-target.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_safe-syscall.S.o libqemu-aarch64_be-linux-user.fa.p/accel_tcg_translator.c.o libqemu-aarch64_be-linux-user.fa.p/tcg_tcg-op.c.o libqemu-aarch64_be-linux-user.fa.p/exec-vary.c.o libqemu-aarch64_be-linux-user.fa.p/tcg_tcg-op-vec.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_elfload.c.o libqemu-aarch64_be-linux-user.fa.p/disas.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_linuxload.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_uaccess.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_main.c.o libqemu-aarch64_be-linux-user.fa.p/accel_tcg_tcg-runtime-gvec.c.o libqemu-aarch64_be-linux-user.fa.p/accel_tcg_cpu-exec.c.o libqemu-aarch64_be-linux-user.fa.p/accel_tcg_translate-all.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_exit.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_arm_semihost.c.o libqemu-aarch64_be-linux-user.fa.p/thunk.c.o libqemu-aarch64_be-linux-user.fa.p/cpu.c.o libqemu-aarch64_be-linux-user.fa.p/tcg_tcg-op-gvec.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_flatload.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_uname.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_signal.c.o libqemu-aarch64_be-linux-user.fa.p/accel_stubs_xen-stub.c.o libqemu-aarch64_be-linux-user.fa.p/accel_tcg_tcg-runtime.c.o libqemu-aarch64_be-linux-user.fa.p/accel_stubs_kvm-stub.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_strace.c.o libqemu-aarch64_be-linux-user.fa.p/linux-user_syscall.c.o libqemu-aarch64_be-linux-user.fa.p/accel_tcg_user-exec-stub.c.o libqemu-aarch64_be-linux-user.fa.p/meson-generated_.._aarch64_be-linux-user-gdbstub-xml.c.o libqemu-aarch64_be-linux-user.fa.p/meson-generated_.._trace_generated-helpers.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,--whole-archive libqom.fa libhwcore.fa -Wl,--no-whole-archive -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -static-pie -m64 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--start-group libqemuutil.a libqom.fa libhwcore.fa /usr/lib/libz.a -lrt -pthread -lutil -lm -lgthread-2.0 -lglib-2.0 -lpcre -lstdc++ -Wl,--end-group
lto1: internal compiler error: bytecode stream: expected tag identifier_node instead of LTO_UNKNOWN
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
lto-wrapper: fatal error: g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
[534/2818] Compiling C object libqemu-aarch64-linux-user.fa.p/tcg_optimize.c.o
[535/2818] Compiling C object libqemu-aarch64-linux-user.fa.p/tcg_tcg.c.o
[536/2818] Compiling C object libqemu-aarch64-linux-user.fa.p/target_arm_translate.c.o
[537/2818] Compiling C object libqemu-aarch64-linux-user.fa.p/target_arm_translate-sve.c.o
[538/2818] Compiling C object libqemu-aarch64-linux-user.fa.p/target_arm_sve_helper.c.o
ninja: build stopped: subcommand failed.
make: *** [Makefile:171: run-ninja] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

dleslie commented on 2021-01-04 16:32

This builds and runs fine on aarch64, please add it as a target.

crab2313 commented on 2021-01-04 01:37

@khvalera

You should import the public key manually when you do not use any AUR helper.

khvalera commented on 2021-01-03 21:13

qemu-5.2.0.tar.xz ... FAILURE (unknown public key 3353C9CEF108B584)

crab2313 commented on 2020-12-10 17:01

@blackhole

You have changed the version of this package. qemu-ppc64abi32-static is deprecated and do not exist in 5.2.0 anymore. Please contact the maintainer of binfmt-qemu-static to remove the entry in qemu-static.conf.

blackhole commented on 2020-12-10 16:50

Yes, but I have changed nothing.

So this is an information more than an error?

So why systemd-binfmt.service is failing?

crab2313 commented on 2020-12-10 16:41

@blackhole

  • ppc64abi32-linux-user is deprecated and only built when explicitly enabled in --target-list

  • tilegx-linux-user is deprecated and only built when explicitly enabled in --target-list

blackhole commented on 2020-12-10 16:15

After updating to 5.2 systemd-binfmt.service fails with errors.

In journal I see this:

Failed to add binary format: No such file or directory

binfmt_misc: register: failed to install interpreter file /usr/bin/qemu-ppc64abi32-static

etc.

Libgxps commented on 2020-12-01 10:10

Please add the aarch64 architecture. It builds quite nicely e.g. on the PBP. Thank you for your support.