Project

General

Profile

Bug #4642

Bug #4639: TVHeadend 4.3-513~g570b0d476 is FTBFS

build with enable-omx fails

Added by Dennis K about 7 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-10-01
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-513~g570b0d476
Affected Versions:

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

#1

Updated by Jaroslav Kysela about 7 years ago

  • Status changed from New to Rejected
  • Parent task set to #4639

Dup of #4639.

Also available in: Atom PDF