Project

General

Profile

obsolete - historic 3.4 build to keep older users happy - Debian 9 64bit

Added by Marc Ominus about 7 years ago

Hi all,

I am looking to get version 3.4 installed via the
https://bintray.com/tvheadend/deb

but looking https://dl.bintray.com/tvheadend/deb/dists/stretch/
there is no "obsolete" available :(

Is it possible to make it available on Deb 9 64 bit version?


Replies (14)

RE: obsolete - historic 3.4 build to keep older users happy - Debian 9 64bit - Added by Mark Clarkstone about 7 years ago

Marc Ominus wrote:

Hi all,

I am looking to get version 3.4 installed via the
https://bintray.com/tvheadend/deb

but looking https://dl.bintray.com/tvheadend/deb/dists/stretch/
there is no "obsolete" available :(

Is it possible to make it available on Deb 9 64 bit version?

The bintray info is outdated, and needs to be updated, unfortunately I can't do it.

I'm not even sure 3.4 will build on Debian 9! Do you mind me asking why you'd like to install 3.4? :)

RE: obsolete - historic 3.4 build to keep older users happy - Debian 9 64bit - Added by Marc Ominus about 7 years ago

I find it easy to set up (no so many options),
and I can set (current unstable "4.2.4-3~g789a049cc") specific muxes with "T2" to T2 tuners only, currently I have 3 cards (2xT2 and 1xT):

Bus 001 Device 006: ID 2304:0236 Pinnacle Systems, Inc. PCTV 72e [DiBcom DiB7000PC]
Bus 001 Device 005: ID 2013:024f PCTV Systems nanoStick T2 290e
Bus 001 Device 004: ID 2013:024f PCTV Systems nanoStick T2 290e

To cover for 570.0MHz and 545.8MHz from Crystal Place and with outlook to add 3rd T2 card to cover for 586.0MHz,
so any programs from those 3 muxes can be recorded and watched at any one time ...

At the moment I can not get EPG working on the T2 muxes from Crystal Palace with my 2 x T2 cards running unstable
(as when I installed Debian 9 stable-4.2/binary-amd64/ was not available)
and when I run the 3.4 on Jessie all worked as it should and I can set specific tuners to specific muxes and I have not found
how to do it on current unstable "4.2.4-3~g789a049cc" ....

RE: obsolete - historic 3.4 build to keep older users happy - Debian 9 64bit - Added by Marc Ominus about 7 years ago

Mark Clarkstone wrote:

Marc Ominus wrote:

Hi all,

I am looking to get version 3.4 installed via the
https://bintray.com/tvheadend/deb

but looking https://dl.bintray.com/tvheadend/deb/dists/stretch/
there is no "obsolete" available :(

Is it possible to make it available on Deb 9 64 bit version?

The bintray info is outdated, and needs to be updated, unfortunately I can't do it.

I'm not even sure 3.4 will build on Debian 9! Do you mind me asking why you'd like to install 3.4? :)

Just tried this:

sudo apt-get install openssl libssl-dev libdvbcsa1 libdvbcsa-dev libcurl3 libcurl4-gnutls-dev -y
sudo apt-get install build-essential git pkg-config libssl-dev bzip2 wget -y
sudo apt-get install libavahi-client-dev zlib1g-dev -y

wget https://github.com/tvheadend/tvheadend/archive/3.4patch1.tar.gz
tar xzvf 3.4patch1.tar.gz
cd tvheadend-3.4patch1/
./configure
make

CC build.linux/src/htsmsg.o
/home/0dBi/Install/tvheadend-3.4patch1/src/htsmsg.c: In function ‘htsmsg_print0’:
/home/0dBi/Install/tvheadend-3.4patch1/src/htsmsg.c:577:7: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~
/home/0dBi/Install/tvheadend-3.4patch1/src/htsmsg.c:577:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~~~~
/home/0dBi/Install/tvheadend-3.4patch1/src/htsmsg.c:583:7: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~
/home/0dBi/Install/tvheadend-3.4patch1/src/htsmsg.c:583:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~~~~
cc1: all warnings being treated as errors
Makefile:254: recipe for target 'build.linux/src/htsmsg.o' failed
make: *** [build.linux/src/htsmsg.o] Error 1

So looks like I'm out of luck :(

RE: obsolete - historic 3.4 build to keep older users happy - Debian 9 64bit - Added by Em Smith about 7 years ago

I don't know if that old version supports this, but later versions have "--nowerror" option to configure to stop warnings being treated as errors. That will allow it to continue building past that problem.

If it then fails, try "make -k". It won't build it, but it will determine if there are numerous other errors or if there are only one or two files that fail.

RE: obsolete - historic 3.4 build to keep older users happy - Debian 9 64bit - Added by Marc Ominus about 7 years ago

$ make -k
CC build.linux/src/main.o
CC build.linux/src/utils.o
CC build.linux/src/wrappers.o
head: cannot open '/home/0dBi/Install/tvheadend-3.4patch1/support/../debian/changelog' for reading: No such file or directory
CC build.linux/src/version.o
CC build.linux/src/access.o
CC build.linux/src/dtable.o
CC build.linux/src/tcp.o
CC build.linux/src/http.o
CC build.linux/src/notify.o
CC build.linux/src/file.o
CC build.linux/src/epg.o
CC build.linux/src/epgdb.o
CC build.linux/src/epggrab.o
CC build.linux/src/spawn.o
CC build.linux/src/packet.o
CC build.linux/src/streaming.o
CC build.linux/src/teletext.o
CC build.linux/src/channels.o
CC build.linux/src/subscriptions.o
CC build.linux/src/service.o
CC build.linux/src/psi.o
CC build.linux/src/parsers.o
CC build.linux/src/parser_h264.o
CC build.linux/src/parser_latm.o
CC build.linux/src/tsdemux.o
CC build.linux/src/bitstream.o
CC build.linux/src/htsp_server.o
CC build.linux/src/serviceprobe.o
CC build.linux/src/htsmsg.o
/home/0dBi/Install/tvheadend-3.4patch1/src/htsmsg.c: In function ‘htsmsg_print0’:
/home/0dBi/Install/tvheadend-3.4patch1/src/htsmsg.c:577:7: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~
/home/0dBi/Install/tvheadend-3.4patch1/src/htsmsg.c:577:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~~~~
/home/0dBi/Install/tvheadend-3.4patch1/src/htsmsg.c:583:7: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~
/home/0dBi/Install/tvheadend-3.4patch1/src/htsmsg.c:583:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~~~~
cc1: all warnings being treated as errors
Makefile:254: recipe for target 'build.linux/src/htsmsg.o' failed
make: *** [build.linux/src/htsmsg.o] Error 1
CC build.linux/src/htsmsg_binary.o
CC build.linux/src/htsmsg_json.o
CC build.linux/src/htsmsg_xml.o
CC build.linux/src/misc/dbl.o
CC build.linux/src/misc/json.o
CC build.linux/src/settings.o
CC build.linux/src/htsbuf.o
CC build.linux/src/trap.o
CC build.linux/src/avg.o
CC build.linux/src/htsstr.o
CC build.linux/src/rawtsinput.o
CC build.linux/src/iptv_input.o
CC build.linux/src/avc.o
CC build.linux/src/huffman.o
CC build.linux/src/filebundle.o
CC build.linux/src/config2.o
CC build.linux/src/lang_codes.o
CC build.linux/src/lang_str.o
CC build.linux/src/imagecache.o
CC build.linux/src/tvhtime.o
CC build.linux/src/epggrab/module.o
CC build.linux/src/epggrab/channel.o
CC build.linux/src/epggrab/module/pyepg.o
CC build.linux/src/epggrab/module/xmltv.o
CC build.linux/src/plumbing/tsfix.o
CC build.linux/src/plumbing/globalheaders.o
CC build.linux/src/dvr/dvr_db.o
CC build.linux/src/dvr/dvr_rec.o
CC build.linux/src/dvr/dvr_autorec.o
CC build.linux/src/webui/webui.o
CC build.linux/src/webui/comet.o
CC build.linux/src/webui/extjs.o
CC build.linux/src/webui/simpleui.o
CC build.linux/src/webui/statedump.o
CC build.linux/src/webui/html.o
CC build.linux/src/muxer.o
CC build.linux/src/muxer/muxer_pass.o
CC build.linux/src/muxer/muxer_tvh.o
CC build.linux/src/muxer/tvh/ebml.o
CC build.linux/src/muxer/tvh/mkmux.o
CC build.linux/src/epggrab/otamux.o
CC build.linux/src/epggrab/module/eit.o
/home/0dBi/Install/tvheadend-3.4patch1/src/epggrab/module/eit.c: In function ‘_eit_get_string_with_len’:
/home/0dBi/Install/tvheadend-3.4patch1/src/epggrab/module/eit.c:215:3: error: this ‘else’ clause does not guard... [-Werror=misleading-indentation]
else
^~~~
/home/0dBi/Install/tvheadend-3.4patch1/src/epggrab/module/eit.c:217:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
if (m && m->enabled) cptr = _eit_freesat_conv;
^~
cc1: all warnings being treated as errors
Makefile:254: recipe for target 'build.linux/src/epggrab/module/eit.o' failed
make: *** [build.linux/src/epggrab/module/eit.o] Error 1
CC build.linux/src/epggrab/module/opentv.o
CC build.linux/src/epggrab/support/freesat_huffman.o
CC build.linux/src/timeshift.o
CC build.linux/src/timeshift/timeshift_filemgr.o
CC build.linux/src/timeshift/timeshift_writer.o
CC build.linux/src/timeshift/timeshift_reader.o
CC build.linux/src/dvb/dvb.o
CC build.linux/src/dvb/dvb_support.o
CC build.linux/src/dvb/dvb_charset.o
CC build.linux/src/dvb/dvb_fe.o
CC build.linux/src/dvb/dvb_tables.o
CC build.linux/src/dvb/diseqc.o
CC build.linux/src/dvb/dvb_adapter.o
CC build.linux/src/dvb/dvb_multiplex.o
CC build.linux/src/dvb/dvb_service.o
CC build.linux/src/dvb/dvb_preconf.o
CC build.linux/src/dvb/dvb_satconf.o
CC build.linux/src/dvb/dvb_input_filtered.o
CC build.linux/src/dvb/dvb_input_raw.o
CC build.linux/src/webui/extjs_dvb.o
CC build.linux/src/muxes.o
CC build.linux/src/dvr/dvr_inotify.o
CC build.linux/src/v4l.o
CC build.linux/src/webui/extjs_v4l.o
CC build.linux/src/avahi.o
CC build.linux/src/cwc.o
CC build.linux/src/capmt.o
CC build.linux/src/ffdecsa/ffdecsa_interface.o
CC build.linux/src/ffdecsa/ffdecsa_int.o
CC build.linux/src/ffdecsa/ffdecsa_mmx.o
CC build.linux/src/ffdecsa/ffdecsa_sse2.o
make: Target 'all' not remade because of errors.

So htsmsg and eit complain about something :(

RE: obsolete - historic 3.4 build to keep older users happy - Debian 9 64bit - Added by Marc Ominus about 7 years ago

saen acro wrote:

Marc Hinz Ominus read this
https://tvheadend.org/boards/5/topics/28972

I have not seen anything related to FFmpeg in the error msg.
DO you please mind explaining why do you think that post is relevant to my question?
Thankx

RE: obsolete - historic 3.4 build to keep older users happy - Debian 9 64bit - Added by saen acro about 7 years ago

https://tvheadend.org/boards/4/topics/24116 is link

# ./configure
Checking support/features
  checking for cc execinfo.h ...                    ok
  checking for cc -mmmx ...                         ok
  checking for cc -msse2 ...                        ok
  checking for cc getloadavg ...                    ok
  checking for cc atomic64 ...                      ok
  checking for py module gzip ...                   ok
  checking for bzip2 ...                            ok
  checking for pkg openssl  ...                     ok
  checking for pkg zlib  ...                        ok
  checking for pkg avahi-client  ...                ok
  checking for cc sys/inotify.h ...                 ok
  checking for pkg libcurl  ...                     ok
  fetching dvb-scan files ...                       ok

Compiler:
  Using C compiler:                        cc
  Build for arch:                          x86_64

Binaries:
  Using PYTHON:                            python

Options:
  cwc                                      yes
  v4l                                      yes
  linuxdvb                                 yes
  dvbscan                                  yes
  timeshift                                yes
  imagecache                               yes
  avahi                                    yes
  zlib                                     yes
  libav                                    no
  inotify                                  yes
  bundle                                   no
  dvbcsa                                   no
  execinfo                                 yes
  mmx                                      yes
  sse2                                     yes
  getloadavg                               yes
  atomic64                                 yes
  py_gzip                                  yes
  bin_bzip2                                yes
  ssl                                      yes
  inotify_h                                yes

Packages:
  openssl                                  1.0.2g
  zlib                                     1.2.8
  avahi-client                             0.6.32-rc
  libcurl                                  7.47.0

Installation paths:
  Prefix:                                  /usr/local
  Binaries:                                ${prefix}/bin
  Libraries:                               ${prefix}/lib
  Data files:                              ${prefix}/share
  Man pages:                               ${datadir}/man

Final Binary:
  /opt/vid/tvheadend/build.linux/tvheadend

Tvheadend Data Directory:
  /usr/local/share/tvheadend

# make
CC              build.linux/src/main.o
CC              build.linux/src/utils.o
CC              build.linux/src/wrappers.o
CC              build.linux/src/version.o
CC              build.linux/src/access.o
CC              build.linux/src/dtable.o
CC              build.linux/src/tcp.o
CC              build.linux/src/http.o
CC              build.linux/src/notify.o
CC              build.linux/src/file.o
CC              build.linux/src/epg.o
CC              build.linux/src/epgdb.o
CC              build.linux/src/epggrab.o
CC              build.linux/src/spawn.o
CC              build.linux/src/packet.o
CC              build.linux/src/streaming.o
CC              build.linux/src/teletext.o
CC              build.linux/src/channels.o
CC              build.linux/src/subscriptions.o
CC              build.linux/src/service.o
CC              build.linux/src/psi.o
CC              build.linux/src/parsers.o
CC              build.linux/src/parser_h264.o
CC              build.linux/src/parser_latm.o
CC              build.linux/src/tsdemux.o
CC              build.linux/src/bitstream.o
CC              build.linux/src/htsp_server.o
CC              build.linux/src/serviceprobe.o
CC              build.linux/src/htsmsg.o
CC              build.linux/src/htsmsg_binary.o
CC              build.linux/src/htsmsg_json.o
CC              build.linux/src/htsmsg_xml.o
CC              build.linux/src/misc/dbl.o
CC              build.linux/src/misc/json.o
CC              build.linux/src/settings.o
CC              build.linux/src/htsbuf.o
CC              build.linux/src/trap.o
CC              build.linux/src/avg.o
CC              build.linux/src/htsstr.o
CC              build.linux/src/rawtsinput.o
CC              build.linux/src/iptv_input.o
CC              build.linux/src/avc.o
CC              build.linux/src/huffman.o
CC              build.linux/src/filebundle.o
CC              build.linux/src/config2.o
CC              build.linux/src/lang_codes.o
CC              build.linux/src/lang_str.o
CC              build.linux/src/imagecache.o
CC              build.linux/src/tvhtime.o
CC              build.linux/src/epggrab/module.o
CC              build.linux/src/epggrab/channel.o
CC              build.linux/src/epggrab/module/pyepg.o
CC              build.linux/src/epggrab/module/xmltv.o
CC              build.linux/src/plumbing/tsfix.o
CC              build.linux/src/plumbing/globalheaders.o
CC              build.linux/src/dvr/dvr_db.o
CC              build.linux/src/dvr/dvr_rec.o
CC              build.linux/src/dvr/dvr_autorec.o
CC              build.linux/src/webui/webui.o
CC              build.linux/src/webui/comet.o
CC              build.linux/src/webui/extjs.o
CC              build.linux/src/webui/simpleui.o
CC              build.linux/src/webui/statedump.o
CC              build.linux/src/webui/html.o
CC              build.linux/src/muxer.o
CC              build.linux/src/muxer/muxer_pass.o
CC              build.linux/src/muxer/muxer_tvh.o
CC              build.linux/src/muxer/tvh/ebml.o
CC              build.linux/src/muxer/tvh/mkmux.o
CC              build.linux/src/epggrab/otamux.o
CC              build.linux/src/epggrab/module/eit.o
CC              build.linux/src/epggrab/module/opentv.o
CC              build.linux/src/epggrab/support/freesat_huffman.o
CC              build.linux/src/timeshift.o
CC              build.linux/src/timeshift/timeshift_filemgr.o
CC              build.linux/src/timeshift/timeshift_writer.o
CC              build.linux/src/timeshift/timeshift_reader.o
CC              build.linux/src/dvb/dvb.o
CC              build.linux/src/dvb/dvb_support.o
CC              build.linux/src/dvb/dvb_charset.o
CC              build.linux/src/dvb/dvb_fe.o
CC              build.linux/src/dvb/dvb_tables.o
CC              build.linux/src/dvb/diseqc.o
CC              build.linux/src/dvb/dvb_adapter.o
CC              build.linux/src/dvb/dvb_multiplex.o
CC              build.linux/src/dvb/dvb_service.o
CC              build.linux/src/dvb/dvb_preconf.o
CC              build.linux/src/dvb/dvb_satconf.o
CC              build.linux/src/dvb/dvb_input_filtered.o
CC              build.linux/src/dvb/dvb_input_raw.o
CC              build.linux/src/webui/extjs_dvb.o
CC              build.linux/src/muxes.o
CC              build.linux/src/dvr/dvr_inotify.o
CC              build.linux/src/v4l.o
CC              build.linux/src/webui/extjs_v4l.o
CC              build.linux/src/avahi.o
CC              build.linux/src/cwc.o
CC              build.linux/src/capmt.o
CC              build.linux/src/ffdecsa/ffdecsa_interface.o
CC              build.linux/src/ffdecsa/ffdecsa_int.o
CC              build.linux/src/ffdecsa/ffdecsa_mmx.o
CC              build.linux/src/ffdecsa/ffdecsa_sse2.o
CC              build.linux/tvheadend

RE: obsolete - historic 3.4 build to keep older users happy - Debian 9 64bit - Added by Em Smith about 7 years ago

If those two are the only errors then it's not too bad since they are just warnings that have been fixed in newer versions. However, it means it is not picking up the "--nowerror" option since you still have "all warnings being treated as errors" logged.

Did you run the "./configure --nowerror"? If so then perhaps it does not work properly so you can edit Makefile, search for "-Werror" and just remove the whole line. I expect the line would be:

ifneq ($(CFLAGS_NO_WERROR),yes)                                                                                                                                                                 
CFLAGS  += -Werror                                                                                                                                                                              
endif

and you'd change it to:
ifneq ($(CFLAGS_NO_WERROR),yes)                                                                                                                                                                 
endif     

Or remove all three lines completely.

If you mess up, don't worry, just run "git checkout Makefile" and it will revert it.

You mention that you're running this old version because the new version is difficult to configure. There is a "tvh2kodi" addon for kodi. It provides a simple menu inside kodi for configuring tvheadend. So you just go to menu item 1, then menu item 2, etc to do each step. The very last menu option is "wizard" which is for starting from scratch.

I couldn't quite understand what you wanted to achieve with your configuration. I think what you want is to go to network, add DVB-T, call it freeview. Then add another network, call it DVB-T2 and call it freeview-hd.

Then you can assign your tuners (on adapters menu) to be DVB-T or DVB-T2 network. For your T2 tuners you can assign them to both freeview and freeview-hd since they can tune both networks.

Then go to advanced on adapter and raise priority for your dvb-t adapter (not your dvb-t2). That means tvheadend will prefer to use your dvb-t tuner (that can't tune HD channels) instead of your T2 tuner.

If you really want dvb-t2 to only be for the hd muxers (I wouldn't advise it) then you can go to muxes after a scan and untick the boxes for the individual muxes on dvb-t2.

RE: obsolete - historic 3.4 build to keep older users happy - Debian 9 64bit - Added by Marc Ominus about 7 years ago

I feel like Alice in Wonderland .... still not working ..

sudo apt install build-essential git libpcre2-dev pkg-config libssl-dev bzip2 wget libavahi-client-dev zlib1g-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev libavresample-dev gettext cmake libiconv-hook-dev liburiparser-dev debhelper libcurl4-gnutls-dev -y
sudo apt install dvb-apps libva-dev libva-drm1 libva-x11-1 -y
sudo apt install curl -y

git clone -b release/3.4 https://github.com/tvheadend/tvheadend.git
cd tvheadend

@
$ ./configure --nowerror
Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... ok
checking for cc -msse2 ... ok
checking for cc getloadavg ... ok
checking for cc atomic64 ... ok
checking for py module gzip ... ok
checking for bzip2 ... ok
checking for pkg openssl ... ok
checking for pkg zlib ... ok
checking for pkg avahi-client ... ok
checking for cc sys/inotify.h ... ok
checking for pkg libcurl ... ok
fetching dvb-scan files ... ok

Compiler:
Using C compiler: cc
Build for arch: x86_64

Binaries:
Using PYTHON: python

Options:
cwc yes
v4l yes
linuxdvb yes
dvbscan yes
timeshift yes
imagecache yes
avahi yes
zlib yes
libav no
inotify yes
bundle no
dvbcsa no
execinfo yes
mmx yes
sse2 yes
getloadavg yes
atomic64 yes
py_gzip yes
bin_bzip2 yes
ssl yes
inotify_h yes

Packages:
openssl 1.1.0f
zlib 1.2.8
avahi-client 0.6.32
libcurl 7.52.1

Installation paths:
Prefix: /usr/local
Binaries: ${prefix}/bin
Libraries: ${prefix}/lib
Data files: ${prefix}/share
Man pages: ${datadir}/man

Final Binary:
/home/0dBi/git/tvheadend/build.linux/tvheadend

Tvheadend Data Directory:
/usr/local/share/tvheadend@

~/git/tvheadend$ make -k
CC build.linux/src/main.o
CC build.linux/src/utils.o
CC build.linux/src/wrappers.o
CC build.linux/src/access.o
CC build.linux/src/dtable.o
CC build.linux/src/tcp.o
CC build.linux/src/http.o
CC build.linux/src/notify.o
CC build.linux/src/epg.o
CC build.linux/src/epgdb.o
CC build.linux/src/epggrab.o
CC build.linux/src/spawn.o
CC build.linux/src/packet.o
CC build.linux/src/streaming.o
CC build.linux/src/teletext.o
CC build.linux/src/channels.o
CC build.linux/src/subscriptions.o
CC build.linux/src/service.o
CC build.linux/src/psi.o
CC build.linux/src/parsers.o
CC build.linux/src/parser_h264.o
CC build.linux/src/parser_latm.o
CC build.linux/src/tsdemux.o
CC build.linux/src/htsp_server.o
CC build.linux/src/serviceprobe.o
CC build.linux/src/htsmsg.o
/home/0dBi/git/tvheadend/src/htsmsg.c: In function ‘htsmsg_print0’:
/home/0dBi/git/tvheadend/src/htsmsg.c:577:7: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~
/home/0dBi/git/tvheadend/src/htsmsg.c:577:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~~~~
/home/0dBi/git/tvheadend/src/htsmsg.c:583:7: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~
/home/0dBi/git/tvheadend/src/htsmsg.c:583:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
for(i = 0; i < indent; i++) printf("\t"); printf("}\n");
^~~~~~
cc1: all warnings being treated as errors
Makefile:254: recipe for target 'build.linux/src/htsmsg.o' failed
make: *** [build.linux/src/htsmsg.o] Error 1
CC build.linux/src/htsmsg_binary.o
CC build.linux/src/htsmsg_json.o
CC build.linux/src/htsmsg_xml.o
CC build.linux/src/misc/dbl.o
CC build.linux/src/misc/json.o
CC build.linux/src/settings.o
CC build.linux/src/htsbuf.o
CC build.linux/src/trap.o
CC build.linux/src/avg.o
CC build.linux/src/htsstr.o
CC build.linux/src/rawtsinput.o
CC build.linux/src/iptv_input.o
CC build.linux/src/avc.o
CC build.linux/src/huffman.o
CC build.linux/src/filebundle.o
CC build.linux/src/config2.o
CC build.linux/src/lang_codes.o
CC build.linux/src/lang_str.o
CC build.linux/src/imagecache.o
CC build.linux/src/tvhtime.o
CC build.linux/src/epggrab/module.o
CC build.linux/src/epggrab/channel.o
CC build.linux/src/epggrab/module/pyepg.o
CC build.linux/src/epggrab/module/xmltv.o
CC build.linux/src/plumbing/tsfix.o
CC build.linux/src/plumbing/globalheaders.o
CC build.linux/src/dvr/dvr_db.o
CC build.linux/src/dvr/dvr_rec.o
CC build.linux/src/dvr/dvr_autorec.o
CC build.linux/src/webui/webui.o
CC build.linux/src/webui/comet.o
CC build.linux/src/webui/extjs.o
CC build.linux/src/webui/simpleui.o
CC build.linux/src/webui/statedump.o
CC build.linux/src/webui/html.o
CC build.linux/src/muxer.o
CC build.linux/src/muxer/muxer_pass.o
CC build.linux/src/muxer/muxer_tvh.o
CC build.linux/src/muxer/tvh/ebml.o
CC build.linux/src/muxer/tvh/mkmux.o
CC build.linux/src/epggrab/otamux.o
CC build.linux/src/epggrab/module/eit.o
/home/0dBi/git/tvheadend/src/epggrab/module/eit.c: In function ‘_eit_get_string_with_len’:
/home/0dBi/git/tvheadend/src/epggrab/module/eit.c:215:3: error: this ‘else’ clause does not guard... [-Werror=misleading-indentation]
else
^~~~
/home/0dBi/git/tvheadend/src/epggrab/module/eit.c:217:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
if (m && m->enabled) cptr = _eit_freesat_conv;
^~
cc1: all warnings being treated as errors
Makefile:254: recipe for target 'build.linux/src/epggrab/module/eit.o' failed
make: *** [build.linux/src/epggrab/module/eit.o] Error 1
CC build.linux/src/epggrab/module/opentv.o
CC build.linux/src/epggrab/support/freesat_huffman.o
CC build.linux/src/timeshift.o
CC build.linux/src/timeshift/timeshift_filemgr.o
CC build.linux/src/timeshift/timeshift_writer.o
CC build.linux/src/timeshift/timeshift_reader.o
CC build.linux/src/dvb/dvb.o
CC build.linux/src/dvb/dvb_support.o
CC build.linux/src/dvb/dvb_charset.o
CC build.linux/src/dvb/dvb_fe.o
CC build.linux/src/dvb/dvb_tables.o
CC build.linux/src/dvb/diseqc.o
CC build.linux/src/dvb/dvb_adapter.o
CC build.linux/src/dvb/dvb_multiplex.o
CC build.linux/src/dvb/dvb_service.o
CC build.linux/src/dvb/dvb_preconf.o
CC build.linux/src/dvb/dvb_satconf.o
CC build.linux/src/dvb/dvb_input_filtered.o
CC build.linux/src/dvb/dvb_input_raw.o
CC build.linux/src/webui/extjs_dvb.o
CC build.linux/src/muxes.o
CC build.linux/src/dvr/dvr_inotify.o
CC build.linux/src/v4l.o
CC build.linux/src/webui/extjs_v4l.o
CC build.linux/src/avahi.o
CC build.linux/src/cwc.o
CC build.linux/src/capmt.o
CC build.linux/src/ffdecsa/ffdecsa_interface.o
CC build.linux/src/ffdecsa/ffdecsa_int.o
CC build.linux/src/ffdecsa/ffdecsa_mmx.o
CC build.linux/src/ffdecsa/ffdecsa_sse2.o
make: Target 'all' not remade because of errors.

so let's try something else:

nano Makefile

CTRL+W: -Werror

CFLAGS += -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations
[THIS IS THE ONLY OCCURRENCE]

So I have removed the "-Werror" and Bingo it worked :) THANK YOU.
CFLAGS += -Wall -Wwrite-strings -Wno-deprecated-declarations

Back to building *.deb packages as this would install hopefully all the auto start scripts,
so when restarted this headless PC, I would not have to run "nohup ~/Install/tvheadend-3.4/build.linux/tvheadend -C --http_port 9981 &"

@cd ~git/tvheadend/
nano Makefile
CFLAGS += -Wall -Wwrite-strings -Wno-deprecated-declarations

$ ./Autobuild.sh
target (-t) not specified
@

so I tried viewing the script:

@$ cat Autobuild.sh
#!/bin/bash #
  1. Entry point for the Doozer autobuild system #
  2. (c) Andreas Öman 2011. All rights reserved. # #

set -eu

BUILD_API_VERSION=3
EXTRA_BUILD_NAME=""
JARGS=""
JOBSARGS=""
TARGET=""
RELEASE="--release"
WORKINGDIR="/var/tmp/showtime-autobuild"
OP="build"
while getopts "vht:e:j:w:o:c:" OPTION
do
case $OPTION in
v)
echo $BUILD_API_VERSION
exit 0
;;
h)
echo "This script is intended to be used by the autobuild system only"
exit 0
;;
t)
TARGET="$OPTARG"
;;
e)
EXTRA_BUILD_NAME="$OPTARG"
;;
j)
JOBSARGS="--jobs=$OPTARG"
JARGS="-j$OPTARG"
;;
w)
WORKINGDIR="$OPTARG"
;;
o)
OP="$OPTARG"
;;
esac
done

