xorg-server fail to build with use flags enabled xorg kdrive to use Xephyr
Portage 2.1.2_pre2-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r0 x86_64) ================================================================= System uname: 2.6.18-gentoo-r0 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Gentoo Base System version 1.12.5 Last Sync: Wed, 04 Oct 2006 09:50:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=athlon64 -mtune=athlon64 -mmmx -msse -msse2 -m3dnow -pipe -mno-tls-direct-seg-refs -fomit-frame-pointer -ftree-vectorize" 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/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O3 -march=athlon64 -mtune=athlon64 -mmmx -msse -msse2 -m3dnow -pipe -mno-tls-direct-seg-refs -fomit-frame-pointer -ftree-vectorize" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.osuosl.org" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--sort-common" LINGUAS="ru en" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/science /usr/portage/local/layman/sunrise" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 7zip X Xaw3d a52 aac aalib acl acpi ada akode alsa amarok amr ao aotuv apache apache2 asf async audiofile automount avi bash-completion berkdb bidi bitmap-fonts bl blas bzip2 cairo catalogs cdda cddb cdio cdparanoia cdr chm clearcase cli crypt cscope css cups curl cvs dbus dbx dga directfb divx djvu dlloader dmi doc double-precision dri dts dv dvd dvdr dvdread dx dxr3 eds elf elibc_glibc emboss emul-linux-x86 enca encode evo expat extensions extrafilters extramodules extras fam fame fbcon ffmpeg fftw firefox flac flexresp font-server fontconfig foomaticdb fortran fpx ft fuse gcj gd gdbm ggi gif glep glib glibc-omitfp glitz glut gmail gmedia gmp gnome gnuplot gnutls gpg2-experimental gpm graphviz gs gstreamer gtk gtk2 hal haskell iconv idea idn ieee1394 image imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads jabber2 java jbig jce jpeg jpeg2k justify kde kdehiddenvisibility kdrive kernel_linux kexi lapack largeterminal lcms lesstif libcaca libclamav libg++ linguas_en linguas_ru live lm_sensors lzo mad mailwrapper mbox md5sum mikmod milter mjpeg mng mod_muc mod_pubsub modplug mono motif mp3 mp4 mpeg mpi mplayer mudflap musepack mysql ncurses neXt nethack network nfs nls nptl nptlonly nsplugin numeric nvidia oav objc objc++ odbc ogg ole openal openexr opengl openssl oss pam pascal paste64 pcre pda pdf pdflib pear-db perforce perl php pic pike png posix povray ppds pppd prelude profile python qt3 qt4 quicktime rdesktop readline realmedia reflection rtc ruby samba sdl sensord server session silc slang slp smp sndfile snmp speex spell spl sql sqlite sqlite3 ssl subversion svg swat symlink sysfs syslog tcl tcltk tcpd tetex tga theora threads tidy tiff tk tools truetype truetype-fonts type1-fonts ucs2 udev unicode urandom usb userland_GNU vcd video_cards_nv video_cards_nvidia vim vim-pager vim-with-x vorbis vorbis-psy web winbind wma wmf wmp x264 xanim xattr xcomposite xine xml xorg xpm xscreensaver xv xvid yv12 zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Do you plan on posting some errors, or are we supposed to guess? :P
Created attachment 98757 [details] emerge log emerge log for xorg-server
emerge log posted
Can you please post the relevant errors snippet? Plus, the above is completely unreadable mess, I assume some tarball marked as text/plain.
Created attachment 98769 [details] gzipped log file Ooops now it is gzipped log file
now it is gziiped log file marked as application/octet-stream
This is the same issue as bug #145274, except with the nVidia driver. The AMD64 restriction has to be placed on anything that includes vesa.h. Try building without 'nvidia' in VIDEO_CARDS.
(In reply to comment #8) > This is the same issue as bug #145274, except with the nVidia driver. The > AMD64 restriction has to be placed on anything that includes vesa.h. > > Try building without 'nvidia' in VIDEO_CARDS. Yes without 'nvidia' in VIDEO_CARDS package builds fine... Thanks!
Here's the vesa-based servers, from hw/kdrive/Makefile.am. We'll need a similar fix for all of them, I guess. Note that this is every video-card based kdrive server -- only Xfbdev, Xfake, Xsdl and Xephyr are excepted. VESA_SUBDIRS = vesa ati chips epson i810 mach64 mga neomagic nvidia pm2 r128 \ smi via
I want to use Xephyr server for dualseat X configuration with nvidia 7600 GS card with dvi-i and vga outs... This fix will be wery usefull for this purpose
(In reply to comment #10) > Here's the vesa-based servers, from hw/kdrive/Makefile.am. We'll need a similar > fix for all of them, I guess. Note that this is every video-card based kdrive > server -- only Xfbdev, Xfake, Xsdl and Xephyr are excepted. > > VESA_SUBDIRS = vesa ati chips epson i810 mach64 mga neomagic nvidia pm2 r128 \ > smi via > Ick. Was kdrive even supposed to work on AMD64?
(In reply to comment #12) > > Ick. Was kdrive even supposed to work on AMD64? > Xephyr ( now part of kdrive ) work fine for dualseat configuration on Athlon X2 with Nvidia 7600 GS videocard ( DVI-I + VGA )
Josh, don't think the hardware servers were ... do you want to commit a fix for this?
Double-check this new test (head's tired and I don't want to commit something broken): # Bug #150052 - anything that uses vm86.h is broken on non-x86 arches. # That translates into the following set: vm86_devices="chips epson glint i810 mach64 mga neomagic nv r128 radeon siliconmotion vesa via" if use kdrive && ! use x86; then for i in $vm86_devices; do if use video_cards_$i; then eerror "Drivers that use vm86.h are broken on non-x86 architectures." eerror "Please build kdrive without any of the following in VIDEO_CARDS:" eerror ${vm86_devices} die "Drivers using vm86.h will not build on your architecture." fi done fi
Fixed in CVS.