pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44827: graphics/MesaLib fails to build on Linux



>Number:         44827
>Category:       pkg
>Synopsis:       graphics/MesaLib fails to build on Linux
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 05 11:45:00 +0000 2011
>Originator:     Jan ?mydke
>Release:        Linux
>Organization:
>Environment:
Debian 6.0 amd64 / pkgsrc-current
>Description:
while building wip/termit on amd64 Debian-6.0 Linux a graphics/MesaLib fails to 
build. Here is the end of the buld log:

make[3]: Entering directory 
`/opt/pkgsrc/graphics/MesaLib/work/Mesa-7.4.4/src/glw'                          
                                                           
shlibtool  --mode=compile --tag=CC \                                            
                                                                                
       
                gcc -c -I../../include  -I/usr/include  -Wno-error -O3 
-march=native -mfpmath=sse -msse3 -Wno-format -fno-builtin -D__GLX_ALIGN64 
-fno-strict-aliasing -fvisibility=hidden -I/opt/pkg/include -I/usr/include    
-DPTHREADS -DUSE_XSHM -DHZ=100  -I/usr/include     -DPTHREADS -DUSE_XSHM 
-DHZ=100  -I/usr/include  -prefer-pic -o GLwDrawA.lo GLwDrawA.c                 
                                                                                
                                            
libtool: compile:  gcc -c -I../../include 
-I/opt/pkgsrc/graphics/MesaLib/work/.x11-buildlink/include -Wno-error -O3 
-march=native -mfpmath=sse -msse3 -Wno-format -fno-builtin -D__GLX_ALIGN64 
-fno-strict-aliasing -fvisibility=hidden 
-I/opt/pkgsrc/graphics/MesaLib/work/.buildlink/include -DPTHREADS -DUSE_XSHM 
-DHZ=100 GLwDrawA.c  -fPIC -DPIC -o .libs/GLwDrawA.o                            
                                                                                
                                
GLwDrawA.c:48:28: error: X11/IntrinsicP.h: No such file or directory            
                                                                                
       
GLwDrawA.c:49:28: error: X11/StringDefs.h: No such file or directory            
                                                                                
       
In file included from GLwDrawAP.h:46,                                           
                                                                                
       
                 from GLwDrawA.c:56:                                            
                                                                                
       
GLwDrawA.h:147: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'glwDrawingAreaWidgetClass'                                                     
        
GLwDrawA.h:171: error: expected specifier-qualifier-list before 'Dimension'     
                                                                                
       
GLwDrawA.h:180: error: expected ')' before 'w'                                  
                                                                                
       
GLwDrawA.h:181: error: expected ')' before 'w'                                  
                                                                                
       
In file included from GLwDrawA.c:56:                                            
                                                                                
       
GLwDrawAP.h:69: error: expected specifier-qualifier-list before 'CoreClassPart' 
                                                                                
       
GLwDrawAP.h:84: error: expected specifier-qualifier-list before 'Boolean'       
                                                                                
       
GLwDrawAP.h:124: error: expected specifier-qualifier-list before 'CorePart'     
                                                                                
       
GLwDrawA.c:75: error: expected declaration specifiers or '...' before 
'XrmValue'                                                                      
                 
GLwDrawA.c:76: error: expected declaration specifiers or '...' before 'ArgList' 
                                                                                
       
GLwDrawA.c:76: error: expected declaration specifiers or '...' before 
'Cardinal'                                                                      
                 
GLwDrawA.c:77: error: expected ')' before 'w'                                   
                                                                                
       
GLwDrawA.c:81: error: expected declaration specifiers or '...' before 'String'  
                                                                                
       
GLwDrawA.c:81: error: expected declaration specifiers or '...' before 
'Cardinal'                                                                      
                 
GLwDrawA.c:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'actions'                                                                       
         
GLwDrawA.c:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'resources'                                                                     
        
GLwDrawA.c:230: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'initializeResources'                                                           
        
GLwDrawA.c:241: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'backgroundResources'                                                           
        
GLwDrawA.c:294: error: extra brace group at end of initializer                  
                                                                                
       
GLwDrawA.c:294: error: (near initialization for 'glwDrawingAreaClassRec')       
                                                                                
       
GLwDrawA.c:299: error: 'WidgetClass' undeclared here (not in a function)        
                                                                                
       
GLwDrawA.c:299: error: 'widgetClassRec' undeclared here (not in a function)     
                                                                                
       
GLwDrawA.c:305: error: 'FALSE' undeclared here (not in a function)
GLwDrawA.c:306: error: 'XtInitProc' undeclared here (not in a function)         
                                                                                
       
GLwDrawA.c:306: error: expected '}' before 'Initialize'                         
                                                                                
       
GLwDrawA.c:332: warning: excess elements in struct initializer                  
                                                                                
       
GLwDrawA.c:332: warning: (near initialization for 'glwDrawingAreaClassRec')     
                                                                                
       
GLwDrawA.c:346: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'glwDrawingAreaWidgetClass'                                                     
        
GLwDrawA.c:350: error: expected ')' before 'w'                                  
                                                                                
       
GLwDrawA.c:361: error: expected ')' before 'w'                                  
                                                                                
       
GLwDrawA.c: In function 'createAttribList':                                     
                                                                                
       
GLwDrawA.c:376: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:376: warning: cast to pointer from integer of different size         
                                                                                
       
GLwDrawA.c:377: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:378: error: 'Widget' undeclared (first use in this function)         
                                                                                
       
GLwDrawA.c:378: error: (Each undeclared identifier is reported only once        
                                                                                
       
GLwDrawA.c:378: error: for each function it appears in.)                        
                                                                                
       
GLwDrawA.c:378: error: expected ')' before 'w'                                  
                                                                                
       
GLwDrawA.c:380: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:382: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:384: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:385: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:386: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:387: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:389: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:391: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:393: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:395: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:397: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:399: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:401: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:403: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:405: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:407: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:409: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:411: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c: In function 'createVisualInfo':
GLwDrawA.c:418: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:419: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:419: warning: passing argument 1 of 'XScreenNumberOfScreen' makes 
pointer from integer without a cast                                             
          
/opt/pkgsrc/graphics/MesaLib/work/.x11-buildlink/include/X11/Xlib.h:1846: note: 
expected 'struct Screen *' but argument is of type 'int'                        
       
GLwDrawA.c:419: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:419: warning: passing argument 1 of 'glXChooseVisual' makes pointer 
from integer without a cast                                                     
        
../../include/GL/glx.h:190: note: expected 'struct Display *' but argument is 
of type 'int'                                                                   
         
GLwDrawA.c:420: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:420: error: 'Widget' undeclared (first use in this function)         
                                                                                
       
GLwDrawA.c:420: error: expected ')' before 'w'                                  
                                                                                
       
GLwDrawA.c: At top level:                                                       
                                                                                
       
GLwDrawA.c:430: error: expected declaration specifiers or '...' before 
'XrmValue'                                                                      
                
GLwDrawA.c: In function 'createColormap':                                       
                                                                                
       
GLwDrawA.c:436: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:440: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:441: error: 'value' undeclared (first use in this function)          
                                                                                
       
GLwDrawA.c:441: error: 'XtPointer' undeclared (first use in this function)      
                                                                                
       
GLwDrawA.c:454: warning: cast to pointer from integer of different size         
                                                                                
       
GLwDrawA.c:458: warning: cast to pointer from integer of different size         
                                                                                
       
GLwDrawA.c:463: warning: cast to pointer from integer of different size         
                                                                                
       
GLwDrawA.c:463: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:465: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:466: warning: passing argument 1 of 'XCreateColormap' makes pointer 
from integer without a cast                                                     
        
/opt/pkgsrc/graphics/MesaLib/work/.x11-buildlink/include/X11/Xlib.h:1560: note: 
expected 'struct Display *' but argument is of type 'int'                       
       
GLwDrawA.c:467: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c: At top level:                                                       
                                                                                
       
GLwDrawA.c:473: error: expected declaration specifiers or '...' before 
'ArgList'                                                                       
                
GLwDrawA.c:473: error: expected declaration specifiers or '...' before 
'Cardinal'                                                                      
                
GLwDrawA.c: In function 'Initialize':                                           
                                                                                
       
GLwDrawA.c:476: error: 'struct _GLwDrawingAreaRec' has no member named 'core'   
                                                                                
       
GLwDrawA.c:476: error: 'struct _GLwDrawingAreaRec' has no member named 'core'
GLwDrawA.c:477: error: 'struct _GLwDrawingAreaRec' has no member named 'core'   
                                                                                
       
GLwDrawA.c:477: error: 'struct _GLwDrawingAreaRec' has no member named 'core'   
                                                                                
       
GLwDrawA.c:480: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:481: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:482: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:482: error: 'TRUE' undeclared (first use in this function)           
                                                                                
       
GLwDrawA.c:487: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:490: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:491: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:492: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:497: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:499: error: 'struct _GLwDrawingAreaRec' has no member named 'core'   
                                                                                
       
GLwDrawA.c:499: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:502: error: 'Widget' undeclared (first use in this function)         
                                                                                
       
GLwDrawA.c:502: error: expected ')' before 'neww'                               
                                                                                
       
GLwDrawA.c:505: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:506: error: expected ')' before 'neww'                               
                                                                                
       
GLwDrawA.c: At top level:                                                       
                                                                                
       
GLwDrawA.c:518: error: expected ')' before 'w'                                  
                                                                                
       
GLwDrawA.c: In function 'Redraw':                                               
                                                                                
       
GLwDrawA.c:580: error: 'Widget' undeclared (first use in this function)         
                                                                                
       
GLwDrawA.c:580: error: expected ')' before 'w'                                  
                                                                                
       
GLwDrawA.c:583: error: 'GLwDrawingAreaCallbackStruct' has no member named 
'width'                                                                         
             
GLwDrawA.c:583: error: 'struct _GLwDrawingAreaRec' has no member named 'core'   
                                                                                
       
GLwDrawA.c:584: error: 'GLwDrawingAreaCallbackStruct' has no member named 
'height'                                                                        
             
GLwDrawA.c:584: error: 'struct _GLwDrawingAreaRec' has no member named 'core'   
                                                                                
       
GLwDrawA.c:585: error: expected ')' before 'w'                                  
                                                                                
       
GLwDrawA.c: In function 'Resize':                                               
                                                                                
       
GLwDrawA.c:592: error: 'Widget' undeclared (first use in this function)         
                                                                                
       
GLwDrawA.c:592: error: expected ')' before 'glw'                                
                                                                                
       
GLwDrawA.c:595: error: 'GLwDrawingAreaCallbackStruct' has no member named 
'width'                                                                         
             
GLwDrawA.c:595: error: 'struct _GLwDrawingAreaRec' has no member named 'core'   
                                                                                
       
GLwDrawA.c:596: error: 'GLwDrawingAreaCallbackStruct' has no member named 
'height'                                                                        
             
GLwDrawA.c:596: error: 'struct _GLwDrawingAreaRec' has no member named 'core'
GLwDrawA.c:597: error: expected ')' before 'glw'                                
                                                                                
       
GLwDrawA.c: In function 'Destroy':                                              
                                                                                
       
GLwDrawA.c:604: error: 'Widget' undeclared (first use in this function)         
                                                                                
       
GLwDrawA.c:604: error: expected ';' before 'parentShell'                        
                                                                                
       
GLwDrawA.c:609: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:609: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:610: error: 'XtPointer' undeclared (first use in this function)      
                                                                                
       
GLwDrawA.c:610: error: expected ')' before 'glw'                                
                                                                                
       
GLwDrawA.c:613: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:613: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:614: error: expected ')' before 'glw'                                
                                                                                
       
GLwDrawA.c:618: error: 'struct _GLwDrawingAreaRec' has no member named 
'glwDrawingArea'                                                                
                
GLwDrawA.c:621: error: 'parentShell' undeclared (first use in this function)    
                                                                                
       
GLwDrawA.c: At top level:                                                       
                                                                                
       
GLwDrawA.c:651: error: expected declaration specifiers or '...' before 'String' 
                                                                                
       
GLwDrawA.c:651: error: expected declaration specifiers or '...' before 
'Cardinal'                                                                      
                
GLwDrawA.c: In function 'glwInput':                                             
                                                                                
       
GLwDrawA.c:655: error: 'GLwDrawingAreaCallbackStruct' has no member named 
'width'                                                                         
             
GLwDrawA.c:655: error: 'struct _GLwDrawingAreaRec' has no member named 'core'   
                                                                                
       
GLwDrawA.c:656: error: 'GLwDrawingAreaCallbackStruct' has no member named 
'height'                                                                        
             
GLwDrawA.c:656: error: 'struct _GLwDrawingAreaRec' has no member named 'core'   
                                                                                
       
GLwDrawA.c:657: error: 'Widget' undeclared (first use in this function)         
                                                                                
       
GLwDrawA.c:657: error: expected ')' before 'glw'                                
                                                                                
       
GLwDrawA.c: At top level:                                                       
                                                                                
       
GLwDrawA.c:674: error: expected ')' before 'w'                                  
                                                                                
       
GLwDrawA.c:680: error: expected ')' before 'w'                                  
                                                                                
       
make[3]: *** [GLwDrawA.o] Error 1                                               
                                                                                
       
make[3]: Leaving directory 
`/opt/pkgsrc/graphics/MesaLib/work/Mesa-7.4.4/src/glw'                          
                                                            
make[2]: *** [subdirs] Error 1                                                  
                                                                                
       
make[2]: Leaving directory `/opt/pkgsrc/graphics/MesaLib/work/Mesa-7.4.4/src'   
                                                                                
       
make[1]: *** [default] Error 1

make[1]: Leaving directory `/opt/pkgsrc/graphics/MesaLib/work/Mesa-7.4.4'

make: *** [pkgsrc] Error 2
*** Error code 2

Stop.
bmake: stopped in /opt/pkgsrc/graphics/MesaLib
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/graphics/MesaLib
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/graphics/cairo
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/devel/pango
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/x11/vte
*** Error code 1
 
Stop.
bmake: stopped in /opt/pkgsrc/wip/termit
>How-To-Repeat:
cd wip/termit && make (be on Linux)
>Fix:



Home | Main Index | Thread Index | Old Index