if -z $TARGET ; then
echo "target (-t) not specified"
exit 1
fi

#
  1. $1 = local file path
  2. $2 = type
  3. $3 = content-type
  4. $4 = filename #
    artifact() {
    echo "doozer-artifact:$PWD/$1:$2:$3:$4"
    }

versioned_artifact() {
echo "doozer-versioned-artifact:$PWD/$1:$2:$3:$4"
}

if [ -f Autobuild/${TARGET}.sh ]; then
source Autobuild/${TARGET}.sh
else
echo "target $TARGET not supported"
exit 1
fi@

but noting obvious over here ..

RE: obsolete - historic 3.4 build to keep older users happy - Debian 9 64bit - Added by Em Smith about 7 years ago

OK, so nearly there.

What you need is to run the autobuild with:

./Autobuild.sh -t precise-amd64 

(Or presumably one of the other names of the files in the Autobuild directory).

You use "precise" even though your distribution might not be "precise".

You can add "-j 4" if you want to run with four concurrent jobs for faster compile.

RE: obsolete - historic 3.4 build to keep older users happy - Debian 9 64bit - Added by Mark Clarkstone about 7 years ago

Marc, you're more than likely missing EPG because the "freeview" Grabber isn't enabled. I have the same stick (290e) and using unstable I get UK OTA EPG on T2 just fine.

