Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 292669

Summary: x11-base/xorg-server-1.6.5 fails to compile
Product: Gentoo Linux Reporter: Vladimir Berezhnoy <non7top>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: f5d8fd51ed1e804c9e8d0357e8614e0493b06e96, wpoely86
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vladimir Berezhnoy 2009-11-10 12:20:01 UTC
../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include    -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1    -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render -I../randr -I../fb -DVENDOR_NAME=\""The X.Org Foundation"\" -DVENDOR_RELEASE="(((1) * 10000000) + ((6) * 100000) + ((5) * 1000) + 0)" -O2 -march=native -pipe -MT dispatch.lo -MD -MP -MF .deps/dispatch.Tpo -c -o dispatch.lo dispatch.c                                                                                                                                                               
In file included from ../Xext/panoramiX.h:44,                                                                                                                                                                        
                 from dispatch.c:134:                                                                                                                                                                                
/usr/include/X11/extensions/panoramiXext.h:49: error: expected ')' before '*' token                                                                                                                                  
/usr/include/X11/extensions/panoramiXext.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'XPanoramiXQueryVersion'                                                                               
/usr/include/X11/extensions/panoramiXext.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'XPanoramiXGetState'                                                                                   
/usr/include/X11/extensions/panoramiXext.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'XPanoramiXGetScreenCount'                                                                             
/usr/include/X11/extensions/panoramiXext.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'XPanoramiXGetScreenSize'                                                                              
dispatch.c: In function 'ProcCloseFont':                                                                                                                                                                             
dispatch.c:1117: warning: 'SecurityLookupIDByType' is deprecated (declared at ../include/resource.h:268)                                                                                                             
make[2]: *** [dispatch.lo] Error 1                                                                                                                                                                                   
make[2]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.6.5/work/xorg-server-1.6.5/dix'                                                                                                                  
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.6.5/work/xorg-server-1.6.5/dix'
make: *** [all-recursive] Error 1


Reproducible: Always




