Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 247963

Summary: app-text/djvu-3.5.21 is missing dependency on x11-libs/libXt
Product: Gentoo Linux Reporter: Konrad Karczewski <konrad.karczewski>
Component: New packagesAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED FIXED    
Severity: normal CC: tex
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.