[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Building package exercise



Hello,

I am trying to create a Debian package for rtl-sdr based on Maitland 's work but
I get the following error:

$ debuild 
 dpkg-buildpackage -us -uc -ui -i -I
dpkg-buildpackage: info: source package rtl-sdr
dpkg-buildpackage: info: source version 0.8.0-1
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Apostolos 
 dpkg-source -i -I --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh clean --buildsystem=cmake
   dh_auto_clean -O--buildsystem=cmake
   dh_autoreconf_clean -O--buildsystem=cmake
   dh_clean -O--buildsystem=cmake
 dpkg-source -i -I -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building rtl-sdr using existing ./rtl-sdr_0.8.0.orig.tar.gz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building rtl-sdr in rtl-sdr_0.8.0-1.debian.tar.xz
dpkg-source: info: building rtl-sdr in rtl-sdr_0.8.0-1.dsc
 debian/rules build
dh build --buildsystem=cmake
   dh_update_autotools_config -O--buildsystem=cmake
   dh_autoreconf -O--buildsystem=cmake
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:12: installing './compile'
configure.ac:15: installing './config.guess'
configure.ac:15: installing './config.sub'
configure.ac:5: installing './install-sh'
configure.ac:5: installing './missing'
Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or
'*_CPPFLAGS')
src/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or
'*_CPPFLAGS')
src/Makefile.am: error: object 'rtlsdr_rpc_msg.$(OBJEXT)' created both with
libtool and without
src/Makefile.am: installing './depcomp'
autoreconf: automake failed with exit status: 1
dh_autoreconf: error: autoreconf -f -i returned exit code 1
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -i -I failed

Can anyone please explain why debhelper uses dh_update_autotools_config and
dh_autoreconf although buildsystem=cmake is specified?

Thanks!
Apostolos


Reply to: