CFLAGS_NO_WERROR=yes makepkg
suppresses error on warnings. Found in tvheadend's makefile.
Search Criteria
Package Details: tvheadend-git 4.3.r2354.gadef81b-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/tvheadend-git.git (read-only, click to copy) |
---|---|
Package Base: | tvheadend-git |
Description: | TV streaming server and DVR |
Upstream URL: | https://tvheadend.org/ |
Keywords: | dvb iptv pvr streaming tv |
Licenses: | GPL-3.0-or-later |
Conflicts: | tvheadend |
Provides: | tvheadend |
Submitter: | zman0900 |
Maintainer: | willemw |
Last Packager: | willemw |
Votes: | 28 |
Popularity: | 0.000004 |
First Submitted: | 2015-08-10 20:59 (UTC) |
Last Updated: | 2024-08-13 12:33 (UTC) |
Dependencies (19)
- avahi
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-ffplayoutAUR)
- libdvbcsaAUR (libdvbcsa-gitAUR)
- libfdk-aac (libfdk-aac-gitAUR)
- libogg (libogg-gitAUR)
- libtheora (libtheora-gitAUR)
- libvorbis (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR)
- libvpx (libvpx-full-gitAUR, libvpx-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- opus (opus-gitAUR)
- pcre2 (pcre2-gitAUR)
- pngquant
- uriparser (uriparser-gitAUR)
- x264 (x264-tmod-gitAUR, x264-gitAUR)
- x265 (x265-gitAUR, x265-mod-patman-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- libhdhomerunAUR (libhdhomerun-gitAUR) (optional) – HDHomeRun support
- xmltvAUR (optional) – alternative source of programme listings
Required by (0)
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 17 Next › Last »
kmitchel commented on 2022-07-31 18:24 (UTC) (edited on 2022-07-31 18:25 (UTC) by kmitchel)
gazza_c commented on 2022-07-04 23:23 (UTC)
Got it to compile and run with
# Work-around for GCC 10 export CFLAGS="${CFLAGS} -fcommon -Wno-array-bounds -Wno-address"
worked on $ gcc --version gcc (GCC) 12.1.0
francoism90 commented on 2022-06-02 13:40 (UTC)
@DocMAX I've pinnend your workaround, ty. :)
Will wait to see what happens upstream before changing this PKG.
DocMAX commented on 2022-05-27 08:58 (UTC)
francoism90 commented on 2022-05-27 08:22 (UTC)
Has this been reported upstream?
DocMAX commented on 2022-05-27 08:20 (UTC)
Seems like tvheadend-git currently doesn't like GCC 12.1. Workaround: install gcc-11 package and start your AUR helper with CC=gcc-11. In my case: "CC=gcc-11 yay -S tvheadend-git". Solved!
fow0ryl commented on 2022-05-26 06:18 (UTC)
Same problem as described by @OrrellElectrics ... I'm using trizen as AUR helper instead of yay.
DocMAX commented on 2022-05-24 10:10 (UTC) (edited on 2022-05-24 10:12 (UTC) by DocMAX)
@OrrellElectrics: Same here. @All: Any idea why "yay -Quq --devel" is ignoring this package?
glenb77 commented on 2022-05-19 14:16 (UTC)
I am seeing same errors as @OrrellElectrics in terms of compile failure
OrrellElectrics commented on 2022-05-12 18:02 (UTC)
Any idea why this is happening?
In file included from src/tcp.c:32: In function ‘ip_check_is_any_v6’, inlined from ‘ip_check_is_any’ at src/tcp.h:109:46, inlined from ‘ip_check_is_local_address’ at src/tcp.c:89:17: src/tcp.h:104:57: error: array subscript 1 is outside array bounds of ‘const struct sockaddr_storage[0]’ [-Werror=array-bounds] 104 | { return ((uint64_t )IP_AS_V6(address, addr).s6_addr)[0] == ((uint64_t )(&in6addr_any.s6_addr))[0] && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/tcp.h: In function ‘ip_check_is_local_address’: src/tcp.h:107:19: note: at offset 8 into object ‘address’ of size 8 107 | static inline int ip_check_is_any(const struct sockaddr_storage address) | ^~~~~~~~~~~~~~~ In function ‘ip_check_is_any_v6’, inlined from ‘ip_check_is_any’ at src/tcp.h:109:46, inlined from ‘ip_check_is_local_address’ at src/tcp.c:89:17: src/tcp.h:105:57: error: array subscript 2 is outside array bounds of ‘const struct sockaddr_storage[0]’ [-Werror=array-bounds] 105 | ((uint64_t )IP_AS_V6(address, addr).s6_addr)[1] == ((uint64_t )(&in6addr_any.s6_addr))[1]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/tcp.h: In function ‘ip_check_is_local_address’: src/tcp.h:107:19: note: at offset 16 into object ‘address’ of size 8 107 | static inline int ip_check_is_any(const struct sockaddr_storage address) | ^~~~~~~~~~~~~~~ In function ‘ip_check_equal_v6’, inlined from ‘ip_check_equal’ at src/tcp.h:78:42, inlined from ‘ip_check_is_local_address’ at src/tcp.c:96:26: src/tcp.h:71:53: error: array subscript 1 is outside array bounds of ‘const struct sockaddr_storage[0]’ [-Werror=array-bounds] 71 | { return ((uint64_t )IP_AS_V6(a, addr).s6_addr)[0] == ((uint64_t )IP_AS_V6(b, addr).s6_addr)[0] && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/tcp.h: In function ‘ip_check_is_local_address’: src/tcp.h:74:19: note: at offset 8 into object ‘a’ of size 8 74 | static inline int ip_check_equal | ^~~~~~~~~~~~~~ In function ‘ip_check_equal_v6’, inlined from ‘ip_check_equal’ at src/tcp.h:78:42, inlined from ‘ip_check_is_local_address’ at src/tcp.c:96:26: src/tcp.h:71:99: error: array subscript 1 is outside array bounds of ‘const struct sockaddr_storage[0]’ [-Werror=array-bounds] 71 | { return ((uint64_t )IP_AS_V6(a, addr).s6_addr)[0] == ((uint64_t )IP_AS_V6(b, addr).s6_addr)[0] && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/tcp.h: In function ‘ip_check_is_local_address’: src/tcp.h:74:19: note: at offset 8 into object ‘b’ of size 8 74 | static inline int ip_check_equal | ^~~~~~~~~~~~~~ In function ‘ip_check_equal_v6’, inlined from ‘ip_check_equal’ at src/tcp.h:78:42, inlined from ‘ip_check_is_local_address’ at src/tcp.c:96:26: src/tcp.h:72:53: error: array subscript 2 is outside array bounds of ‘const struct sockaddr_storage[0]’ [-Werror=array-bounds] 72 | ((uint64_t )IP_AS_V6(a, addr).s6_addr)[1] == ((uint64_t )IP_AS_V6(b, addr).s6_addr)[1]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/tcp.h: In function ‘ip_check_is_local_address’: src/tcp.h:74:19: note: at offset 16 into object ‘a’ of size 8 74 | static inline int ip_check_equal | ^~~~~~~~~~~~~~ In function ‘ip_check_equal_v6’, inlined from ‘ip_check_equal’ at src/tcp.h:78:42, inlined from ‘ip_check_is_local_address’ at src/tcp.c:96:26: src/tcp.h:72:99: error: array subscript 2 is outside array bounds of ‘const struct sockaddr_storage[0]’ [-Werror=array-bounds] 72 | ((uint64_t )IP_AS_V6(a, addr).s6_addr)[1] == ((uint64_t )IP_AS_V6(b, addr).s6_addr)[1]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/tcp.h: In function ‘ip_check_is_local_address’: src/tcp.h:74:19: note: at offset 16 into object ‘b’ of size 8 74 | static inline int ip_check_equal | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [Makefile:717: /home/gary/tvheadend-git/src/tvheadend-git/build.linux/src/tcp.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting...
Pinned Comments
francoism90 commented on 2021-03-21 14:16 (UTC) (edited on 2021-03-21 14:16 (UTC) by francoism90)
Warning: if you have previously used this package, you need to reinstall! Sorry for introducing breaking changes, but hopefully the introduced changes will provide a better experience for most users. :)
Backup your configs (if needed) before performing the upgrade!
Changes:
/var/lib/tvheadend
instead of/usr/share/tvheadend
tvheadend
(member of groupvideo
) with config files stored in/etc/tvheadend
, it will not use a home directory anymore.sysusers.d
andtmpfiles.d
permissions should be easier to manage.tvheadend.service
now includes-C
by default.If you have any questions or suggestions, please let me know. :)
luciferin commented on 2017-04-06 14:01 (UTC) (edited on 2019-08-14 12:21 (UTC) by luciferin)
I started up a wiki page for Tvheadend. Input and help is welcome.
https://wiki.archlinux.org/index.php/Tvheadend