Bug 479489

Summary: libv4l-0.5.7-1 failure to compile on several warnings and an error
Product: [Fedora] Fedora Reporter: R P Herrold <herrold>
Component: libv4lAssignee: Hans de Goede <hdegoede>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: hdegoede
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-10 13:12:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
std out
none
stderr none

Description R P Herrold 2009-01-09 23:28:09 UTC
Created attachment 328605 [details]
std out

Description of problem:

cannot compile libv4l-0.5.7-1

Version-Release number of selected component (if applicable):

libv4l-0.5.7-1

How reproducible:

rpmbuild --rebuild libv4l-0.5.4-1.fc10.src.rpm

Steps to Reproduce:

stdout and stderr log will attached
  
Actual results:

...
libv4lconvert.c:996: error: dereferencing pointer to incomplete type
make[1]: *** [libv4lconvert.o] Error 1
make[1]: *** Waiting for unfinished jobs....

files built this way:

$ rpmbuild --rebuild libv4l-0.5.4-1.fc10.src.rpm > libv4l-stdout.txt 2> libv4l-stderr.txt

Expected results:

successful rebuild

Additional info:

Please ask if details are needed.

-- Russ herrold

Comment 1 R P Herrold 2009-01-09 23:29:04 UTC
Created attachment 328606 [details]
stderr

Comment 2 R P Herrold 2009-01-09 23:32:33 UTC
camera target appears at /dev/video0 but I cannot get that far

It worked ONCE with ekiga, and not I cannot get ekiga to start, so I am rebuilding chain

I need it for testing 'camstream'

        libv4l-devel is needed by camstream-0.26.3-15orc.x86_64

or 'gyachi':

        libv4l-devel is needed by gyachi-1.1.61-1orc.x86_64
        gpgme-devel is needed by gyachi-1.1.61-1orc.x86_64
        libmcrypt-devel >= 2.5.0 is needed by gyachi-1.1.61-1orc.x86_64
        pulseaudio-libs-devel is needed by gyachi-1.1.61-1orc.x86_64
        gtkspell-devel is needed by gyachi-1.1.61-1orc.x86_64

Comment 3 Hans de Goede 2009-01-10 13:12:38 UTC
This is the cause:
../include/libv4lconvert.h:77: warning: 'struct v4l2_frmsizeenum' declared inside parameter list
../include/libv4lconvert.h:77: warning: its scope is only this definition or declaration, which is probably not what you want
../include/libv4lconvert.h:82: warning: 'struct v4l2_frmivalenum' declared inside parameter list


Of the failure and that means that your /usr/include/linux/videodev2.h file is pretty old. It definitely is not one from a recent supported Fedora kernel, so I'm closing this.