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
Please attach the complete build log.
> 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.