FS#11522 - texlive-bin contains unusable libkpathsea.a

Attached to Project: Arch Linux
Opened by Jan de Groot (JGC) - Friday, 19 September 2008, 09:33 GMT
Last edited by Jan de Groot (JGC) - Sunday, 12 October 2008, 20:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Francois Charette (Firmicus)
Architecture x86_64
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

From evince config.log:

configure:28952: checking for kpse_init_prog in -lkpathsea
configure:28987: gcc -o conftest -march=x86-64 -mtune=generic -O2 -pipe conftest.c -lkpathsea >&5
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib/libkpathsea.a: could not read symbols: Archive has no index; run ranlib to add one

The dvi backend doesn't get built when texlive-bin is used instead of tetex.
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 12 October 2008, 20:29 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Friday, 19 September 2008, 10:00 GMT
In addition, after calling "ranlib /usr/lib/libkpathsea.a:

/usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib/libkpathsea.a(tex-file.o): relocation R_X86_64_32S against `kpse_format_info' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../lib/libkpathsea.a: could not read symbols: Bad value

Please recompile with -fPIC added to CFLAGS on x86_64.
Comment by Francois Charette (Firmicus) - Friday, 19 September 2008, 14:28 GMT
I have compiled evince yesterday with libkpathsea from texlive-bin on i686, but had not yet tried it yet on x86_64. Thanks for the info.
How urgent it this BTW?
Another thing: wouldn't it make more sense to package libkpathsea separately (as does Debian IIRC)?
Comment by Donald Ephraim Curtis (dcurtis) - Thursday, 02 October 2008, 22:14 GMT
some of us want evince to have dvi support and we believe it's related this bug.  FS#11521  - DVI files make Evince crash
(Don't know how to link on here)
Comment by Francois Charette (Firmicus) - Friday, 03 October 2008, 13:11 GMT
OK, I'll try to fix texlive-bin this week-end, and perhaps I'll package libkpathsea separately.
Comment by Jan de Groot (JGC) - Friday, 03 October 2008, 13:17 GMT
there's no need to package it standalone, as it's a static library. In order to be able to use it, you'll need texlive-bin anyways.

Loading...