Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184757 - x11-drivers/nvidia-drivers does not install with gcc 4.2
Summary: x11-drivers/nvidia-drivers does not install with gcc 4.2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-09 16:36 UTC by David Watzke
Modified: 2007-07-09 21:37 UTC (History)
0 users

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 David Watzke 2007-07-09 16:36:06 UTC
Even though I've installed missing dependency x11-misc/imake, it does not compile. By the way, /usr/lib64/X11/config directory does not exists on my system.

NVIDIA: left KBUILD.
 * Building libXNVCtrl...
imake -DUseInstalled -I/usr/lib64/X11/config
Imakefile.c:34: error: Imake.tmpl: není souborem ani adresářem
imake: Exit code 1.
  Stop.
 *
 * ERROR: x11-drivers/nvidia-drivers-100.14.11 failed.
 * Call stack:
 *   ebuild.sh, line 1647:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   nvidia-drivers-100.14.11.ebuild, line 220:   Called die
 *
 * Running xmkmf failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/x11-drivers:nvidia-drivers-100.14.11:20070709-162759.log'.
 *
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-x11-drivers_-_nvidia-drivers-100.14.11-6132.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: -.gcda
A: /20GB/usr/src/linux-2.6.22-gentoo/-.gcda
R: /20GB/usr/src/linux-2.6.22-gentoo/-.gcda
C: /usr/libexec/gcc/x86_64-pc-linux-gnu/4.2.0/cc1 -quiet - -quiet -dumpbase - -mcmodel=kernel -mtune=generic -auxbase-strip - -O0 -fstack-protector -o -


here comes emerge --info:
Portage 2.1.3_rc7 (default-linux/amd64/2007.0, gcc-4.2.0, glibc-2.6-r0, 2.6.21-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.21-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.13.0_alpha12
Timestamp of tree: Mon, 09 Jul 2007 15:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.20_alpha2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -msse3"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /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"
CXXFLAGS="-O2 -march=k8 -pipe -msse3"
DISTDIR="/300GB/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="ftp://gentoo.mirror.web4u.cz/ ftp://ftp.linux.cz/pub/linux/gentoo"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LINGUAS="cs"
MAKEOPTS="-j3"
PKGDIR="/20GB/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --progress --prune-empty-dirs"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/20GB/var/tmp"
PORTDIR="/20GB/portage"
PORTDIR_OVERLAY="/20GB/overlay /usr/local/portage/dave"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 apache2 asf avi bitmap-fonts bzip2 cdparanoia cdr cli css cups curl curlwrappers custom-cflags cvs dbus dga dts dvd dvdr dvdread enca encode fbcon ffmpeg flac flash ftp fuse gd gif gpm hal iconv id3 id3v2 imagemagick ithreads jabber javascript jpeg kde kdeenablefinal kdehiddenvisibility kdexdeltas lame libg++ mad matroska mmx mmxext mp3 mpeg mplayer mudflap musepack ncurses nls no-suexec nowebdav nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl openmp pic png posix ppds pppd print python qt qt3 quicktime readline reflection sdl session sockets spl sse sse2 sse3 ssl subversion svg symlink theora threads truetype truetype-fonts type1-fonts unicode usb vorbis wma x264 xcomposite xine xorg xv xvid xvmc zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="asym empty file null plug" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-07-09 19:10:30 UTC
pracují pro mě. That being said, please post your bug reports in English. I had to have jakub translate your error since my reading comprehension level of Czech is basically 1st grade. (My parents speak it but I never read or write it.)

/usr/lib64/X11/config is just an include directory and not where it's looking for the file. That'll be within the sandbox and should resolve properly.

I see you have two overlays setup. You're sure your not pulling this ebuild from your overlay or have some eclasses from your overlay?

I have successfully tested this ebuild on glibc 2.5 & gcc 4.1.2 (I only mention this because you have masked versions) on 4 different machines. So right now the issue is leaning towards being something specific to your machine.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-07-09 19:29:44 UTC
(In reply to comment #0)
> Imakefile.c:34: error: Imake.tmpl: není souborem ani adresářem

Ja neznám češtinu, ale myslím, že ten soubor naleží do xorg-cf-files. Zainstaluj ten paket ponovne:
emerge -1 xorg-cf-files
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2007-07-09 19:52:00 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > Imakefile.c:34: error: Imake.tmpl: není souborem ani adresářem
> 
> Ja neznám češtinu, ale myslím, že ten soubor naleží do xorg-cf-files.
> Zainstaluj ten paket ponovne:
> emerge -1 xorg-cf-files
> 

1. English please. Only a very limited set of people that speak Czech on bugzilla.

2. You are correct that xorg-cf-files is required. However, the in Portage ebuild depends on imake, which in turn depends on xorg-cf-files. So if David is having a problem with missing files from xorg-cf-files. That means he's got a custom ebuild in an overlay which is causing his problem. So then this bug is invalid.
Comment 4 David Watzke 2007-07-09 20:20:39 UTC
It's ebuild from Portage, but I'm an idiot, because I tried to emerge it (both nvidia-drivers and imake) with the -O option. So I'm sorry...
Comment 5 David Watzke 2007-07-09 20:29:05 UTC
Weird, it still fails. Maybe GCC 4.2 problem?

>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-x11-drivers_-_nvidia-drivers-100.14.11-6768.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: -.gcda
A: /20GB/usr/src/linux-2.6.22-gentoo/-.gcda
R: /20GB/usr/src/linux-2.6.22-gentoo/-.gcda
C: /usr/libexec/gcc/x86_64-pc-linux-gnu/4.2.0/cc1 -quiet - -quiet -dumpbase - -mcmodel=kernel -mtune=generic -auxbase-strip - -O0 -fstack-protector -o -
Comment 6 David Watzke 2007-07-09 21:29:35 UTC
Installation of nvidia-drivers-1.0.9755-r1 fails with the same error... it installs fine with FEATURES=-sandbox.
Comment 7 David Watzke 2007-07-09 21:36:52 UTC
It seems that all the kernel modules will fail like this... at least sys-apps/rlocate did.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-07-09 21:37:29 UTC
Unrelated, see Bug 135745. Closing this one.