Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721096 - sys-kernel/gentoo-sources-5.6.10 - undefined symbol in tvp5150.ko
Summary: sys-kernel/gentoo-sources-5.6.10 - undefined symbol in tvp5150.ko
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: gentoo-sources-5.6.13
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2020-05-05 15:01 UTC by Max Steel
Modified: 2020-05-13 16:49 UTC (History)
1 user (show)

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


Attachments
.config (.config,132.56 KB, text/plain)
2020-05-06 19:12 UTC, Max Steel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Steel 2020-05-05 15:01:45 UTC
When VIDEO_TVP5150 is selected (yes or moduled) the build will fail while REGMAP_I2C isn't selected.

Reproducible: Always

Steps to Reproduce:
1. emerge gentoo-sources-5.6.10
2. activate VIDEO_TVP5150
3. make modules_install

Actual Results:  
ERROR: "__devm_regmap_init_i2c" [drivers/media/i2c/tvp5150.ko] undefined!
make[1]: *** [scripts/Makefile.modpost:93: __modpost] Fehler 1
make: *** [Makefile:1283: modules] Fehler 2


Expected Results:  
compiles and finishes

I found out that tvp5150 requires REGMAP_I2C,
sadly i cant provide a valid patch but after i manually added
  select REGMAP_I2C'
into
  config VIDEO_TVP5150
in drivers/media/i2c/Kconfig and run
make oldconfig
make install modules_install
it builds and install successful.
Comment 1 Max Steel 2020-05-05 15:02:29 UTC
looks similar to #713830
Comment 2 Mike Pagano gentoo-dev 2020-05-05 17:19:02 UTC
Can you attach your .config to make my life easier?
Comment 3 Max Steel 2020-05-06 19:12:43 UTC
Created attachment 636554 [details]
.config
Comment 4 Max Steel 2020-05-06 19:20:02 UTC
sorry for the delay.

the attached .config produces the error.


The error just got to my attention because i just did upgrade my PC after several months without upgrades. But i dont need this Option really, i just noticed it.
Comment 5 Mike Pagano gentoo-dev 2020-05-13 16:49:40 UTC
This fix will be in the next release of gentoo-sources (5.6.13)

Author: Mike Pagano <mpagano@gentoo.org>
Date:   Wed May 13 12:46:05 2020 -0400

    VIDEO_TVP5150 requies REGMAP_I2C to build.  Select it by default.
    
    Reported-By: Max Steel <M.Steel@web.de>
    Closes: https://bugs.gentoo.org/721096
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>