Problem building ubuntu maverick package from git
#1
I am trying to build an Ubuntu 10.10 Maverick Meerkat package using the git version of xbmc.

I did
Code:
git clone git://github.com/xbmc/xbmc.git
cd xbmc/tools/Linux/packaging
dpkg-buildpackage

I get the following error:
Code:
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package xbmc
dpkg-buildpackage: source version 2:10.0~svn33746~deb1-1
dpkg-buildpackage: source changed by Andres Mejia <[email protected]>
dpkg-buildpackage: host architecture i386
dpkg-source --before-build packaging
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 `xbmc/tools/Linux/packaging'
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 `xbmc/tools/Linux/packaging'
Generating debian/control from debian/control.in
perl -p \
    -e 's{#BUILD_DEPENDS#}{qx(sh debian/var_info BUILD_DEPENDS)}ge;' \
    -e 's{#LIBCURL_DEPENDS#}{qx(sh debian/var_info LIBCURL_DEPENDS)}ge;' \
    -e 's{#XBMC_LIVE_DEPENDS#}{qx(sh debian/var_info XBMC_LIVE_DEPENDS)}ge;' \
    < debian/control.in > $(echo debian/control.in | sed 's/\.in$//')
make[2]: Leaving directory `xbmc/tools/Linux/packaging'
make[1]: Leaving directory `xbmc/tools/Linux/packaging'
dpkg-source -b packaging
dpkg-source: info: using source format `1.0'
dpkg-source: warning: source directory 'packaging' is not <sourcepackage>-<upstreamversion> 'xbmc-10.0~svn33746~deb1'
dpkg-source: info: building xbmc in xbmc_10.0~svn33746~deb1-1.tar.gz
dpkg-source: info: building xbmc in xbmc_10.0~svn33746~deb1-1.dsc
debian/rules build
dh build --parallel
   dh_testdir -O--parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory `xbmc/tools/Linux/packaging'
dh configure --parallel
dh: Unknown sequence configure (choose from: binary binary-arch binary-indep build clean install)
make[1]: *** [configure] Error 9
make[1]: Leaving directory `xbmc/tools/Linux/packaging'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Can anybody help me building this package? Does anybody know how to fix the "dh: Unknown sequence configure"?

Thanks in advance!
Reply
#2
Try this:
creates a symbolic link in the xbmc directory created by git:
1) ln -s xbmc/tools/Linux/packaging/debian debian
2) Edit the changelog file in debian directory and enter your details and a dummy version of svn higher than 35648.
3) In direcory xbmc run:
. /bootstrap; ./configure; dpkg-buildpackage-b-j2 (depending on your rocessor)
4) Finally it should generate the files. deb in the parent directory.

Problems:
since been transferred in the development branch on git, did not find an alternative way to create debian packages for installation. There is no way to have a changelog file showing a significant progress git version of the development branch.
Bye
Reply

Logout Mark Read Team Forum Stats Members Help
Problem building ubuntu maverick package from git0