Summary: | =x11-libs/cairo-1.14.6[X]: missing dependency on x11-libs/libSM, x11-libs/libXt, and x11-libs/libXmu | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jocelyn Mayer <l_indien> |
Component: | [OLD] Library | Assignee: | Alexandre Rostovtsev (RETIRED) <tetromino> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | itumaykin+gentoo, x11 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | failed build log when x11-libs/libSM x11-libs/libXt and x11-libs/libXmu are not installed |
Description
Jocelyn Mayer
2016-06-09 12:30:34 UTC
After merging 11-libs/libSM x11-libs/libXt and x11-libs/libXmu, I'm able to merge =x11-libs/cairo-1.14.6 with no issue. From looking at configure, it seems that cairo assumes libSM presence when libICE is detected. libXt and libXmu are not mentioned at all in the build files however, so probably they enter the build through some pkgconfig files like from gtkglext. In that case, the problem is not in cairo but in those libraries. Reporter: please also attach config.log I'm sorry that it might be too late as I remerged x11-libs/cairo and I did not think about saving the config.log file when it failed. Your build log contains: > -lpixman-1 -lfontconfig -lfreetype -lEGL -L/usr/lib -L/usr/X11R6/lib -lpng16 -lxcb-shm -lxcb-render -lxcb -lXrender -lz /usr/lib/libGL.so -lSM -lICE -lXmu -lXt -lXext -lXi -lX11 -ldl -lpthread -lrt -lm Locally, I have: > -lpthread -lpixman-1 -lfontconfig -lfreetype -lEGL -ldl -lpng16 -lxcb-shm -lxcb -lxcb-render -lXrender -lX11 -lXext -lz -lGL -lrt -lm Your contains "-L/usr/X11R6/lib", which definitely should not exist. It shouldn't have existed on a Gentoo system for *many* years. I think there's something wrong on your system... /usr/X11R6 is a symlink to /usr. It has been created, if I remember well, during the migration from X11R6 to xorg: this system has been first installed in 2004. I got the same symlink on my x86_64 main machine, first installed in 2004 too... Then, I don't think my installation is broken, just that this symlink might be useless nowadays. (In reply to Jocelyn Mayer from comment #6) > /usr/X11R6 is a symlink to /usr. It has been created, if I remember well, > during the migration from X11R6 to xorg: this system has been first > installed in 2004. > I got the same symlink on my x86_64 main machine, first installed in 2004 > too... > Then, I don't think my installation is broken, just that this symlink might > be useless nowadays. That's fine and well, and I can believe your system has it from years ago, but it indicates to me that I'm not going to be able to investigate this bug. The set of libraries linked against are very different. I would grep through your '*.pc' files and try to determine which is providing the libraries that are not present on my linker command line, and perhaps reemerge that package. |