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

Bug 150770

Summary: v4l-dvb-hg fails to compile
Product: Gentoo Linux Reporter: impulze
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description impulze 2006-10-10 11:18:24 UTC
i grabbed the source:
    hg clone http://linuxtv.org/hg/~mrechberger/v4l-dvb

compiled it fine with gcc-4.1.1 by just changing into the source directory and fire up:
    make

all worked out.

now when i try:
    emerge v4l-dvb-hg
which actually grabs the source at the wrong place:
    hg clone http://linuxtv.org/hg/v4l-dvb
compilation fails with the messages attached on that bug:
---snip---
In file included from /var/tmp/portage/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cpia2_v4l.c:42:
/var/tmp/portage/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cpia2.h:404: error: field 'vp' has incomplete type
/var/tmp/portage/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cpia2.h:405: error: field 'vw' has incomplete type
/var/tmp/portage/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/cpia2_v4l.c:91:2: error: #error "VID_HARDWARE_CPIA2 should have been defined in linux/videodev.h"
---snip---

So could someone change the source location in the 
v4l-dvb-hg-0.1-r2.ebuild (media-tv/v4l-dvb-hg)
from:
    http://linuxtv.org/hg/v4l-dvb
to:
    http://linuxtv.org/hg/~mrechberger/v4l-dvb
and there's probably a chance someone could create an ~arch ebuild with the same compiling procedure but the source location changed to:
    http://linuxtv.org/hg/~mrechberger/v4l-dvb-merge

Source: http://linuxtv.org/v4lwiki/index.php/Em2880#Installation
Comment 1 impulze 2006-10-10 11:19:03 UTC
Created attachment 99305 [details]
emerge --info
Comment 2 impulze 2006-10-10 11:25:46 UTC
Ok i talked to v4l maintainers and this is actually a personal developer repository so please don't change it, but the compiler issue still exists.