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

Re: "apt-get -b source libexpat1" -> cp: cannot stat `usr/include'...



On Tue, Feb 18, 2003 at 02:18:39AM +0100, Vincent Lefevre wrote:
> When doing a "apt-get -b source libexpat1":

Did you also install it's build dependencies?  man apt-get, this is VERY
important.  Also, you do have build-essential installed, right?

> Reading Package Lists... Done
> Building Dependency Tree... Done
> Need to get 369kB of source archives.
> Get:1 ftp://ftp.fr.debian.org unstable/main expat 1.95.6-2 (dsc) [693B]
> Get:2 ftp://ftp.fr.debian.org unstable/main expat 1.95.6-2 (tar) [292kB]
> Get:3 ftp://ftp.fr.debian.org unstable/main expat 1.95.6-2 (diff) [76.8kB]     
> Fetched 369kB in 17s (20.8kB/s)                                                
> dpkg-source: extracting expat in expat-1.95.6
> dpkg-buildpackage: source package is expat
> dpkg-buildpackage: source version is 1.95.6-2
> dpkg-buildpackage: source maintainer is Ardo van Rangelrooij <ardo@debian.org>
> dpkg-buildpackage: host architecture is powerpc
>  debian/rules clean
> dh_testdir
> dh_testroot
> [...]
> dh_testdir
> dh_testroot
> dh_install -a --sourcedir=debian/tmp
> cp: cannot stat `usr/include': No such file or directory
> dh_install: command returned error code
> make: *** [binary-arch] Error 1
> Build command 'cd expat-1.95.6 && dpkg-buildpackage -b -uc' failed.
> E: Child process failed

It looks like files are not getting moved into debian/tmp correctly.
Add a line like this near the top of debian/rules to get more info about
the build process 'export DH_VERBOSE=1'.

-- 
Rob Weir <rweir@ertius.org>				http://ertius.org/

Attachment: pgpjyjhOwJ6gx.pgp
Description: PGP signature


Reply to: