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

Re: Bug#149429: apt-get source yields different source tree than dpkg-source -x



On Sun, 9 Jun 2002, Torsten Hilbrich wrote: 

> I just found a case where "apt-get source uucp" yields a different
> source directory than unpacking the files manually by "dpkg-source -x
> uucp_1.06.1-18.dsc".

apt-get source calls dpkg-source -x, so there is no possible way they can
be different, unless you are not using the same files when calling it, or 
doing something otherwise wrong.

Indeed, if I try it I get indentical results:

auric{jgg}/tmp#apt-get source uucp && grep 'define DEBUG '
uucp-1.06.1/policy.h
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 0B/843kB of source archives.
dpkg-source: extracting uucp in uucp-1.06.1
#define DEBUG 2
auric{jgg}/tmp#rm -rf uucp-*
auric{jgg}/tmp#dpkg-source -x uucp_1.06.1-18.dsc && grep 'define DEBUG '
uucp-1.06.1/policy.h
dpkg-source: extracting uucp in uucp-1.06.1
#define DEBUG 2

I also can't fathom why you think it should be #define DEBUG 1:

auric{jgg}/tmp#tar -xzf uucp_1.06.1.orig.tar.gz
auric{jgg}/tmp#grep 'define DEBUG ' uucp-1.06.1.orig/policy.h 
#define DEBUG 2
auric{jgg}/tmp#zgrep 'define DEBUG ' uucp_1.06.1-18.diff.gz    

Jason


-- 
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: