2014-11-26, 14:58
Hi guys,
As I need support for h265 on my HTPC running Debian Jessie and packaged xBMC 13, I decided to manually package by myself Kodi 14. Hopefully, this should be quite easy as the script mk-debian-package.sh do the job...
So after installing all the build dependencies packages, backporting afpfs package from Ubuntu repositories, and creating a dummy package to provide libgnutls-dev as libgnutls28-dev is breaking the dependencies, I was able to checkout the git repo and run mk-debian-package.sh... But it fails :
rico@kodibld:~/src/kodi/xbmc/tools/Linux/packaging$ ./mk-debian-package.sh
#------ build environment ------#
REPO_DIR: /home/rico/src/kodi/xbmc
RELEASEV: 14.0
TAG: 488627a
DISTS: jessie
ARCHS: amd64
DEBIAN: https://github.com/xbmc/xbmc-packaging/a...ter.tar.gz
BUILDER: debuild
CONFIGURATION:
DEBUILD_OPTS:
#-------------------------------#
Output Archive: kodi-14.0~git20141126.1313-488627a.tar.gz
building: DIST=jessie ARCH=amd64
This package has a Debian revision number but there does not seem to be
an appropriate original tar file or .orig directory in the parent directory;
(expected one of xbmc_14.0~git20141126.1313-488627a.orig.tar.gz, xbmc_14.0~git20141126.1313-488627a.orig.tar.bz2,
xbmc_14.0~git20141126.1313-488627a.orig.tar.lzma, xbmc_14.0~git20141126.1313-488627a.orig.tar.xz or xbmc.orig)
continue anyway? (y/n) y
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package xbmc
dpkg-buildpackage: source version 14.0~git20141126.1313-488627a-0
dpkg-buildpackage: source distribution jessie
dpkg-buildpackage: source changed by wsnipex <wsnipex@xbmc.org>
dpkg-source --before-build xbmc
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean --parallel
dh_testdir -O--parallel
dh_auto_clean -O--parallel
debian/rules override_dh_clean
make[1]: Entering directory '/home/rico/src/kodi/xbmc'
dh_clean
find . -name config.status -o -name config.cache -o -name config.log \
-exec rm -f "{}" \;
debian/rules debian/control.in
make[2]: Entering directory '/home/rico/src/kodi/xbmc'
Generating debian/control from debian/control.in
perl -p \
-e 's{#BUILD_DEPENDS#}{qx(sh debian/var_info BUILD_DEPENDS)}ge;' \
< debian/control.in > $(echo debian/control.in | sed 's/\.in$//')
make[2]: Leaving directory '/home/rico/src/kodi/xbmc'
make[1]: Leaving directory '/home/rico/src/kodi/xbmc'
dpkg-source -b xbmc
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../xbmc_14.0~git20141126.1313-488627a.orig.tar.{bz2,gz,lzma,xz}
dpkg-buildpackage: error: dpkg-source -b xbmc gave error exit status 255
debuild: fatal error at line 1373:
dpkg-buildpackage -rfakeroot -D -us -uc failed
output directory: /home/rico/src/kodi/xbmc/..
I can't understand the error message "no upstream tarball found" as the tarball is actually as expected :
rico@kodibld:~/src/kodi/xbmc/tools/Linux/packaging$ ls -al /home/rico/src/kodi/xbmc/..
total 70724
drwxr-xr-x 3 rico rico 4096 nov. 26 13:13 .
drwxr-xr-x 4 rico rico 4096 nov. 26 11:50 ..
lrwxrwxrwx 1 rico rico 41 nov. 26 13:13 kodi_14.0~git20141126.1313-488627a.orig.tar.gz -> kodi-14.0~git20141126.1313-488627a.tar.gz
-rw-r--r-- 1 rico rico 72404890 nov. 26 13:13 kodi-14.0~git20141126.1313-488627a.tar.gz
drwxr-xr-x 19 rico rico 4096 nov. 26 13:49 xbmc
-rw-r--r-- 1 rico rico 1267 nov. 26 13:13 xbmc_14.0~git20141126.1313-488627a-0_amd64.build
I also tried with pbuilder instead of debuild, with the same result. I used this command line :
RELEASEV=14 ARCHS=amd64 DISTS=jessie BUILDER="pdebuild" PDEBUILD_OPTS="--debbuildopts \"-j4\"" PBUILDER_BASE="/home/rico/xbmc-pkg" DPUT_TARGET="local" ./mk-debian-package.sh
If somebody can tell me where I'm wrong ?
Thanks,
Eric
As I need support for h265 on my HTPC running Debian Jessie and packaged xBMC 13, I decided to manually package by myself Kodi 14. Hopefully, this should be quite easy as the script mk-debian-package.sh do the job...
So after installing all the build dependencies packages, backporting afpfs package from Ubuntu repositories, and creating a dummy package to provide libgnutls-dev as libgnutls28-dev is breaking the dependencies, I was able to checkout the git repo and run mk-debian-package.sh... But it fails :
rico@kodibld:~/src/kodi/xbmc/tools/Linux/packaging$ ./mk-debian-package.sh
#------ build environment ------#
REPO_DIR: /home/rico/src/kodi/xbmc
RELEASEV: 14.0
TAG: 488627a
DISTS: jessie
ARCHS: amd64
DEBIAN: https://github.com/xbmc/xbmc-packaging/a...ter.tar.gz
BUILDER: debuild
CONFIGURATION:
DEBUILD_OPTS:
#-------------------------------#
Output Archive: kodi-14.0~git20141126.1313-488627a.tar.gz
building: DIST=jessie ARCH=amd64
This package has a Debian revision number but there does not seem to be
an appropriate original tar file or .orig directory in the parent directory;
(expected one of xbmc_14.0~git20141126.1313-488627a.orig.tar.gz, xbmc_14.0~git20141126.1313-488627a.orig.tar.bz2,
xbmc_14.0~git20141126.1313-488627a.orig.tar.lzma, xbmc_14.0~git20141126.1313-488627a.orig.tar.xz or xbmc.orig)
continue anyway? (y/n) y
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package xbmc
dpkg-buildpackage: source version 14.0~git20141126.1313-488627a-0
dpkg-buildpackage: source distribution jessie
dpkg-buildpackage: source changed by wsnipex <wsnipex@xbmc.org>
dpkg-source --before-build xbmc
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean --parallel
dh_testdir -O--parallel
dh_auto_clean -O--parallel
debian/rules override_dh_clean
make[1]: Entering directory '/home/rico/src/kodi/xbmc'
dh_clean
find . -name config.status -o -name config.cache -o -name config.log \
-exec rm -f "{}" \;
debian/rules debian/control.in
make[2]: Entering directory '/home/rico/src/kodi/xbmc'
Generating debian/control from debian/control.in
perl -p \
-e 's{#BUILD_DEPENDS#}{qx(sh debian/var_info BUILD_DEPENDS)}ge;' \
< debian/control.in > $(echo debian/control.in | sed 's/\.in$//')
make[2]: Leaving directory '/home/rico/src/kodi/xbmc'
make[1]: Leaving directory '/home/rico/src/kodi/xbmc'
dpkg-source -b xbmc
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../xbmc_14.0~git20141126.1313-488627a.orig.tar.{bz2,gz,lzma,xz}
dpkg-buildpackage: error: dpkg-source -b xbmc gave error exit status 255
debuild: fatal error at line 1373:
dpkg-buildpackage -rfakeroot -D -us -uc failed
output directory: /home/rico/src/kodi/xbmc/..
I can't understand the error message "no upstream tarball found" as the tarball is actually as expected :
rico@kodibld:~/src/kodi/xbmc/tools/Linux/packaging$ ls -al /home/rico/src/kodi/xbmc/..
total 70724
drwxr-xr-x 3 rico rico 4096 nov. 26 13:13 .
drwxr-xr-x 4 rico rico 4096 nov. 26 11:50 ..
lrwxrwxrwx 1 rico rico 41 nov. 26 13:13 kodi_14.0~git20141126.1313-488627a.orig.tar.gz -> kodi-14.0~git20141126.1313-488627a.tar.gz
-rw-r--r-- 1 rico rico 72404890 nov. 26 13:13 kodi-14.0~git20141126.1313-488627a.tar.gz
drwxr-xr-x 19 rico rico 4096 nov. 26 13:49 xbmc
-rw-r--r-- 1 rico rico 1267 nov. 26 13:13 xbmc_14.0~git20141126.1313-488627a-0_amd64.build
I also tried with pbuilder instead of debuild, with the same result. I used this command line :
RELEASEV=14 ARCHS=amd64 DISTS=jessie BUILDER="pdebuild" PDEBUILD_OPTS="--debbuildopts \"-j4\"" PBUILDER_BASE="/home/rico/xbmc-pkg" DPUT_TARGET="local" ./mk-debian-package.sh
If somebody can tell me where I'm wrong ?
Thanks,
Eric