Project

General

Profile

Newbie problems.... packaging/autostarting (I've got everything else)

Added by Wim K almost 9 years ago

I'm new to Linux, used nextpvr and mediaportal with oscam on windows before.

I have a PI2, installed Raspbian. To get tvheadend going (purposely not saying "installed" because maybe that's not the correct word for what I did?) I did this:

1. Building Prerequisites:
sudo aptitude install build-essential git pkg-config libssl-dev bzip2 wget
sudo apt-get install git build-essential \
libavcodec-dev libavformat-dev libssl-dev \
libavutil-dev libavahi-client-dev libcurl3 \
w-scan
2. Get Source: $ git clone https://github.com/tvheadend/tvheadend.git
3. Configuring script in tvheadend: $ ./configure
4. Compiling: $ make
5. Installed drivers for hdhomerun (2-tuner)
6. Installing: "It's recommend that you run from the build directory for development/testing
(see Development)": $ ./build.linux/tvheadend

That didn't work so I did:
cd /home/pi/tvheadend
./build.linux/tvheadend --noacl
Now tvheadend starts and I can connect from windows
With the wizard I made accounts. I configured everything including oscam, everything works perfectly.
Also in Kodi (front-end androidbox).

Now for my PROBLEM:

Obviously, when I exit putty, tvheadend stops. When I do "./build.linux/tvheadend" again, tvheadend starts with same configuration.
But now I want to autostart tvheadend. I read so many threads, I'm lost here.

Do I have to make a package first? I tried that (./autobuild.sh), got an error: "unmet build depencencies: libcurl14-gnutls-dev liburiparser-dev" and "warning: build dependencies/conflicts unsatisfied; aborting".
Read somewhere that I should do "sudo apt-get install" and than try to build again. I did, same result.

That packaging, what does it do? Does it make 1 file out of the whole program? What happens when I make a change in the configuration? Do I have to make a new package? (not a big deal, just need to know then).

And how do I autostart tvheadend? I read several scripts, but don't know which one to use (since I'm new in linux).

Any help greatly appreciated,

Wim


Replies (28)

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Mark Clarkstone almost 9 years ago

Quick & Easy guide to building Tvheadend on a RPi2 (This also works on any other deb system!).

sudo apt-get install git build-essential debhelper pkg-config fakeroot
git clone https://github.com/tvheadend/tvheadend.git build/tvheadend/master
cd build/tvheadend/master
./Autobuild.sh
What each lines does.
  • 1 Installs a few dependencies (you'll need to install some more later on).
  • 2 Clones the Tvheadend master branch from github & places it in build/tvheadend/master.
  • 3 Changes directory to the above path.
  • 4 Runs the Autobuild script that will build a debian package so that you can install it in a nice and neat way.

AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static ./Autobuild.sh if you want transcoding.

You'll want to run this line to enable the hdhr client, I believe you won't need any external driver but you may run into issues if you've already got one installed so remove that first).

AUTOBUILD_CONFIGURE_EXTRA=--enable-hdhomerun_client ./Autobuild.sh

Other info.
The Autobuild.sh script will complain about other missing dependencies you need to install those, e.g.

sudo apt-get install libcurl14-gnutls-dev liburiparser-dev

Run the script again.

Once the build has completed you'll find the built debian package (E.g tvheadend_4.1-368~geeda7d7_armhf.deb) in build/tvheadend.

You can then install it (and the debug package) using.

cd build/tvheadend
sudo dpkg -i tvheadend*.deb

--------------

That packaging, what does it do? Does it make 1 file out of the whole program? What happens when I make a change in the configuration? Do I have to make a new package? (not a big deal, just need to know then).

The package that gets built basically installs Tvheadend neatly on the system (including an auto start script) and allows for easy removal (via apt-get remove tvheadend).

Any changes to the configuration made via the webui won't affect the package in any way. The only time you'll need to rebuild is if you make changes to the source code or change ./configure options..

HTH..

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Wim K almost 9 years ago

Hi Mark,

Many thanks for the quick response. Obviously I read the post you're citing from.

Questions:
1. You crossed this line: "AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static ./Autobuild.sh if you want transcoding".

When do I need transcoding? I want to use tvhclient or tvhguide, do I need it then? If so, how do I combine the above line with "AUTOBUILD_CONFIGURE_EXTRA=--enable-hdhomerun_client"?

2. I installed the hdhr3-eu drivers like this:
https://tvheadend.org/boards/4/topics/14822?r=19757#message-19757
how do I uninstall them?

3. How do I update? Do I have to make a new build from newer source code on the website?
4. What does .configure do different than changes to the configuration made via the webui?

Many thanks,

Wim

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Mark Clarkstone almost 9 years ago

Wim Kleeven wrote:

Hi Mark,

Many thanks for the quick response. Obviously I read the post you're citing from.

Questions:
1. You crossed this line: "AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static ./Autobuild.sh if you want transcoding".

When do I need transcoding? I want to use tvhclient or tvhguide, do I need it then? If so, how do I combine the above line with "AUTOBUILD_CONFIGURE_EXTRA=--enable-hdhomerun_client"?

I crossed it out because the Pi isn't fast enough to do even the most basic of transcodes (without hardware transcode support, which isn't supported). If you're using clients that do require transcoding you'll have to use a much more powerful system.

2. I installed the hdhr3-eu drivers like this:
https://tvheadend.org/boards/4/topics/14822?r=19757#message-19757
how do I uninstall them?

If you're luckly the build script has an uninstall method, cd into the directory (where ./configure is) and run make uninstall (you may need to run with sudo).

3. How do I update? Do I have to make a new build from newer source code on the website?

cd build/tvheadend/master
git pull
AUTOBUILD_CONFIGURE_EXTRA=--enable-hdhomerun_client ./Autobuild.sh

4. What does .configure do different than changes to the configuration made via the webui?

./configure and the configuration which tvheadend uses are two different things. See https://en.wikipedia.org/wiki/Configure_script.

Many thanks,

Wim

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Wim K almost 9 years ago

Hi Mark,

Unfortunately, I found no uninstall. BUT, I didn't even find the configure directory. I did find the downloaded and extracted files so maybe I made a note of it but didn't install it already.
So I just went ahead and ran the autobuild script, installed the missing dependencies, ran the autobuild script again. Got this output:

dpkg-buildpackage: source package tvheadend
dpkg-buildpackage: source version 4.1-1434~g4fdd552
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Andreas Öman <>
dpkg-buildpackage: host architecture armhf
dh clean
dh_testdir
dh_clean
rm f debian/tvheadend.substvars
rm -f debian/tvheadend.*.debhelper
rm -rf debian/tvheadend/
rm -f debian/tvheadend-dbg.substvars
rm -f debian/tvheadend-dbg.*.debhelper
rm -rf debian/tvheadend-dbg/
rm -f debian/*.debhelper.log
rm -f debian/files
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
dh build
dh_testdir
debian/rules override_dh_auto_configure
make1: Entering directory '/home/pi/tvheadend'
dh_auto_configure -
--enable-hdhom[B[Berun_client
./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=\${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking --enable-hdhom\[B\[Berun_client
Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... fail
checking for cc -msse2 ... fail
checking for cc -Wunused-result ... ok
checking for cc getloadavg ... ok
checking for cc atomic64 ... ok
checking for cc atomic_time_t ... ok
checking for cc lockowner ... ok
checking for cc qsort_r ... ok
checking for cc stime ... ok
checking for cc gmtoff ... ok
checking for cc recvmmsg ... ok
checking for cc sendmmsg ... ok
checking for cc libiconv ... fail
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 1.0.1k)
checking for cc linux/dvb/version.h ... ok
checking for pkg zlib ... ok (detected 1.2.8)
checking for pkg liburiparser ... ok (detected 0.8.0.1)
checking for pkg avahi-client ... ok (detected 0.6.31)
checking for pkg vdpau ... fail (detected <none>)
checking for cc nvEncodeAPI.h ... fail
checking for cc sys/inotify.h ... ok
fetching dvb-scan files ... fail
debian/rules:8: recipe for target 'override_dh_auto_configure' failed
make1: Leaving directory '/home/pi/tvheadend'
debian/rules:5: recipe for target 'build' failed
dpkg-buildpackage: error: debia/rules build gave error exit status 2

Is this normal behaviour or do I have to do something about this (and if to, what)?

Wim

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Wim K almost 9 years ago

Okay, for "libdvben50221 ... fail", I found I had to do this:
sudo apt-get install dvb-apps

Now checking which other things I have to get. Can you help please?

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Mark Clarkstone almost 9 years ago

Wim Kleeven wrote:

Okay, for "libdvben50221 ... fail", I found I had to do this:
sudo apt-get install dvb-apps

Now checking which other things I have to get. Can you help please?

Some of those options will fail and it's nothing to worry about your build is failing at

debian/rules:8: recipe for target 'override_dh_auto_configure' failed
make1: Leaving directory '/home/pi/tvheadend'
debian/rules:5: recipe for target 'build' failed
dpkg-buildpackage: error: debia/rules build gave error exit status 2

Do you have build-essential installed?

I will build on my Pi and report back.

Btw, what version of Raspbian are you using, Jessie, wheezy?

Edit:

Ok try building with..

AUTOBUILD_CONFIGURE_EXTRA=--enable-hdhomerun_client\ --disable-libffmpeg_static\ --disable-libav ./Autobuild.sh

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Wim K almost 9 years ago

Hi Mark,

Thanks for helping!
I'm at work at the moment so I can't check whether I have build-essential installed. What's the command for that? Something like apg-get build-essential? I'll report it later today.

I'm using Jessie.

Wim

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Mark Clarkstone almost 9 years ago

Wim Kleeven wrote:

Hi Mark,

Thanks for helping!
I'm at work at the moment so I can't check whether I have build-essential installed. What's the command for that? Something like apg-get build-essential? I'll report it later today.

I'm using Jessie.

Wim

Use apt-get install build-essential, it'll tell you if it's installed or not. I'm building now on my spare Pi and will upload the deb here for you to try once it's built.

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Wim K almost 9 years ago

Hi Mark,

From post #1:
sudo apt-get install git build-essential \

I'm using Jessie.

Wim

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Mark Clarkstone almost 9 years ago

Wim Kleeven wrote:

Hi Mark,

From post #1:
sudo apt-get install git build-essential \

I'm using Jessie.

Wim

Sorry I should have remembered that, you're more than welcome to try the builds I attached to my last post.

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Wim K almost 9 years ago

Mark,

I'm at home now and tried "sudo apt-get install build-essential": "build-essential is already the newest version".

I don't want to bother you everytime I want to make a new build.
So I'm trying to imagine why I can't build and you can. Your spare pi, is it a pi2 (like mine)?
And is it running Jessie too?
What else can be different?

I have to do shopping right now, so I will test your builds tonight.
But before I do, does it interfere with my building possibilities? At the moment the building failed, will it still fail after installing your build? I hope so, because I then still have the chance to figure out what is wrong at the moment.

And why the 2 files? Are these 2 different builds to try?

Greetings,

Wim
Ps
I just noticed a difference. You wrote:
git clone https://github.com/tvheadend/tvheadend.git build/tvheadend/master
cd build/tvheadend/master

And I did:
git clone https://github.com/tvheadend/tvheadend.git
I have a directory tvheadend in /home/pi
So I started ./Autobuild.sh from /home/pi/tvheadend. Could that be the problem?

And, I did ./configure, not for example ./configure --disable-dvbscan or something else.
Might that be a problem?

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Mark Clarkstone almost 9 years ago

Wim Kleeven wrote:

Mark,

I'm at home now and tried "sudo apt-get install build-essential": "build-essential is already the newest version".

I don't want to bother you everytime I want to make a new build.
So I'm trying to imagine why I can't build and you can. Your spare pi, is it a pi2 (like mine)?

It's a Pi1 but I've built on a Pi2 using the same method and it's fine.

And is it running Jessie too?

Yes.

What else can be different?

The only thing that I can think of is that I'm running a minimal install, installed by raspbian-ua-netinst. But I doubt that'll make a difference..

This is a recent install, the only things on it are what I used to build tvheadend, a list of installed packages are here: http://sprunge.us/CPAe

You can run

dpkg --get-selections | grep -v deinstall
to compare if you like..

I have to do shopping right now, so I will test your builds tonight.
But before I do, does it interfere with my building possibilities? At the moment the building failed, will it still fail after installing your build? I hope so, because I then still have the chance to figure out what is wrong at the moment.

Installing those packages won't affect your builds at all.

And why the 2 files? Are these 2 different builds to try?

dbg = debug version.

Greetings,

Wim
Ps
I just noticed a difference. You wrote:
git clone https://github.com/tvheadend/tvheadend.git build/tvheadend/master
cd build/tvheadend/master

And I did:
git clone https://github.com/tvheadend/tvheadend.git
I have a directory tvheadend in /home/pi
So I started ./Autobuild.sh from /home/pi/tvheadend. Could that be the problem?

As long as you're in that directory then no it won't make any difference (at least it shouldn't).

And, I did ./configure, not for example ./configure --disable-dvbscan or something else.
Might that be a problem?

If you're worried about files not being clean you can always run make distclean and make clean to be sure.

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Wim K almost 9 years ago

Hi Mark,

The output of dpkg --get-selections | grep -v deinstall is (for you to compare):

acl install
adduser install
adwaita-icon-theme install
alacarte install
alsa-base install
alsa-utils install
apt install
apt-utils install
aptitude install
aptitude-common install
aspell install
aspell-en install
attr install
autoconf install
automake install
autopoint install
autotools-dev install
avahi-daemon install
base-files install
base-passwd install
bash install
bash-completion install
bind9-host install
binutils install
bison install
blt install
bluej install
bsdmainutils install
bsdutils install
build-essential install
bzip2 install
ca-certificates install
cifs-utils install
claws-mail install
claws-mail-i18n install
cmake install
cmake-data install
coinor-libcbc3 install
coinor-libcgl1 install
coinor-libclp1 install
coinor-libcoinmp1:armhf install
coinor-libcoinutils3 install
coinor-libosi1 install
console-setup install
console-setup-linux install
coreutils install
cpio install
cpp install
cpp-4.9 install
crda install
cron install
cryptsetup-bin install
cups-bsd install
cups-client install
cups-common install
curl install
cvs install
dash install
dbus install
dbus-x11 install
dc install
dconf-gsettings-backend:armhf install
dconf-service install
debconf install
debconf-i18n install
debconf-utils install
debhelper install
debian-reference-common install
debian-reference-en install
debianutils install
desktop-base install
desktop-file-utils install
dh-python install
dhcpcd5 install
dialog install
dictionaries-common install
diffutils install
dillo install
dmidecode install
dmsetup install
dosfstools install
dphys-swapfile install
dpkg install
dpkg-dev install
dtv-scan-tables install
dvb-apps install
e2fslibs:armhf install
e2fsprogs install
ed install
eject install
emacsen-common install
epiphany-browser install
epiphany-browser-data install
esound-common install
fake-hwclock install
fakeroot install
fbset install
file install
findutils install
firmware-atheros install
firmware-brcm80211 install
firmware-libertas install
firmware-ralink install
firmware-realtek install
flex install
fontconfig install
fontconfig-config install
fonts-dejavu install
fonts-dejavu-core install
fonts-dejavu-extra install
fonts-freefont-ttf install
fonts-opensymbol install
fonts-roboto install
fonts-sil-gentium-basic install
freepats install
fuse install
g++ install
g++-4.9 install
galculator install
gcc install
gcc-4.6-base:armhf install
gcc-4.7-base:armhf install
gcc-4.8-base:armhf install
gcc-4.9 install
gcc-4.9-base:armhf install
gconf-service install
gconf2 install
gconf2-common install
gdb install
gdbserver install
gdebi-core install
geoip-database install
gettext install
gettext-base install
giblib1:armhf install
gir1.2-atk-1.0 install
gir1.2-freedesktop:armhf install
gir1.2-gdkpixbuf-2.0 install
gir1.2-glib-2.0:armhf install
gir1.2-gmenu-3.0 install
gir1.2-gtk-2.0 install
gir1.2-gtk-3.0:armhf install
gir1.2-pango-1.0:armhf install
git install
git-core install
git-man install
gksu install
glib-networking:armhf install
glib-networking-common install
glib-networking-services install
gnome-desktop3-data install
gnome-icon-theme install
gnome-icon-theme-symbolic install
gnome-menus install
gnome-themes-standard:armhf install
gnome-themes-standard-data install
gnupg install
gnupg-agent install
gnupg2 install
gpgv install
gpicview install
greenfoot install
grep install
groff-base install
gsettings-desktop-schemas install
gsfonts install
gsfonts-x11 install
gstreamer0.10-alsa:armhf install
gstreamer0.10-plugins-base:armhf install
gstreamer1.0-alsa:armhf install
gstreamer1.0-libav:armhf install
gstreamer1.0-omx install
gstreamer1.0-plugins-bad:armhf install
gstreamer1.0-plugins-base:armhf install
gstreamer1.0-plugins-good:armhf install
gstreamer1.0-x:armhf install
gtk2-engines:armhf install
gtk2-engines-clearlookspix:armhf install
gtk2-engines-pixbuf:armhf install
gvfs:armhf install
gvfs-backends install
gvfs-common install
gvfs-daemons install
gvfs-fuse install
gvfs-libs:armhf install
gzip install
hardlink install
hdparm install
hicolor-icon-theme install
hostname install
idle install
idle-python2.7 install
idle-python3.4 install
idle3 install
ifupdown install
info install
init install
init-system-helpers install
initramfs-tools install
initscripts install
insserv install
install-info install
intltool-debian install
iproute2 install
iptables install
iputils-ping install
isc-dhcp-client install
isc-dhcp-common install
iso-codes install
iw install
jackd install
jackd2 install
java-common install
javascript-common install
kbd install
keyboard-configuration install
klibc-utils install
kmod install
krb5-locales install
leafpad install
less install
libaa1:armhf install
libabw-0.1-1 install
libacl1:armhf install
libaio1:armhf install
libalgorithm-c3-perl install
libalgorithm-diff-perl install
libalgorithm-diff-xs-perl install
libalgorithm-merge-perl install
libapr1:armhf install
libaprutil1:armhf install
libapt-inst1.5:armhf install
libapt-pkg4.12:armhf install
libarchive-extract-perl install
libarchive13:armhf install
libasan1:armhf install
libasn1-8-heimdal:armhf install
libasound2:armhf install
libasound2-data install
libaspell15:armhf install
libasprintf-dev:armhf install
libasprintf0c2:armhf install
libass5:armhf install
libassuan0:armhf install
libasyncns0:armhf install
libatasmart4:armhf install
libatk-bridge2.0-0:armhf install
libatk1.0-0:armhf install
libatk1.0-data install
libatk1.0-dev install
libatlas3-base install
libatomic1:armhf install
libatspi2.0-0:armhf install
libattr1:armhf install
libaudio2:armhf install
libaudiofile1:armhf install
libaudit-common install
libaudit1:armhf install
libavahi-client-dev install
libavahi-client3:armhf install
libavahi-common-data:armhf install
libavahi-common-dev install
libavahi-common3:armhf install
libavahi-core7:armhf install
libavahi-glib1:armhf install
libavahi-gobject0:armhf install
libavc1394-0:armhf install
libavcodec-dev install
libavcodec56:armhf install
libavformat-dev install
libavformat56:armhf install
libavresample-dev install
libavresample2:armhf install
libavutil-dev install
libavutil54:armhf install
libbind9-90 install
libbison-dev:armhf install
libblas-common install
libblas3 install
libblkid1:armhf install
libbluetooth3:armhf install
libbluray1:armhf install
libboost-atomic1.55.0:armhf install
libboost-date-time1.55.0:armhf install
libboost-filesystem1.55.0:armhf install
libboost-iostreams1.49.0 install
libboost-iostreams1.50.0 install
libboost-iostreams1.53.0 install
libboost-iostreams1.54.0:armhf install
libboost-iostreams1.55.0:armhf install
libboost-program-options1.55.0:armhf install
libboost-regex1.55.0:armhf install
libboost-system1.55.0:armhf install
libboost-thread1.55.0:armhf install
libbsd0:armhf install
libbz2-1.0:armhf install
libc-ares2:armhf install
libc-bin install
libc-dev-bin install
libc6:armhf install
libc6-dbg:armhf install
libc6-dev:armhf install
libcaca0:armhf install
libcairo-gobject2:armhf install
libcairo-perl install
libcairo-script-interpreter2:armhf install
libcairo2:armhf install
libcairo2-dev install
libcanberra-gtk3-0:armhf install
libcanberra0:armhf install
libcap-ng0:armhf install
libcap2:armhf install
libcap2-bin install
libccid install
libcdio-cdda1 install
libcdio-paranoia1 install
libcdio13 install
libcdparanoia0:armhf install
libcdr-0.1-1 install
libcgi-fast-perl install
libcgi-pm-perl install
libchromaprint0:armhf install
libclass-c3-perl install
libclass-c3-xs-perl install
libcloog-isl4:armhf install
libclucene-contribs1:armhf install
libclucene-core1:armhf install
libcmis-0.4-4 install
libcolamd2.8.0:armhf install
libcolord2:armhf install
libcomerr2:armhf install
libcompfaceg1 install
libcpan-meta-perl install
libcroco3:armhf install
libcryptsetup4:armhf install
libcups2:armhf install
libcupsfilters1:armhf install
libcupsimage2:armhf install
libcurl3:armhf install
libcurl3-gnutls:armhf install
libcurl4-gnutls-dev:armhf install
libcwidget3:armhf install
libcwiid1 install
libdaemon0:armhf install
libdata-optlist-perl install
libdata-section-perl install
libdatrie1:armhf install
libdb5.3:armhf install
libdbus-1-3:armhf install
libdbus-1-dev:armhf install
libdbus-glib-1-2:armhf install
libdc1394-22:armhf install
libdca0:armhf install
libdconf1:armhf install
libdebconfclient0:armhf install
libdevmapper-event1.02.1:armhf install
libdevmapper1.02.1:armhf install
libdirectfb-1.2-9:armhf install
libdns-export100 install
libdns100 install
libdpkg-perl install
libdrm-freedreno1:armhf install
libdrm-nouveau2:armhf install
libdrm-radeon1:armhf install
libdrm2:armhf install
libdv4:armhf install
libdvdnav4:armhf install
libdvdread4:armhf install
libe-book-0.1-1 install
libedit2:armhf install
libegl1-mesa:armhf install
libelf1:armhf install
libelfg0:armhf install
libenca0:armhf install
libenchant1c2a:armhf install
libeot0 install
libepoxy0 install
liberror-perl install
libesd0:armhf install
libestr0 install
libetonyek-0.1-1 install
libetpan17:armhf install
libevdev2 install
libevent-2.0-5:armhf install
libexif12:armhf install
libexpat1:armhf install
libexpat1-dev:armhf install
libexttextcat-2.0-0 install
libexttextcat-data install
libfaad2:armhf install
libfakeroot:armhf install
libfcgi-perl install
libffi5:armhf install
libffi6:armhf install
libfftw3-double3:armhf install
libfftw3-single3:armhf install
libfile-copy-recursive-perl install
libfile-fcntllock-perl install
libfl-dev:armhf install
libflac8:armhf install
libflite1:armhf install
libfltk1.3:armhf install
libfluidsynth1:armhf install
libfm-data install
libfm-extra4:armhf install
libfm-gtk-data install
libfm-gtk4:armhf install
libfm-modules:armhf install
libfm4:armhf install
libfontconfig1:armhf install
libfontconfig1-dev:armhf install
libfontenc1:armhf install
libfreehand-0.1-1 install
libfreetype6:armhf install
libfreetype6-dev install
libfribidi0:armhf install
libfuse2:armhf install
libgbm1:armhf install
libgcc-4.9-dev:armhf install
libgcc1:armhf install
libgconf-2-4:armhf install
libgcrypt20:armhf install
libgd3:armhf install
libgdbm3:armhf install
libgdk-pixbuf2.0-0:armhf install
libgdk-pixbuf2.0-common install
libgdk-pixbuf2.0-dev install
libgeoclue0:armhf install
libgeoip1:armhf install
libgettextpo-dev:armhf install
libgettextpo0:armhf install
libgfortran3:armhf install
libgif4:armhf install
libgirepository-1.0-1:armhf install
libgksu2-0 install
libgl1-mesa-glx:armhf install
libglapi-mesa:armhf install
libglew1.10:armhf install
libglib-perl install
libglib2.0-0:armhf install
libglib2.0-bin install
libglib2.0-data install
libglib2.0-dev install
libgltf-0.0-0 install
libglu1-mesa:armhf install
libgme0 install
libgmp10:armhf install
libgnome-desktop-3-10 install
libgnome-keyring-common install
libgnome-keyring0:armhf install
libgnome-menu-3-0 install
libgnutls-deb0-28:armhf install
libgnutls-openssl27:armhf install
libgoa-1.0-0b:armhf install
libgoa-1.0-common install
libgomp1:armhf install
libgpg-error0:armhf install
libgpgme11:armhf install
libgphoto2-6:armhf install
libgphoto2-port10:armhf install
libgpm2:armhf install
libgraphite2-3:armhf install
libgsm1:armhf install
libgssapi-krb5-2:armhf install
libgssapi3-heimdal:armhf install
libgstreamer-plugins-bad1.0-0:armhf install
libgstreamer-plugins-base0.10-0:armhf install
libgstreamer-plugins-base1.0-0:armhf install
libgstreamer0.10-0:armhf install
libgstreamer1.0-0:armhf install
libgtk-3-0:armhf install
libgtk-3-bin install
libgtk-3-common install
libgtk2-perl install
libgtk2.0-0:armhf install
libgtk2.0-bin install
libgtk2.0-common install
libgtk2.0-dev install
libgtkglext1 install
libgtop2-7 install
libgtop2-common install
libgudev-1.0-0:armhf install
libharfbuzz-dev install
libharfbuzz-gobject0:armhf install
libharfbuzz-icu0:armhf install
libharfbuzz0b:armhf install
libhcrypto4-heimdal:armhf install
libhdb9-heimdal:armhf install
libheimbase1-heimdal:armhf install
libheimntlm0-heimdal:armhf install
libhogweed2:armhf install
libhsqldb1.8.0-java install
libhunspell-1.3-0:armhf install
libhx509-5-heimdal:armhf install
libhyphen0 install
libice-dev:armhf install
libice6:armhf install
libicu52:armhf install
libid3tag0 install
libident install
libidn11:armhf install
libiec61883-0:armhf install
libilmbase6:armhf install
libimlib2 install
libimobiledevice4:armhf install
libirs-export91 install
libisc-export95 install
libisc95 install
libisccc90 install
libisccfg-export90 install
libisccfg90 install
libisl10:armhf install
libiw30:armhf install
libjack-jackd2-0:armhf install
libjasper1:armhf install
libjavascriptcoregtk-3.0-0:armhf install
libjbig0:armhf install
libjpeg62-turbo:armhf install
libjpeg8:armhf install
libjs-jquery install
libjs-prettify install
libjson-c2:armhf install
libjson-glib-1.0-0:armhf install
libjson-glib-1.0-common install
libk5crypto3:armhf install
libkate1 install
libkdc2-heimdal:armhf install
libkeyutils1:armhf install
libklibc install
libkmod2:armhf install
libkrb5-26-heimdal:armhf install
libkrb5-3:armhf install
libkrb5support0:armhf install
libksba8:armhf install
liblangtag-common install
liblangtag1 install
liblapack3 install
liblcms2-2:armhf install
libldap-2.4-2:armhf install
libldb1:armhf install
liblightdm-gobject-1-0 install
libllvm3.5:armhf install
liblocale-gettext-perl install
liblockfile-bin install
liblockfile1:armhf install
liblog-message-perl install
liblog-message-simple-perl install
liblogging-stdlog0:armhf install
liblognorm1:armhf install
libltdl-dev:armhf install
libltdl7:armhf install
libluajit-5.1-common install
liblvm2app2.2:armhf install
liblwres90 install
liblzma5:armhf install
liblzo2-2:armhf install
libmad0:armhf install
libmagic1:armhf install
libmail-sendmail-perl install
libmenu-cache-bin install
libmenu-cache3:armhf install
libmhash2:armhf install
libmikmod3:armhf install
libmimic0 install
libmjpegutils-2.1-0 install
libmms0:armhf install
libmng1:armhf install
libmodplug1 install
libmodule-build-perl install
libmodule-pluggable-perl install
libmodule-signature-perl install
libmotif-common install
libmount1:armhf install
libmozjs185-1.0 install
libmp3lame0:armhf install
libmpc3:armhf install
libmpdec2:armhf install
libmpeg2encpp-2.1-0 install
libmpfr4:armhf install
libmpg123-0:armhf install
libmplex2-2.1-0 install
libmro-compat-perl install
libmspub-0.1-1 install
libmtdev1:armhf install
libmtp-common install
libmtp9:armhf install
libmwaw-0.3-3 install
libmythes-1.2-0 install
libncurses5:armhf install
libncursesw5:armhf install
libneon27-gnutls install
libnettle4:armhf install
libnewt0.52:armhf install
libnfnetlink0:armhf install
libnfsidmap2:armhf install
libnih-dbus1 install
libnih1 install
libnl-3-200:armhf install
libnl-genl-3-200:armhf install
libnotify4:armhf install
libnspr4:armhf install
libnss-mdns:armhf install
libnss3:armhf install
libntdb1:armhf install
libobrender29 install
libobt2 install
libodfgen-0.1-1 install
libofa0 install
libogg0:armhf install
libopenal-data install
libopenal1:armhf install
libopencv-calib3d2.4:armhf install
libopencv-contrib2.4:armhf install
libopencv-core2.4:armhf install
libopencv-features2d2.4:armhf install
libopencv-flann2.4:armhf install
libopencv-highgui2.4:armhf install
libopencv-imgproc2.4:armhf install
libopencv-legacy2.4:armhf install
libopencv-ml2.4:armhf install
libopencv-objdetect2.4:armhf install
libopencv-video2.4:armhf install
libopenexr6:armhf install
libopenjpeg5:armhf install
libopts25:armhf install
libopus0:armhf install
liborc-0.4-0:armhf install
liborcus-0.8-0 install
libp11-kit0:armhf install
libpackage-constants-perl install
libpackagekit-glib2-18:armhf install
libpam-modules:armhf install
libpam-modules-bin install
libpam-runtime install
libpam-systemd:armhf install
libpam0g:armhf install
libpango-1.0-0:armhf install
libpango-perl install
libpango1.0-0:armhf install
libpango1.0-dev install
libpangocairo-1.0-0:armhf install
libpangoft2-1.0-0:armhf install
libpangox-1.0-0:armhf install
libpangoxft-1.0-0:armhf install
libparams-util-perl install
libparted2:armhf install
libpciaccess0:armhf install
libpcre3:armhf install
libpcre3-dev:armhf install
libpcrecpp0:armhf install
libpcsc-perl install
libpcsclite-dev install
libpcsclite1:armhf install
libpipeline1:armhf install
libpisock9 install
libpixman-1-0:armhf install
libpixman-1-dev install
libplist2:armhf install
libpng12-0:armhf install
libpng12-dev:armhf install
libpng3:armhf install
libpod-latex-perl install
libpod-readme-perl install
libpolkit-agent-1-0:armhf install
libpolkit-backend-1-0:armhf install
libpolkit-gobject-1-0:armhf install
libpoppler46:armhf install
libpopt0:armhf install
libportaudio2:armhf install
libportmidi0 install
libprocps3:armhf install
libproxy1:armhf install
libpsl0:armhf install
libpth20:armhf install
libpthread-stubs0-dev:armhf install
libpulse0:armhf install
libpython-stdlib:armhf install
libpython2.7:armhf install
libpython2.7-minimal:armhf install
libpython2.7-stdlib:armhf install
libpython3-dev:armhf install
libpython3-stdlib:armhf install
libpython3.4:armhf install
libpython3.4-dev:armhf install
libpython3.4-minimal:armhf install
libpython3.4-stdlib:armhf install
libqscintilla2-11 install
libqscintilla2-l10n install
libqt4-dbus:armhf install
libqt4-network:armhf install
libqt4-xml:armhf install
libqt4-xmlpatterns:armhf install
libqtcore4:armhf install
libqtdbus4:armhf install
libqtgui4:armhf install
libqtwebkit4:armhf install
libraptor2-0:armhf install
libraspberrypi-bin install
libraspberrypi-dev install
libraspberrypi-doc install
libraspberrypi0 install
librasqal3:armhf install
libraw1394-11:armhf install
librdf0:armhf install
libreadline6:armhf install
libregexp-common-perl install
libreoffice install
libreoffice-avmedia-backend-gstreamer install
libreoffice-base install
libreoffice-base-core install
libreoffice-base-drivers install
libreoffice-calc install
libreoffice-common install
libreoffice-core install
libreoffice-draw install
libreoffice-gtk install
libreoffice-impress install
libreoffice-java-common install
libreoffice-math install
libreoffice-report-builder-bin install
libreoffice-sdbc-hsqldb install
libreoffice-style-galaxy install
libreoffice-writer install
librest-0.7-0:armhf install
librevenge-0.0-0 install
libroken18-heimdal:armhf install
librsvg2-2:armhf install
librsvg2-common:armhf install
librtimulib-dev install
librtimulib-utils install
librtimulib7 install
librtmp1:armhf install
libruby1.9.1 install
libruby1.9.1-dbg install
libruby2.1:armhf install
libsamplerate0:armhf install
libsasl2-2:armhf install
libsasl2-modules:armhf install
libsasl2-modules-db:armhf install
libsbc1:armhf install
libschroedinger-1.0-0:armhf install
libscsynth1 install
libsdl-image1.2:armhf install
libsdl-mixer1.2:armhf install
libsdl-ttf2.0-0:armhf install
libsdl1.2debian:armhf install
libsecret-1-0:armhf install
libsecret-common install
libselinux1:armhf install
libsemanage-common install
libsemanage1:armhf install
libsepol1:armhf install
libserf-1-1:armhf install
libservlet2.5-java install
libsgutils2-2 install
libshout3:armhf install
libsigc++-1.2-5c2 install
libsigc++-2.0-0c2a:armhf install
libsigsegv2:armhf install
libslang2:armhf install
libsm-dev:armhf install
libsm6:armhf install
libsmartcols1:armhf install
libsmbclient:armhf install
libsndfile1:armhf install
libsoftware-license-perl install
libsoundtouch0:armhf install
libsoup-gnome2.4-1:armhf install
libsoup2.4-1:armhf install
libspandsp2:armhf install
libspeex1:armhf install
libsqlite3-0:armhf install
libsrtp0 install
libss2:armhf install
libssh-4:armhf install
libssh2-1:armhf install
libssl-dev:armhf install
libssl-doc install
libssl1.0.0:armhf install
libstartup-notification0:armhf install
libstdc++-4.9-dev:armhf install
libstdc++6:armhf install
libsub-exporter-perl install
libsub-install-perl install
libsvn1:armhf install
libswscale3:armhf install
libsys-hostname-long-perl install
libsysfs2:armhf install
libsystemd0:armhf install
libtag1-vanilla:armhf install
libtag1c2a:armhf install
libtalloc2:armhf install
libtasn1-6:armhf install
libtcl8.5:armhf install
libtcl8.6:armhf install
libtcltk-ruby1.9.1 install
libtdb1:armhf install
libterm-ui-perl install
libtevent0:armhf install
libtext-charwidth-perl install
libtext-iconv-perl install
libtext-soundex-perl install
libtext-template-perl install
libtext-wrapi18n-perl install
libthai-data install
libthai0:armhf install
libtheora0:armhf install
libtiff5:armhf install
libtimedate-perl install
libtinfo5:armhf install
libtirpc1:armhf install
libtk8.5:armhf install
libtk8.6:armhf install
libtool install
libubsan0:armhf install
libudev0:armhf install
libudev1:armhf install
libudisks2-0:armhf install
libunistring0:armhf install
liburiparser-dev install
liburiparser1 install
libusb-0.1-4:armhf install
libusb-1.0-0:armhf install
libusb-1.0-0-dev:armhf install
libusb-1.0-doc install
libusbmuxd2:armhf install
libustr-1.0-1:armhf install
libuuid1:armhf install
libv4l-0:armhf install
libv4l2rds0:armhf install
libv4lconvert0:armhf install
libv8-3.14.5 install
libva1:armhf install
libvdpau1:armhf install
libvisio-0.1-1 install
libvisual-0.4-0:armhf install
libvisual-0.4-plugins:armhf install
libvo-aacenc0:armhf install
libvo-amrwbenc0:armhf install
libvorbis0a:armhf install
libvorbisenc2:armhf install
libvorbisfile3:armhf install
libvpx1:armhf install
libvte-common install
libvte9 install
libwavpack1:armhf install
libwayland-client0:armhf install
libwayland-cursor0:armhf install
libwayland-server0:armhf install
libwbclient0:armhf install
libwebkitgtk-3.0-0:armhf install
libwebkitgtk-3.0-common install
libwebp5:armhf install
libwebpdemux1:armhf install
libwebpmux1:armhf install
libwildmidi-config install
libwildmidi1:armhf install
libwind0-heimdal:armhf install
libwnck-3-0:armhf install
libwnck-3-common install
libwnck-common install
libwnck22 install
libwpd-0.10-10 install
libwpg-0.3-3 install
libwps-0.3-3 install
libwrap0:armhf install
libx11-6:armhf install
libx11-data install
libx11-dev:armhf install
libx11-doc install
libx11-xcb1:armhf install
libx264-142:armhf install
libxapian22 install
libxau-dev:armhf install
libxau6:armhf install
libxaw7:armhf install
libxcb-dri2-0:armhf install
libxcb-dri3-0:armhf install
libxcb-glx0:armhf install
libxcb-present0:armhf install
libxcb-render0:armhf install
libxcb-render0-dev:armhf install
libxcb-shape0:armhf install
libxcb-shm0:armhf install
libxcb-shm0-dev:armhf install
libxcb-sync1:armhf install
libxcb-util0:armhf install
libxcb-xfixes0:armhf install
libxcb1:armhf install
libxcb1-dev:armhf install
libxcomposite-dev install
libxcomposite1:armhf install
libxcursor-dev:armhf install
libxcursor1:armhf install
libxdamage-dev:armhf install
libxdamage1:armhf install
libxdmcp-dev:armhf install
libxdmcp6:armhf install
libxext-dev:armhf install
libxext6:armhf install
libxfce4ui-1-0 install
libxfce4util-bin install
libxfce4util-common install
libxfce4util6 install
libxfconf-0-2 install
libxfixes-dev:armhf install
libxfixes3:armhf install
libxfont1:armhf install
libxft-dev install
libxft2:armhf install
libxi-dev install
libxi6:armhf install
libxinerama-dev:armhf install
libxinerama1:armhf install
libxkbcommon0:armhf install
libxkbfile1:armhf install
libxklavier16 install
libxm4:armhf install
libxml2:armhf install
libxml2-utils install
libxmu6:armhf install
libxmuu1:armhf install
libxpm4:armhf install
libxrandr-dev:armhf install
libxrandr2:armhf install
libxrender-dev:armhf install
libxrender1:armhf install
libxres1:armhf install
libxshmfence1:armhf install
libxslt1.1:armhf install
libxss1:armhf install
libxt6:armhf install
libxtables10 install
libxtst6:armhf install
libxv1:armhf install
libxvidcore4:armhf install
libxxf86dga1:armhf install
libxxf86vm1:armhf install
libyajl2:armhf install
libyaml-0-2:armhf install
libzbar0 install
libzvbi-common install
libzvbi0:armhf install
lightdm install
lightdm-gtk-greeter install
linux-libc-dev:armhf install
locales install
login install
logrotate install
lp-solve install
lsb-base install
lsb-release install
lua5.1 install
luajit install
lxappearance install
lxappearance-obconf install
lxde install
lxde-common install
lxde-core install
lxde-icon-theme install
lxinput install
lxkeymap install
lxmenu-data install
lxpanel install
lxpanel-data install
lxrandr install
lxsession install
lxtask install
lxterminal install
m4 install
make install
makedev install
man-db install
manpages install
manpages-dev install
mawk install
menu-xdg install
mime-support install
minecraft-pi install
module-init-tools install
mount install
mountall install
multiarch-support install
nano install
ncdu install
ncurses-base install
ncurses-bin install
ncurses-term install
net-tools install
netbase install
netcat-openbsd install
netcat-traditional install
netsurf-common install
netsurf-gtk install
nfs-common install
nodejs install
nodejs-legacy install
nodered install
ntfs-3g install
ntp install
nuscratch install
omxplayer install
openbox install
openresolv install
openssh-client install
openssh-server install
openssh-sftp-server install
openssl install
oracle-java8-jdk install
packagekit install
parted install
passwd install
patch install
pcmanfm install
pcsc-tools install
pcscd install
penguinspuzzle install
perl install
perl-base install
perl-modules install
pi-package install
pi-package-data install
pi-package-session install
pimixer install
pinentry-gtk2 install
pipanel install
pkg-config install
plymouth install
po-debconf install
policykit-1 install
poppler-data install
poppler-utils install
powermgmt-base install
procps install
psmisc install
pypy-setuptools install
pypy-upstream install
pypy-upstream-dev install
pypy-upstream-doc install
python install
python-apt install
python-apt-common install
python-cairo install
python-chardet install
python-colorama install
python-crypto install
python-dbus install
python-dbus-dev install
python-distlib install
python-dnspython install
python-gi install
python-gobject install
python-gobject-2 install
python-gpiozero install
python-gtk2 install
python-html5lib install
python-ldb install
python-minecraftpi install
python-minimal install
python-ndg-httpsclient install
python-ntdb install
python-numpy install
python-openssl install
python-picamera install
python-pifacecommon install
python-pifacedigitalio install
python-pil:armhf install
python-pip install
python-pkg-resources install
python-pyasn1 install
python-pygame install
python-requests install
python-rpi.gpio install
python-rtimulib install
python-samba install
python-sense-hat install
python-serial install
python-setuptools install
python-six install
python-software-properties install
python-spidev install
python-support install
python-talloc install
python-tdb install
python-tk install
python-urllib3 install
python-wheel install
python-xklavier install
python2.7 install
python2.7-minimal install
python3 install
python3-apt install
python3-chardet install
python3-colorama install
python3-dbus install
python3-debian install
python3-dev install
python3-distlib install
python3-gi install
python3-gpiozero install
python3-html5lib install
python3-minecraftpi install
python3-minimal install
python3-numpy install
python3-pgzero install
python3-picamera install
python3-pifacecommon install
python3-pifacedigital-scratch-handler install
python3-pifacedigitalio install
python3-pil:armhf install
python3-pip install
python3-pkg-resources install
python3-pygame install
python3-requests install
python3-rpi.gpio install
python3-rtimulib install
python3-sense-hat install
python3-serial install
python3-setuptools install
python3-six install
python3-software-properties install
python3-spidev install
python3-tk install
python3-uno install
python3-urllib3 install
python3-wheel install
python3.4 install
python3.4-dev install
python3.4-minimal install
qdbus install
qjackctl install
qtchooser install
qtcore4-l10n install
raspberrypi-artwork install
raspberrypi-bootloader install
raspberrypi-net-mods install
raspberrypi-sys-mods install
raspberrypi-ui-mods install
raspbian-archive-keyring install
raspi-config install
raspi-copies-and-fills install
rc-gui install
readline-common install
rename install
ri1.9.1 install
rpcbind install
rpi-update install
rsync install
rsyslog install
ruby install
ruby1.9.1 install
ruby1.9.1-dev install
ruby1.9.1-examples install
ruby1.9.1-full install
ruby1.9.3 install
ruby2.1 install
rubygems-integration install
samba install
samba-common install
samba-common-bin install
samba-dsdb-modules install
samba-libs:armhf install
samba-vfs-modules install
scratch install
scrot install
sed install
sense-hat install
sensible-utils install
sgml-base install
shared-mime-info install
smartsim install
software-properties-common install
sonic-pi install
squeak-plugins-scratch install
squeak-vm install
ssh install
startpar install
strace install
subversion install
sudo install
supercollider install
supercollider-common install
supercollider-ide install
supercollider-language install
supercollider-server install
supercollider-supernova install
systemd install
systemd-sysv install
sysv-rc install
sysvinit-utils install
tar install
tasksel install
tasksel-data install
tcl8.5 install
tcpd install
tdb-tools install
tightvncserver install
timidity install
tk8.5 install
tk8.6-blt2.5 install
traceroute install
tree install
triggerhappy install
tzdata install
ucf install
udev install
udisks install
udisks2 install
unattended-upgrades install
uno-libs3 install
unzip install
update-inetd install
ure install
usbutils install
util-linux install
v4l-utils install
va-driver-all:armhf install
vdpau-va-driver:armhf install
vim-common install
vim-tiny install
w-scan install
wget install
whiptail install
wireless-regdb install
wireless-tools install
wiringpi install
wolfram-engine install
wpasupplicant install
x11-common install
x11-utils install
x11-xkb-utils install
x11-xserver-utils install
x11proto-composite-dev install
x11proto-core-dev install
x11proto-damage-dev install
x11proto-fixes-dev install
x11proto-input-dev install
x11proto-kb-dev install
x11proto-randr-dev install
x11proto-render-dev install
x11proto-xext-dev install
x11proto-xinerama-dev install
x2x install
xarchiver install
xauth install
xdg-user-dirs install
xdg-utils install
xfce-keyboard-shortcuts install
xfconf install
xfonts-100dpi install
xfonts-base install
xfonts-encodings install
xfonts-utils install
xinit install
xkb-data install
xml-core install
xorg-sgml-doctools install
xpdf install
xserver-common install
xserver-xorg install
xserver-xorg-core install
xserver-xorg-input-all install
xserver-xorg-input-evdev install
xserver-xorg-input-synaptics install
xserver-xorg-video-fbdev install
xserver-xorg-video-fbturbo install
xtrans-dev install
xz-utils install
zenity install
zenity-common install
zlib1g:armhf install
zlib1g-dev:armhf install

Stupid question: what does debug version mean? When do I use this and when the non-debug version?

Can the problem be understood by reading the autobuild script file? I can try to do that.

Wim

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Mark Clarkstone almost 9 years ago

Wim Kleeven wrote:

Hi Mark,

The output of dpkg --get-selections | grep -v deinstall is (for you to compare):

acl install
... snip ...

Stupid question: what does debug version mean? When do I use this and when the non-debug version?

The debug version basically has all the debugging information left intact to assist with debugging crashes etc.

Can the problem be understood by reading the autobuild script file? I can try to do that.

I doubt it'll help, You could try disabling dvb-scan (this is where your build appears to be failing).

AUTOBUILD_CONFIGURE_EXTRA=--enable-hdhomerun_client\ --disable-libffmpeg_static\ --disable-libav\ --disable-dvbscan ./Autobuild.sh

Wim

HTH.

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Wim K almost 9 years ago

Tried it and this is the output:

dpkg-buildpackage: source package tvheadend
dpkg-buildpackage: source version 4.1-1434~g4fdd552
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Andreas Öman <>
dpkg-buildpackage: host architecture armhf
dh clean
dh_testdir
dh_clean
rm f debian/tvheadend.substvars
rm -f debian/tvheadend.*.debhelper
rm -rf debian/tvheadend/
rm -f debian/tvheadend-dbg.substvars
rm -f debian/tvheadend-dbg.*.debhelper
rm -rf debian/tvheadend-dbg/
rm -f debian/*.debhelper.log
rm -f debian/files
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
dh build
dh_testdir
debian/rules override_dh_auto_configure
make1: Entering directory '/home/pi/tvheadend'
dh_auto_configure -
--enable-hdhomerun_client --disable-libffmpeg_static --disable-libav --disable-dvbscan
./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=\${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking --enable-hdhomerun_client --disable-libffmpeg_static --disable-libav --disable-dvbscan
Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... fail
checking for cc -msse2 ... fail
checking for cc -Wunused-result ... ok
checking for cc getloadavg ... ok
checking for cc atomic64 ... ok
checking for cc atomic_time_t ... ok
checking for cc lockowner ... ok
checking for cc qsort_r ... ok
checking for cc stime ... ok
checking for cc gmtoff ... ok
checking for cc recvmmsg ... ok
checking for cc sendmmsg ... ok
checking for cc libiconv ... fail
checking for cc libdvben50221 ... ok
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 1.0.1k)
checking for cc linux/dvb/version.h ... ok
checking for pkg zlib ... ok (detected 1.2.8)
checking for pkg liburiparser ... ok (detected 0.8.0.1)
checking for pkg avahi-client ... ok (detected 0.6.31)
checking for cc sys/inotify.h ... ok
checking for pkg dbus-1 ... ok (detected 1.8.20)

Compiler:
Using C compiler: cc
Using LD flags: -ldvben50221 -ldvbapi -lucsi
Build for arch: armv7l

Binaries:
Using PYTHON: python
Using GZIP: gzip
Using BZIP2: bzip2

Options:
cwc yes
capmt yes
constcw yes
linuxdvb yes
satip_server yes
satip_client yes
hdhomerun_client yes
hdhomerun_static yes
iptv yes
tsfile yes
dvbscan no
timeshift yes
trace yes
imagecache yes
avahi yes
zlib yes
libav no
libffmpeg_static no
libx264_static yes
libx265 no
libx265_static yes
vdpau no
nvenc no
libmfx no
libmfx_static yes
inotify yes
epoll yes
uriparser yes
ccache no
tvhcsa yes
bundle no
dvbcsa no
dvben50221 yes
kqueue no
dbus_1 yes
android no
tsdebug no
gtimer_check no
libsystemd_daemon no
bintray_cache yes
execinfo yes
W_unused_result yes
getloadavg yes
atomic64 yes
atomic_time_t yes
lockowner yes
qsort_r yes
stime yes
gmtoff yes
recvmmsg yes
sendmmsg yes
libdvben50221 yes
ifnames yes
py_gzip yes
bin_pkg_config yes
bin_xgettext yes
bin_msgmerge yes
bin_gzip yes
bin_bzip2 yes
ssl yes
linuxdvbapi yes
upnp yes
inotify_h yes
linuxdvb_ca yes
mpegts yes
mpegts_dvb yes

Packages:
openssl 1.0.1k
zlib 1.2.8
liburiparser 0.8.0.1
avahi-client 0.6.31
dbus-1 1.8.20

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

Final Binary:
/home/pi/tvheadend/build.linux/tvheadend

Tvheadend Data Directory:
/usr/share/tvheadend

make1: Leaving directory '/home/pi/tvheadend'
debian/rules override_dh_auto_build
make1: Entering directory '/home/pi/tvheadend'
make
make2: Entering directory '/home/pi/tvheadend'
make -f Makefile.webui LANGUAGES="bg cs da de en_US en_GB es et fa fi fr he hr hu it lv nl pl pt ru sv uk" all
make3: Entering directory '/home/pi/tvheadend'
make -f Makefile.webui WEBUI=std compile-std
make4: Entering directory '/home/pi/tvheadend'
WEBUI std finished
make4: Leaving directory '/home/pi/tvheadend'
make -f Makefile.webui WEBUI=debug compile-debug
make4: Entering directory '/home/pi/tvheadend'
WEBUI debug finished
make4: Leaving directory '/home/pi/tvheadend'
make3: Leaving directory '/home/pi/tvheadend'
CC src/uuid.o
Makefile:574: recipe for target '/home/pi/tvheadend/build.linux/src/uuid.o' failed
make2: Leaving directory '/home/pi/tvheadend'
debian/rules:11: recipe for target 'override_dh_auto_build' failed
make1: Leaving directory '/home/pi/tvheadend'
debian/rules:5: recipe for target 'build' failed

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Wim K almost 9 years ago

Mark,

Could you look at this link please? Maybe there's an answer there. It's too complicated for me to totally understand.

There's the same "debian/rules:8: recipe for target 'override_dh_auto_configure' failed".

https://tvheadend.org/issues/2841

Wim

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Mark Clarkstone almost 9 years ago

Wim Kleeven wrote:

Mark,

Could you look at this link please? Maybe there's an answer there. It's too complicated for me to totally understand.

There's the same "debian/rules:8: recipe for target 'override_dh_auto_configure' failed".

https://tvheadend.org/issues/2841

Wim

Ok try building as root, line 574 in the makefile is attempting to make a directory so it could be a permissions issue, try building as root.

Do

sudo -s
AUTOBUILD_CONFIGURE_EXTRA=--enable-hdhomerun_client\ --disable-libffmpeg_static\ --disable-libav\ --disable-dvbscan ./Autobuild.sh

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Wim K almost 9 years ago

Yeah, I figured it out too that I had to run as root (me stupid newbie........).

Before dinner I started and saw it was taking some time to finish so I had hope. Tried sudo before your last suggestion:
sudo AUTOBUILD_CONFIGURE_EXTRA=--enable-hdhomerun_client\ --disable-libffmpeg_static\ --disable-libav\ --disable-dvbscan ./Autobuild.sh

Just returned from dinner table and this is the output, see attachment.
I can't see any new file, I think?

Wim

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Wim K almost 9 years ago

Mark,

I downloaded your files, saved them in /tvheadend
and then
cd build/tvheadend
sudo dpkg -i tvheadend*.deb

That works! Thanks.

Any ideas why my build fails?

I tried sudo AUTOBUILD_CONFIGURE_EXTRA=--enable-hdhomerun_client ./Autobuild.sh
This is the output:

dpkg-buildpackage: source package tvheadend
dpkg-buildpackage: source version 4.1-1434~g4fdd552
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Andreas Öman <>
dpkg-buildpackage: host architecture armhf
dh clean
dh_testdir
dh_clean
rm f debian/tvheadend.substvars
rm -f debian/tvheadend.*.debhelper
rm -rf debian/tvheadend/
rm -f debian/tvheadend-dbg.substvars
rm -f debian/tvheadend-dbg.*.debhelper
rm -rf debian/tvheadend-dbg/
rm -f debian/*.debhelper.log
rm -f debian/files
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
dh build
dh_testdir
debian/rules override_dh_auto_configure
make1: Entering directory '/home/pi/tvheadend'
dh_auto_configure -
--enable-hdhomerun_client
./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=\${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking --enable-hdhomerun_client
Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... fail
checking for cc -msse2 ... fail
checking for cc -Wunused-result ... ok
checking for cc getloadavg ... ok
checking for cc atomic64 ... ok
checking for cc atomic_time_t ... ok
checking for cc lockowner ... ok
checking for cc qsort_r ... ok
checking for cc stime ... ok
checking for cc gmtoff ... ok
checking for cc recvmmsg ... ok
checking for cc sendmmsg ... ok
checking for cc libiconv ... fail
checking for cc libdvben50221 ... ok
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 1.0.1k)
checking for cc linux/dvb/version.h ... ok
checking for pkg zlib ... ok (detected 1.2.8)
checking for pkg liburiparser ... ok (detected 0.8.0.1)
checking for pkg avahi-client ... ok (detected 0.6.31)
checking for pkg vdpau ... fail (detected <none>)
checking for cc nvEncodeAPI.h ... fail
checking for cc sys/inotify.h ... ok
fetching dvb-scan files ... ok
checking for pkg dbus-1 ... ok (detected 1.8.20)

Compiler:
Using C compiler: cc
Using LD flags: -ldvben50221 -ldvbapi -lucsi
Build for arch: armv7l

Binaries:
Using PYTHON: python
Using GZIP: gzip
Using BZIP2: bzip2

Options:
cwc yes
capmt yes
constcw yes
linuxdvb yes
satip_server yes
satip_client yes
hdhomerun_client yes
hdhomerun_static yes
iptv yes
tsfile yes
dvbscan yes
timeshift yes
trace yes
imagecache yes
avahi yes
zlib yes
libav yes
libffmpeg_static yes
libx264_static yes
libx265 no
libx265_static no
vdpau no
nvenc no
libmfx no
libmfx_static no
inotify yes
epoll yes
uriparser yes
ccache no
tvhcsa yes
bundle no
dvbcsa no
dvben50221 yes
kqueue no
dbus_1 yes
android no
tsdebug no
gtimer_check no
libsystemd_daemon no
bintray_cache yes
execinfo yes
W_unused_result yes
getloadavg yes
atomic64 yes
atomic_time_t yes
lockowner yes
qsort_r yes
stime yes
gmtoff yes
recvmmsg yes
sendmmsg yes
libdvben50221 yes
ifnames yes
py_gzip yes
bin_pkg_config yes
bin_xgettext yes
bin_msgmerge yes
bin_gzip yes
bin_bzip2 yes
ssl yes
linuxdvbapi yes
upnp yes
inotify_h yes
linuxdvb_ca yes
mpegts yes
mpegts_dvb yes

Packages:
openssl 1.0.1k
zlib 1.2.8
liburiparser 0.8.0.1
avahi-client 0.6.31
dbus-1 1.8.20

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

Final Binary:
/home/pi/tvheadend/build.linux/tvheadend

Tvheadend Data Directory:
/usr/share/tvheadend

make1: Leaving directory '/home/pi/tvheadend'
debian/rules override_dh_auto_build
make1: Entering directory '/home/pi/tvheadend'
make
make2: Entering directory '/home/pi/tvheadend'
make -f Makefile.webui LANGUAGES="bg cs da de en_US en_GB es et fa fi fr he hr hu it lv nl pl pt ru sv uk" all
make3: Entering directory '/home/pi/tvheadend'
make -f Makefile.webui WEBUI=std compile-std
make4: Entering directory '/home/pi/tvheadend'
WEBUI std finished
make4: Leaving directory '/home/pi/tvheadend'
make -f Makefile.webui WEBUI=debug compile-debug
make4: Entering directory '/home/pi/tvheadend'
WEBUI debug finished
make4: Leaving directory '/home/pi/tvheadend'
make3: Leaving directory '/home/pi/tvheadend'
CC src/uuid.o
CC src/main.o
CC src/tvhlog.o
CC src/idnode.o
CC src/prop.o
CC src/utils.o
CC src/wrappers.o
CC src/access.o
CC src/tcp.o
CC src/udp.o
CC src/url.o
CC src/http.o
CC src/notify.o
CC src/file.o
CC src/epg.o
CC src/epgdb.o
CC src/epggrab.o
CC src/spawn.o
CC src/packet.o
CC src/streaming.o
CC src/channels.o
CC src/subscriptions.o
CC src/service.o
CC src/htsp_server.o
CC src/htsmsg_xml.o
CC src/misc/json.o
CC src/misc/m3u.o
CC src/settings.o
CC src/htsbuf.o
CC src/trap.o
CC src/tvhpoll.o
CC src/filebundle.o
CC src/config.o
CC src/lang_codes.o
CC src/lang_str.o
CC src/imagecache.o
CC src/tvhtime.o
CC src/service_mapper.o
CC src/input.o
CC src/httpc.o
CC src/rtsp.o
CC src/download.o
CC src/fsmonitor.o
CC src/cron.o
CC src/esfilter.o
CC src/intlconv.o
CC src/profile.o
CC src/bouquet.o
CC src/lock.o
CC src/wizard.o
CC src/api.o
CC src/api/api_config.o
CC src/api/api_status.o
CC src/api/api_idnode.o
CC src/api/api_input.o
CC src/api/api_channel.o
CC src/api/api_service.o
CC src/api/api_mpegts.o
CC src/api/api_epg.o
CC src/api/api_epggrab.o
CC src/api/api_imagecache.o
CC src/api/api_esfilter.o
CC src/api/api_intlconv.o
CC src/api/api_access.o
CC src/api/api_dvr.o
CC src/api/api_caclient.o
CC src/api/api_profile.o
CC src/api/api_bouquet.o
CC src/api/api_language.o
CC src/api/api_satip.o
CC src/api/api_timeshift.o
CC src/api/api_wizard.o
CC src/parsers/parsers.o
CC src/parsers/parser_h264.o
CC src/parsers/parser_hevc.o
CC src/parsers/parser_latm.o
CC src/parsers/parser_avc.o
CC src/parsers/parser_teletext.o
CC src/epggrab/module.o
CC src/epggrab/channel.o
CC src/epggrab/module/pyepg.o
CC src/epggrab/module/xmltv.o
CC src/plumbing/tsfix.o
CC src/plumbing/globalheaders.o
CC src/dvr/dvr_db.o
CC src/dvr/dvr_rec.o
CC src/dvr/dvr_autorec.o
CC src/dvr/dvr_timerec.o
CC src/dvr/dvr_vfsmgr.o
CC src/dvr/dvr_config.o
CC src/dvr/dvr_cutpoints.o
CC src/webui/webui.o
CC src/webui/comet.o
CC src/webui/extjs.o
CC src/webui/simpleui.o
CC src/webui/statedump.o
CC src/webui/html.o
CC src/webui/webui_api.o
CC src/webui/xmltv.o
CC src/muxer.o
CC src/muxer/muxer_pass.o
CC src/muxer/muxer_mkv.o
CC src/zlib.o
CC src/upnp.o
CC src/satip/server.o
CC src/satip/rtsp.o
CC src/satip/rtp.o
CC src/descrambler/descrambler.o
CC src/descrambler/caclient.o
CC src/descrambler/caid.o
CC src/input/mpegts.o
CC src/input/mpegts/mpegts_pid.o
CC src/input/mpegts/mpegts_input.o
CC src/input/mpegts/tsdemux.o
CC src/input/mpegts/dvb_psi_lib.o
CC src/input/mpegts/mpegts_network.o
CC src/input/mpegts/mpegts_mux.o
CC src/input/mpegts/mpegts_service.o
CC src/input/mpegts/mpegts_table.o
CC src/input/mpegts/dvb_support.o
CC src/input/mpegts/dvb_charset.o
CC src/input/mpegts/dvb_psi.o
CC src/input/mpegts/fastscan.o
CC src/input/mpegts/mpegts_mux_sched.o
CC src/input/mpegts/mpegts_network_scan.o
CC src/input/mpegts/mpegts_network_dvb.o
CC src/input/mpegts/mpegts_mux_dvb.o
CC src/input/mpegts/scanfile.o
CC src/epggrab/otamux.o
CC src/epggrab/module/eit.o
CC src/epggrab/module/psip.o
CC src/epggrab/support/freesat_huffman.o
CC src/epggrab/module/opentv.o
CC src/input/mpegts/linuxdvb/linuxdvb.o
CC src/input/mpegts/linuxdvb/linuxdvb_adapter.o
CC src/input/mpegts/linuxdvb/linuxdvb_frontend.o
CC src/input/mpegts/linuxdvb/linuxdvb_satconf.o
CC src/input/mpegts/linuxdvb/linuxdvb_lnb.o
CC src/input/mpegts/linuxdvb/linuxdvb_switch.o
CC src/input/mpegts/linuxdvb/linuxdvb_rotor.o
CC src/input/mpegts/linuxdvb/linuxdvb_en50494.o
CC src/input/mpegts/satip/satip.o
CC src/input/mpegts/satip/satip_frontend.o
CC src/input/mpegts/satip/satip_satconf.o
CC src/input/mpegts/satip/satip_rtsp.o
CC src/input/mpegts/tvhdhomerun/tvhdhomerun.o
CC src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.o
CC src/input/mpegts/iptv/iptv.o
CC src/input/mpegts/iptv/iptv_mux.o
CC src/input/mpegts/iptv/iptv_service.o
CC src/input/mpegts/iptv/iptv_http.o
CC src/input/mpegts/iptv/iptv_udp.o
CC src/input/mpegts/iptv/iptv_rtsp.o
CC src/input/mpegts/iptv/iptv_rtcp.o
CC src/input/mpegts/iptv/iptv_pipe.o
CC src/input/mpegts/iptv/iptv_file.o
CC src/input/mpegts/iptv/iptv_auto.o
CC src/input/mpegts/tsfile/tsfile.o
CC src/input/mpegts/tsfile/tsfile_input.o
CC src/input/mpegts/tsfile/tsfile_mux.o
CC src/timeshift.o
CC src/timeshift/timeshift_filemgr.o
CC src/timeshift/timeshift_writer.o
CC src/timeshift/timeshift_reader.o
CC src/dvr/dvr_inotify.o
CC src/avahi.o
CC src/libav.o
CC src/muxer/muxer_libav.o
CC src/plumbing/transcoding.o
CC src/descrambler/tvhcsa.o
CC src/descrambler/cwc.o
CC src/descrambler/emm_reass.o
CC src/descrambler/capmt.o
CC src/descrambler/constcw.o
CC src/input/mpegts/linuxdvb/linuxdvb_ca.o
CC src/descrambler/dvbcam.o
CC src/descrambler/ffdecsa/ffdecsa_interface.o
CC src/descrambler/libaesdec/libaesdec.o
CC src/dbus.o
CC build.o
CC timestamp.o
CC tvheadend
make2: Leaving directory '/home/pi/tvheadend'
make1: Leaving directory '/home/pi/tvheadend'
dh_auto_test
dh binary
dh_testroot
dh_prep
rm -f debian/tvheadend.substvars
rm -f debian/tvheadend.*.debhelper
rm -rf debian/tvheadend/
rm -f debian/tvheadend-dbg.substvars
rm -f debian/tvheadend-dbg.*.debhelper
rm -rf debian/tvheadend-dbg/
dh_installdirs
install -d debian/tvheadend
install -d debian/tvheadend/usr/bin
install -d debian/tvheadend-dbg
debian/rules override_dh_auto_install
make1: Entering directory '/home/pi/tvheadend'
dh_auto_install --destdir=debian/tvheadend
make -j1 install DESTDIR=/home/pi/tvheadend/debian/tvheadend AM_UPDATE_INFO_DIR=no
make2: Entering directory '/home/pi/tvheadend'
make -f Makefile.webui LANGUAGES="bg cs da de en_US en_GB es et fa fi fr he hr hu it lv nl pl pt ru sv uk" all
make3: Entering directory '/home/pi/tvheadend'
make -f Makefile.webui WEBUI=std compile-std
make4: Entering directory '/home/pi/tvheadend'
WEBUI std finished
make4: Leaving directory '/home/pi/tvheadend'
make -f Makefile.webui WEBUI=debug compile-debug
make4: Entering directory '/home/pi/tvheadend'
WEBUI debug finished
make4: Leaving directory '/home/pi/tvheadend'
make3: Leaving directory '/home/pi/tvheadend'
CC timestamp.o
CC tvheadend
install -d /home/pi/tvheadend/debian/tvheadend/usr/bin
install /home/pi/tvheadend/build.linux/tvheadend /home/pi/tvheadend/debian/tvheadend/usr/bin/tvheadend
install -d /home/pi/tvheadend/debian/tvheadend/usr/share/man/man1
install /home/pi/tvheadend/man/tvheadend.1 /home/pi/tvheadend/debian/tvheadend/usr/share/man/man1/tvheadend.1
for bundle in docs/html docs/docresources src/webui/static data/conf data/dvb-scan; do \
mkdir -p /home/pi/tvheadend/debian/tvheadend/usr/share/tvheadend/$bundle ;\
cp -LR /home/pi/tvheadend/$bundle/* /home/pi/tvheadend/debian/tvheadend/usr/share/tvheadend/$bundle ;\
done
find /home/pi/tvheadend/debian/tvheadend/usr/share/tvheadend -name .git -exec rm -rf {} \; &>/dev/null || /bin/true
make2: Leaving directory '/home/pi/tvheadend'
make1: Leaving directory '/home/pi/tvheadend'
dh_installdocs
install -g 0 -o 0 -d debian/tvheadend/usr/share/doc/tvheadend
cp -a README.md debian/tvheadend/usr/share/doc/tvheadend
cp -a LICENSE.md debian/tvheadend/usr/share/doc/tvheadend
chown -R 0:0 debian/tvheadend/usr/share/doc
chmod -R go=rX debian/tvheadend/usr/share/doc
chmod -R u\+rw debian/tvheadend/usr/share/doc
install -g 0 -o 0 -m 644 -p debian/copyright debian/tvheadend/usr/share/doc/tvheadend/copyright
install -g 0 -o 0 -d debian/tvheadend-dbg/usr/share/doc/tvheadend-dbg
install -g 0 -o 0 -m 644 -p debian/copyright debian/tvheadend-dbg/usr/share/doc/tvheadend-dbg/copyright
dh_installchangelogs
install -o 0 -g 0 -p -m644 debian/changelog debian/tvheadend/usr/share/doc/tvheadend/changelog.Debian
install -o 0 -g 0 -p -m644 debian/changelog debian/tvheadend-dbg/usr/share/doc/tvheadend-dbg/changelog.Debian
dh_installman
man --recode UTF-8 ./tvheadend\.1 > tvheadend\.1\.new
chmod 644 tvheadend.1.new
mv -f tvheadend.1.new tvheadend.1
dh_installdebconf
install -o 0 -g 0 -d debian/tvheadend/DEBIAN
sed s/#DEBHELPER#// < debian/tvheadend.config > debian/tvheadend/DEBIAN/config
chown 0:0 debian/tvheadend/DEBIAN/config
chmod 755 debian/tvheadend/DEBIAN/config
install -o 0 -g 0 -m 644 -p debian/tvheadend.templates debian/tvheadend/DEBIAN/templates
(grep -s -v misc:Depends debian/tvheadend.substvars; echo "misc:Depends=debconf (>= 0.5) | debconf-2.0") > debian/tvheadend.substvars.new
mv debian/tvheadend.substvars.new debian/tvheadend.substvars
echo "# Automatically added by dh_installdebconf">> debian/tvheadend.postrm.debhelper
sed "" /usr/share/debhelper/autoscripts/postrm-debconf >> debian/tvheadend.postrm.debhelper
echo '# End automatically added section' >> debian/tvheadend.postrm.debhelper
install -o 0 -g 0 -d debian/tvheadend-dbg/DEBIAN
dh_pysupport
/usr/share/python-support/private/movemodules debian/tvheadend
/usr/share/python-support/private/movemodules debian/tvheadend-dbg
dh_installinit
install -d debian/tvheadend/etc/init
install -p -m644 debian/tvheadend.upstart debian/tvheadend/etc/init/tvheadend.conf
install -d debian/tvheadend/etc/default
install -p -m644 debian/tvheadend.default debian/tvheadend/etc/default/tvheadend
install -d debian/tvheadend/etc/init.d
install -p -m755 debian/tvheadend.init debian/tvheadend/etc/init.d/tvheadend
echo "# Automatically added by dh_installinit">> debian/tvheadend.postinst.debhelper
sed "s/#SCRIPT#/tvheadend/;s/#INITPARMS#/defaults/;s/#ERROR_HANDLER#/exit \$?/" /usr/share/debhelper/autoscripts/postinst-init >> debian/tvheadend.postinst.debhelper
echo '# End automatically added section' >> debian/tvheadend.postinst.debhelper
echo "# Automatically added by dh_installinit">> debian/tvheadend.prerm.debhelper
sed "s/#SCRIPT#/tvheadend/;s/#INITPARMS#/defaults/;s/#ERROR_HANDLER#/exit \$?/" /usr/share/debhelper/autoscripts/prerm-init >> debian/tvheadend.prerm.debhelper
echo '# End automatically added section' >> debian/tvheadend.prerm.debhelper
echo "# Automatically added by dh_installinit">> debian/tvheadend.postrm.debhelper
sed "s/#SCRIPT#/tvheadend/;s/#INITPARMS#/defaults/;s/#ERROR_HANDLER#/exit \$?/" /usr/share/debhelper/autoscripts/postrm-init >> debian/tvheadend.postrm.debhelper
echo '# End automatically added section' >> debian/tvheadend.postrm.debhelper
dh_perl
dh_link
dh_compress
cd debian/tvheadend
chmod a-x usr/share/man/man1/tvheadend.1 usr/share/doc/tvheadend/changelog.Debian
gzip -9nf usr/share/man/man1/tvheadend.1 usr/share/doc/tvheadend/changelog.Debian
cd '/home/pi/tvheadend'
cd debian/tvheadend-dbg
chmod a-x usr/share/doc/tvheadend-dbg/changelog.Debian
gzip -9nf usr/share/doc/tvheadend-dbg/changelog.Debian
cd '/home/pi/tvheadend'
dh_fixperms
find debian/tvheadend -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
find debian/tvheadend ! -type l -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
find debian/tvheadend/usr/share/doc -type f ! -regex 'debian/tvheadend/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend/usr/share/doc -type d -print0 2>/dev/null | xargs -0r chmod 755
find debian/tvheadend/usr/share/man debian/tvheadend/usr/man/ debian/tvheadend/usr/X11*/man/ -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend -perm -5 -type f \( -name '*.so.*' -or -name '*.so' -or -name '*.la' -or -name '*.a' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend/usr/include -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend/usr/share/applications -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend -perm -5 -type f \( -name '*.cmxs' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend/usr/lib/arm-linux-gnueabihf/perl5/5.20 debian/tvheadend/usr/share/perl5 -type f -perm -5 -name '*.pm' -print0 2>/dev/null | xargs -0r chmod a-X
find debian/tvheadend/usr/bin -type f -print0 2>/dev/null | xargs -0r chmod a+x
find debian/tvheadend/etc/init.d -type f -print0 2>/dev/null | xargs -0r chmod a+x
find debian/tvheadend/usr/lib -type f -name '*.ali' -print0 2>/dev/null | xargs -0r chmod uga-w
find debian/tvheadend-dbg -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
find debian/tvheadend-dbg ! -type l -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
find debian/tvheadend-dbg/usr/share/doc -type f ! -regex 'debian/tvheadend-dbg/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend-dbg/usr/share/doc -type d -print0 2>/dev/null | xargs -0r chmod 755
find debian/tvheadend-dbg/usr/share/man debian/tvheadend-dbg/usr/man/ debian/tvheadend-dbg/usr/X11*/man/ -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend-dbg -perm -5 -type f \( -name '*.so.*' -or -name '*.so' -or -name '*.la' -or -name '*.a' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend-dbg/usr/include -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend-dbg/usr/share/applications -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend-dbg -perm -5 -type f \( -name '*.cmxs' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend-dbg/usr/lib/arm-linux-gnueabihf/perl5/5.20 debian/tvheadend-dbg/usr/share/perl5 -type f -perm -5 -name '*.pm' -print0 2>/dev/null | xargs -0r chmod a-X
find debian/tvheadend-dbg/usr/lib -type f -name '*.ali' -print0 2>/dev/null | xargs -0r chmod uga-w
debian/rules override_dh_strip
make1: Entering directory '/home/pi/tvheadend'
dh_strip --dbg-package=tvheadend-dbg
install -d debian/tvheadend-dbg/usr/lib/debug//usr/bin
objcopy --only-keep-debug debian/tvheadend/usr/bin/tvheadend debian/tvheadend-dbg/usr/lib/debug//usr/bin/tvheadend
chmod 644 debian/tvheadend-dbg/usr/lib/debug//usr/bin/tvheadend
strip --remove-section=.comment --remove-section=.note debian/tvheadend/usr/bin/tvheadend
objcopy --add-gnu-debuglink debian/tvheadend-dbg/usr/lib/debug//usr/bin/tvheadend debian/tvheadend/usr/bin/tvheadend
make1: Leaving directory '/home/pi/tvheadend'
dh_makeshlibs
rm -f debian/tvheadend/DEBIAN/shlibs
rm -f debian/tvheadend-dbg/DEBIAN/shlibs
dh_shlibdeps
dpkg-shlibdeps -Tdebian/tvheadend.substvars debian/tvheadend/usr/bin/tvheadend
dh_installdeb
perl -pe 's~#DEBHELPER#~qx{cat debian/tvheadend.postinst.debhelper}~eg' < debian/tvheadend.postinst > debian/tvheadend/DEBIAN/postinst
chown 0:0 debian/tvheadend/DEBIAN/postinst
chmod 755 debian/tvheadend/DEBIAN/postinst
printf '#!/bin/sh
set -e
' > debian/tvheadend/DEBIAN/prerm
cat debian/tvheadend.prerm.debhelper >> debian/tvheadend/DEBIAN/prerm
chown 0:0 debian/tvheadend/DEBIAN/prerm
chmod 755 debian/tvheadend/DEBIAN/prerm
perl -pe 's~#DEBHELPER#~qx{cat debian/tvheadend.postrm.debhelper}~eg' < debian/tvheadend.postrm > debian/tvheadend/DEBIAN/postrm
chown 0:0 debian/tvheadend/DEBIAN/postrm
chmod 755 debian/tvheadend/DEBIAN/postrm
find debian/tvheadend/etc -type f -printf '/etc/%P
' | LC_ALL=C sort >> debian/tvheadend/DEBIAN/conffiles
chmod 644 debian/tvheadend/DEBIAN/conffiles
dh_gencontrol
dpkg-gencontrol -ptvheadend -ldebian/changelog -Tdebian/tvheadend.substvars -Pdebian/tvheadend
chmod 644 debian/tvheadend/DEBIAN/control
chown 0:0 debian/tvheadend/DEBIAN/control
echo misc:Depends= >> debian/tvheadend-dbg.substvars
dpkg-gencontrol -ptvheadend-dbg -ldebian/changelog -Tdebian/tvheadend-dbg.substvars -Pdebian/tvheadend-dbg
chmod 644 debian/tvheadend-dbg/DEBIAN/control
chown 0:0 debian/tvheadend-dbg/DEBIAN/control
dh_md5sums
(cd debian/tvheadend >/dev/null ; find . -type f ! -path "./etc/default/tvheadend" ! -path "./etc/init.d/tvheadend" ! -path "./etc/init/tvheadend.conf" ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null
chmod 644 debian/tvheadend/DEBIAN/md5sums
chown 0:0 debian/tvheadend/DEBIAN/md5sums
(cd debian/tvheadend-dbg >/dev/null ; find . -type f ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null
chmod 644 debian/tvheadend-dbg/DEBIAN/md5sums
chown 0:0 debian/tvheadend-dbg/DEBIAN/md5sums
dh_builddeb
dpkg-deb --build debian/tvheadend ..
dpkg-deb: building package `tvheadend' in `../tvheadend_4.1-1434~g4fdd552_armhf.deb'.
dpkg-deb --build debian/tvheadend-dbg ..
dpkg-deb: building package `tvheadend-dbg' in `../tvheadend-dbg_4.1-1434~g4fdd552_armhf.deb'.
dpkg-buildpackage: binary-only upload (no source included)
doozer-versioned-artifact:/home/pi/tvheadend/../tvheadend_4.1-1434~g4fdd552_armhf.deb:deb:application/x-deb:tvheadend_4.1-1434~g4fdd552_armhf.deb
doozer-versioned-artifact:/home/pi/tvheadend/../tvheadend-dbg_4.1-1434~g4fdd552_armhf.deb:deb:application/x-deb:tvheadend-dbg_4.1-1434~g4fdd552_armhf.deb
doozer-versioned-artifact:/home/pi/tvheadend/../tvheadend_4.1-1434~g4fdd552_armhf.changes:changes:text/plain:tvheadend_4.1-1434~g4fdd552_armhf.changes

Also see attachment.
Still no build.

WAIT, I found 3 new files in /home/pi now!
tvheadend_4.1-1434~g4fdd552_armhf.changes
tvheadend_4.1-1434~g4fdd552_armhf.deb
tvheadend-dbg_4.1-1434~g4fdd552_armhf.deb

I guess you also had 3 files, but to install the package, I didn't need your .changes file. Wright?

What if I now want to "uninstall" your build (and than test-install mine), is this the command?
apt-get remove tvheadend

When I installed your build, I got a screenfilling image asking username and password. Then, when I first entered the webui, the wizard started and asked me 2x username and password.
I'm confused by the 3 usernames and passwords. What is which?

Last question: I see your package is release 4.1-1455 while mine is 4.1-1434 from https://github.com/tvheadend/tvheadend.
Did you get your version from a different site??

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Mark Clarkstone almost 9 years ago

Wim Kleeven wrote:

Yeah, I figured it out too that I had to run as root (me stupid newbie........).

You don't usually need to run as root but it looks like you have a permissions issue somewhere.

Before dinner I started and saw it was taking some time to finish so I had hope. Tried sudo before your last suggestion:
sudo AUTOBUILD_CONFIGURE_EXTRA=--enable-hdhomerun_client\ --disable-libffmpeg_static\ --disable-libav\ --disable-dvbscan ./Autobuild.sh

Just returned from dinner table and this is the output, see attachment.
I can't see any new file, I think?

Wim

Wim Kleeven wrote:

Mark,

I downloaded your files, saved them in /tvheadend
and then
cd build/tvheadend
sudo dpkg -i tvheadend*.deb

That works! Thanks.

Any ideas why my build fails?

I tried sudo AUTOBUILD_CONFIGURE_EXTRA=--enable-hdhomerun_client ./Autobuild.sh
This is the output:

... snip ...

Also see attachment.
Still no build.

WAIT, I found 3 new files in /home/pi now!
tvheadend_4.1-1434~g4fdd552_armhf.changes
tvheadend_4.1-1434~g4fdd552_armhf.deb
tvheadend-dbg_4.1-1434~g4fdd552_armhf.deb

I guess you also had 3 files, but to install the package, I didn't need your .changes file. Wright?

The changes file isn't needed for install.

What if I now want to "uninstall" your build (and than test-install mine), is this the command?
apt-get remove tvheadend

You can do that yes, but generally you can just dpkg -i your version over the top of your existing installation.

When I installed your build, I got a screenfilling image asking username and password.

Yes this is a backdoor account if you forget login details or get locked out.

Then, when I first entered the webui, the wizard started and asked me 2x username and password.
I'm confused by the 3 usernames and passwords. What is which?

The first account is your admin account for making changes etc, the second is your every day account.

Last question: I see your package is release 4.1-1455 while mine is 4.1-1434 from https://github.com/tvheadend/tvheadend.
Did you get your version from a different site??

No, just update yours by doing (you may need to be root).

cd build/tvheadend/master
git pull

then just do
AUTOBUILD_CONFIGURE_EXTRA=--enable-hdhomerun_client\ --disable-libffmpeg_static\ --disable-libav\ --disable-dvbscan ./Autobuild.sh

again..

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Wim K almost 9 years ago

Mark,

It works! Yeah. Thank you for all the help, couldn't have done it without you.

The problem seems to be that like you said I "have a permissions issue somewhere".
How can I find out where the problem is and fix it?

Wim

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Wim K almost 9 years ago

And a few last questions about those accounts:

I have a backdoor account, an administrator account and a user account. The last two I can change with the wizard within the webui. How do I change the backdoor account?

And finally, which of these accounts is for what purpose?
Which do I need to login the webui (administrator?), which do I use for Kodi (user?). And what is the third account (backdoor?) used for?

Wim

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Mark Clarkstone almost 9 years ago

Wim Kleeven wrote:

Mark,

It works! Yeah. Thank you for all the help, couldn't have done it without you.

The problem seems to be that like you said I "have a permissions issue somewhere".
How can I find out where the problem is and fix it?

Wim

try making a directory as the pi user in /home/pi/ e.g.

mkdir -p /home/pi/build/tvheadend/build.linux/foo

Wim Kleeven wrote:

And a few last questions about those accounts:

I have a backdoor account, an administrator account and a user account. The last two I can change with the wizard within the webui. How do I change the backdoor account?

You need to edit the superuser file in /home/hts/.hts/ e.g.

sudo service tvheadend stop
sudo nano /home/hts/.hts/superuser
sudo service tvheadend start

And finally, which of these accounts is for what purpose?
Which do I need to login the webui (administrator?), which do I use for Kodi (user?). And what is the third account (backdoor?) used for?

Admin account is for adding users, configuring the tuners etc.
Regular account is for viewing services, setting recordings, you'd use this in Kodi.
The backdoor account is in case you get locked out, e.g. someone else deletes the admin account or you make a mistake with the configuration.

Wim

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Wim K almost 9 years ago

Mark Clarkstone wrote:

try making a directory as the pi user in /home/pi/ e.g.

I tried and the directory is there. So that's not the problem. Should I try to make a directory somewhere else?

RE: Newbie problems.... packaging/autostarting (I've got everything else) - Added by Wim K almost 9 years ago

Sorry, was to quick trying that.

My directory structure is different, I had to try: mkdir -p /home/pi/build/tvheadend/build.linux/foo
and then there's also no directory foo. Not even with sudo.

Correction:
I found out that winscp doesn't refresh. When I exited and started the program again, I saw the directory in BOTH cases.
Maybe that was the problem, that the package was made but I just didn't see it because of winscp not refreshing.
It's strange, because on another occasion I did see a file appear and disappear from within winscp. MAybe just not for directories???

(1-25/28)