Project

General

Profile

Bug #5565

TVHeadend 4.3-1780~g726e6e654 is FTBFS on Ubuntu 32-bit architectures

Added by Michael Marley over 5 years ago. Updated over 5 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2019-03-07
Due date:
% Done:

100%

Estimated time:
Found in version:
4.3-1780~g726e6e654
Affected Versions:

Description

The error produced is

cc -MD -MP      -D_REENTRANT -I/usr/include/i386-linux-gnu -I/usr/include/i386-linux-gnu -I/usr/include/i386-linux-gnu -I/usr/include/i386-linux-gnu -I/usr/include/i386-linux-gnu -I/usr/include/i386-linux-gnu -I/usr/include/i386-linux-gnu    -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include  -g -O2 -D_FORTIFY_SOURCE=2 -fPIE -Wunused-result -Werror -Wall -Wwrite-strings -Wno-deprecated-declarations -Wmissing-prototypes -fms-extensions -funsigned-char -fno-strict-aliasing -Wno-stringop-truncation -Wno-stringop-overflow -D_FILE_OFFSET_BITS=64 -I/<<PKGBUILDDIR>>/build.linux -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>> `pkg-config --cflags libavfilter libswresample libavresample libswscale libavformat libavcodec libavutil` -c -o /<<PKGBUILDDIR>>/build.linux/src/utils.o src/utils.c
src/utils.c: In function ‘sbuf_alloc_fail’:
src/utils.c:364:41: error: format ‘%jd’ expects argument of type ‘intmax_t’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
   fprintf(stderr, "Unable to allocate %jd bytes\n", len);
                                       ~~^           ~~~
                                       %d
cc1: all warnings being treated as errors

The full build output is available at https://launchpadlibrarian.net/414032143/buildlog_ubuntu-disco-i386.tvheadend_4.3-1780~g726e6e654~disco_BUILDING.txt.gz

History

#1

Updated by saen acro over 5 years ago

+1
Ubuntu 16.04 32bit

CC src/epg.o
CC src/epgdb.o
CC src/epggrab.o
src/utils.c: In function ‘sbuf_alloc_fail’:
src/utils.c:364:18: error: format ‘%jd’ expects argument of type ‘intmax_t’, but argument 3 has type ‘size_t {aka unsigned int}’ [-Werror=format=]
fprintf(stderr, "Unable to allocate %jd bytes\n", len);
^
src/utils.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-stringop-overflow’ [-Werror]
cc1: error: unrecognized command line option ‘-Wno-stringop-truncation’ [-Werror]
cc1: all warnings being treated as errors
make[2]: *** [/opt/tvheadend/build.linux/src/utils.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:713: recipe for target '/opt/tvheadend/build.linux/src/utils.o' failed
make[2]: Leaving directory '/opt/tvheadend'
make[1]: *** [override_dh_auto_build] Error 2
debian/rules:15: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/opt/tvheadend'
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
#2

Updated by Jaroslav Kysela over 5 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|811fd889e9da762d04977f3531aa1aae8ff37329.

#3

Updated by saen acro over 5 years ago

(/) fixed

Also available in: Atom PDF