# emerge --info
Portage 2.2_rc49 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r0, 2.6.31-gentoo-r5-home1 i686)
=================================================================                                       
System uname: Linux-2.6.31-gentoo-r5-home1-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 10 Nov 2009 11:30:23 +0000                                                           
distcc 3.1 i686-pc-linux-gnu [disabled]                                                                      
ccache version 2.4 [enabled]                                                                                 
app-shells/bash:     4.0_p35                                                                                 
dev-lang/python:     2.6.4, 3.1.1-r1                                                                         
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.6.3, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-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 /usr/share/hddtemp/"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/mnt/large/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG=""
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
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/layman/berkano /usr/local/portage/layman/swegener /usr/local/portage/layman/hollow /usr/local/portage/layman/sunrise /usr/local/portage/layman/qting-edge /usr/local/portage/layman/vmware /usr/local/portage/layman/kde-testing /usr/local/portage/layman/rion /usr/local/portage/layman/scarabeus /usr/local/portage/layman/sping /usr/local/portage/layman/zen-sources /usr/local/portage/layman/gnome /usr/local/portage/layman/qutim-overlay /home/non7top/overlays/arcon-hg /home/non7top/overlays/arcon/trunk/arcon-testing"
SYNC="rsync://s/gentoo-portage"
USE="3dfx 3dnow 3dnowext 7zip X a52 aac acpi addbookmarks additions aften aim akode alias alsa amazon amr amrwb ansi apm applet archive artswrappersuid ass atm automount autoreplace avahi bash-completion bashlogger binary-drivers bittorrent branding bzip2 cairo captury cdr cdrkit cgi chm cisco connectionstatus consolekit contactnotes coreavc cracklib crypt css curl custom-optimization dbus deskbar dhcp disk-partition djvu dri dts dvd dvdr eds emboss emovix enca encode epiphany evo exif expat extensions extras faac faad fam fat fbcondecor ffmpeg flac flash fontconfig fortran ftp gd gdbm geoip gif glib glitz gnokii gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk gzip hal hddtemp highlight history httpd iconv id3 ieee1394 imagemagick imlib inotify insecure-patches ithreads jabber javascript jfs jpeg kde kde4 kdeenablefinal lame libass libextractor libnotify lm_sensors logrotate lvm lzma mad maps matroska md mdadm mikmod mktemp mkvlinks mmx mmxext mng modules mouse mozdevelop mozilla mp3 mp4 mpeg mplayer mudflap musicbrainz mysql mysqli nas nautilus ncurses network network-cron nls nowlistening nptl nptlonly nsplugin ntfs ntlm obex ogg opengl openmp openntpd oscar pam passwordsave pcf pch pcre pdf perl php plasma plugins png ppds pppd python qt-copy qt3support qt4 quicktime rdesktop readline reflection samba sasl screen sdl semantic-desktop session sha512 simplexml slang sndfile spell spl sqlite sqlite3 srt srv sse sse2 ssl startup-notification statistics subtitles subversion svg swat sysfs syslog taglib tcpd theora threads threadsafe thumbnail thunar tiff tordns tos tracker translator trayicon truetype unicode upnp urandom usb utempter vim-syntax visualization vnc vorbis wavpack weather web webkit win32codecs winbind wxwindows x264 x86 xcb xcomposite xfs xhtml xine xinetd xml xmlreader xmlrpc xmlwriter xorg xosd xpm xsl xulrunner xv xvid zip 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="radeonhd fglrx vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-11-10 13:15:58 UTC
You are in unstable - latest unstable is 1.7.1 (IIRC, 1.7 series anyway).
If for some reason, you really need to stick with
1.6, you need to properly mask a few libs.
Comment 2 Vladimir Berezhnoy 2009-11-10 14:47:01 UTC
Ati-drivers block xorg-server-1.7.x, so I'm stuck with 1.6.x. What are the libs I need to mask?
Comment 3 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2009-11-10 16:20:31 UTC
(In reply to comment #1)
> you really need to stick with 1.6, you need to properly mask a few libs.

Isn't this exactly what the xorg-server-1.6.5 ebuild should be doing, 
blocking incompatible libs/headers/protos?

I'm experiencing the exact same issue - being forced to use an older nvidia-drivers version (that supports OpenCL) that isn't compatible with xorg-server-1.7.

Comment 4 Pavel Kraynyukhov 2009-11-12 08:54:00 UTC
Same here. Masked ">=x11-base/xorg-server-1.6.5" to have it working.
Comment 5 kavol 2009-11-12 14:57:49 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > you really need to stick with 1.6, you need to properly mask a few libs.
> 
> Isn't this exactly what the xorg-server-1.6.5 ebuild should be doing, 
> blocking incompatible libs/headers/protos?

no, it is YOU, the user, who should be doing this :-) - see here:
http://bugs.gentoo.org/show_bug.cgi?id=291312#c14
Comment 6 Vladimir Berezhnoy 2009-11-12 18:31:07 UTC
how come that xorg-xerver ebuild doesn't block the incorrect versions of the dependent libs? I would expect the package to require the exact dependencies which are required to build the package.
Comment 7 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2009-11-12 18:34:15 UTC
If I understood the linked bug currectly, it's a shortcoming of portage.
You currently can't specify minimum AND maximum versions of a required package, just one of both.
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2009-11-14 16:07:18 UTC
Please see comment 12 of the duped bug for the solution. Better yet, use the new nvidia drivers that are compatible with xorg-server 1.7.

Thanks

*** This bug has been marked as a duplicate of bug 291312 ***
Comment 9 Vladimir Berezhnoy 2009-11-14 17:11:15 UTC
(In reply to comment #8)
> Better yet, use the new nvidia drivers that are compatible with xorg-server 1.7.

unfortunately this driver is incompatible with my Ati HD4850
Comment 10 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2009-11-14 17:14:54 UTC
Or don't support OpenCL yet... That's life. ;-)