Hide Forgot
Description of problem: pyxf86config-0.3.37-11.fc15 doesn't build anymore on F15, http://koji.fedoraproject.org/koji/buildinfo?buildID=224941 unfortunately doesn't have any logs, but a rebuild here shows the problem: make[1]: Entering directory `/root/rpmbuild/BUILD/pyxf86config-0.3.37' gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc -fPIC -Wall -I../include -I/usr/include/python2.7 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc -fPIC -Wall -c pyxf86conf.c In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from pyxf86conf.h:1, from pyxf86conf.c:3: /usr/include/python2.7/pyconfig-64.h:1164:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default] /usr/include/features.h:213:0: note: this is the location of the previous definition In file included from pyxf86conf.c:4:0: xf86ParserExt.h:37:30: error: unknown type name 'XF86ConfBuffersPtr' pyxf86conf.c: In function 'pyxf86confbuffers_dealloc': pyxf86conf.c:1434:5: warning: implicit declaration of function 'xf86freeBuffers' [-Wimplicit-function-declaration] pyxf86conf.c: At top level: pyxf86conf.c:1441:3: error: unknown type name 'XF86ConfBuffersRec' pyxf86conf.c:1442:3: error: unknown type name 'XF86ConfBuffersRec' pyxf86conf.c:1443:3: error: unknown type name 'XF86ConfBuffersRec' pyxf86conf.c:1444:3: error: unknown type name 'XF86ConfBuffersRec' pyxf86conf.c: In function 'pyxf86confbuffers_new': pyxf86conf.c:1479:3: error: unknown type name 'XF86ConfBuffersPtr' pyxf86conf.c:1484:26: error: 'XF86ConfBuffersRec' undeclared (first use in this function) pyxf86conf.c:1484:26: note: each undeclared identifier is reported only once for each function it appears in pyxf86conf.c:1484:3: warning: passing argument 2 of 'calloc' makes integer from pointer without a cast [enabled by default] /usr/include/stdlib.h:473:14: note: expected 'size_t' but argument is of type 'struct WrapperAttribute *' pyxf86conf.c:1484:5: warning: assignment makes integer from pointer without a cast [enabled by default] pyxf86conf.c:1488:8: warning: passing argument 1 of 'pyxf86config_wrap' makes pointer from integer without a cast [enabled by default] .... I think that's related to your removal of some dri stuff here: http://www.mail-archive.com/xorg-devel@lists.x.org/msg13654.html
pyxf86config is dead in F17 and later.
I found a easy way to skip this bug on CentOs6. Firstly, I installed the RPM package xorg-x11-server-source, copy the header file /usr/share/xorg-x11-server-source/hw/xfree86/parser/xf86Parser.h to override the orignal /usr/include/xorg/xf86Parser.h Finally, pyxf86config is compiled out.