When I try to emerge inkscape the following error shows up: color-profile.cpp: In function 'void findThings()': color-profile.cpp:606: error: 'open' was not declared in this scope color-profile.cpp:615: warning: comparison between signed and unsigned integer expressions make[2]: *** [color-profile.o] Fehler 1 make[2]: Leaving directory `/nilfisk/gentoo/var/tmp/portage/media-gfx/inkscape-0.46-r5/work/inkscape-0.46/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/nilfisk/gentoo/var/tmp/portage/media-gfx/inkscape-0.46-r5/work/inkscape-0.46' make: *** [all] Fehler 2
Created attachment 170814 [details] Complete buildlog
Tried it again on a new prefix - here it works. Seems to have something to do with the use flags. Works with USE="X cairo cracklib kpathsea midi ncurses nls prefix readline ssl unicode x86-solaris zlib" Fails with USE="X bzip2 cairo cracklib djvu encode exif fontconfig fpx gif gnome graphviz gtk jbig jpeg kpathsea lcms midi mp3 ncurses nls ogg openexr png prefix python qt3support raw readline ssl svg threads tiff truetype unicode x86-solaris xml xulrunner zlib"
The problem seems to be the lcms USE-flag (color management). Without it inkscape compiles fine on both prefixes
(In reply to comment #3) > The problem seems to be the lcms USE-flag (color management). Without it > inkscape compiles fine on both prefixes > Ok, since the solution is non-obvious I have masked this use flag for x86-solaris as well.