Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247963 - app-text/djvu-3.5.21 is missing dependency on x11-libs/libXt
Summary: app-text/djvu-3.5.21 is missing dependency on x11-libs/libXt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-21 13:26 UTC by Konrad Karczewski
Modified: 2008-11-22 07:44 UTC (History)
1 user (show)

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 Konrad Karczewski 2008-11-21 13:26:03 UTC
djvu depends on X headers for installation (at least on x11-libs/libXt), but does not have proper dependencies to pull them automatically. I've stumbled on this issue during fresh system installation - X packages are not yet there, but djvu is pulled through USEs as a dependency. During emerge it fails with the following error:

 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DNDEBUG -Wall -O3 -Wno-non-virtual-dto
r -I. -I../.. -I../../gui/shared/res -I../../gui/npsdk -c nsdejavu.c  -fPIC -DPI
C -o .libs/nsdejavu.o
cc1: warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC+
+ but not for C
nsdejavu.c:127:27: error: X11/Intrinsic.h: No such file or directory
nsdejavu.c:128:28: error: X11/IntrinsicP.h: No such file or directory
nsdejavu.c:129:28: error: X11/StringDefs.h: No such file or directory
nsdejavu.c:130:23: error: X11/Shell.h: No such file or directory

Upon investigation all of those are from x11-libs/libXt package - after I emerged it djvu emerged successfully with no additional modifications



Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2008-11-22 07:44:04 UTC
Thank you for report Konrad! This dependency is required only at build time for nsplugin. I've updated ebuild to depend on libXt in case you have nsplugin in USE. Fixed in CVS.