Bug 681180 - FTBFS rebuild problems
Summary: FTBFS rebuild problems
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: pyxf86config
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-01 11:38 UTC by Karsten Hopp
Modified: 2012-06-25 11:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-20 22:20:36 UTC
Type: ---


Attachments (Terms of Use)

Description Karsten Hopp 2011-03-01 11:38:24 UTC
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

Comment 1 Adam Jackson 2012-02-20 22:20:36 UTC
pyxf86config is dead in F17 and later.

Comment 2 lio 2012-06-25 11:27:05 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.