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

Re: screwy error message from dpkg-buildpackage



On Thu, 23 Jan 1997, Susan G. Kleinmann wrote:

sgk >As directed in the policy manual (the chapter on conversions), I 
sgk >-- obtained the source code for a pacakge I want to build (blurf-NN.tar.gz),
sgk >-- copied it to blurf_NN.orig.tar.gz, then

You should not have done the above! debmake generates the .orig for you
with the correct directoryname. The copying might have kept the
upstream directory name which is wrong (does not have .orig at the
end!) leading to the problem below.

sgk >-- untar'd the source file to blurf-NN/
sgk >-- cd'd to blurf-NN
sgk >-- executed deb-make
sgk >-- customized files in debian/
sgk >-- executed dpkg-buildpackage
sgk >
sgk >but got this error message:
sgk >dpkg-source: building sp using existing sp_1.1.1.orig.tar.gz
sgk >dpkg-source: error: tarfile `sp_1.1.1.orig.tar.gz' contains \
sgk >   object (sp-1.1.1/COPYING) not in expected directory (sp-1.1.1.orig)
sgk >
sgk >[The line break is my own.]
sgk >
sgk >It is true that the file COPYING is in the directory sp-1.1.1.orig,
sgk >and it is also in the directory sp-1.1.1.  
sgk >
sgk >But why should that cause an error?
sgk >
sgk >Susan Kleinmann
sgk >
sgk >
sgk >--
sgk >TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
sgk >debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
sgk >
sgk >

--- +++ --- +++ --- +++ --- +++ --- +++ --- +++ --- +++ ---
Please always CC me when replying to posts on mailing lists.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: