On kernel 2.6.29-gentoo-r5 The package media-tv/mythtv pulls in the package media-tv//linuxtv-dvb-headers-3.1 The package overwrites newer version of dvb headers in /usr/include/linux/dvb. Second problem make headers_install does not correct the problem, neither does emerge --unmerge media-tv//linuxtv-dvb-headers-3.1 Reproducible: Always Steps to Reproduce: 1 on a fresh system run make headers_install in /usr/src/linux kernel being 2.6.29-r5 File /usr/include/linux/dvb/version.h shows version 5 .0 2. emerge mythtv 3. File /usr/include/linux/dvb/version.h shows version 3.2 Actual Results: The dvb include files installed by package media-tv//linuxtv-dvb-headers-3.1 downgrade the dvb include files in version Expected Results: No need to pull in media-tv//linuxtv-dvb-headers-3.1 package Change ebuild for mythtv to stop this for kernel versions 2.6.28 onwards Secondly, please add a flag in make headers_install to force a reinstall of the kernel headers. Mythtv is generated with variables with wrong structure layout used to call kernel dvb api functions!
Might be an idea to add a command in mythtv ebuild to execute a make headers_install in the /usr/src/linux directory
If you had a look into linuxtv-dvb-headers-3.1.ebuild you see: It does not install any files!! It uses RDEPEND="|| ( >=sys-kernel/linux-headers-2.6.11-r2 media-tv/linuxtv-dvb )" to get either linux-headers new enough for dvb-api version being at least 3.1 or linuxtv-dvb (in case someone still uses kernel 2.4). So I guess linuxtv-dvb could be deprecated. On your system linux/dvb/* should be provided by sys-kernel/linux-headers package. So please provide the version of linux-headers on your system or better full emerge --info. Why do you ever "run make headers_install in /usr/src/linux" and not just update linux-headers? If some package overwrites the files of another one portage should abort emerge.
Output from emerge --search linux-headers * sys-kernel/linux-headers Latest version available: 2.6.27-r2 Latest version installed: 2.6.27-r2 Size of files: 3,508 kB Homepage: http://www.kernel.org/ http://www.gentoo.org/ Description: Linux system headers License: GPL-2 emerge --search gentoo-sources Searching... [ Results for search key : gentoo-sources ] [ Applications found : 1 ] * sys-kernel/gentoo-sources Latest version available: 2.6.29-r5 Latest version installed: 2.6.29-r5 Size of files: 55,375 kB Sorry for the confusion, This leaves the question for me why linux headers are out of sync with the distribution kernel i.e. 2.6.29-r5? Or
You still miss "emerge --info". Does the version of the dvb-headers care for mythtv? If yes, we should create linuxtv-dvb-headers-5 depending on new enough linux-headers.
not sure why this is assigned to toolchain ... we dont have anything to do with media-tv/* ...
I don't think the problem is the dependency ov dvb headers version between mythtv and the headers but looking at the structure definitions it looks like some data structures have changed. Would that not imply a change in data structures in the dvb kernel API?
There are just new structures used by new ioctls. But the old ones are kept as they were before, so old apps can keep working. Closing this bug, as linuxtv-dvb-headers definitly installs no files, so cannot overwrite any. Reopen if you think this issue is a valid problem.