Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501676 - =x11-drivers/nvidia-drivers-334.16-r6 uses the wrong kernel include directory
Summary: =x11-drivers/nvidia-drivers-334.16-r6 uses the wrong kernel include directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-18 11:41 UTC by Olivier Huber
Modified: 2014-02-18 12:01 UTC (History)
1 user (show)

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


Attachments
build log with -r6 (x11-drivers:nvidia-drivers-334.16-r6:20140218-112417.log,190.03 KB, text/plain)
2014-02-18 11:42 UTC, Olivier Huber
Details
build log with -r5 (x11-drivers:nvidia-drivers-334.16-r5:20140211-153604.log,203.64 KB, text/plain)
2014-02-18 11:43 UTC, Olivier Huber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Huber 2014-02-18 11:41:21 UTC
with the previous revision r5, I had the following include dir:
-I/usr/src/linux-3.13.2-gentoo/arch/x86/include

with the newest revision r6, I have the following include dir
-I/usr/src/linux-3.12.7-gentoo/arch/x86/include

which correspond to my current kernel
$ uname -a
Linux auric 3.12.7-gentoo #1 SMP PREEMPT Tue Jan 14 17:57:19 CET 2014 x86_64 Intel(R) Xeon(R) CPU W3520 @ 2.67GHz GenuineIntel GNU/Linux

but not to my currently selected kernel
$ ll /usr/src/linux
lrwxrwxrwx 1 root root 19 Feb 18 12:00 /usr/src/linux -> linux-3.13.3-gentoo/
kernel-config list
Available kernel symlink targets:
  [1]   linux-3.12.7-gentoo
  [2]   linux-3.13.2-gentoo
  [3]   linux-3.13.3-gentoo *

I know 3.13 is not supported, but here the issue is different.

emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/developer, gcc-4.8.2, glibc-2.18-r1, 3.12.7-gentoo x86_64)
=================================================================
System uname: Linux-3.12.7-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_W3520_@_2.67GHz-with-gentoo-2.2
KiB Mem:     8161928 total,   1393792 free
KiB Swap:    2097148 total,     22524 free
Timestamp of tree: Tue, 18 Feb 2014 09:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.9, 2.7.6, 3.2.5-r3, 3.3.4
dev-util/cmake:           2.8.10.2-r1::local
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.7.3, 4.8.2-r1, 4.9.0_alpha20140126::toolchain
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo science sage-on-gentoo toolchain local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 Intel-SDP skype-4.0.0.7-copyright AdobeFlash-11.x NVIDIA-CUDA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n "
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles ftp://mirror.ovh.net/gentoo-distfiles"
LANG="en_US.utf-8"
LC_ALL="en_US.utf-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/scratch/portage_hdd"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/sci /usr/local/overlays/sage-on-gentoo /usr/local/overlays/toolchain /usr/local/overlays/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aacplus abook acl acpi adobe-cff alsa amd64 apron bash-completion berkdb bitmap bluetooth boost bzip2 cairo canberra caps cdda cdr cg cli clucene colord consolekit coq cpudetection cracklib crypt cuda cups curl custom-cflags custom-optimization cxx dane dbus dirac djvu dos dot double-precision dri dts dvd dvdr ebook ecls eigen emboss encode epspdf excel exif expat extensions faac fam ffmpeg fftw firefox flac fontconfig fontforge fortran fortran95 frei0r g3dvl gappa gbm gd-external gdbm gif gles gles1 gles2 gmp gnuplot gold gpg gpm graphics graphite graphviz gssapi gtk gtk3 hyperestraier iconv icu idn imaging imap inotify int64 iproute2 ipv6 ipython ithreads javascript jemalloc jpeg jpeg2k json kde kpathsea lapack latex lcms ldap ldap-sasl ldns libkms libnotify libunwind logrotate lpsol lrs lto lua lzma mad man mathml matplotlib mbox metapost metis minizip mktemp mmx mmxext mng modules mozilla mp3 mp4 mpc mpeg multilib muparser music mutt nauty ncurses nettle nfs nis nls nntp notebook nptl nsplugin ntl ntlm numpy ocaml octave ogg opencl opengl openmp openntpd openssl openvg optimization pam pango passwdqc pcap pcre pcre16 pcre32 pdf pdfannotextractor perl pff pgf pgo phonon plotutils png policykit pop postproc postscript ppds pptx prison pstricks publishers pyglet python qd qhull qt3support qt4 readline reencrypt rendering rfc3779 rtmp ruby sage sasl schroedinger science sdl se3 semantic-desktop session shared-dricore sidebar simage slp smime smp smtp snmp sparse speex spell sqlite sqlite3 sse sse2 sse3 sse41 sse42 sse4_1 ssl ssse3 startup-notification subversion svg syslog system-cairo system-jpeg system-sqlite tcpd theora thin-splines threads tiff tokyocabinet tools truetype tty-helpers type3 udev udisks unicode upower usb utils uuid uvm vdpau vim vim-syntax vlc vorbis vpx webkit winbind x264 xattr xcb xetex xft xkb xlib-xcb xml xv xvfb xvid xvmc zeitgeist zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 pypy2_0 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Olivier Huber 2014-02-18 11:42:34 UTC
Created attachment 370712 [details]
build log with -r6
Comment 2 Olivier Huber 2014-02-18 11:43:57 UTC
Created attachment 370714 [details]
build log with -r5
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-18 11:53:31 UTC
I moved linux-mod_pkg_setup further back since it ought to be executed after MODULE_NAMES is set, and that seems to affect KV_DIR. Perhaps I should move it after MODULE_NAMES but before BUILD_PARAMS.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-18 12:01:52 UTC
Fixed in -r7.