Package Details: tvheadend 4.2.8-4

Git Clone URL: https://aur.archlinux.org/tvheadend.git (read-only, click to copy)
Package Base: tvheadend
Description: TV streaming server for Linux
Upstream URL: https://tvheadend.org/projects/tvheadend
Keywords: tvheadend
Licenses: GPL3
Conflicts: tvheadend-git
Provides: tvheadend
Submitter: BELzEBUB
Maintainer: LukyLX
Last Packager: LukyLX
Votes: 116
Popularity: 1.03
First Submitted: 2012-10-25 08:49
Last Updated: 2020-05-29 17:06

Latest Comments

1 2 3 4 5 6 ... Next › Last »

elParaguayo commented on 2020-06-29 09:00

libavresample.so is shows as an optional dependency. Is it worth flagging that it needs to be installed when tvheadend is built if you want transcoding support?

berturion commented on 2020-06-18 11:23

Hello, thank you for this package. I wanted to say that the compilation via yay doesn't work. I had to go to ~/.cache/yay/tvheadend and execute makepkg to successfully compile the program.

The error via yay is :

In function ‘transcoder_init_video’,
    inlined from ‘transcoder_start’ at src/plumbing/transcoding.c:2006:12,
    inlined from ‘transcoder_input’ at src/plumbing/transcoding.c:2061:10:
src/plumbing/transcoding.c:1807:3: error: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Werror=stringop-truncation]
 1807 |   strncpy(codec_list, tp->tp_src_vcodec, sizeof(tp->tp_src_vcodec)-1);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC              src/descrambler/emm_reass.o
CC              src/descrambler/capmt.o
CC              src/descrambler/constcw.o
CC              src/descrambler/ffdecsa/ffdecsa_interface.o
src/plumbing/transcoding.c: In function ‘transcoder_set_properties’:
src/plumbing/transcoding.c:2133:3: error: ‘strncpy’ output may be truncated copying 31 bytes from a string of length 31 [-Werror=stringop-truncation]
 2133 |   strncpy(tp->tp_vcodec, props->tp_vcodec, sizeof(tp->tp_vcodec)-1);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plumbing/transcoding.c:2134:3: error: ‘strncpy’ output may be truncated copying 31 bytes from a string of length 31 [-Werror=stringop-truncation]
 2134 |   strncpy(tp->tp_vcodec_preset, props->tp_vcodec_preset, sizeof(tp->tp_vcodec_preset)-1);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plumbing/transcoding.c:2135:3: error: ‘strncpy’ output may be truncated copying 31 bytes from a string of length 31 [-Werror=stringop-truncation]
 2135 |   strncpy(tp->tp_acodec, props->tp_acodec, sizeof(tp->tp_acodec)-1);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plumbing/transcoding.c:2136:3: error: ‘strncpy’ output may be truncated copying 31 bytes from a string of length 31 [-Werror=stringop-truncation]
 2136 |   strncpy(tp->tp_scodec, props->tp_scodec, sizeof(tp->tp_scodec)-1);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plumbing/transcoding.c:2144:3: error: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Werror=stringop-truncation]
 2144 |   strncpy(tp->tp_src_vcodec, props->tp_src_vcodec, sizeof(tp->tp_src_vcodec)-1);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC              src/descrambler/ffdecsa/ffdecsa_int.o
