Summary: | dev-perl/perl-tk-804.029 fails to emerge due to conflicting declaration of XKeycodeToKeysym | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | brant, leonchik1976 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 385621 | ||
Attachments: | /var/tmp/portage/dev-perl/perl-tk-804.029/temp/build.log |
Description
Juergen Rose
2010-11-18 16:32:54 UTC
Created attachment 254729 [details]
/var/tmp/portage/dev-perl/perl-tk-804.029/temp/build.log
Confirmed build fail during emerge -e world results in identical failure. same here, ~amd64 This happened for me too at amd64 while rebuilding world for gcc-4.5.1-r1 (In reply to comment #4) > This happened for me too at amd64 while rebuilding world for gcc-4.5.1-r1 > It happens on GCC 4.4.5 as well. I downgraded from 4.5.1 just to try. My guess is it has something to do with an update to xorg and Xlib.h changed. x11-libs/libX11-1.4.0 upgraded about the same time as this problem occurred and both packages contain Xlib.h header files. I am going to look at the difference from them and try to patch it. equery b Xlib.h * Searching for Xlib.h ... dev-perl/perl-tk-804.029 (/usr/lib64/perl5/vendor_perl/5.12.1/x86_64-linux/Tk/pTk/Xlib.h) x11-libs/libX11-1.4.0 (/usr/include/X11/Xlib.h) Fixed. The only change in Xlib.h from 1.3.6 to 1.4.0 is s/_XLIB_H_/_X11_XLIB_H_/. commit d0cbf388919364fe6b5b9127f36426eb744090a0 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Sun Sep 26 21:21:16 2010 -0700 Add an "X11_" string to header guards to avoid possible collision This addresses a build failure which can result from <X11/Xlocale.h> and <xlocale.h> being included in the same code since they both used the same _XLOCALE_H_ protection. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Is this sent to the upstream perl-tk as well? @Torsten Do you have a patch, that we can use to avoid this issue? I have a new version of xlib installed (with X11_* guards), yet perl-tk still fails to compile with the same error. The bug is not "FIXED" by any measure. Attach your build log, please. 'emerge perl-tk-804.029' works again, maybe due to tcltk-8.5.9. |