Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150052 - Can't build xorg-server-1.1.1 with USE="kdrive xorg"
Summary: Can't build xorg-server-1.1.1 with USE="kdrive xorg"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2006-10-04 05:03 UTC by Alexey Shvetsov
Modified: 2006-10-11 19:54 UTC (History)
0 users

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


Attachments
emerge log (x11-base:xorg-server-1.1.1-r1:20061004-111721.log.gz,108.99 KB, text/plain)
2006-10-04 05:13 UTC, Alexey Shvetsov
Details
gzipped log file (x11-base:xorg-server-1.1.1-r1:20061004-111721.log.gz,108.99 KB, application/octet-stream)
2006-10-04 05:53 UTC, Alexey Shvetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shvetsov archtester gentoo-dev 2006-10-04 05:03:02 UTC
xorg-server fail to build with use flags enabled xorg kdrive to use Xephyr
Comment 1 Alexey Shvetsov archtester gentoo-dev 2006-10-04 05:03:53 UTC
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
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-04 05:09:24 UTC
Do you plan on posting some errors, or are we supposed to guess? :P
Comment 3 Alexey Shvetsov archtester gentoo-dev 2006-10-04 05:13:18 UTC
Created attachment 98757 [details]
emerge log

emerge log for xorg-server
Comment 4 Alexey Shvetsov archtester gentoo-dev 2006-10-04 05:27:43 UTC
emerge log posted
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-04 05:36:15 UTC
Can you please post the relevant errors snippet? Plus, the above is completely unreadable mess, I assume some tarball marked as text/plain.
Comment 6 Alexey Shvetsov archtester gentoo-dev 2006-10-04 05:53:55 UTC
Created attachment 98769 [details]
gzipped log file

Ooops now it is gzipped log file
Comment 7 Alexey Shvetsov archtester gentoo-dev 2006-10-04 05:55:31 UTC
now it is gziiped log file marked as application/octet-stream
Comment 8 Joshua Baergen (RETIRED) gentoo-dev 2006-10-04 07:21:00 UTC
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.
Comment 9 Alexey Shvetsov archtester gentoo-dev 2006-10-05 02:27:01 UTC
(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!

Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2006-10-05 08:20:02 UTC
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
Comment 11 Alexey Shvetsov archtester gentoo-dev 2006-10-05 08:50:22 UTC
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
Comment 12 Joshua Baergen (RETIRED) gentoo-dev 2006-10-06 07:09:24 UTC
(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?
Comment 13 Alexey Shvetsov archtester gentoo-dev 2006-10-06 08:50:40 UTC
(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 )

Comment 14 Donnie Berkholz (RETIRED) gentoo-dev 2006-10-10 19:11:09 UTC
Josh, don't think the hardware servers were ... do you want to commit a fix for this?
Comment 15 Joshua Baergen (RETIRED) gentoo-dev 2006-10-10 20:07:50 UTC
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
Comment 16 Joshua Baergen (RETIRED) gentoo-dev 2006-10-11 19:54:56 UTC
Fixed in CVS.