Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323307 - media-libs/libv4l needs linux-headers dependency
Summary: media-libs/libv4l needs linux-headers dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-09 09:11 UTC by Jonas Berlin
Modified: 2010-06-09 09:46 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Berlin 2010-06-09 09:11:23 UTC
I had an old linux-headers-2.6.17 installed, and libv4l-0.6.1 failed to compile when doing "emerge -uND world" due to some structs missing.

I manually updated to linux-headers-2.6.30-r1 and after this libv4l-0.6.1 compiled fine.

I noticed libv4l-0.6.1 does not depend on linux-headers at all, so I suggest adding a new dependency to that. Probably all other libv4l ebuilds should as well. I do not know in which kernel version the required structs appeared in, but at least 2.6.30-r1 worked fine.

Reproducible: Always

Steps to Reproduce:
1. find a system with the an old linux-headers package installed (2.4.17 or older)
2. try emerging libv4l-0.6.1


Actual Results:  
compilation fails

Expected Results:  
libv4l should depend on a recent enough linux-headers so that compilation can succeed
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-06-09 09:46:16 UTC
+  09 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> libv4l-0.6.1.ebuild,
+  libv4l-0.7.91.ebuild:
+  DEPEND >=sys-kernel/linux-headers-2.6.30-r1 wrt #323307 by Jonas Berlin.

Used 2.6.30-r1 because it's latest stable.

This might also solve bug 323101, but unsure...