I really wouldn't recommend using 3.4 as it's old and unsupported, not to mention it's missing some nice features!

Em Smith wrote:

.. snip ..

You mention that you're running this old version because the new version is difficult to configure. There is a "tvh2kodi" addon for kodi. It provides a simple menu inside kodi for configuring tvheadend. So you just go to menu item 1, then menu item 2, etc to do each step. The very last menu option is "wizard" which is for starting from scratch.

I couldn't quite understand what you wanted to achieve with your configuration. I think what you want is to go to network, add DVB-T, call it freeview. Then add another network, call it DVB-T2 and call it freeview-hd.

Then you can assign your tuners (on adapters menu) to be DVB-T or DVB-T2 network. For your T2 tuners you can assign them to both freeview and freeview-hd since they can tune both networks.

Then go to advanced on adapter and raise priority for your dvb-t adapter (not your dvb-t2). That means tvheadend will prefer to use your dvb-t tuner (that can't tune HD channels) instead of your T2 tuner.

If you really want dvb-t2 to only be for the hd muxers (I wouldn't advise it) then you can go to muxes after a scan and untick the boxes for the individual muxes on dvb-t2.

This is what I would've done too.

Additionally, Em, thanks for your contributions to TVH, I'm really liking what you're adding. I'm especially looking forward to #4506 (PR 1020).

I know I keep saying this, but it's really nice to see others working on Tvheadend, I wish I could contribute more but unfortunately due to physical (and mental) issues I can only do so much at a time. If you ever want someone to test what you're working on let me know!

RE: obsolete - historic 3.4 build to keep older users happy - Debian 9 64bit - Added by saen acro about 7 years ago

Em Smith wrote:

You can add "-j 4" if you want to run with four concurrent jobs for faster compile.

I prefer to add "-j$(nproc)"

RE: obsolete - historic 3.4 build to keep older users happy - Debian 9 64bit - Added by Em Smith about 7 years ago

The reason I'd allow the T2 to tune T is simply because most of the time they won't be used for SD (lower priority), so will be available for HD. But if they are needed then it's "better" to have them available rather than missing a programme. Chances are that if they are all being used then the mux will also have the SD version of the HD channel (or +1). Also makes rescan and ota grab faster since it can use the T2 tuners to scan T. Of course, depends on how frequent you record HD muxes.

An alternative is to just not bother splitting T and T2 to separate networks and just rely on tvheadend's failover when it tries to tune T2 on a T tuner, but that's probably a bad approach.

Thanks for encouragement.

    (1-14/14)