[Twisted-Python] tap2deb problem with building package

Eric P. Mangold eric at teratorn.org
Tue Sep 4 13:59:14 MDT 2012


Hi,

On Fri, Aug 31, 2012 at 08:28:41PM +0200, Klaudiusz Staniek wrote:
> Hi
> when I try to build the deb package I'm getting the error message: cp:
> cannot create regular file `debian/tmp/etc/': No such file or
> directory
> 
> What is wrong? See below output:
> Cheers,
> Klaudiusz
> 
> 
> tap2deb --unsigned -m "Klaudiusz Staniek <kstaniek at gmail.com>"
> --type=python -t xplhub.tac
> dpkg-buildpackage: set CFLAGS to default value: -g -O2
> dpkg-buildpackage: set CPPFLAGS to default value:
> dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
> dpkg-buildpackage: set FFLAGS to default value: -g -O2
> dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
> dpkg-buildpackage: source package twisted-xplhub
> dpkg-buildpackage: source version 1.0
> dpkg-buildpackage: source changed by Klaudiusz Staniek <kstaniek at gmail.com>
> dpkg-buildpackage: host architecture armel
>  fakeroot debian/rules clean
> dh_testdir
> dh_testroot
> rm -f build-stamp install-stamp
> dh_clean
>  dpkg-source -b twisted-xplhub-1.0
> dpkg-source: info: using source format `1.0'
> dpkg-source: info: building twisted-xplhub in twisted-xplhub_1.0.tar.gz
> dpkg-source: info: building twisted-xplhub in twisted-xplhub_1.0.dsc
>  debian/rules build
> dh_testdir
> touch build-stamp
>  fakeroot debian/rules binary
> dh_testdir
> dh_testroot
> dh_clean -k
> dh_installdirs
> # Add here commands to install the package into debian/tmp.
> cp xplhub.tac debian/tmp/etc/

In a `rules` file it is usually just as simple as:

mkdir -p debian/tmp/etc

OTOH, there is the debian/<package>.dirs file. Which I believe is preferred in newer versions of debhelper (?)

Oh, and this sounds like a bug - could you file an issue at http://twistedmatrix.com ?

Thanks,
-E




More information about the Twisted-Python mailing list