Package ivtv-utils-1.4.1 failed to build from source

Bug #725933 reported by Tarun K. Mall
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ivtv-utils (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: ivtv-utils

package ivtv-utils-1.4.1 failed to build from source
here is the log of error I got

 dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package ivtv-utils
dpkg-buildpackage: source version 1.4.1-1
dpkg-buildpackage: source changed by Ian Campbell <email address hidden>
 dpkg-source --before-build ivtv-utils-1.4.1
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-arch-stamp configure-stamp
/usr/bin/make clean
make[1]: Entering directory `/home/tarun/source/ivtv/ivtv-utils-1.4.1'
make -C utils clean
make[2]: Entering directory `/home/tarun/source/ivtv/ivtv-utils-1.4.1/utils'
rm -f *.o v4l2-ctl ivtv-ctl ivtv-radio ivtvplay ivtv-mpegindex
make -C ivtv-tune clean
make[3]: Entering directory `/home/tarun/source/ivtv/ivtv-utils-1.4.1/utils/ivtv-tune'
rm -f *.o ivtv-tune
make[3]: Leaving directory `/home/tarun/source/ivtv/ivtv-utils-1.4.1/utils/ivtv-tune'
make -C cx25840ctl clean
make[3]: Entering directory `/home/tarun/source/ivtv/ivtv-utils-1.4.1/utils/cx25840ctl'
rm -f *.o cx25840ctl
make[3]: Leaving directory `/home/tarun/source/ivtv/ivtv-utils-1.4.1/utils/cx25840ctl'
make[2]: Leaving directory `/home/tarun/source/ivtv/ivtv-utils-1.4.1/utils'
make -C test clean
make[2]: Entering directory `/home/tarun/source/ivtv/ivtv-utils-1.4.1/test'
rm -f *.o vbi wss vbi-passthrough vbi-detect ivtv-pcm-tester mpeg-read-test mpeg-freq-test mpeg-read-sleep-test mpeg-enc-stop-start-test ivtv-yuv-dma-test ivtv-osd-dma-test ivtv-fb-colormap-test ivtv-fb-16-bit-test ps-analyzer
make[2]: Leaving directory `/home/tarun/source/ivtv/ivtv-utils-1.4.1/test'
make[1]: Leaving directory `/home/tarun/source/ivtv/ivtv-utils-1.4.1'
dh_clean
dpatch deapply-all
03_do-not-install-ivtv.h not applied to ./ .
rm -rf patch-stamp patch-stampT debian/patched
 debian/rules build
test -d debian/patched || install -d debian/patched
dpatch apply-all
applying patch 03_do-not-install-ivtv.h to ./ ... ok.
dpatch cat-all >>patch-stampT
mv -f patch-stampT patch-stamp
dh_testdir
touch configure-stamp
/usr/bin/make all
make[1]: Entering directory `/home/tarun/source/ivtv/ivtv-utils-1.4.1'
make -C utils all
make[2]: Entering directory `/home/tarun/source/ivtv/ivtv-utils-1.4.1/utils'
g++ -D_GNU_SOURCE -O2 -Wall -g -I. -c -o v4l2-ctl.o v4l2-ctl.cpp
v4l2-ctl.cpp: In function 'void printjpegcomp(const v4l2_jpegcompression&)':
v4l2-ctl.cpp:793:48: warning: format '%08lx' expects type 'long unsigned int', but argument 2 has type '__u32'
v4l2-ctl.cpp: In function 'void list_devices()':
v4l2-ctl.cpp:1152:24: warning: suggest parentheses around assignment used as truth value
v4l2-ctl.cpp: In function 'int main(int, char**)':
v4l2-ctl.cpp:1780:44: warning: comparison between signed and unsigned integer expressions
v4l2-ctl.cpp:1790:44: warning: comparison between signed and unsigned integer expressions
v4l2-ctl.cpp:1392:16: warning: 'set_overlay_fmt_ptr' may be used uninitialized in this function
v4l2-ctl.cpp:1393:22: warning: 'overlay_fmt_ptr' may be used uninitialized in this function
v4l2-ctl.cpp: At global scope:
v4l2-ctl.cpp:896:14: warning: 'char* pts_to_string(char*, long unsigned int)' defined but not used
g++ -lm -o v4l2-ctl v4l2-ctl.o
cc -D_GNU_SOURCE -O2 -Wall -g -I. -c -o ivtv-ctl.o ivtv-ctl.c
ivtv-ctl.c: In function 'dowrite':
ivtv-ctl.c:257:2: warning: format not a string literal and no format arguments
In file included from /usr/include/stdio.h:930:0,
                 from ivtv-ctl.c:25:
In function 'snprintf',
    inlined from 'pts_to_string' at ivtv-ctl.c:194:10,
    inlined from 'main' at ivtv-ctl.c:559:18:
/usr/include/bits/stdio2.h:65:3: warning: call to __builtin___snprintf_chk will always overflow destination buffer
cc -lm -o ivtv-ctl ivtv-ctl.o
ivtv-ctl.o: In function `pts_to_string':
/home/tarun/source/ivtv/ivtv-utils-1.4.1/utils/ivtv-ctl.c:192: undefined reference to `ceilf'
collect2: ld returned 1 exit status
make[2]: *** [ivtv-ctl] Error 1
make[2]: Leaving directory `/home/tarun/source/ivtv/ivtv-utils-1.4.1/utils'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tarun/source/ivtv/ivtv-utils-1.4.1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1335:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed

Related branches

Tarun K. Mall (c2tarun)
Changed in ivtv-utils (Ubuntu):
status: New → Confirmed
assignee: nobody → Tarun K. Mall (c2tarun)
status: Confirmed → In Progress
Tarun K. Mall (c2tarun)
Changed in ivtv-utils (Ubuntu):
status: In Progress → Confirmed
assignee: Tarun K. Mall (c2tarun) → nobody
Revision history for this message
Artur Rona (ari-tczew) wrote :

Thank you for your time and efforts making Ubuntu better! However, there are some issues:

1) Please use DEP3 tags in patch.
https://wiki.ubuntu.com/PackagingGuide/PatchSystems#Patch%20Tagging%20Guidelines

2) Please forward patch to Debian, then use Bug-Debian tag in patch and add (Closes: #XXXXXX) into d/changelog.

Changed in ivtv-utils (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Tarun K. Mall (c2tarun) wrote :

@Artur

I tried to fix dep3 problem. If anything wrong please tell me, I'll try to fix it.
About sending patch to debian, I don't know how to do it. I never did that before.
If there is any manual to do this, please tell me.

Thank you

Revision history for this message
Tarun K. Mall (c2tarun) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ivtv-utils - 1.4.1-1ubuntu1

---------------
ivtv-utils (1.4.1-1ubuntu1) natty; urgency=low

  * debian/patches/04_fix_ftbfs_binutils-gold.dpatch
    - Fix FTBFS with binutils-gold. (LP: #725933, Closes: #615989)
 -- Tarun Kumar Mall <email address hidden> Tue, 01 Mar 2011 15:43:11 +0000

Changed in ivtv-utils (Ubuntu):
status: Incomplete → 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.