uvccapture version 0.5-1 failed to build on i386

Bug #756023 reported by Matthias Klose
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uvccapture (Debian)
Fix Released
Unknown
uvccapture (Ubuntu)
Fix Released
High
Daniel Polehn
Oneiric
Fix Released
High
Daniel Polehn

Bug Description

uvccapture version 0.5-1 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2412944

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2412944/+files/buildlog_ubuntu-natty-i386.uvccapture_0.5-1_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 794 lines into the build log:

Cleaning up directory.
rm -f *.a *.o uvccapture core *~ log errlog
make[1]: Leaving directory `/build/buildd/uvccapture-0.5'
dh_clean
 debian/rules build
dh_testdir
/usr/bin/make
make[1]: Entering directory `/build/buildd/uvccapture-0.5'
gcc -std=gnu99 -O2 -DLINUX -DVERSION=\"0.4\" -Wall -std=gnu99 -O2 -DLINUX -DVERSION=\"0.4\" -Wall -c -o uvccapture.o uvccapture.c
uvccapture.c:34:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make[1]: *** [uvccapture.o] Error 1
make[1]: Leaving directory `/build/buildd/uvccapture-0.5'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110408-1758
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/uvccapture-0.5

Related branches

Matthias Klose (doko)
Changed in uvccapture (Ubuntu):
importance: Undecided → High
tags: added: oneiric
Changed in uvccapture (Ubuntu):
milestone: none → oneiric-alpha-1
Changed in uvccapture (Ubuntu Oneiric):
milestone: oneiric-alpha-1 → oneiric-alpha-2
Changed in uvccapture (Ubuntu Oneiric):
assignee: nobody → Daniel Polehn (dpolehn-gmail)
status: New → In Progress
Revision history for this message
Daniel Polehn (dpolehn-gmail) wrote :
Revision history for this message
Daniel Polehn (dpolehn-gmail) wrote :

linux/videodev.h is no longer available in newer versions of linux. Using linux/videodev2.h allowed for a successful build.

tags: added: patch
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your work, could you send the patch to Debian as well? the bug has been reported to their BTS as well and the package is in sync between the distribution and should be kept this way if possible

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package uvccapture - 0.5-1ubuntu1

---------------
uvccapture (0.5-1ubuntu1) oneiric; urgency=low

  * Fix build failure by using linux/videodev2.h instead of deprecated
    linux/videodev.h (LP: #756023)
 -- Daniel Polehn <email address hidden> Wed, 06 Jul 2011 09:23:44 -0700

Changed in uvccapture (Ubuntu Oneiric):
status: In Progress → Fix Released
Changed in uvccapture (Debian):
status: Unknown → New
Changed in uvccapture (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.