Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to emerge app-laptop/nvidiabl-0.83 [slvd /unfixable]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sat Oct 10, 2015 4:42 pm    Post subject: Failed to emerge app-laptop/nvidiabl-0.83 [slvd /unfixable] Reply with quote

Code:
emerge nvidiabl
Calculating dependencies... done!

>>> Verifying ebuild manifests
>>> Running pre-merge checks for app-laptop/nvidiabl-0.83
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     4.0.5-gentoo_november_2015-10-10
 * Checking for suitable kernel configuration options...                                                                                  [ ok ]

>>> Emerging (1 of 1) app-laptop/nvidiabl-0.83::gentoo
 * v0.83.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                      [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     4.0.5-gentoo_november_2015-10-10
>>> Unpacking source...
>>> Unpacking v0.83.tar.gz to /var/tmp/portage/app-laptop/nvidiabl-0.83/work
>>> Source unpacked in /var/tmp/portage/app-laptop/nvidiabl-0.83/work
>>> Preparing source in /var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83 ...
ln: failed to create symbolic link ‘Module.symvers’: File exists
 * Preparing nvidiabl module
make -j9 V=1 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' KVER=4.0.5-gentoo_november_2015-10-10 modules
make  -C /lib/modules/4.0.5-gentoo_november_2015-10-10/build M=/var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83 modules
make[1]: Entering directory '/usr/src/linux-4.0.5-gentoo'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (      \
echo >&2;                     \
echo >&2 "  ERROR: Kernel configuration is invalid.";      \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";   \
echo >&2 ;                     \
/bin/false)
mkdir -p /var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83/.tmp_versions ; rm -f /var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83
(cat /dev/null;   echo kernel//var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83/nvidiabl.ko;) > /var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83/modules.order
  x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83/.nvidiabl-module.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -Wno-unused-function -DNVIDIA_BL_DEBUG -DNVIDIABL_VERSION=0.83 -I/var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83 -I/lib/modules/4.0.5-gentoo_november_2015-10-10/include  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidiabl_module)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidiabl)" -c -o /var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83/.tmp_nvidiabl-module.o /var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83/nvidiabl-module.c
  x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83/.nvidiabl-models.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -Wno-unused-function -DNVIDIA_BL_DEBUG -DNVIDIABL_VERSION=0.83 -I/var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83 -I/lib/modules/4.0.5-gentoo_november_2015-10-10/include  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidiabl_models)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidiabl)" -c -o /var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83/.tmp_nvidiabl-models.o /var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83/nvidiabl-models.c
/var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83/nvidiabl-module.c:37:3: warning: #warning USE_BACKLIGHT_SUSPEND [-Wcpp]
  #warning USE_BACKLIGHT_SUSPEND
   ^
/var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83/nvidiabl-module.c: In function 'nvidiabl_init':
/var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83/nvidiabl-module.c:217:3: error: implicit declaration of function 'strnicmp' [-Werror=implicit-function-declaration]
   if (strnicmp(bl_type, backlight_type_ids[iii].id, sizeof(bl_type)) == 0) {
   ^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83/nvidiabl-module.o' failed
make[2]: *** [/var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83/nvidiabl-module.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1390: recipe for target '_module_/var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83' failed
make[1]: *** [_module_/var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83] Error 2
make[1]: Leaving directory '/usr/src/linux-4.0.5-gentoo'
Makefile:32: recipe for target 'modules' failed
make: *** [modules] Error 2
 * ERROR: app-laptop/nvidiabl-0.83::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-laptop/nvidiabl-0.83::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-laptop/nvidiabl-0.83::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-laptop/nvidiabl-0.83/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-laptop/nvidiabl-0.83/temp/environment'.
 * Working directory: '/var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83'
 * S: '/var/tmp/portage/app-laptop/nvidiabl-0.83/work/nvidiabl-0.83'

>>> Failed to emerge app-laptop/nvidiabl-0.83, Log file:

>>>  '/var/tmp/portage/app-laptop/nvidiabl-0.83/temp/build.log'


Code:
uname -a
Linux ASUS-G75VW 4.0.5-gentoo_november_2015-10-10 #1 SMP Sat Oct 10 18:15:55 CEST 2015 x86_64 Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz GenuineIntel GNU/Linux
ASUS-G75VW roman # gcc-config -l
 [1] x86_64-pc-linux-gnu-4.9.3 *
 [2] x86_64-pc-linux-gnu-5.2.0


Does also do not built with kernel 4.2.3 gentoo sources running and set as /usr/src/linux symlink.

I am just trying to get the backlight functional keys here working and saw it does not built even with stable gentoo sources. the package is also marked stable on amd64.

gcc 4.9.3 seems stable now on amd64. so all 3 packages in questions are stable and the package does not built.

Code:
ASUS-G75VW roman # cd /usr/src/
ASUS-G75VW src # ls -alh
total 20K
drwxr-xr-x  5 root root 4,0K Okt 10 18:32 .
drwxr-xr-x 16 root root 4,0K Feb  1  2015 ..
-rw-r--r--  1 root root    0 Aug 27  2009 .keep
lrwxrwxrwx  1 root root   18 Okt 10 18:32 linux -> linux-4.0.5-gentoo
drwxr-xr-x 25 root root 4,0K Okt 10 18:18 linux-4.0.5-gentoo
drwxr-xr-x 20 root root 4,0K Okt  9 12:18 linux-4.2.2-gentoo
drwxr-xr-x 25 root root 4,0K Okt 10 18:35 linux-4.2.3-gentoo
ASUS-G75VW src # cd linux
ASUS-G75VW linux # grep backlight .config
ASUS-G75VW linux # grep LIGHT .config
# CONFIG_I2C_PARPORT_LIGHT is not set
CONFIG_FB_BACKLIGHT=y
CONFIG_FB_NVIDIA_BACKLIGHT=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_GENERIC=m
CONFIG_BACKLIGHT_PWM=m
CONFIG_BACKLIGHT_APPLE=m
CONFIG_BACKLIGHT_SAHARA=m
CONFIG_BACKLIGHT_ADP8860=m
CONFIG_BACKLIGHT_ADP8870=m
CONFIG_BACKLIGHT_LM3630A=m
CONFIG_BACKLIGHT_LM3639=m
CONFIG_BACKLIGHT_LP855X=m
CONFIG_BACKLIGHT_LV5207LP=m
CONFIG_BACKLIGHT_BD6107=m
CONFIG_HID_PICOLCD_BACKLIGHT=y
CONFIG_LEDS_TRIGGER_BACKLIGHT=m


Last edited by Roman_Gruber on Sun Oct 11, 2015 12:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Sat Oct 10, 2015 7:25 pm    Post subject: Reply with quote

See this bug
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sun Oct 11, 2015 12:40 pm    Post subject: Reply with quote

Okay thank you.

But why is it marked green, aka stable?

Anyway the code does not work on 4.0.5 also with newest nvidia binary blob from portage as of now.

--

Thanks posted to this bug.

Marked as solved / won*t fix.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum