Project

General

Profile

Bug #4590

TVHeadend 4.3-468~g54c999717 is FTBFS on Ubuntu Xenial ppc64el (GCC6.3)

Added by Michael Marley almost 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-09-14
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-468~g54c999717
Affected Versions:

Description

The error is:

cc -MD -MP      -D_REENTRANT -I/usr/include/powerpc64le-linux-gnu -I/usr/include/powerpc64le-linux-gnu -I/usr/include/powerpc64le-linux-gnu -I/usr/include/powerpc64le-linux-gnu -I/usr/include/powerpc64le-linux-gnu -I/usr/include/powerpc64le-linux-gnu -I/usr/include/powerpc64le-linux-gnu    -I/usr/include/dbus-1.0 -I/usr/lib/powerpc64le-linux-gnu/dbus-1.0/include  -g -O2 -fPIE -Wunused-result -Werror -Wall -Wwrite-strings -Wno-deprecated-declarations -Wmissing-prototypes -fms-extensions -funsigned-char -fno-strict-aliasing -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/transcoding/transcode/context.o src/transcoding/transcode/context.c
In file included from /<<PKGBUILDDIR>>/src/tvheadend.h:41:0,
                 from /<<PKGBUILDDIR>>/src/transcoding/codec.h:28,
                 from src/transcoding/transcode/internals.h:27,
                 from src/transcoding/transcode/context.c:21:
src/transcoding/transcode/context.c: In function ‘tvh_context_open_filters’:
/<<PKGBUILDDIR>>/src/tvhlog.h:203:3: error: ‘__s’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   _tvhlog(__FILE__, __LINE__, severity | LOG_TVH_NOTIFY, subsys, fmt, ##__VA_ARGS__)
   ^~~~~~~
src/transcoding/transcode/context.c:492:1: note: ‘__s’ was declared here
 tvh_context_open_filters(TVHContext *self,
 ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

The complete build log can be found at https://launchpadlibrarian.net/336897275/buildlog_ubuntu-zesty-ppc64el.tvheadend_4.3-468~g54c999717~zesty_BUILDING.txt.gz.

History

#1

Updated by Michael Marley almost 4 years ago

The same error occured on i386 as well but not on armhf, arm64, or amd64.

#2

Updated by Jaroslav Kysela almost 4 years ago

The x86 xenial builds are fine, so I think that it's something special in the ppc compiler code :-( Sorry, it's not much clear what's wrong. I would try to ask gcc developers.

Also available in: Atom PDF