Bugzilla – Bug 14740
xorg-server fails to build
Last modified: 2009-03-23 14:32:00 UTC
xorg-server 1.4.2 is failing to build with this error: gcc -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/dixmods/extmod -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -DDEFAULTPOLICYFILE=\"/usr/lib/xserver/SecurityPolicy\" -march=pentium4 -pipe -Os -MT xprint.lo -MD -MP -MF .deps/xprint.Tpo -c xprint.c -fPIC -DPIC -o .libs/xprint.o In file included from xprint.c:85: /usr/include/X11/extensions/Printstr.h:761: error: expected specifier-qualifier-list before 'PrivateRec' xprint.c: In function 'ProcXpGetPageDimensions': xprint.c:759: error: 'struct _XpContext' has no member named 'funcs' xprint.c:760: error: 'struct _XpContext' has no member named 'funcs' xprint.c:763: error: 'struct _XpContext' has no member named 'funcs' xprint.c:767: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpSetImageResolution': xprint.c:821: error: 'struct _XpContext' has no member named 'imageRes' xprint.c:822: error: 'struct _XpContext' has no member named 'funcs' xprint.c:823: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpGetImageResolution': xprint.c:872: error: 'struct _XpContext' has no member named 'imageRes' xprint.c: In function 'ProcXpCreateContext': xprint.c:977: error: 'struct _XpContext' has no member named 'clientSlept' xprint.c:978: error: 'struct _XpContext' has no member named 'imageRes' xprint.c:980: error: 'struct _XpContext' has no member named 'funcs' xprint.c:981: error: 'struct _XpContext' has no member named 'funcs' xprint.c:982: error: 'struct _XpContext' has no member named 'funcs' xprint.c:983: error: 'struct _XpContext' has no member named 'funcs' xprint.c:984: error: 'struct _XpContext' has no member named 'funcs' xprint.c:985: error: 'struct _XpContext' has no member named 'funcs' xprint.c:986: error: 'struct _XpContext' has no member named 'funcs' xprint.c:987: error: 'struct _XpContext' has no member named 'funcs' xprint.c:988: error: 'struct _XpContext' has no member named 'funcs' xprint.c:989: error: 'struct _XpContext' has no member named 'funcs' xprint.c:990: error: 'struct _XpContext' has no member named 'funcs' xprint.c:991: error: 'struct _XpContext' has no member named 'funcs' xprint.c:992: error: 'struct _XpContext' has no member named 'funcs' xprint.c:993: error: 'struct _XpContext' has no member named 'funcs' xprint.c:994: error: 'struct _XpContext' has no member named 'funcs' xprint.c:995: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'XpFreeContext': xprint.c:1216: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1225: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1230: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1232: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1243: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1244: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'XpFreePage': xprint.c:1366: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1367: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'InitContextPrivates': xprint.c:1397: error: 'struct _XpContext' has no member named 'devPrivates' xprint.c: In function 'ProcXpStartJob': xprint.c:1518: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1519: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpEndJob': xprint.c:1567: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1568: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1582: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1583: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1590: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1591: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'DoStartDoc': xprint.c:1617: error: 'struct _XpContext' has no member named 'clientSlept' xprint.c:1622: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1623: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpEndDoc': xprint.c:1705: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1706: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1721: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1722: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'DoStartPage': xprint.c:1754: error: 'struct _XpContext' has no member named 'clientSlept' xprint.c:1762: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1763: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1812: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1813: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpEndPage': xprint.c:1896: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1897: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpPutDocumentData': xprint.c:1971: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1973: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpGetDocumentData': xprint.c:2008: error: 'struct _XpContext' has no member named 'funcs' xprint.c:2021: error: 'struct _XpContext' has no member named 'funcs' xprint.c:2044: error: 'struct _XpContext' has no member named 'clientSlept' xprint.c:2046: error: 'struct _XpContext' has no member named 'clientSlept' xprint.c:2047: error: 'struct _XpContext' has no member named 'clientSlept' xprint.c:2048: error: 'struct _XpContext' has no member named 'clientSlept' xprint.c: In function 'ProcXpGetAttributes': xprint.c:2091: error: 'struct _XpContext' has no member named 'funcs' xprint.c:2093: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpSetAttributes': xprint.c:2163: error: 'struct _XpContext' has no member named 'funcs' xprint.c:2185: error: 'struct _XpContext' has no member named 'funcs' xprint.c:2187: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpGetOneAttribute': xprint.c:2243: error: 'struct _XpContext' has no member named 'funcs' xprint.c:2245: error: 'struct _XpContext' has no member named 'funcs' make[1]: Leaving directory `/usr/src/xorg-server-1.4.2/Xext' make[1]: *** [xprint.lo] Error 1 make: *** [all-recursive] Error 1
Adding myself and abouter to this bug(he was the one that changed this...
I found that the problem listed here is caused by using printproto 1.0.4 and that issue goes away if I use printproto 1.0.3. At this point though we are back to the bug in http://bugs.sourcemage.org/show_bug.cgi?id=12713. I haven't been able to find a solution to this problem. I will keep looking, but will revert the optional_depends on libxp for now so that xorg-server is not broken. I will be interested in what versions of libs and how you successfully got this to build.
I had the same issue on all of my boxes with xorg-modular and George's fix is working for me.
...the GTK+2 change is reverted and everyone is giving Vlad hell... and right after that this is reverted without regarding the discussion on the sm-commit ML.. I changed my update to a message telling people to enable both libxp and printproto for printing right before the 2 optional_depends for these spells. Does that make everyone happy?
The differnec gtk+2 built and ran just had issues here and there... the xorg-server fails to build with the changes...
wich doesn't affect 99% of the userbase because if it fails it will do so before the currently installed spell is removed. that's why i didn't increase patchlevel. On the other hand, there's no way to know if it will build for anyone else if it's only tested on my box.
This issue was around for 3 years in that time many users had it fail due to this so it was decided to disable it permanently. Just as a few others were set to be a must-have dependency. All these changes happened a week or so before the merge to test until then people had to disable libxp and so on by hand else it failed. Our wiki documentation also advised to disable libxp in casting xorg-server. So this was tested for 3 years and people hit it all the time.
feedback on the updated spell would be appericiated
the shouting stopped on IRC, I guess the bug can be closed
Closing FIXED bugs.