Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132480 - Shouldn't app-text/xpdf rdepend on x11-libs/libXp ?
Summary: Shouldn't app-text/xpdf rdepend on x11-libs/libXp ?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-06 11:29 UTC by Ingo Bormuth
Modified: 2006-05-06 17:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Bormuth 2006-05-06 11:29:09 UTC
Shouldn't app-text/xpdf rdepend on x11-libs/libXp
for minimal modular x installs ?

18     virtual/motif
19     || (
20         ( x11-libs/libX11 x11-libs/libXpm x11-libs/libXp )   <<==
21         virtual/x11
22     )"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-06 11:31:45 UTC
Why? You get some errors, or???
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-06 12:23:21 UTC
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
Comment 3 Ingo Bormuth 2006-05-06 15:31:26 UTC
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 ...
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-06 15:49:37 UTC
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.
Comment 5 Ingo Bormuth 2006-05-06 17:25:58 UTC
Oh, sorry. Now I got it. Emerge -uD pulled it in. 

I'll need some sleep.