cc1: all warnings being treated as errors
make: *** [Makefile:643: /home/cthulhu/.cache/yay/tvheadend/src/tvheadend-4.2.8/build.linux/src/plumbing/transcoding.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
Error making: tvheadend

Using makepkg directly, errors become warnings:

In function ‘transcoder_init_video’,
    inlined from ‘transcoder_start’ at src/plumbing/transcoding.c:2006:12,
    inlined from ‘transcoder_input’ at src/plumbing/transcoding.c:2061:10:
src/plumbing/transcoding.c:1807:3: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
 1807 |   strncpy(codec_list, tp->tp_src_vcodec, sizeof(tp->tp_src_vcodec)-1);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC              src/descrambler/capmt.o
CC              src/descrambler/constcw.o
CC              src/descrambler/ffdecsa/ffdecsa_interface.o
CC              src/descrambler/ffdecsa/ffdecsa_sse2.o
src/plumbing/transcoding.c: In function ‘transcoder_set_properties’:
src/plumbing/transcoding.c:2133:3: warning: ‘strncpy’ output may be truncated copying 31 bytes from a string of length 31 [-Wstringop-truncation]
 2133 |   strncpy(tp->tp_vcodec, props->tp_vcodec, sizeof(tp->tp_vcodec)-1);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plumbing/transcoding.c:2134:3: warning: ‘strncpy’ output may be truncated copying 31 bytes from a string of length 31 [-Wstringop-truncation]
 2134 |   strncpy(tp->tp_vcodec_preset, props->tp_vcodec_preset, sizeof(tp->tp_vcodec_preset)-1);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plumbing/transcoding.c:2135:3: warning: ‘strncpy’ output may be truncated copying 31 bytes from a string of length 31 [-Wstringop-truncation]
 2135 |   strncpy(tp->tp_acodec, props->tp_acodec, sizeof(tp->tp_acodec)-1);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plumbing/transcoding.c:2136:3: warning: ‘strncpy’ output may be truncated copying 31 bytes from a string of length 31 [-Wstringop-truncation]
 2136 |   strncpy(tp->tp_scodec, props->tp_scodec, sizeof(tp->tp_scodec)-1);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plumbing/transcoding.c:2144:3: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
 2144 |   strncpy(tp->tp_src_vcodec, props->tp_src_vcodec, sizeof(tp->tp_src_vcodec)-1);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC              src/descrambler/libaesdec/libaesdec.o
CC              src/dbus.o

rndl commented on 2020-05-30 11:26

Hello, Now installation without issues . THANKS !!!!

m31aur commented on 2020-05-30 05:36

@LuckLX : After the patch it builds just fine. Many thanks for the response, time and work you spent.

zman0900 commented on 2020-05-29 17:52

@LuckLX: There is an upstream bug: https://tvheadend.org/issues/5862. I'm sure they would appreciate your patch.

I took the lazy route with the tvheadend-git package and just built with the "-fcommon" flag turned on.

LukyLX commented on 2020-05-29 17:06

Apparently, GCC 10 activated -fno-common by default which caused some issues building up until 4.2.8-3.

I added a patch in 4.2.8-4 so it should be able to build again. Please let me know if you encounter issues.

m31aur commented on 2020-05-28 08:43

Hi, It will not build. The following is returned in makepkg -si

collect2: error: ld returned 1 exit status make: *** [Makefile:638: /home/user/Downloads/aur-packages/tvheadend/src/tvheadend-4.2.8/build.linux/tvheadend] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

Thanks in advance for looking into it. Cheers

rndl commented on 2020-05-27 11:07

Hello, Not possible to install tvheadend with pamac : first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:638: /var/tmp/pamac-build-hp/tvheadend/src/tvheadend-4.2.8/build.linux/tvheadend] Error 1 ==> ERROR: A failure occurred in build(). Aborting... Please fix that . Thanks !

Issenniel commented on 2019-10-08 04:46

@LukyLX Sorry for that, didn't pay attention to it in the PKGBUILD. For some reason my CFLAGS did not take it into account. I updated yesterday to GCC 9.2.0 but it was the same. Then I successfully compiled it against libavresample with [env CFLAGS="${CFLAGS} -Wno-error=stringop-truncation"] as it should have been done automatically. Cheers.

LukyLX commented on 2019-10-07 18:39

@Issenniel You're right but that's why I specifically added -Wno-error=stringop-truncation to the CFLAGS. So those issues are actually handled as warnings instead of errors.