Package Details: tvheadend 4.2.8-8

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/
Keywords: tvheadend
Licenses: GPL-3.0-only
Submitter: BELzEBUB
Maintainer: fossdd
Last Packager: fossdd
Votes: 115
Popularity: 0.20
First Submitted: 2012-10-25 08:49 (UTC)
Last Updated: 2024-10-12 22:02 (UTC)

Dependencies (9)

Required by (0)

Sources (5)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 25 Next › Last »

willemw commented on 2021-10-22 10:08 (UTC)

provides=('tvheadend') is redundant. conflicts=('tvheadend-git') does not need to be specified (as stated in the Wiki). tar is already installed (part of base).

Maybe use install instead of chmod and maybe switch to using systemd's sysusers.d and tmpfiles.d folders.

aphirst commented on 2021-10-22 09:19 (UTC)

Build now unfortunately fails.

http://download.silicondust.com/hdhomerun/libhdhomerun_20171221.tgz: 2021-10-22 10:18:40 ERROR 404: Not Found. make[1]: *** [Makefile.hdhomerun:79: /home/adam/.cache/aurutils/sync/tvheadend/src/tvheadend-4.2.8/build.linux/hdhomerun/libhdhomerun_20171221/.tvh_download] Error 8

holunder commented on 2021-03-24 12:28 (UTC) (edited on 2021-03-24 17:43 (UTC) by holunder)

I had to recompile it after last day’s system updates. Now I get into the web interface again but cannot start any stream. Edit: Just had to reconnect the DVB-T2 usb cable.

pelle commented on 2020-11-02 08:08 (UTC)

@RoKoInfo

Thx for your help. I use the armv7l architecture. If I use the two flags mentioned, the error message also appears, see @pokabjoern. Seems to me like it has to do with architecture.

pelle

RoKoInfo commented on 2020-11-01 12:12 (UTC) (edited on 2020-11-01 12:13 (UTC) by RoKoInfo)

When trying to compile for armv7h, I needed both flags, -Wno-error=format-truncation and -Wno-error=stringop-truncation. Compiling was successful, however, I do not know right now, if tvheadend works fine with it.

RoKoInfo

pelle commented on 2020-10-20 12:40 (UTC)

@Neil

Thx for the patch. Even when I use the patch, I get the same error message as described by @pokabjoern.

Meanwhile I'm at a loss.

Pelle

Neil commented on 2020-10-03 19:27 (UTC)

@pelle

Here's my git diff:

# git diff
diff --git a/PKGBUILD b/PKGBUILD
index 5a45b9f..5795410 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,6 +30,8 @@ sha256sums=    ('1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad'
 prepare() {
     cd "${srcdir}/${pkgname}-${pkgver}"

+    CFLAGS="${CFLAGS} -Wno-error=format-truncation"
+
     # Patch tvheadend.service for Arch Linux
     patch -p1 -i "${srcdir}/tvheadend-service.patch"

As you can see I just added the line above to the prepare() function in PKGBUILD.

Hope this helps,

Neil.

pelle commented on 2020-10-01 09:04 (UTC) (edited on 2020-10-01 09:05 (UTC) by pelle)

@Neil

I've tried it too and fail.

I've tried the following:

...

detect libavresample and prepare for using it
uselibav=""
if [ -f /usr/include/libavresample/avresample.h ]; then
    echo "libavresample found, enabling use of libav!"
    CFLAGS="$CFLAGS -Wno-error=format-truncation"
else

...

I get the error message, see @pokabjoern.

What am I doing wrong?

thanks in advance

Neil commented on 2020-09-23 22:08 (UTC)

Thanks @pokabjoern - now I can build tvheadend also :-)

pokabjoern commented on 2020-08-15 06:52 (UTC)

I had to add

CFLAGS="$CFLAGS -Wno-error=format-truncation"
to PKGBUILD's build section, otherwise makepkg fails:

CC              src/epggrab/module/xmltv.o
src/epggrab/module/xmltv.c: In Funktion »_xmltv_parse«:
src/epggrab/module/xmltv.c:197:47: Fehler: Ausgabe der »%s«-Direktive könnte abgeschnitten sein, beim Schreiben von 2 bis 2147483645 Bytes in eine Region der Größe 115 [-Werror=format-truncation=]
  197 |   snprintf(buf, sizeof(buf)-1, "ddprogid://%s/%s", mod->id, s);
      |                                               ^~
src/epggrab/module/xmltv.c:197:3: Anmerkung: »snprintf« hat 15 oder mehr Bytes (angenommen 2147483658) in das Ziel der Größe 127 ausgegeben
  197 |   snprintf(buf, sizeof(buf)-1, "ddprogid://%s/%s", mod->id, s);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: Alle Warnungen werden als Fehler behandelt
make: *** [Makefile:643: /home/sascha/tvheadend/src/tvheadend-4.2.8/build.linux/src/epggrab/module/xmltv.o] Fehler 1
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...