Package Details: xen-qemu 7.2.0-1

Git Clone URL: https://aur.archlinux.org/xen-qemu.git (read-only, click to copy)
Package Base: xen-qemu
Description: A xen-specific QEMU, built to qemu-builtin standards
Upstream URL: https://www.qemu.org
Licenses: GPL2, LGPL2.1
Conflicts: xen-qemu-builtin
Provides: qemu-xen, xen-qemu, xen-qemu-builtin
Replaces: xen-qemu-builtin
Submitter: Refutationalist
Maintainer: Refutationalist
Last Packager: Refutationalist
Votes: 0
Popularity: 0.000000
First Submitted: 2022-11-15 02:23 (UTC)
Last Updated: 2022-12-19 21:15 (UTC)

Latest Comments

ArthurBorsboom commented on 2022-11-18 10:40 (UTC)

I have created a new VM and installed Arch with the help of the Arch installer, installation type: minimal.

After installing git and yay I ran the following. yay -S xen xen-qemu libvirt-xen

This resulted in the three packages being installed without conflicts.

So, I guess the question remains what triggers the conflict on the 'existing' system? Any pointers that I can try?

Refutationalist commented on 2022-11-18 04:22 (UTC)

@ahmubashshir: if you build in a clean chroot it doesn't build those files, thus no collision. This is why I suggested it. I'm happy to accept a PR for a more permanent fix, but until I receive one or I get to one myself, build in a clean chroot.

ahmubashshir commented on 2022-11-18 04:15 (UTC) (edited on 2022-11-18 04:40 (UTC) by ahmubashshir)

@Refutationalist, building in clean chroot won't solve anything... cause the files in your package are conflicting with qemu-common, it's better to either mark it as conflicting package with qemu-common or remove the files provided by qemu-common and depend on it.

FYI, arch maintainers now split qemu in several packages to ease installation, you should follow upstream and remove common files.

P.S. you can check out arch pkgbuild for qemu with asp checkout qemu

Refutationalist commented on 2022-11-17 00:23 (UTC) (edited on 2022-11-17 00:24 (UTC) by Refutationalist)

@ArthurBorsboom: Can you try building your package in a clean chroot or VM with nothing unnecessary to the build process installed? My package doesn't create locale files, which is why I recommend building these packages in such a way.

chroot instructions: https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot

ArthurBorsboom commented on 2022-11-16 22:18 (UTC)

This package conflicts with libvirt-xen (through qemu-common).

https://aur.archlinux.org/packages/libvirt-xen

xen-qemu     7.1.0-1      249.21 MiB

Total Installed Size:  249.21 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                           [##############################################################] 100%
(1/1) checking package integrity                                                                         [##############################################################] 100%
(1/1) loading package files                                                                              [##############################################################] 100%
(1/1) checking for file conflicts                                                                        [##############################################################] 100%
error: failed to commit transaction (conflicting files)
xen-qemu: /usr/share/locale/bg/LC_MESSAGES/qemu.mo exists in filesystem (owned by qemu-common)
xen-qemu: /usr/share/locale/de_DE/LC_MESSAGES/qemu.mo exists in filesystem (owned by qemu-common)
xen-qemu: /usr/share/locale/fr_FR/LC_MESSAGES/qemu.mo exists in filesystem (owned by qemu-common)
xen-qemu: /usr/share/locale/hu/LC_MESSAGES/qemu.mo exists in filesystem (owned by qemu-common)
xen-qemu: /usr/share/locale/it/LC_MESSAGES/qemu.mo exists in filesystem (owned by qemu-common)
xen-qemu: /usr/share/locale/sv/LC_MESSAGES/qemu.mo exists in filesystem (owned by qemu-common)
xen-qemu: /usr/share/locale/tr/LC_MESSAGES/qemu.mo exists in filesystem (owned by qemu-common)
xen-qemu: /usr/share/locale/uk/LC_MESSAGES/qemu.mo exists in filesystem (owned by qemu-common)
xen-qemu: /usr/share/locale/zh_CN/LC_MESSAGES/qemu.mo exists in filesystem (owned by qemu-common)