Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212298 - x11-libs/libX11 & x11-libs/libXt 'cpp' test breaks on IRIX
Summary: x11-libs/libX11 & x11-libs/libXt 'cpp' test breaks on IRIX
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: MIPS IRIX
: High normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-04 17:16 UTC by Stuart Shelton
Modified: 2009-10-29 12:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to allow libX11 to build on compilers lacking '-undef' and/or '-traditional' (libX11.patch,1.00 KB, patch)
2009-02-02 11:16 UTC, Stuart Shelton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2008-03-04 17:16:50 UTC
The configure script for libX11 tries to get a clean environment with the (GNU?) '-undef' option to cpp - which doesn't exist on IRIX.

This causes the build to error-out.  Simply reversing the sense of this test allows the build to complete successfully, though - and I can't see any ill affects of having a few additional values defined.

(It looks as if 'cpp' is only used for building the man-pages in any case, and there's a comment in the configure script stating that their method of testing cpp is probably a hack ;)
Comment 1 Stuart Shelton 2008-03-11 18:12:14 UTC
... still a problem in libX11-1.1.4, same fix still works.
Comment 2 Stuart Shelton 2008-03-12 12:10:49 UTC
x11-libs/libXt-1.0.5 affected too
Comment 3 Stuart Shelton 2009-02-02 11:16:21 UTC
Created attachment 180680 [details, diff]
Patch to allow libX11 to build on compilers lacking '-undef' and/or '-traditional'

Preserve warning, but remove erroneous abort from libX11.
Comment 4 Fabian Groffen gentoo-dev 2009-10-25 09:37:38 UTC
I can't find neither of these symbols in the configure files of recent libX11, so I assume upstream has fixed this problem.
Comment 5 Stuart Shelton 2009-10-29 12:00:23 UTC
Whether through IRIX-MIPSpro-wrapper or through (hopefully) upstream changes, the latest libX11 and libXt build cleanly! :D