Ubuntu 22.04 + Tvheadend
Added by RoboSK - over 2 years ago
Hello,
i wanted to compile Tvheadend to Ubutnu 22.04 but i ended up with this error and i haven't found a solution anywhere.
install "python-is-python3" - Didn't help
./Autobuild.sh -j$(nproc)
dpkg-buildpackage: info: source package tvheadend dpkg-buildpackage: info: source version 4.2.8-36~g5bdcfd8ac dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Öman <[email protected]> dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build . dpkg-checkbuilddeps: error: Unmet build dependencies: python dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning: (Use -d flag to override.)
with -d
dpkg-buildpackage: info: source package tvheadend dpkg-buildpackage: info: source version 4.2.8-36~g5bdcfd8ac-dirty dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Öman <[email protected]> dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build . debian/rules clean dh clean dh: error: Compatibility levels before 7 are no longer supported (level 5 requested) make: *** [debian/rules:5: clean] Error 255 dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
thanks
Replies (1)
RE: Ubuntu 22.04 + Tvheadend - Added by saen acro over 2 years ago
Build 4.3 master branch.
this outdated one is too old.
apt install python-is-python3
is enough to solve problem.
dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 7 in use)
cp -f debian/tvheadend.postinst debian/tvheadend/DEBIAN/postinst
[META] Replace #TOKEN#s in "debian/tvheadend/DEBIAN/postinst"
chmod 0755 -- debian/tvheadend/DEBIAN/postinst
chown 0:0 -- debian/tvheadend/DEBIAN/postinst
printf '#!/bin/sh\nset -e\n' > debian/tvheadend/DEBIAN/prerm
cat debian/.debhelper/generated/tvheadend/prerm.service debian/tvheadend.prerm.debhelper >> debian/tvheadend/DEBIAN/prerm
chmod 0755 -- debian/tvheadend/DEBIAN/prerm
chown 0:0 -- debian/tvheadend/DEBIAN/prerm
cp -f debian/tvheadend.postrm debian/tvheadend/DEBIAN/postrm
[META] Replace #TOKEN#s in "debian/tvheadend/DEBIAN/postrm"
chmod 0755 -- debian/tvheadend/DEBIAN/postrm
chown 0:0 -- debian/tvheadend/DEBIAN/postrm
find debian/tvheadend/etc -type f -printf '/etc/%P
' | LC_ALL=C sort >> debian/tvheadend/DEBIAN/conffiles
chmod 0644 -- debian/tvheadend/DEBIAN/conffiles
chown 0:0 -- debian/tvheadend/DEBIAN/conffiles
dh_gencontrol -O--with-systemd
echo misc:Pre-Depends= >> debian/tvheadend.substvars
dpkg-gencontrol -ptvheadend -ldebian/changelog -Tdebian/tvheadend.substvars -Pdebian/tvheadend
echo misc:Depends= >> debian/tvheadend-dbg.substvars
echo misc:Pre-Depends= >> debian/tvheadend-dbg.substvars
dpkg-gencontrol -ptvheadend-dbg -ldebian/changelog -Tdebian/tvheadend-dbg.substvars -Pdebian/tvheadend-dbg
chmod 0644 -- debian/tvheadend-dbg/DEBIAN/control
chown 0:0 -- debian/tvheadend-dbg/DEBIAN/control
dpkg-gencontrol: warning: package tvheadend: substitution variable ${misc:Depends} unused, but is defined
chmod 0644 -- debian/tvheadend/DEBIAN/control
chown 0:0 -- debian/tvheadend/DEBIAN/control
dh_md5sums -O--with-systemd
cd debian/tvheadend-dbg >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
cd debian/tvheadend >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
chmod 0644 -- debian/tvheadend-dbg/DEBIAN/md5sums
chown 0:0 -- debian/tvheadend-dbg/DEBIAN/md5sums
chmod 0644 -- debian/tvheadend/DEBIAN/md5sums
chown 0:0 -- debian/tvheadend/DEBIAN/md5sums
debian/rules override_dh_builddeb
make[1]: влизане в директория „/opt/tvheadend“
dh_builddeb -- -Zgzip
dpkg-deb -Zgzip --build debian/tvheadend ..
dpkg-deb -Zgzip --build debian/tvheadend-dbg ..
dpkg-deb: building package 'tvheadend' in '../tvheadend_4.3-2024~g420786927_amd64.deb'.
dpkg-deb: building package 'tvheadend-dbg' in '../tvheadend-dbg_4.3-2024~g420786927_amd64.deb'.
make[1]: излизане от директория „/opt/tvheadend“
dpkg-genbuildinfo --build=binary -O../tvheadend_4.3-2024~g420786927_amd64.buildinfo
dpkg-genchanges --build=binary -O../tvheadend_4.3-2024~g420786927_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
doozer-versioned-artifact:/opt/tvheadend/../tvheadend_4.3-2024~g420786927_amd64.deb:deb:application/x-deb:tvheadend_4.3-2024~g420786927_amd64.deb
doozer-versioned-artifact:/opt/tvheadend/../tvheadend-dbg_4.3-2024~g420786927_amd64.deb:deb:application/x-deb:tvheadend-dbg_4.3-2024~g420786927_amd64.deb
doozer-versioned-artifact:/opt/tvheadend/../tvheadend_4.3-2024~g420786927_amd64.changes:changes:text/plain:tvheadend_4.3-2024~g420786927_amd64.changes
real 1m56,457s
user 2m47,171s
sys 0m36,659s
uname -a && lsb_release -a
Linux pop-os 5.16.19-76051619-generic #202204081339~1649696161~22.04~091f44b SMP PREEMPT Mon Apr 11 17 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Pop
Description: Pop!_OS 22.04 LTS
Release: 22.04
Codename: jammy