Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937219 - app-emulation/xen-tools-4.19.0:0::gentoo file collisions w/ app-emulation/qemu-9.0.2::gentoo
Summary: app-emulation/xen-tools-4.19.0:0::gentoo file collisions w/ app-emulation/qem...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-08-03 06:07 UTC by MrPenguin07
Modified: 2024-10-17 14:56 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Apparently installing qemu l10n was unintended (qemu_l10n_collision.diff,252 bytes, patch)
2024-10-16 06:42 UTC, ak
Details | Diff
lzip tarball with a lot of stuff (app-emulation_xen-tools-4.18.4_pre0__install_collision.tar.lz,332.62 KB, application/x-lzip)
2024-10-17 10:26 UTC, Arniii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MrPenguin07 2024-08-03 06:07:39 UTC
* Detected file collision(s):
 *
 *      /usr/share/locale/bg/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/de_DE/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/fr_FR/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/hu/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/it/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/sv/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/tr/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/uk/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/zh_CN/LC_MESSAGES/qemu.mo
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * app-emulation/xen-tools-4.19.0:0::gentoo
 *      /usr/share/locale/bg/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/de_DE/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/fr_FR/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/hu/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/it/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/sv/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/tr/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/uk/LC_MESSAGES/qemu.mo
 *      /usr/share/locale/zh_CN/LC_MESSAGES/qemu.mo
 *
 * Package 'app-emulation/qemu-9.0.2' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.

Reproducible: Always

Steps to Reproduce:
1. Install either qemu-9.0.2 or xen-tools-4.19.0
2. Install the other
3. Observe collision
Actual Results:  
Not merged due to file collisions

Expected Results:  
Packages co-exist on a system
Comment 1 Pat Erley 2024-08-09 21:46:28 UTC
Same issue with:

