Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949048 - app-shells/pwsh-bin-7.5.0: splitdebug causes slot conflict
Summary: app-shells/pwsh-bin-7.5.0: splitdebug causes slot conflict
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-30 00:08 UTC by Hank Leininger
Modified: 2025-01-30 15:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hank Leininger 2025-01-30 00:08:29 UTC
With app-shells/pwsh-bin-7.4.6 already installed and FEATURES=splitdebug, emerging app-shells/pwsh-bin-7.5.0 results in conflicts despite them being in different slots:

 * Detected file collision(s):
 * 
 *      /usr/lib/debug/.build-id/a5/cf0a02e28ed701c912aef9ae998e023bbb162d
 *      /usr/lib/debug/.build-id/a5/cf0a02e28ed701c912aef9ae998e023bbb162d.debug
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * app-shells/pwsh-bin-7.4.6:7.4::gentoo
 *      /usr/lib/debug/.build-id/a5/cf0a02e28ed701c912aef9ae998e023bbb162d
 *      /usr/lib/debug/.build-id/a5/cf0a02e28ed701c912aef9ae998e023bbb162d.debug
 * 
 * Package 'app-shells/pwsh-bin-7.5.0' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.

Indeed, those existing files are owned by app-shells/pwsh-bin-7.4.6; they are symlinks:

lrwxr-xr-x 1 root root 48 Dec 20 21:13 /usr/lib/debug/.build-id/a5/cf0a02e28ed701c912aef9ae998e023bbb162d -> ../../../../../opt/pwsh-bin-7.4/libpsl-native.so
lrwxr-xr-x 1 root root 45 Dec 20 21:13 /usr/lib/debug/.build-id/a5/cf0a02e28ed701c912aef9ae998e023bbb162d.debug -> ../../opt/pwsh-bin-7.4/libpsl-native.so.debug

...And the :7.5 slot attempts to install links by the same name.

FEATURES=-splitdebug emerge -a1v pwsh-bin works fine. Also, unsurprisingly, if I reinstall 7.4 with -splitdebug, then 7.5 can proceed with it enabled; the links then are:

lrwxr-xr-x 1 root root 48 Jan 29 17:06 /usr/lib/debug/.build-id/a5/cf0a02e28ed701c912aef9ae998e023bbb162d -> ../../../../../opt/pwsh-bin-7.5/libpsl-native.so
lrwxr-xr-x 1 root root 45 Jan 29 17:06 /usr/lib/debug/.build-id/a5/cf0a02e28ed701c912aef9ae998e023bbb162d.debug -> ../../opt/pwsh-bin-7.5/libpsl-native.so.debug


I don't know how things are supposed to be resolved for slot conflicts of splitdebug files. I found one bug mentioning splitdebug and slot, but it had no followup after creation a couple of years ago.