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

Bug 933466

Summary: app-laptop/tuxedo-drivers-4.5.0: missing check for kernel option CONFIG_LEDS_CLASS_MULTICOLOR
Product: Gentoo Linux Reporter: Erich Seifert <eseifert>
Component: Current packagesAssignee: Marc Schiffbauer <mschiff>
Status: UNCONFIRMED ---    
Severity: minor CC: eseifert
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Erich Seifert 2024-06-03 09:38:26 UTC
app-laptop/tuxedo-drivers-4.5.0 fails when CONFIG_LEDS_CLASS_MULTICOLOR is not set: 

ERROR: modpost: "devm_led_classdev_multicolor_unregister" [/var/tmp/portage/app-laptop/tuxedo-drivers-4.5.0/work/tuxedo-drivers-v4.5.0/src/ite_8291/ite_8291.ko] undefined!
ERROR: modpost: "devm_led_classdev_multicolor_register_ext" [/var/tmp/portage/app-laptop/tuxedo-drivers-4.5.0/work/tuxedo-drivers-v4.5.0/src/ite_8291/ite_8291.ko] undefined!
ERROR: modpost: "devm_led_classdev_multicolor_unregister" [/var/tmp/portage/app-laptop/tuxedo-drivers-4.5.0/work/tuxedo-drivers-v4.5.0/src/ite_8291_lb/ite_8291_lb.ko] undefined!
ERROR: modpost: "devm_led_classdev_multicolor_register_ext" [/var/tmp/portage/app-laptop/tuxedo-drivers-4.5.0/work/tuxedo-drivers-v4.5.0/src/ite_8291_lb/ite_8291_lb.ko] undefined!
ERROR: modpost: "devm_led_classdev_multicolor_unregister" [/var/tmp/portage/app-laptop/tuxedo-drivers-4.5.0/work/tuxedo-drivers-v4.5.0/src/ite_829x/ite_829x.ko] undefined!
ERROR: modpost: "devm_led_classdev_multicolor_register_ext" [/var/tmp/portage/app-laptop/tuxedo-drivers-4.5.0/work/tuxedo-drivers-v4.5.0/src/ite_829x/ite_829x.ko] undefined!
ERROR: modpost: "devm_led_classdev_multicolor_register_ext" [/var/tmp/portage/app-laptop/tuxedo-drivers-4.5.0/work/tuxedo-drivers-v4.5.0/src/tuxedo_nb04/tuxedo_nb04_kbd_backlight.ko] undefined!
ERROR: modpost: "devm_led_classdev_multicolor_unregister" [/var/tmp/portage/app-laptop/tuxedo-drivers-4.5.0/work/tuxedo-drivers-v4.5.0/src/tuxedo_nb04/tuxedo_nb04_kbd_backlight.ko] undefined!
ERROR: modpost: "devm_led_classdev_multicolor_unregister" [/var/tmp/portage/app-laptop/tuxedo-drivers-4.5.0/work/tuxedo-drivers-v4.5.0/src/tuxedo_keyboard.ko] undefined!
ERROR: modpost: "devm_led_classdev_multicolor_register_ext" [/var/tmp/portage/app-laptop/tuxedo-drivers-4.5.0/work/tuxedo-drivers-v4.5.0/src/tuxedo_keyboard.ko] undefined!

It would be good to check for the kernel option before starting compile phase.

Reproducible: Always

Steps to Reproduce:
1. emerge =app-laptop/tuxedo-drivers-4.5.0

Actual Results:  
Fails to compile without warning.

Expected Results:  
Should fail with instructions to enable kernel option.
Comment 1 Erich Seifert 2024-06-03 09:40:02 UTC
Created attachment 894986 [details]
build.log