FS#35744 - [pango] pkgbuild needs update since /sbin/ldconfig has been moved

Attached to Project: Arch Linux
Opened by Åsmund Ervik (AsmundEr) - Monday, 10 June 2013, 09:27 GMT
Last edited by Jan de Groot (JGC) - Monday, 01 July 2013, 10:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Pango (and lib32-pango) use /sbin/ldconfig during the install phase. This file no longer exists due to the recent update of filesystem etc.

Temporary workaround for users:
mkdir /sbin && ln -s /usr/bin/ldconfig /sbin/ && pacman -S pango && rm -rf /sbin


This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 01 July 2013, 10:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  The ldconfig call has been removed from trunk.

The call was needed because of XFree86 back in the days libs resided in /usr/X11R6/lib (and ld.so.conf was updated from XFree86 post_install). Now that X libraries are in /usr/lib the call is no longer needed.
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 10 June 2013, 15:41 GMT
Looks like your system is broken. Maybe because a partial upgrade. Compatibility symlinks are:
/bin -> usr/bin/
/lib -> usr/lib/
/lib64 -> usr/lib/
/sbin -> usr/bin/
/usr/lib64 -> lib/
/usr/sbin -> bin/
Comment by Dave Reisner (falconindy) - Monday, 10 June 2013, 15:45 GMT
I question the need for this ldconfig at all. pacman *always* calls ldconfig after any successful -S or -R operation.

There's no bug here, though. /sbin/ldconfig is still a valid path to ldconfig on an up to date system.
Comment by Jan de Groot (JGC) - Monday, 10 June 2013, 22:35 GMT
Does pacman call ldconfig after every package, or just after all packages have been installed?

The ldconfig call has been there since a decade. We added that long time ago because post_install/post_upgrade scripts failed miserably if we didn't do this (unresolved symbols or libraries simply not found). Maybe glibc has become smarter, maybe pacman calls ldconfig multiple times during a -Syu, don't know if it's still needed this way.
Comment by Jan Alexander Steffens (heftig) - Monday, 10 June 2013, 23:34 GMT
The proper fix would be hook support in pacman, so that all the .install stuff is run before/after all package files have been updated.

Loading...