FS#12044 - xorg-server-utils 7.3-1 should dep on libxp

Attached to Project: Arch Linux
Opened by Dieter Plaetinck (Dieter_be) - Saturday, 08 November 2008, 11:48 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 26 January 2009, 11:02 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

dieter@dieter-ws ~ $xset
xset: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
dieter@dieter-ws ~ $which xset
/usr/bin/xset
dieter@dieter-ws ~ $pacman -Qo /usr/bin/xset
/usr/bin/xset is owned by xorg-server-utils 7.3-1
dieter@dieter-ws ~ $pacman -Qi xorg-server-utils
Name : xorg-server-utils
Version : 7.3-1
URL : http://xorg.freedesktop.org/
Licenses : None
Groups : None
Provides : None
Depends On : libxfontcache libxi liblbxutil libxrandr>=1.2.1 libxxf86misc libxaw libxxf86vm libxtrap mcpp>=2.6 xtrans
Optional Deps : None
Required By : xorg-server
Conflicts With : None
Replaces : None
Installed Size : 552.02 K
Packager : Jan de Groot <jgc@archlinux.org>
Architecture : i686
Build Date : Sat 21 Jun 2008 08:04:12 PM CEST
Install Date : Tue 04 Nov 2008 02:25:13 PM CET
Install Reason : Installed as a dependency for another package
Install Script : No
Description : X.Org utilities required by xorg-server
dieter@dieter-ws ~ $pacman -Ss libxp
extra/libxp 1.0.0-2
X11 X Print Library
extra/libxpm 3.5.7-1
X11 pixmap library
extra/libxprintapputil 1.0.1-2
X11 X Print Application Utility Library
extra/libxprintutil 1.0.1-2
X11 X Print Utility Library
dieter@dieter-ws ~ $



Looks to me as there should be a dep on libxp.
In fact, I used to have libxp installed as dep, but there was an upgrade for xorg-server & xorg-utils which dropped this dep (making libxp an orphan, so I removed it)

This task depends upon

Closed by  Roman Kyrylych (Romashka)
Monday, 26 January 2009, 11:02 GMT
Reason for closing:  Fixed
Comment by none (creator) - Thursday, 20 November 2008, 20:30 GMT
  • Field changed: Percent Complete (100% → 0%)
The bug remains in xorg-server-utils 7.4-1 (x86_64)

[creator@creator-laptop ~]$ xset
xset: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
[creator@creator-laptop ~]$ pacman -Qi xorg-server-utils
Name : xorg-server-utils
Version : 7.4-1
URL : http://xorg.freedesktop.org/
Licenses : None
Groups : None
Provides : None
Depends On : libxfontcache libxi libxmu libxxf86misc libxrandr
libxxf86vm mcpp>=2.6
Optional Deps : None
Required By : xorg-server
Conflicts With : None
Replaces : None
Installed Size : 372.00 K
Packager : Giovanni Scafora <giovanni@archlinux.org>
Architecture : x86_64
Build Date : Sun 09 Nov 2008 10:08:48 AM MSK
Install Date : Sat 15 Nov 2008 05:41:33 PM MSK
Install Reason : Installed as a dependency for another package
Install Script : No
Description : X.Org utilities required by xorg-server
[creator@creator-laptop ~]$
Comment by none (creator) - Friday, 21 November 2008, 11:25 GMT
Quite a simple patch =)
Comment by Jan de Groot (JGC) - Friday, 21 November 2008, 11:30 GMT
I don't want these utils to depend on libxp. It's optional, but when libxp is available at compiletime, it will get picked up.
Comment by Dieter Plaetinck (Dieter_be) - Friday, 21 November 2008, 11:39 GMT
Excuse my ignorance, but I don't understand.
xset works now, even though I don't have libxp installed.
So I guess it's compiled in statically (is that what you mean with 'pick up' ?)
OTOH, I can't find that back in the abs PKGBUILD of xorg[-server]-utils, not even a makedepend on libxp. Or is it the actual Makefile who looks for libxp and compiles it in? And what happens if it isn't found? Won't that break tools like xset?

dieter@dieter-ws ~ $xset
usage: xset [-display host:dpy] option ...
(...)
dieter@dieter-ws ~ $pacman -Qs libxp
local/libxpm 3.5.7-1
X11 pixmap library
dieter@dieter-ws ~ $
Comment by Jan de Groot (JGC) - Friday, 21 November 2008, 11:48 GMT
This was fixed in xorg-server-utils-7.4-2, but it has only been built for one architecture.

Loading...