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

Bug 565022

Summary: x11-drivers/nvidia-drivers-340.93-r1 does not build on sys-kernel/gentoo-sources-4.3.0
Product: Gentoo Linux Reporter: Jura <me>
Component: Current packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED UPSTREAM    
Severity: normal CC: hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for fix
build.log

Description Jura 2015-11-06 14:56:30 UTC
/var/tmp/portage/x11-drivers/nvidia-drivers-340.93-r1/work/kernel/nv-procfs.c: In function ‘nv_procfs_read_registry’:
/var/tmp/portage/x11-drivers/nvidia-drivers-340.93-r1/work/kernel/nv-procfs.c:359:5: error: void value not ignored as it ought to be
     return seq_printf(s, "Binary: \"%s\"\n", registry_keys);
     ^
/var/tmp/portage/x11-drivers/nvidia-drivers-340.93-r1/work/kernel/nv-procfs.c: In function ‘nv_procfs_read_text_file’:
/var/tmp/portage/x11-drivers/nvidia-drivers-340.93-r1/work/kernel/nv-procfs.c:555:5: error: void value not ignored as it ought to be
     return seq_puts(s, s->private);
     ^
/var/tmp/portage/x11-drivers/nvidia-drivers-340.93-r1/work/kernel/nv-procfs.c:556:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/var/tmp/portage/x11-drivers/nvidia-drivers-340.93-r1/work/kernel/nv-procfs.c: In function ‘nv_procfs_read_registry’:
/var/tmp/portage/x11-drivers/nvidia-drivers-340.93-r1/work/kernel/nv-procfs.c:360:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/usr/src/linux-4.3.0-gentoo/scripts/Makefile.build:258: recipe for target '/var/tmp/portage/x11-drivers/nvidia-drivers-340.93-r1/work/kernel/nv-procfs.o' failed
make[3]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-340.93-r1/work/kernel/nv-procfs.o] Error 1
/usr/src/linux-4.3.0-gentoo/Makefile:1378: recipe for target '_module_/var/tmp/portage/x11-drivers/nvidia-drivers-340.93-r1/work/kernel' failed
make[2]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-340.93-r1/work/kernel] Error 2
make[2]: Leaving directory '/usr/src/linux-4.3.0-gentoo'
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.3.0-gentoo'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
Makefile:182: recipe for target 'nvidia.ko' failed
make: *** [nvidia.ko] Error 1
 * ERROR: x11-drivers/nvidia-drivers-340.93-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-340.93-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-340.93-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-340.93-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-340.93-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-340.93-r1/work/kernel'
 * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-340.93-r1/work/'


Reproducible: Always
Comment 2 Tomáš Mózes 2015-11-06 20:13:10 UTC
Please attach the full build log and the output of emerge --info.
Comment 3 Jura 2015-11-06 20:38:13 UTC
setlocale: unsupported locale setting
Portage 2.2.24 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.3, glibc-2.22-r1, 4.3.0-gentoo x86_64)
=================================================================
System uname: Linux-4.3.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    20510988 total,  10913588 free
KiB Swap:    7811068 total,   7811068 free
Timestamp of repository gentoo: Fri, 06 Nov 2015 14:02:18 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.5.0-r2::masterlay
dev-util/cmake:           3.3.2-r1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.3::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

gnome
    location: /var/lib/layman/my-gnome
    masters: gentoo
    priority: 50

masterlay
    location: /var/lib/layman/masterlay
    masters: gentoo masterlay
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -finline-functions -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -finline-functions -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="c"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 amr apng auto-hinter berkdb branding bzip2 cairo cdda cdr cli colord cracklib crypt cuda cue cups cxx dbus dconf dri dts dvd dvdr eds emboss encode evo exif extras faac faad fam ffmpeg firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 iconv id3tag introspection ipv6 jack jpef jpeg lame lcms libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nm-applet nptl ogg openal opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt3support readline samba sdl seccomp session spell sse sse2 sse4_2 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff tracker truetype udev udisks unicode upower usb vaapi vdpau video vim vim-syntax vorbis vpx wxwidgets x264 x265 xattr xcb xinerama xml xv xvid zlib zsh zsh-completion" ABI_X86="64" ALSA_CARDS="hda-intel" 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="krita" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi spdy gunzip gzip_static echo random_index upstream_check" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 Jura 2015-11-06 20:41:45 UTC
Created attachment 416194 [details]
build.log
Comment 5 Tomáš Mózes 2015-11-06 20:48:37 UTC
@Jura, have you tried using a newer nvidia-drivers version?
Comment 6 Jura 2015-11-06 21:03:48 UTC
nvidia-drivers-340.* - last version for nvidia geforce 200 series