Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.

FS#73023 - mtree generation / -Qkk does not handle symlink path with space(s) correctly

Attached to Project: Pacman
Opened by Tom Yan (tom.ty89) - Tuesday, 14 December 2021, 16:23 GMT
Last edited by Allan McRae (Allan) - Tuesday, 14 December 2021, 22:26 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version 6.0.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


# pacman -Qkk alsa-ucm-conf > /dev/null
warning: alsa-ucm-conf: /usr/share/alsa/ucm2/conf.d/simple-card/Librem 5 Devkit.conf (Symlink path mismatch)

while the symlink is fine:

# ls -l "$(realpath '/usr/share/alsa/ucm2/conf.d/simple-card/Librem 5 Devkit.conf')"
-rw-r--r-- 1 root root 54 Dec 11 01:38 '/usr/share/alsa/ucm2/NXP/iMX8/Librem_5_Devkit/Librem 5 Devkit.conf'
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 14 December 2021, 22:26 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#72978 
Comment by Tom Yan (tom.ty89) - Tuesday, 14 December 2021, 16:28 GMT
I forgot to mention: the problem seems to affect only symlinks with "symlink path" that consists of space(s):

$ find /usr/share/alsa/ucm2/conf.d/ -type l -name '* *'
/usr/share/alsa/ucm2/conf.d/simple-card/Librem 5 Devkit.conf
/usr/share/alsa/ucm2/conf.d/tegra/ASUS Google Nexus 7 ALC5642.conf
/usr/share/alsa/ucm2/conf.d/tegra/Acer Iconia Tab A500 WM8903.conf
/usr/share/alsa/ucm2/conf.d/tegra/Compal PAZ00.conf

$ find /usr/share/alsa/ucm2/conf.d/ -type l -name '* *' -exec readlink {} +
../../NXP/iMX8/Librem_5_Devkit/Librem 5 Devkit.conf