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.026779
First Submitted: 2012-10-25 08:49 (UTC)
Last Updated: 2025-05-14 06:50 (UTC)

Dependencies (9)

Required by (0)

Sources (5)

Latest Comments

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

ZEBofx commented on 2025-05-10 15:01 (UTC) (edited on 2025-05-10 15:12 (UTC) by ZEBofx)

Hello, On brand new Arch install, we have a compilation error (sorry, French, here) :

Dans le fichier inclus depuis src/hts_strtab.h:22,
                 depuis src/tvheadend.h:40,
                 depuis src/uuid.c:20:
src/htsmsg.h:77:9: erreur: « bool » ne peut être utilisé ici
   77 |     int bool;
      |         ^~~~
src/htsmsg.h:77:9: note: « bool » est un mot-clé avec « -std=c23 » à partir de là
src/htsmsg.h:77:13: attention: la déclaration ne déclare rien du tout
   77 |     int bool;
      |             ^
make: *** [Makefile:643: /home/me/packages/tvheadend/src/tvheadend-4.2.8/build.linux/src/uuid.o] Error 1

One solution will be to patch PKBUILD, but I am not sure if this is optimal, or not :

--- PKGBUILD    2025-05-10 16:19:07.219465955 +0200
+++ PKGBUILD    2025-05-10 16:19:32.045997762 +0200
@@ -52,6 +52,7 @@

 build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
+    export CFLAGS="$CFLAGS -std=gnu11"

    # libswresample is disabled in Arch ffmpeg, therefore libav
    # (which is e.g. used for transcoding) has to be disabled

Another solution is to modify src/htsmsg.h, on lines 77 and 92 (for example rename bool to ibool).

** This was actually patched on sources by renaming bool to boolean.

Hope that can help.

Best regards :) ZeBOX

fossdd commented on 2024-10-12 21:59 (UTC)

Oops, thanks. Fixed.

edacval commented on 2024-10-12 20:42 (UTC)

==> Starting build()...
Checking support/features
  checking for cc execinfo.h ...                    ok
  checking for cc -mmmx ...                         ok
  checking for cc -msse2 ...                        ok
  checking for cc -Wunused-result ...               ok
  checking for cc strlcat ...                       ok
  checking for cc strlcpy ...                       ok
  checking for cc fdatasync ...                     ok
  checking for cc getloadavg ...                    ok
  checking for cc atomic32 ...                      ok
  checking for cc atomic64 ...                      ok
  checking for cc atomic_time_t ...                 ok
  checking for cc bitops64 ...                      ok
  checking for cc lockowner ...                     ok
  checking for cc qsort_r ...                       fail
  checking for cc stime ...                         fail
  checking for cc gmtoff ...                        ok
  checking for cc recvmmsg ...                      ok
  checking for cc sendmmsg ...                      ok
  checking for cc libiconv ...                      fail
    ^ using build-in glibc iconv routines
  checking for cc libdvben50221 ...                 fail
  checking for cc ifnames ...                       ok
  checking for py module gzip ...                   ok
  checking for pkg-config ...                       ok
  checking for xgettext ...                         ok
  checking for msgmerge ...                         ok
  checking for gzip ...                             ok
  checking for bzip2 ...                            ok
  checking for pkg openssl  ...                     ok (detected 3.3.2)
  checking for cc linux/dvb/version.h ...           ok
  checking for pkg zlib  ...                        ok (detected 1.3.1)
  checking for pkg liburiparser  ...                ok (detected 0.9.8)
  checking for pkg avahi-client  ...                ok (detected 0.8)
  checking for cmake ...                            fail
ERROR: cmake not found
==> ERROR: A failure occurred in build().
    Aborting...

fossdd commented on 2024-10-12 19:23 (UTC)

Oh yeah, thanks, tvheadend 4.2 doesn't support ffmpeg 7. I updated the PKGBUILD

silent commented on 2024-10-12 18:48 (UTC)

Please disable libav also in the latest build as requested earlier: make: *** [Makefile:643: /home/**/.cache/yay/tvheadend/src/tvheadend-4.2.8/build.linux/src/libav.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

AlD commented on 2024-10-12 16:20 (UTC)

Thanks for taking over and touching up the package, @fossdd!

micwoj92 commented on 2024-08-17 01:03 (UTC)

Please remove the uselibav logic in PKGBUILD and set it to always --disable-libav. This software fails to build with libav support enabled and this is the cause of many build failures reported in comments. @Louis I see you already mentioned this in comments last year, but didn't resolve.

fossdd commented on 2024-02-17 18:10 (UTC)

Hey, quick question: Why is the user installed as install hook instead of a simply adding a file using sysusers.d(5)?

binhex commented on 2023-10-02 13:41 (UTC)

+1 on the issue reported by manio, exact same issue.

user20159 commented on 2023-09-09 22:25 (UTC)

For me, building this package fails with

/src/tvheadend-4.2.8/build.linux/hdhomerun/libhdhomerun_20180327.tgz: No such file or directory

even when installing libhdhomerun previously. tvheadend-git works though.