app-emulation/xen-tools-4.18.3_pre0
Comment 2 Tomáš Mózes 2024-10-09 11:52:46 UTC
Can you please share the output of emerge --info on those packages?
Comment 3 MrPenguin07 2024-10-09 12:49:54 UTC
(In reply to Tomáš Mózes from comment #2)
> Can you please share the output of emerge --info on those packages?

Hi,

Not intending to be difficult however emerge --info contains far too much personal and device specific information.

In this case, I believe it's rather simply to confirm that both packages are installing the same files;

# equery f xen-tools | grep -i LC_MESSAGES
/usr/share/locale/bg/LC_MESSAGES
/usr/share/locale/bg/LC_MESSAGES/qemu.mo
/usr/share/locale/de_DE/LC_MESSAGES
/usr/share/locale/de_DE/LC_MESSAGES/qemu.mo
/usr/share/locale/fr_FR/LC_MESSAGES
/usr/share/locale/fr_FR/LC_MESSAGES/qemu.mo
/usr/share/locale/hu/LC_MESSAGES
/usr/share/locale/hu/LC_MESSAGES/qemu.mo
/usr/share/locale/it/LC_MESSAGES
/usr/share/locale/it/LC_MESSAGES/qemu.mo
/usr/share/locale/sv/LC_MESSAGES
/usr/share/locale/sv/LC_MESSAGES/qemu.mo
/usr/share/locale/tr/LC_MESSAGES
/usr/share/locale/tr/LC_MESSAGES/qemu.mo
/usr/share/locale/uk/LC_MESSAGES
/usr/share/locale/uk/LC_MESSAGES/qemu.mo
/usr/share/locale/zh_CN/LC_MESSAGES
/usr/share/locale/zh_CN/LC_MESSAGES/qemu.mo

# equery f qemu | grep -i LC_MESSAGES
/usr/share/locale/bg/LC_MESSAGES
/usr/share/locale/bg/LC_MESSAGES/qemu.mo
/usr/share/locale/de_DE/LC_MESSAGES
/usr/share/locale/de_DE/LC_MESSAGES/qemu.mo
/usr/share/locale/fr_FR/LC_MESSAGES
/usr/share/locale/fr_FR/LC_MESSAGES/qemu.mo
/usr/share/locale/hu/LC_MESSAGES
/usr/share/locale/hu/LC_MESSAGES/qemu.mo
/usr/share/locale/it/LC_MESSAGES
/usr/share/locale/it/LC_MESSAGES/qemu.mo
/usr/share/locale/sv/LC_MESSAGES
/usr/share/locale/sv/LC_MESSAGES/qemu.mo
/usr/share/locale/tr/LC_MESSAGES
/usr/share/locale/tr/LC_MESSAGES/qemu.mo
/usr/share/locale/uk/LC_MESSAGES
/usr/share/locale/uk/LC_MESSAGES/qemu.mo
/usr/share/locale/zh_CN/LC_MESSAGES
/usr/share/locale/zh_CN/LC_MESSAGES/qemu.mo

If there is any doubt that this isn't a simple packaging conflict please let me know and I'll take the time to censor the emerge --info.

I do note that another user confirmed experiencing the same issue.

Cheers
Comment 4 Tomáš Mózes 2024-10-09 13:49:23 UTC
Do you have USE=doc enabled for both packages?
Comment 5 MrPenguin07 2024-10-09 21:01:25 UTC
(In reply to Tomáš Mózes from comment #4)
> Do you have USE=doc enabled for both packages?

# equery u qemu | grep doc
-doc
# equery u xen-tools | grep doc
-doc

----

Seems I do not.
Btw, the only way I was able to have both installed was by merging one, manually deleting the conflicting files, then merging the other.

Hope that helps.
Comment 6 Tomáš Mózes 2024-10-10 08:37:52 UTC
Can you please share the USE flags used for merging both packages? Yesterday, I was adding a new Xen version and I wasn't able to reproduce this issue with latest qemu.
Comment 7 MrPenguin07 2024-10-10 11:01:05 UTC
(In reply to Tomáš Mózes from comment #6)
> Can you please share the USE flags used for merging both packages?
> Yesterday, I was adding a new Xen version and I wasn't able to reproduce
> this issue with latest qemu.

app-emulation/xen-tools-4.19.0-4:0/4.19::gentoo  USE="hvm ipxe qemu qemu-traditional rombios sdl -api -debug -doc -lzma -ocaml -ovmf -pygrub -python -screen (-selinux) -static-libs -system-ipxe -system-qemu -system-seabios -systemd -zstd"


app-emulation/qemu-9.0.2::gentoo] USE="aio alsa bzip2 curl fdt filecaps fuse gnutls gtk jpeg ncurses nls opengl oss pam pin-upstream-blobs pipewire plugins png pulseaudio python sasl sdl sdl-image seccomp slirp smartcard snappy spice ssh udev usb usbredir vde vhost-net virgl virtfs vnc vte xattr xen zstd -accessibility -bpf -capstone -debug -doc -glusterfs -infiniband -io-uring -iscsi -jack -jemalloc -keyutils -lzo -multipath -nfs -numa -rbd (-selinux) -static-user -systemtap -test -xdp%"

Hope that helps
Comment 8 ak 2024-10-16 06:42:30 UTC
Created attachment 905993 [details, diff]
Apparently installing qemu l10n was unintended
Comment 9 Arniii 2024-10-17 10:26:17 UTC
Created attachment 906164 [details]
lzip tarball with a lot of stuff

I can reproduce it for  app-emulation/xen-tools-4.18.4_pre0

(In reply to Tomáš Mózes from comment #2)
> Can you please share the output of emerge --info on those packages?

here's a lzip-tarball with a lot of stuff:

how_it_was_called.txt emerge_--info.txt /var/tmp/portage/app-emulation/xen-tools-4.18.4_pre0/{build-info/,files/,temp/,work/**{.log}} /var/lib/portage/ /etc/portage/ /var/log/portage/elog/app-emulation/xen-tools-4.18.4_pre0:20241017-100852.log
Comment 10 Tomáš Mózes 2024-10-17 11:15:17 UTC
Please test the patch from comment 8, thanks.
Comment 11 Arniii 2024-10-17 11:22:58 UTC
(In reply to Tomáš Mózes from comment #10)
> Please test the patch from comment 8, thanks.

seems to work
Comment 12 Tomáš Mózes 2024-10-17 14:56:30 UTC
Please test https://github.com/gentoo/gentoo/pull/39018, thanks.