Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 782496 - sys-kernel/gentoo-sources: CONFIG_HID_SENSOR_IIO_TRIGGER needs CONFIG_IIO_TRIGGERED_BUFFER
Summary: sys-kernel/gentoo-sources: CONFIG_HID_SENSOR_IIO_TRIGGER needs CONFIG_IIO_TRI...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://git.kernel.org/pub/scm/linux/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-12 12:18 UTC by Joerg Schaible
Modified: 2021-06-03 23:18 UTC (History)
1 user (show)

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


Attachments
genkernel.log (genkernel.log,228.20 KB, text/x-log)
2021-04-12 12:18 UTC, Joerg Schaible
Details
.config (.config,145.86 KB, text/plain)
2021-04-12 12:18 UTC, Joerg Schaible
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Schaible 2021-04-12 12:18:03 UTC
Created attachment 699378 [details]
genkernel.log

gentoo-sources-9.10.27 fails to build the modules. Extract from the attached genkernel.log:

=============== %< ==============
  MODPOST Module.symvers
ERROR: modpost: "iio_triggered_buffer_cleanup" [drivers/iio/common/hid-sensors/hid-sensor-trigger.ko] undefined!
ERROR: modpost: "iio_triggered_buffer_setup" [drivers/iio/common/hid-sensors/hid-sensor-trigger.ko] undefined!
make[1]: *** [scripts/Makefile.modpost:111: Module.symvers] Error 1
make[1]: *** Deleting file 'Module.symvers'
make: *** [Makefile:1401: modules] Error 2

* ERROR: compile_modules(): compile_generic() failed to compile the "modules" target!
* Please consult '/var/log/genkernel.log' for more information and any
* errors that were reported above.
=============== %< ==============
Comment 1 Joerg Schaible 2021-04-12 12:18:56 UTC
Created attachment 699381 [details]
.config

The kernel config file
Comment 2 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2021-04-13 18:21:57 UTC
Can you try with gentoo-sources-5.10.29 ?
Comment 3 Joerg Schaible 2021-04-13 22:22:40 UTC
It is the same with gentoo-sources-4.10.29:

========= %< =========
  MODPOST Module.symvers
ERROR: modpost: "iio_triggered_buffer_cleanup" [drivers/iio/common/hid-sensors/hid-sensor-trigger.ko] undefined!
ERROR: modpost: "iio_triggered_buffer_setup" [drivers/iio/common/hid-sensors/hid-sensor-trigger.ko] undefined!
make[1]: *** [scripts/Makefile.modpost:111: Module.symvers] Error 1
make[1]: *** Deleting file 'Module.symvers'
make: *** [Makefile:1412: modules] Error 2
========= %< =========
Comment 4 Joerg Schaible 2021-04-13 22:23:05 UTC
5.10.29
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-13 22:49:12 UTC
Reproduced as described.
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-13 23:22:50 UTC
Found the problem: You need to enable "CONFIG_IIO_TRIGGERED_BUFFER" when you want "CONFIG_HID_SENSOR_IIO_TRIGGER".

Of course this a bug and the missing dependency should get reported upstream.
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-13 23:36:27 UTC
Reported upstream via https://lore.kernel.org/linux-iio/0ba66635-920a-2541-7b92-447cdb37764b@gentoo.org/T/#u
Comment 8 Joerg Schaible 2021-04-14 17:55:25 UTC
Thanks for clarification.
Comment 9 Mike Pagano gentoo-dev 2021-06-03 23:18:44 UTC
This is in >=5.12.5 and >=5.10.38