emilio@kiko:~/deb/listen/listen-0.5$ export LC_ALL=C; dpkg-buildpackage -us -uc -rfakeroot dpkg-buildpackage: source package is listen dpkg-buildpackage: source version is 0.5-0ubuntu1 dpkg-buildpackage: source changed by Emilio Pozuelo Monfort dpkg-buildpackage: host architecture i386 dpkg-buildpackage: source version without epoch 0.5-0ubuntu1 fakeroot debian/rules clean test -x debian/rules test "`id -u`" = 0 /usr/bin/make -f debian/rules reverse-config make[1]: Entering directory `/home/emilio/deb/listen/listen-0.5' make[1]: Nothing to be done for `reverse-config'. make[1]: Leaving directory `/home/emilio/deb/listen/listen-0.5' if [ "reverse-patches" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi patches: debian/patches/01_desktop_entry.patch Patch debian/patches/01_desktop_entry.patch is not applied. if [ "reverse-patches" != "reverse-patches" ]; then touch debian/stamp-patched; fi if [ "reverse-patches" != "reverse-patches" ] ; then \ /usr/bin/make -f debian/rules update-config ; \ fi for dir in debian/patches ; do \ rm -f $dir/*.log ; \ done dh_clean /usr/bin/make -C . CFLAGS="-g -Wall -O2" CXXFLAGS="-g -Wall -O2" CPPFLAGS="" LDFLAGS="" -k clean make[1]: Entering directory `/home/emilio/deb/listen/listen-0.5' rm -rf data/*.h rm -rf misc/*.h rm -rf po/*.mo rm -rf build rm -f tags rm -f misc/listen.1.gz rm -rf dists/ find . -type f -name '*.pyc' -print | xargs rm -rf find . -type f -name '*.pyo' -print | xargs rm -rf rm -f src/*.so for fn in misc/listen.in misc/org.gnome.Listen.service.in src/dists.py.in ; do \ F=`echo $fn | sed -e 's/\.in$//g'`; \ rm -f $F; \ done rm -f listen.1 /usr/bin/make -C mmkeys clean make[2]: Entering directory `/home/emilio/deb/listen/listen-0.5/mmkeys' rm -f mmkeys.so *.o mmkeyspy.c rm -rf build dist make[2]: Leaving directory `/home/emilio/deb/listen/listen-0.5/mmkeys' make[1]: Leaving directory `/home/emilio/deb/listen/listen-0.5' rm -f debian/stamp-makefile-build rm -f listen.1 rm -f debian/listen.xpm dpkg-source -b listen-0.5 dpkg-source: building listen using existing listen_0.5.orig.tar.gz dpkg-source: building listen in listen_0.5-0ubuntu1.diff.gz dpkg-source: warning: file debian/listen.1.docbook has no final newline (either original or modified version) dpkg-source: building listen in listen_0.5-0ubuntu1.dsc debian/rules build test -x debian/rules mkdir -p "." /usr/bin/make -f debian/rules reverse-config make[1]: Entering directory `/home/emilio/deb/listen/listen-0.5' make[1]: Nothing to be done for `reverse-config'. make[1]: Leaving directory `/home/emilio/deb/listen/listen-0.5' if [ "debian/stamp-patched" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi patches: debian/patches/01_desktop_entry.patch Trying patch debian/patches/01_desktop_entry.patch at level 1 ... success. if [ "debian/stamp-patched" != "reverse-patches" ]; then touch debian/stamp-patched; fi if [ "debian/stamp-patched" != "reverse-patches" ] ; then \ /usr/bin/make -f debian/rules update-config ; \ fi make[1]: Entering directory `/home/emilio/deb/listen/listen-0.5' make[1]: Nothing to be done for `update-config'. make[1]: Leaving directory `/home/emilio/deb/listen/listen-0.5' /usr/bin/make -C . CFLAGS="-g -Wall -O2" CXXFLAGS="-g -Wall -O2" CPPFLAGS="" LDFLAGS="" make[1]: Entering directory `/home/emilio/deb/listen/listen-0.5' Checking for Python... /usr/bin/python Checking Python version: 2.5 Checking for PyGTK >= 2.6: found Checking for pyGTK-devel >= 2.6: found Checking for gnome.ui: found Checking for egg.trayicon: found Checking for pygtkmozembed: found Checking for mutagen: found Checking for PyGSt >= 0.10: found Checking for DBUS: found Checking for python-libgpod: not found Listen recommends python-gpod (http://www.gtkpod.org) Checking for python-musicbrainz2: not found , but recommanded Checking for python-tunepimp > 0.5: not found , but recommanded Checking for libsexy: not found Listen recommends python sexy for sexy widget. /usr/bin/make -C mmkeys make[2]: Entering directory `/home/emilio/deb/listen/listen-0.5/mmkeys' pygtk-codegen-2.0 --prefix mmkeys \ --register `pkg-config --variable=defsdir pygtk-2.0`/gdk-types.defs \ --register `pkg-config --variable=defsdir pygtk-2.0`/gtk-types.defs \ --override mmkeys.override \ mmkeys.defs > gen-tmp ***INFO*** There are no declared global functions. ***INFO*** There are no declared methods. ***INFO*** There are no declared virtual proxies. ***INFO*** There are no declared virtual accessors. ***INFO*** There are no declared interface proxies. mv gen-tmp mmkeyspy.c ./setup.py build running build running build_ext building 'mmkeys' extension creating build creating build/temp.linux-i686-2.5 gcc -pthread -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -g -Wall -O2 -fPIC -I/usr/include/python2.5 -c mmkeyspy.c -o build/temp.linux-i686-2.5/mmkeyspy.o -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pygtk-2.0 gcc -pthread -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -g -Wall -O2 -fPIC -I/usr/include/python2.5 -c mmkeys.c -o build/temp.linux-i686-2.5/mmkeys.o -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pygtk-2.0 gcc -pthread -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -g -Wall -O2 -fPIC -I/usr/include/python2.5 -c mmkeysmodule.c -o build/temp.linux-i686-2.5/mmkeysmodule.o -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pygtk-2.0 creating build/lib.linux-i686-2.5 gcc -pthread -shared -Wl,-O1 -g -Wall -O2 build/temp.linux-i686-2.5/mmkeyspy.o build/temp.linux-i686-2.5/mmkeys.o build/temp.linux-i686-2.5/mmkeysmodule.o -o build/lib.linux-i686-2.5/mmkeys.so -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 cp build/lib*/mmkeys.so . make[2]: Leaving directory `/home/emilio/deb/listen/listen-0.5/mmkeys' cp mmkeys/mmkeys.so src/mmkeys.so for lang in ./zh_CN ./be ./ar ./ca ./bn ./br ./da ./de ./cs ./es ./fi ./et ./fr ./gl ./hu ./ja ./it ./ko ./lv ./nb ./nl ./pa ./pl ./pt ./ro ./ru ./sk ./sr ./sv ./tr ./uk ./vi ./en_CA ./en_GB ./en_US ./pt_BR; do msgfmt po/$lang.po -o po/$lang.mo;done intltool-merge -d po misc/listen.desktop.in misc/listen.desktop NOTICE: po/it.po is not in UTF-8 but iso-8859-1, converting... NOTICE: po/hu.po is not in UTF-8 but iso-8859-2, converting... Merging translations into misc/listen.desktop. docbook2x-man misc/listen.1.docbook --to-stdout | gzip > misc/listen.1.gz for fn in misc/listen.in misc/org.gnome.Listen.service.in src/dists.py.in ; do \ if [ 0 -eq 1 ]; then \ IN=`cat $fn | sed -e 's!GTKMOZEMBED_PATH!LD_LIBRARY_PATH=!g' | sed -e 's!GTKMOZEMBED_PATH!!g' -e 's!PYTHON!python!g' -e 's!LIBDIR!/usr/lib/listen!g' -e 's!DATADIR!/usr/share!g' -e 's!PREFIX!/usr!g' -e 's!BINDIR!/usr/bin!g' -e 's!LOCALEDIR!/usr/share/locale!g'`; \ else \ IN=`cat $fn | sed -e 's!GTKMOZEMBED_PATH!!g' -e 's!PYTHON!python!g' -e 's!LIBDIR!/usr/lib/listen!g' -e 's!DATADIR!/usr/share!g' -e 's!PREFIX!/usr!g' -e 's!BINDIR!/usr/bin!g' -e 's!LOCALEDIR!/usr/share/locale!g'`; \ fi ;\ F_OUT=`echo $fn | sed -e 's/\.in$//g'`; \ echo "$IN" > $F_OUT; \ done Done Type: make install now make[1]: Leaving directory `/home/emilio/deb/listen/listen-0.5' touch debian/stamp-makefile-build DEB_MAKE_CHECK_TARGET unset, not running checks docbook2x-man debian/listen.1.docbook convert -resize 32x32 /home/emilio/deb/listen/listen-0.5/data/img/listen.png /home/emilio/deb/listen/listen-0.5/debian/listen.xpm fakeroot debian/rules binary test -x debian/rules test "`id -u`" = 0 dh_clean -k dh_installdirs -A mkdir -p "." DEB_MAKE_CHECK_TARGET unset, not running checks docbook2x-man debian/listen.1.docbook convert -resize 32x32 /home/emilio/deb/listen/listen-0.5/data/img/listen.png /home/emilio/deb/listen/listen-0.5/debian/listen.xpm /usr/bin/make -C . CFLAGS="-g -Wall -O2" CXXFLAGS="-g -Wall -O2" CPPFLAGS="" LDFLAGS="" install DESTDIR=/home/emilio/deb/listen/listen-0.5/debian/listen/ make[1]: Entering directory `/home/emilio/deb/listen/listen-0.5' mkdir -p /home/emilio/deb/listen/listen-0.5/debian/listen//usr/bin mkdir -p /home/emilio/deb/listen/listen-0.5/debian/listen//usr/lib/listen/source mkdir -p /home/emilio/deb/listen/listen-0.5/debian/listen//usr/lib/listen/library mkdir -p /home/emilio/deb/listen/listen-0.5/debian/listen//usr/lib/listen/webradio mkdir -p /home/emilio/deb/listen/listen-0.5/debian/listen//usr/lib/listen/widget/webinfo mkdir -p /home/emilio/deb/listen/listen-0.5/debian/listen//usr/share/listen/img/source mkdir -p /home/emilio/deb/listen/listen-0.5/debian/listen//usr/share/pixmaps mkdir -p /home/emilio/deb/listen/listen-0.5/debian/listen//usr/share/applications mkdir -p /home/emilio/deb/listen/listen-0.5/debian/listen//usr/share/man/man1 mkdir -p /home/emilio/deb/listen/listen-0.5/debian/listen//usr/share/dbus-1/services for lang in ./zh_CN ./be ./ar ./ca ./bn ./br ./da ./de ./cs ./es ./fi ./et ./fr ./gl ./hu ./ja ./it ./ko ./lv ./nb ./nl ./pa ./pl ./pt ./ro ./ru ./sk ./sr ./sv ./tr ./uk ./vi ./en_CA ./en_GB ./en_US ./pt_BR; do mkdir -p /home/emilio/deb/listen/listen-0.5/debian/listen//usr/share/locale/$lang/LC_MESSAGES; done install -m 644 src/*.py /home/emilio/deb/listen/listen-0.5/debian/listen//usr/lib/listen install -m 644 src/listen.py /home/emilio/deb/listen/listen-0.5/debian/listen//usr/lib/listen install -m 644 src/mmkeys.so /home/emilio/deb/listen/listen-0.5/debian/listen//usr/lib/listen install -m 644 src/source/*.py /home/emilio/deb/listen/listen-0.5/debian/listen//usr/lib/listen/source install -m 644 src/library/*.py /home/emilio/deb/listen/listen-0.5/debian/listen//usr/lib/listen/library install -m 644 src/webradio/*.py /home/emilio/deb/listen/listen-0.5/debian/listen//usr/lib/listen/webradio install -m 644 src/widget/*.py /home/emilio/deb/listen/listen-0.5/debian/listen//usr/lib/listen/widget install -m 644 src/widget/webinfo/*.py /home/emilio/deb/listen/listen-0.5/debian/listen//usr/lib/listen/widget/webinfo install -m 644 data/*.glade /home/emilio/deb/listen/listen-0.5/debian/listen//usr/share/listen install -m 644 data/img/*.png /home/emilio/deb/listen/listen-0.5/debian/listen//usr/share/listen/img install -m 644 data/img/source/*.png /home/emilio/deb/listen/listen-0.5/debian/listen//usr/share/listen/img/source install -m 644 data/img/listen.png /home/emilio/deb/listen/listen-0.5/debian/listen//usr/share/pixmaps/ install -m 644 misc/listen.desktop /home/emilio/deb/listen/listen-0.5/debian/listen//usr/share/applications/ install -m 644 misc/listen.1.gz /home/emilio/deb/listen/listen-0.5/debian/listen//usr/share/man/man1/ install -m 644 misc/org.gnome.Listen.service /home/emilio/deb/listen/listen-0.5/debian/listen//usr/share/dbus-1/services for lang in ./zh_CN ./be ./ar ./ca ./bn ./br ./da ./de ./cs ./es ./fi ./et ./fr ./gl ./hu ./ja ./it ./ko ./lv ./nb ./nl ./pa ./pl ./pt ./ro ./ru ./sk ./sr ./sv ./tr ./uk ./vi ./en_CA ./en_GB ./en_US ./pt_BR; do install -m 644 po/$lang.mo /home/emilio/deb/listen/listen-0.5/debian/listen//usr/share/locale/$lang/LC_MESSAGES/listen.mo; done install -m 755 misc/listen /home/emilio/deb/listen/listen-0.5/debian/listen//usr/bin make[1]: Leaving directory `/home/emilio/deb/listen/listen-0.5' dh_installdirs -plisten sed -i 's,/env python,/python2.5,g' debian/listen/usr/lib/listen/listen.py dh_installdocs -plisten ./README dh_installexamples -plisten dh_installman -plisten listen.1 dh_installinfo -plisten dh_installmenu -plisten dh_installcron -plisten dh_installinit -plisten dh_installdebconf -plisten dh_installemacsen -plisten dh_installcatalogs -plisten dh_installpam -plisten dh_installlogrotate -plisten dh_installlogcheck -plisten dh_installmime -plisten dh_installchangelogs -plisten dh_installudev -plisten dh_install -plisten dh_link -plisten dh_pycentral dh_python usr/lib/listen dh_python: Doing nothing since dh_pycompat exists; dh_pysupport or dh_pycentral should do the work. You can remove dh_python from your rules file. dh_strip -plisten dh_compress -plisten dh_fixperms -plisten dh_makeshlibs -plisten dh_installdeb -plisten dh_perl -plisten dh_shlibdeps -plisten dh_gencontrol -plisten dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends} dh_md5sums -plisten dh_builddeb -plisten warning, `debian/listen/DEBIAN/control' contains user-defined field `Python-Version' dpkg-deb: building package `listen' in `../listen_0.5-0ubuntu1_i386.deb'. dpkg-deb: ignoring 1 warnings about the control file(s) dpkg-genchanges dpkg-genchanges: warning: unknown information field `Xb-Python-Version' in input data in package's section of control info file dpkg-genchanges: not including original source code in upload dpkg-buildpackage: binary and diff upload (original source NOT included) emilio@kiko:~/deb/listen/listen-0.5$