I have recently tried to build MythTV 0.29 on Devuan 2.0.0 Ascii, using the Debian Stretch build instructions as listed on the "Installing_MythTV_on_Debian" wiki page.
There is only one difference in setup: when installing build requirements, Devuan does not have the default-libmysqlclient-dev package, but instead has libmysqlclient-dev. This may be relevant to the issue I'm seeing...
Unfortunately, there is an error at the end:
Code: Select all
...
#(MythTV) We replace these with shell scripts
mv debian/tmp/usr/bin/mythfrontend debian/tmp/usr/bin/mythfrontend.real
mv debian/tmp/usr/bin/mythtv-setup debian/tmp/usr/bin/mythtv-setup.real
#(All) Make sure python/perl scripts are executable
find debian/tmp/usr/share -type f \( -iname "*.p[y|l]" ! -iname "oauth_api. py" \) -size +1b -exec chmod 755 {} \;
#Set up python package properly
dh_python2 -plibmyth-python
I: dh_python2 pydist:220: Cannot find package that provides mysqldb. Please add package that provides it to Build-Depends or add "mysqldb python-mysqldb" line to debian/pydist-overrides or add proper dependency to Depends by hand and ignore this info.
make[1]: Leaving directory '/root/mythtv-build/packaging/deb/mythtv'
debian/rules override_dh_install
make[1]: Entering directory '/root/mythtv-build/packaging/deb/mythtv'
mkdir -p debian/tmp/etc/php5/apache2/conf.d; \
cp debian/20-mythweb.ini debian/tmp/etc/php5/apache2/conf.d; \
mkdir -p debian/tmp/etc/php/7.0/apache2/conf.d; \
cp debian/20-mythweb.ini debian/tmp/etc/php/7.0/apache2/conf.d; \
dh_install -Xusr/share/mythtv/fonts/Free \
-Xusr/share/mythtv/fonts/Purisa \
-Xusr/share/mythtv/fonts/texgyrechorus \
-Xusr/lib/libmythzmq. la \
-Xusr/share/mythtv/fonts/tiresias_gpl3.txt \
-XLICENSE \
-X.git \
-Xscriptaculous \
-Xprototype.js \
-Xjquery.min.js \
--fail-missing
dh_install: usr/bin/mythexternrecorder exists in debian/tmp but is not installed to anywhere
dh_install: missing files, aborting
debian/rules:132: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 2
make[1]: Leaving directory '/root/mythtv-build/packaging/deb/mythtv'
debian/rules:95: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1116:
dpkg-buildpackage -rfakeroot -us -uc -i -I.git failed
Any ideas what might be causing the above error, and how to fix?
Many thanks in advance!