FS#12322 - xdvi, provided by texlive-bin requires libxp as a dependancy

Attached to Project: Arch Linux
Opened by Fred (pseudonomous) - Tuesday, 02 December 2008, 19:36 GMT
Last edited by Francois Charette (Firmicus) - Wednesday, 29 April 2009, 18:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Francois Charette (Firmicus)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

xdvi is provided by texlive-bin but will not actually execute without first installing libxp, texlive-bin should probably require
lipxp

This error will display when running xdvi without first installing libxp:

xdvi-xaw: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory

Additional info:
* package version(s)

Name : texlive-bin
Version : 2008-3
URL : http://tug.org/texlive/
Licenses : GPL
Groups : None
Provides : None
Depends On : gcc-libs t1lib gd libsigsegv
Optional Deps : psutils
t1utils
perl
Required By : texlive-core
Conflicts With : texlive-omega
Replaces : None
Installed Size : 40556.00 K
Packager : François Charette <firmicus ατ gmx δοτ net>
Architecture : i686
Build Date : Mon 10 Nov 2008 10:33:01 AM CST
Install Date : Mon 01 Dec 2008 09:24:40 PM CST
Install Reason : Installed as a dependency for another package
Install Script : No
Description : TeX Live binaries


Steps to reproduce:

pacman -S texlive-most
pacman -R libxp
xdvi

I don't KNOW this will effect x86_64 but I would suspect that it would. I have an i686 architecture.
This task depends upon

Closed by  Francois Charette (Firmicus)
Wednesday, 29 April 2009, 18:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 2008-4 (in testing)
Comment by Jan de Groot (JGC) - Wednesday, 03 December 2008, 08:42 GMT
AFAIK libxp is optional, isn't there a compile switch to disable this deprecated library?
Comment by Malte Skoruppa (einheitlix) - Friday, 24 April 2009, 14:37 GMT
Hi,

just wanted to point out that this bug is still there.

xdvi is provided by the package texlive-bin (which is a dependency of texlive-most),
and this provided xdvi has libXp.so.6 as a runtime dependency. libxp.so.6 is provided by the package libxp.

Hence as it is, texlive-bin *should* depend on the package libxp. At the moment it does not.

So when you do not have libxp already installed, and install texlive-bin, then execute xdvi, you get
"xdvi-xaw: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory"
as explained above.

Maybe the steps to reproduce it are described better in this order:

pacman -R libxp
pacman -S texlive-most
xdvi

...since this really shows that texlive-most does *not* install libxp.

However, I just downloaded the newest source code of xdvi at http://math.berkeley.edu/~vojta/xdvi.html,
that is, version 22.85, and configured and compiled it, without having the package libxp installed.
It works fine, even without any compile switch whatsoever, out-of-the-box.

So maybe it's just a packaging problem, and a better solution that to introduce an additional dependency for
texlive-bin is to recompile the provided xdvi such that it does not depend on libXp.so.6 any more.

At any rate, this ought to be fixed, and should not be difficult to fix :-)

Cheers,

Malte
Comment by Francois Charette (Firmicus) - Wednesday, 29 April 2009, 18:30 GMT
This is fixed in texlive-bin 2008-4, now in testing.
The libxp dependency is no longer in the xdvi-xaw binary.

Loading...