When trying to emerge media-gfx/transfig the ebuild stops with the following error: make[2]: Entering directory `/var/tmp/portage/transfig-3.2.3d-r1/work/transfig.3.2.3d/fig2dev/dev' gcc -O2 -fsigned-char -I.. -I../.. -I/usr/X11R6/include -Dlinux -D__powerpc__ -D_POSIX_C_SOURCE=199309L -D _POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DUSE_PNG -DUSE_JP EG -DUSE_XPM -I/usr/include/X11 -I/usr/include -DNFSS -DLATEX2E_GRAPHICS -DDVIPS -DI18N -DFIG2DEV_LI BDIR=\"/usr/X11R6/lib/fig2dev\" -DBITMAPDIR=\"/usr/X11R6/lib/xfig/bitmaps\" -c -o genbox.o genbox.c In file included from genbox.c:23: ../object.h:20: xpm.h: No such file or directory make[2]: *** [genbox.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/transfig-3.2.3d-r1/work/transfig.3.2.3d/fig2dev/dev' make[1]: *** [dev/libtransfig.a] Error 2 make[1]: Leaving directory `/var/tmp/portage/transfig-3.2.3d-r1/work/transfig.3.2.3d/fig2dev' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 3, Exitcode 2 !!! (no error message) The -I directives includes: /usr/X11R6/include and /usr/include/X11 On my system the later was inexistant, and the former does not include the file xpm.h which is in /usr/X11R6/include/X11. Adding a symbolic links /usr/include/X11 -> /usr/X11R6/include/X11 solved the problem for me. However I guess some ebuild file is broken at some point since I just installed gentoo 1.2 two days ago (formatted disk). The problem was still reproducible after: emerge rsync emerge --update world rm -rf /var/cache/edb/deps/* A similar problem happened to me while installing sys-apps/pmud which depends on X11 (USE=-X solved the problem before I created the above mentionned symlink). Here is my system: PowerBook G3 233Mhz / 160MB / 12GB
I was unable to reproduce this, it worked fine on 3 PPC boxes.. what version of xfree do you have installed?
Latest version Installed: 4.2.0-r12 Also maybe I should have mentionned that I did not installed neither KDE nor Gnome (using icewm) but only some libs from Gnome when they where requested. In case my list of installed packages might help I can post it in attachment.
I got a similar problem. I made recently two fresh installs of gentoo on a new pc (i386, not ppc), one with gentoo 1.2, the other with gentoo 1.3b. On both, the symlink /usr/include/X11 is not present. Yet it was certainly done, as tells /var/db/pkg/sys-apps/baselayout-1.7.9-r1/CONTENTS. So it was deleted later... But I've no idea how to find the culprit. Anyway, it has most probably nothing to do with transfig, or with the PPC port of gentoo. But the absence of the symlink certainly breaks the ebuilding of some packages, at the configure script the more often...
I have CC'ed azarah on this as well. Hopefully we can find what removed that symlink.
Just made a new gentoo 1.2 installation. I must say that at the end of emerge system, the /usr/include/X11 symlink is not there.
This has been reported in several cases now, by more than just PPC users... anyone have a clue how this link is dissappearing? I even looked at user's pkg databases who had this problem, etc and found no clues. Could this be a portage problem?
The directory was not properly made by baselayout, and thus the dead symlink was removed when the previous instance of baselyout was unmerged after the build. Fix for baselayout has been tested and comitted (the 1.8.0 version was already correct but still masked for testing). emerge baselayout or just manually making this symlink will fix the errors.