| Summary: | Shouldn't app-text/xpdf rdepend on x11-libs/libXp ? | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ingo Bormuth <ibormuth> |
| Component: | New packages | Assignee: | Printing Team <printing> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Ingo Bormuth
2006-05-06 11:29:09 UTC
Why? You get some errors, or??? because it does not depend on it. It neither links against libXp nor includes any files from libXp I ran both the included_headers and linking_libs scripts in modular xorg remember ldd even shows deps of deps
Running xpdf-3.01-r7 without libXp installed gives me:
xpdf: error while loading shared libraries:
libXp.so.6: cannot open shared object file:
No such file or directory
I just went from monlithic to modular x without installing
virtual/x11 (just x11-base/xorg-server).
Reemerging xpdf also fails:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: warning: libXp.so.6, needed by /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libXm.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libXm.so: undefined reference to `XpGetDocumentData'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libXm.so: undefined reference to `XpGetPageDimensions'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libXm.so: undefined reference to `XpGetOneAttribute'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libXm.so: undefined reference to `XpStartPage'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libXm.so: undefined reference to `XpGetScreenOfContext'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libXm.so: undefined reference to `XpQueryExtension'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libXm.so: undefined reference to `XpEndPage'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libXm.so: undefined reference to `XpSetImageResolution'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libXm.so: undefined reference to `XpEndJob'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libXm.so: undefined reference to `XpSelectInput'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libXm.so: undefined reference to `XpGetPdmStartParams'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libXm.so: undefined reference to `XpGetContext'
collect2: ld returned 1 exit status
make: *** [xpdf] Error 1
!!! ERROR: app-text/xpdf-3.01-r7 failed.
Call stack:
ebuild.sh, line 1525: Called dyn_compile
ebuild.sh, line 928: Called src_compile
ebuild.sh, line 598: Called die
Hmmmm ...
as you can see it is a depend of libXm, and not of xpdf, have a look at /usr/portage/x11-libs/openmotif/openmotif-2.2.3-r9.ebuild to learn more. The DEPs of libXm might change and thus I will not add libXp to xpdf. Also my original point is still vaild, xpdf does not need libXp, openmotif does. Oh, sorry. Now I got it. Emerge -uD pulled it in. I'll need some sleep. |