[Pkg-mythtv-maintainers] Bug#615989: ivtv-utils: Package failed to build from source on Ubuntu natty

Tarun Kumar Mall c2tarun at gmail.com
Tue Mar 1 15:39:00 UTC 2011


Package: ivtv-utils
Version: 1.4.1-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch


Package failed to build from source.
Here is the error log:

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


*** /tmp/tmpR9rpJV
In Ubuntu, we've applied the attached patch to achieve the following:

## Patch changes location of some libraries in order to fix FTBFS error.

  * debian/patches/04_fix_ftbfs_binutils-gold.dpatch
    - Fix FTBFS with binutils-gold. (LP: #725933) 

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-updates
  APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 'maverick-backports'), (500, 'maverick')
Architecture: i386 (i686)

Kernel: Linux 2.6.35-25-generic (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


More information about the pkg-mythtv-maintainers mailing list