dv4l version 1.0-3 failed to build on i386

Bug #749235 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dv4l (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

dv4l version 1.0-3 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2391513

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2391513/+files/buildlog_ubuntu-natty-i386.dv4l_1.0-3_FAILEDTOBUILD.txt.gz

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

checking libiec61883/iec61883.h presence... yes
checking for libiec61883/iec61883.h... yes
checking libdv/dv.h usability... yes
checking libdv/dv.h presence... yes
checking for libdv/dv.h... yes
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating version.h
config.status: creating config.h
touch debian/stamp-autotools
/usr/bin/make -C .
make[1]: Entering directory `/build/buildd/dv4l-1.0'
cc -Wall -O3 -MMD -D__KERNEL_STRICT_NAMES -c -o normfile.o normfile.c
normfile.c: In function 'normalize':
normfile.c:247:8: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result
cc -Wall -O3 -MMD -D__KERNEL_STRICT_NAMES -c -o palettes.o palettes.c
palettes.c:20:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make[1]: *** [palettes.o] Error 1
make[1]: Leaving directory `/build/buildd/dv4l-1.0'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110403-1054
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/dv4l-1.0

Steve Langasek (vorlon)
Changed in dv4l (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
tags: added: oneiric
Changed in dv4l (Ubuntu):
milestone: none → oneiric-alpha-1
Changed in dv4l (Ubuntu Oneiric):
milestone: oneiric-alpha-1 → oneiric-alpha-2
Changed in dv4l (Ubuntu Oneiric):
assignee: nobody → Daniel Polehn (dpolehn-gmail)
status: Triaged → In Progress
Changed in dv4l (Ubuntu Oneiric):
assignee: Daniel Polehn (dpolehn-gmail) → nobody
status: In Progress → Confirmed
Changed in dv4l (Ubuntu Oneiric):
assignee: nobody → Daniel Polehn (dpolehn-gmail)
Changed in dv4l (Ubuntu Oneiric):
status: Confirmed → In Progress
Revision history for this message
Daniel Polehn (dpolehn-gmail) wrote :

I got this to build passed the missing linux/videodev.h problem. Had another small build problem and fixed it. Now I ran into some kind of linker issue and can't quite figure out how to get passed that. I will upload a branch with my fix so far and then unclaim this bug.

Changed in dv4l (Ubuntu Oneiric):
status: In Progress → Confirmed
assignee: Daniel Polehn (dpolehn-gmail) → nobody
Changed in dv4l (Ubuntu Oneiric):
milestone: oneiric-alpha-2 → none
tags: added: universe
Revision history for this message
Matthias Klose (doko) wrote :

please add the log for the linker issues. are libraries always after objects on the command line?

Changed in dv4l (Ubuntu Oneiric):
importance: Medium → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dv4l - 1.0-3ubuntu1

---------------
dv4l (1.0-3ubuntu1) oneiric; urgency=low

  [ Daniel Polehn ]
  * Fix FTBFS, changed linux/videodev.h location. LP: #749235.

  [ Matthias Klose ]
  * Fix FTBFS with ld --as-needed.
 -- Matthias Klose <email address hidden> Mon, 19 Sep 2011 15:44:34 +0200

Changed in dv4l (Ubuntu Oneiric):
status: Confirmed → 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.