Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373983 - x11-libs/libvdpau-0.4.1 build fails: X11/extensions/Xext.h not found
Summary: x11-libs/libvdpau-0.4.1 build fails: X11/extensions/Xext.h not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
: 375135 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-04 04:34 UTC by Colin Davidson
Modified: 2012-07-14 19:02 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Davidson 2011-07-04 04:34:21 UTC
During a long-delayed upgrade, a perl upgrade necessitates running perl-cleaner. During this a rebuild of libvdpau is required and fails:

$ sudo perl-cleaner --all 

 ...
 
>>> Emerging (1 of 48) x11-libs/libvdpau-0.4.1 

 ...

Making all in src                                                                                                  
make[2]: Entering directory `/var/tmp/portage/x11-libs/libvdpau-0.4.1/work/libvdpau-0.4.1/src'                    
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I../include -DVDPAU_MODULEDIR="\"/usr/lib64\""   -O2 -pipe -mno-tls-direct-seg-refs -c -o vdpau_wrapper.lo vdpau_wrapper.c        
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I../include -DVDPAU_MODULEDIR="\"/usr/lib64\""   -O2 -pipe -mno-tls-direct-seg-refs -c -o mesa_dri2.lo mesa_dri2.c                
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DVDPAU_MODULEDIR=\"/usr/lib64\" -O2 -pipe -mno-tls-direct-seg-refs -c vdpau_wrapper.c  -fPIC -DPIC -o .libs/vdpau_wrapper.o                        
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DVDPAU_MODULEDIR=\"/usr/lib64\" -O2 -pipe -mno-tls-direct-seg-refs -c mesa_dri2.c  -fPIC -DPIC -o .libs/mesa_dri2.o                                
mesa_dri2.c:38:33: error: X11/extensions/Xext.h: No such file or directory                                        
mesa_dri2.c:39:36: error: X11/extensions/extutil.h: No such file or directory                                      
mesa_dri2.c:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token                          
mesa_dri2.c: In function 'XEXT_GENERATE_CLOSE_DISPLAY':                                                            
mesa_dri2.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dri2ExtensionHooks'                
mesa_dri2.c:59: error: expected declaration specifiers before ';' token                                            
mesa_dri2.c:64: error: expected ')' before '&' token                                                              
mesa_dri2.c:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token                          
mesa_dri2.c:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token                          
mesa_dri2.c:163: error: expected '{' at end of input                                                              
make[2]: *** [mesa_dri2.lo] Error 1                                                                                
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libvdpau-0.4.1/work/libvdpau-0.4.1/src'                      
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libvdpau-0.4.1/work/libvdpau-0.4.1' 
make: *** [all] Error 2 
emake failed 
 * ERROR: x11-libs/libvdpau-0.4.1 failed (compile phase): 
 *   emake failed 
 * 
 * Call stack: 
 *     ebuild.sh, line  56:  Called src_compile 
 *   environment, line 728:  Called _eapi2_src_compile 
 *     ebuild.sh, line 665:  Called die 
 * The specific snippet of code: 
 *              emake || die "emake failed" 
 * 
 ...

$

Reproducible: Didn't try




The problem occured every time until I did a oneshot emerge of libXext, after which it was resolved.
Comment 1 Agostino Sarubbo gentoo-dev 2011-07-04 06:04:03 UTC
please re emerge 

amd64box ~ # qfile /usr/include/X11/extensions/Xext.h 
x11-libs/libXext (/usr/include/X11/extensions/Xext.h)
Comment 2 Pacho Ramos gentoo-dev 2011-07-14 09:49:55 UTC
*** Bug 375135 has been marked as a duplicate of this bug. ***
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2012-07-14 19:02:28 UTC
Fixed in the tree.