Bug #4642
Bug #4639: TVHeadend 4.3-513~g570b0d476 is FTBFS
build with enable-omx fails
0%
Description
My build with --enable-omx fails and leads to the following output (my last build at September 25th succeeded):
src/transcoding/codec/codecs/libs/omx.c: In function 'tvh_codec_profile_omx_destroy':
src/transcoding/codec/codecs/libs/omx.c:114:10: error: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
free(self->libname);
^~~
In file included from /home/alarm/tvheadend-git/src/tvheadend-git/src/tvheadend.h:25:0,
from /home/alarm/tvheadend-git/src/tvheadend-git/src/transcoding/codec.h:28,
from /home/alarm/tvheadend-git/src/tvheadend-git/src/transcoding/codec/internals.h:25,
from src/transcoding/codec/codecs/libs/omx.c:21:
/usr/include/stdlib.h:448:13: note: expected 'void ' but argument is of type 'const char *'
extern void free (void *_ptr) __THROW;
^~~
src/transcoding/codec/codecs/libs/omx.c:115:10: error: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
free(self->libprefix);
^~~
In file included from /home/alarm/tvheadend-git/src/tvheadend-git/src/tvheadend.h:25:0,
from /home/alarm/tvheadend-git/src/tvheadend-git/src/transcoding/codec.h:28,
from /home/alarm/tvheadend-git/src/tvheadend-git/src/transcoding/codec/internals.h:25,
from src/transcoding/codec/codecs/libs/omx.c:21:
/usr/include/stdlib.h:448:13: note: expected 'void *' but argument is of type 'const char *'
extern void free (void *_ptr) __THROW;
^~~
cc1: all warnings being treated as errors
make: ** [Makefile:689: /home/alarm/tvheadend-git/src/tvheadend-git/build.linux/src/transcoding/codec/codecs/libs/omx.o] Error 1
History
Updated by Jaroslav Kysela about 7 years ago
- Status changed from New to Rejected
- Parent task set to #4639
Dup of #4639.