Summary: | media-tv/tvheadend-4.0.9 : src/htsmsg.c:763:7: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation] [-Werror] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Sam Jorna (wraeth) <wraeth> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chewi, xaviermiller |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | ~arch only | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 586448 | ||
Bug Blocks: | |||
Attachments: |
emerge-history.txt
environment media-tv:tvheadend-4.0.9:20160924-104334.log |
Description
Toralf Förster
2016-09-24 15:03:23 UTC
Created attachment 447760 [details]
emerge-history.txt
Created attachment 447762 [details]
environment
Created attachment 447764 [details]
media-tv:tvheadend-4.0.9:20160924-104334.log
The corresponding upstream issue (with patches) is at: https://tvheadend.org/issues/3788 The more important issue is however that the upstream build system does not honor the "--nowerror" we pass to the configure script. The following might be a fix for that. (I didn't test anything.) --- a/support/configure.inc +++ b/support/configure.inc @@ -498,7 +498,7 @@ EOF # no -Werror - if test -n "${NOWERROR}"; then + if test -n "${nowerror}"; then echo "CFLAGS_NO_WERROR = yes" >> "${CONFIG_MK}" fi I see a new version is in progress in bug 586448, then, maybe this could be reviewed in that newer version to ensure it is finally fixed there -Werror ^ this needs to go away I just stumbled over this issue and checked the current version tvheadend-4.2 source code. The file src/htsmsg.c where this occures in 4.0.9 is fixed there. So a version bump to 4.2 should solve this issue, too (I did not check 4.1 so far). I'm very very close to committing 4.2 so please sit tight. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f38b9c5a0536d3b1effe0af621e28b1dfe11da4 commit 3f38b9c5a0536d3b1effe0af621e28b1dfe11da4 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2017-12-04 22:28:48 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2017-12-04 22:28:48 +0000 media-tv/tvheadend: Drop old 4.0.9 Closes: https://bugs.gentoo.org/595032 Closes: https://bugs.gentoo.org/596930 Closes: https://bugs.gentoo.org/633966 Package-Manager: Portage-2.3.16, Repoman-2.3.6 media-tv/tvheadend/Manifest | 2 - .../files/tvheadend-4.0.9-hdhomerun-include.patch | 27 ----- media-tv/tvheadend/metadata.xml | 1 - media-tv/tvheadend/tvheadend-4.0.9.ebuild | 117 --------------------- 4 files changed, 147 deletions(-) |