Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303731 - x11-drivers/xf86-video-vesa-2.3.0 - /usr/include/X11/extensions/dpms.h:40: error: expected ‘)’ before ‘*’ token
Summary: x11-drivers/xf86-video-vesa-2.3.0 - /usr/include/X11/extensions/dpms.h:40: er...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-06 14:53 UTC by Martin Tesař
Modified: 2010-02-09 18:54 UTC (History)
0 users

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


Attachments
Build log of xf86-video-vesa-2.3.0 (build.txt,8.72 KB, text/plain)
2010-02-07 11:50 UTC, Martin Tesař
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Tesař 2010-02-06 14:53:54 UTC
x11-drivers/xf86-video-vesa-2.3.0: fails to compile

Reproducible: Always

Steps to Reproduce:
1. emerge xf86-video-vesa
2.
3.

Actual Results:  
make[1]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-vesa-2.3.0/work/xf86-video-vesa-2.3.0'                                                                                             
Making all in src                                                                                   
make[2]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-vesa-2.3.0/work/xf86-video-vesa-2.3.0/src'                                                                                         
  CC     vesa.lo                                                                                    
In file included from /usr/include/xorg/vgaHW.h:29,                                                 
                 from vesa.h:51,                                                                    
                 from vesa.c:47:                                                                    
/usr/include/X11/extensions/dpms.h:40: error: expected ‘)’ before ‘*’ token                         
/usr/include/X11/extensions/dpms.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DPMSGetVersion’                                                                                  
/usr/include/X11/extensions/dpms.h:42: error: expected ‘)’ before ‘*’ token                         
/usr/include/X11/extensions/dpms.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DPMSSetTimeouts’                                                                                 
/usr/include/X11/extensions/dpms.h:44: error: expected ‘)’ before ‘*’ token                         
/usr/include/X11/extensions/dpms.h:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DPMSEnable’                                                                                      
/usr/include/X11/extensions/dpms.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DPMSDisable’                                                                                     
/usr/include/X11/extensions/dpms.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DPMSForceLevel’                                                                                  
/usr/include/X11/extensions/dpms.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DPMSInfo’                                                                                        
make[2]: *** [vesa.lo] Error 1                                                                      
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-vesa-2.3.0/work/xf86-video-vesa-2.3.0/src'                                                                                          
make[1]: *** [all-recursive] Error 1                                                                
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-vesa-2.3.0/work/xf86-video-vesa-2.3.0'                                                                                              
make: *** [all] Error 2                                                                             
 * ERROR: x11-drivers/xf86-video-vesa-2.3.0 failed:                                                 
 *   emake failed                                                                                   
 *                                                                                                  
 * Call stack:                                                                                      
 *     ebuild.sh, line   54:  Called src_compile                                                    
 *   environment, line 3325:  Called x-modular_src_compile                                          
 *   environment, line 4145:  Called x-modular_src_make                                             
 *   environment, line 4183:  Called die                                                            
 * The specific snippet of code:                                                                    
 *       emake || die "emake failed"               

Expected Results:  
xf86-video-vesa compiles

# emerge --info                                                                       
Portage 2.1.7.16 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-tuxonice-r1 x86_64)                                                                                              
=================================================================                                   
System uname: Linux-2.6.32-tuxonice-r1-x86_64-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-gentoo-1.12.13                                                                                                
Timestamp of tree: Sat, 06 Feb 2010 13:30:01 +0000                                                  
app-shells/bash:     4.0_p35                                                                        
dev-java/java-config: 1.3.7-r1, 2.1.9-r2                                                            
dev-lang/python:     2.6.4                                                                          
dev-python/pycrypto: 2.0.1-r8                                                                       
dev-util/cmake:      2.6.4-r3                                                                       
sys-apps/baselayout: 1.12.13                                                                        
sys-apps/sandbox:    1.6-r2                                                                         
sys-devel/autoconf:  2.13, 2.63-r1                                                                  
sys-devel/automake:  1.9.6-r2, 1.10.2                                                               
sys-devel/binutils:  2.18-r3                                                                        
sys-devel/gcc:       4.3.4                                                                          
sys-devel/gcc-config: 1.4.1                                                                         
sys-devel/libtool:   2.2.6b                                                                         
virtual/os-headers:  2.6.27-r2                                                                      
ACCEPT_KEYWORDS="amd64"                                                                             
ACCEPT_LICENSE="* -@EULA"                                                                           
CBUILD="x86_64-pc-linux-gnu"                                                                        
CFLAGS="-march=nocona -O2 -pipe"                                                                    
CHOST="x86_64-pc-linux-gnu"                                                                         
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"                                                             
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                        
CXXFLAGS="-march=nocona -O2 -pipe"                                                                  
DISTDIR="/usr/portage/distfiles"                                                                    
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                         
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo/ http://ftp.public.fix.fi/gentoo/"            
LDFLAGS="-Wl,-O1"                                                                                   
LINGUAS="en cs"                                                                                     
MAKEOPTS="-j3"                                                                                      
PKGDIR="/usr/portage/packages"                                                                      
PORTAGE_CONFIGROOT="/"                                                                              
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"          
PORTAGE_TMPDIR="/var/tmp"                                                                           
PORTDIR="/usr/portage"                                                                              
PORTDIR_OVERLAY="/usr/local/portage"                                                                
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                      
USE="X a52 aac acl acpi alsa amd64 anthy automount bash-completion berkdb bidi bluetooth branding bzip2 cairo canna cdr cjk cli consolekit cracklib crypt cups cxx dbus divx djvu dri dts dvd dvdr dvi eds emboss encode evo fam fbsplash ffmpeg firefox flac foomaticdb fortran freewnn gdbm gif gpm gstreamer hal hdaps hddtemp ibmacpi iconv immqt-bc ipv6 iwlwifi jabber jpeg kde kdexdeltas kpathsea ldap libnotify lm_sensors mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline realmedia reflection samba scanner sdl session snmp spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis webkit wifi wmp x264 xml xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 David Abbott (RETIRED) gentoo-dev 2010-02-07 00:56:55 UTC
Please include the complete build.log
Are you mixing ~arch and stable packages?
Did you unmask xextproto and libXext at some point?
May be a dup of bug 293329 or bug 293733
Comment 2 Martin Tesař 2010-02-07 11:50:25 UTC
Created attachment 218785 [details]
Build log of xf86-video-vesa-2.3.0
Comment 3 Martin Tesař 2010-02-07 11:53:21 UTC
(In reply to comment #1)
> Are you mixing ~arch and stable packages?
> Did you unmask xextproto and libXext at some point?

I have installed:

 x11-proto/xextproto         
     Available versions:  7.0.5 (~)7.1.1
     Installed versions:  7.1.1(20:45:01 18.12.2009)

x11-libs/libXext
     Available versions:  1.0.5 (~)1.1.1 {debug}
     Installed versions:  1.1.1(20:45:30 18.12.2009)(-debug)

Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2010-02-09 18:54:44 UTC
You're mixing stable and unstable packages. Please upgrade your entire X stack to ~arch or drop back to stable and the error will go away.

Thanks