FS#59060 - split debug packages depend/conflict with the global dependencies/conflicts

Attached to Project: Pacman
Opened by Wenbo Qiu (crab2313) - Tuesday, 19 June 2018, 08:43 GMT
Last edited by Allan McRae (Allan) - Thursday, 19 July 2018, 02:31 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.1.0
Due in Version 5.1.1
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

I have problem building QEMU with debug symbol enabled. (with strip and debug enabled)

It seems the separated package qemu-debug depends on qemu-headless and also conflicts with qemu-headless.

Name : qemu-debug
Version : 2.12.0-1
Description : Detached debugging symbols for qemu
Architecture : x86_64
URL : http://wiki.qemu.org/
Licenses : GPL2 LGPL2.1
Groups : None
Provides : qemu-headless qemu-headless-debug qemu-arch-extra-debug
qemu-headless-arch-extra-debug qemu-block-iscsi-debug
qemu-block-rbd-debug qemu-block-gluster-debug
qemu-guest-agent-debug
Depends On : virglrenderer sdl2 vte3 libpulse seabios gnutls libpng libaio
numactl jemalloc xfsprogs libnfs lzo snappy curl vde2
libcap-ng spice libcacard usbredir
Optional Deps : qemu-arch-extra: extra architectures support
samba: SMB/CIFS server support
qemu-block-iscsi: iSCSI block support
qemu-block-rbd: RBD block support
qemu-block-gluster: glusterfs block support
Conflicts With : qemu-headless
Replaces : qemu-kvm
Compressed Size : 550.01 KiB
Installed Size : 2675.00 KiB
Packager : Unknown Packager
Build Date : Tue 19 Jun 2018 03:42:15 PM CST
Install Script : No
Validated By : None
Signatures : None

I just can't install qemu-debug and qemu in the same time. Pacman complains like this:

:: qemu-debug and qemu are in conflict (qemu-headless). Remove qemu? [y/N]

This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 19 July 2018, 02:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit 9a8c7154
Comment by Doug Newgard (Scimmia) - Wednesday, 20 June 2018, 15:15 GMT
Looks like a makepkg problem, most of that shouldn't be on the -debug package.

What did you change in the PKGBUILD, exactly?
Comment by Eli Schwartz (eschwartz) - Thursday, 21 June 2018, 03:48 GMT
  • Field changed: Attached to Project (Arch Linux → Pacman)
Known pacman/makepkg bug.

split debug packages are completely borked in pacman 5.1.0 -- they contain the top-level metadata, and this bites hard when provides/conflicts are present, which is also the case for -git packages.
Comment by Luke Shumaker (lukeshu) - Thursday, 12 July 2018, 06:02 GMT
I see a fix for this (10ca4f48311370cdd580f66096d5e94858fde467 / https://patchwork.archlinux.org/patch/631/) in Allan's "patchqueue" branch, but it's not in "master".

Loading...