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

Bug 338272

Summary: openmotif-2.3.2-r2 lacks dependency to printproto
Product: Gentoo Linux Reporter: Captain Sifff <Captainsifff>
Component: [OLD] LibraryAssignee: Ulrich Müller <ulm>
Status: RESOLVED INVALID    
Severity: minor CC: mgorny
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Captain Sifff 2010-09-21 10:47:37 UTC
The openmotif-2.3.2-r2 seems to lack a dependency to printproto.
The compile error is then:

make[3]: Entering directory `/var/tmp/portage/x11-libs/openmotif-2.3.2-r2/work/openmotif-2.3.2/lib/Xm'
/bin/sh ../../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/lib64/X11/bindings\" -DINCDIR=\"/usr/include/X11\" -DLIBDIR=\"/usr/lib64/X11\"     -O2 -march=k8 -pipe -I/usr/include -fno-strict-aliasing -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter   -MT XmStrDefs.lo -MD -MP -MF .deps/XmStrDefs.Tpo -c -o XmStrDefs.lo XmStrDefs.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/lib64/X11/bindings\" -DINCDIR=\"/usr/include/X11\" -DLIBDIR=\"/usr/lib64/X11\" -O2 -march=k8 -pipe -I/usr/include -fno-strict-aliasing -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -MT XmStrDefs.lo -MD -MP -MF .deps/XmStrDefs.Tpo -c XmStrDefs.c  -fPIC -DPIC -o .libs/XmStrDefs.o
In file included from XmStrDefs.c:10:
../Xm/Xm.h:76:34: error: X11/extensions/Print.h: No such file or directory
In file included from XmStrDefs.c:10:
../Xm/Xm.h:858: error: expected specifier-qualifier-list before 'XPContext'
make[3]: *** [XmStrDefs.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-libs/openmotif-2.3.2-r2/work/openmotif-2.3.2/lib/Xm'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-libs/openmotif-2.3.2-r2/work/openmotif-2.3.2/lib/Xm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/openmotif-2.3.2-r2/work/openmotif-2.3.2/lib'
make: *** [all-recursive] Error 1
 * ERROR: x11-libs/openmotif-2.3.2-r2 failed:


Reproducible: Always

Steps to Reproduce:
1. emerge --unmerge  printproto
2. emerge openmotif
3. see error
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-21 16:36:55 UTC
Please attach the complete build log.
Comment 2 Ulrich Müller gentoo-dev 2010-09-21 17:06:41 UTC
> Steps to Reproduce:
> 1. emerge --unmerge  printproto
> 2. emerge openmotif
> 3. see error

openmotif depends on libXp, which in turn has a run-time dependency on printproto. It's no surprise that things fail, if you randomly unmerge packages that are needed as dependencies of others.