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

Bug#149429: marked as done (apt-get source yields different source tree than dpkg-source -x)



Your message dated Sun, 09 Jun 2002 18:33:09 -0600 (MDT)
with message-id <[🔎] Pine.LNX.3.96.1020609182232.789A-100000@wakko.debian.net>
and subject line Bug#149429: apt-get source yields different source tree than  dpkg-source -x
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Jun 2002 09:25:04 +0000
>From debian-user-german@myrkr.in-berlin.de Sun Jun 09 04:25:04 2002
Return-path: <debian-user-german@myrkr.in-berlin.de>
Received: from hirsch.in-berlin.de [192.109.42.6] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17GywZ-0000Oz-00; Sun, 09 Jun 2002 04:25:03 -0500
Received: from hirsch.in-berlin.de (localhost [127.0.0.1])
	by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with ESMTP id g599P1YN031578
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT)
	for <submit@bugs.debian.org>; Sun, 9 Jun 2002 11:25:01 +0200
Received: from myrkr.in-berlin.de (uucp@localhost)
	by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with BSMTP id g599P1p6031559
	for submit@bugs.debian.org; Sun, 9 Jun 2002 11:25:01 +0200
X-Envelope-From: debian-user-german@myrkr.in-berlin.de
X-Envelope-To: submit@bugs.debian.org
Received: from torsten by myrkr.in-berlin.de with local (Exim 3.35 #1 (Debian))
	id 17GyuJ-0006LE-00
	for <submit@bugs.debian.org>; Sun, 09 Jun 2002 11:22:43 +0200
To: submit@bugs.debian.org
Subject: apt-get source yields different source tree than dpkg-source -x
From: Torsten Hilbrich <debbug@myrkr.in-berlin.de>
X-Face:  &h3VJ.Wf$"FwQv&ybX66{lt4*Mo%#kP6^"eU?7~UHhgF6l7)UB0f~g'}64W-b{tK1Jyh)^!
 %sc(cpH%Yv}bh"VwaJ>>!Kv*k4EJn^Lt[X|f<
Date: Sun, 09 Jun 2002 11:22:43 +0200
Message-ID: <[🔎] 87n0u4hkm4.fsf@myrkr.in-berlin.de>
Lines: 60
User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2
 (i386-debian-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: submit@bugs.debian.org

Package: apt
Version: 0.5.4

Hello

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".

Here are the steps I have taken:

1. fetch und unpack source
   $ apt-get source uucp

2. rename directory 

   $ mv uucp-1.06.1 uucp-apt

3. manually unpack the source

   $ dpkg-source -x uucp_1.06.1-18.dsc

4. look at the difference

   $ diff -ru uucp-apt/ uucp-1.06.1/
diff -ru uucp-apt/policy.h uucp-1.06.1/policy.h
--- uucp-apt/policy.h   Sun Jun  9 11:03:10 2002
+++ uucp-1.06.1/policy.h        Sun Jun  9 10:59:57 2002
@@ -430,7 +430,7 @@
    in.  When initially testing, DEBUG should be 2, and you should
    probably leave it at 2 unless a small reduction in the executable
    file size will be very helpful.  */
-#define DEBUG 2
+#define DEBUG 1
 
 /* Set HAVE_ENCRYPTED_PASSWORDS to 1 if you want login passwords to be
    encrypted before comparing them against the values in the file.

This diff is part of the uucp_1.06.1-18.diff.gz file distributed with
uucp.

The DEBUG setting which is different 'cause of this bug can also be
found in the binary package (i.e., in the binary package the value is
2, if I compile the package created by "dpkg-source -x" it is set to
1).

I checked both the apt and dpkg-dev bugs and couldn't find there
anything similiar.

        Torsten

Here are the dependencies:

ii  libc6          2.2.5-6        GNU C Library: Shared libraries and Timezone
ii  libstdc++2.10- 2.95.4-8       The GNU stdc++ library
ii  dpkg-dev       1.9.21         Package building tools for Debian


BTW: I don't know if dpkg-dev might be the correct place to report to.
     But the bug occurs only when apt calls dpkg-source.


---------------------------------------
Received: (at 149429-done) by bugs.debian.org; 10 Jun 2002 00:33:40 +0000
>From jgg@debian.org Sun Jun 09 19:33:40 2002
Return-path: <jgg@debian.org>
Received: from h24-71-223-10.cg.shawcable.net (pd2mo2so.prod.shaw.ca) [24.71.223.10] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17HD7s-0002M9-00; Sun, 09 Jun 2002 19:33:40 -0500
Received: from pd5mr3so.prod.shaw.ca
 (pd5mr3so-qfe3.prod.shaw.ca [10.0.141.144]) by l-daemon
 (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0GXG00CKDS7869@l-daemon> for 149429-done@bugs.debian.org; Sun,
 09 Jun 2002 18:33:08 -0600 (MDT)
Received: from pn2ml6so.prod.shaw.ca
 (pn2ml6so-qfe0.prod.shaw.ca [10.0.121.150]) by l-daemon
 (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0GXG001DQS76RM@l-daemon> for 149429-done@bugs.debian.org; Sun,
 09 Jun 2002 18:33:06 -0600 (MDT)
Received: from wakko.debian.net ([24.86.210.128])
 by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0GXG00LXCS74ML@l-daemon> for 149429-done@bugs.debian.org; Sun,
 09 Jun 2002 18:33:04 -0600 (MDT)
Received: from localhost	([127.0.0.1] helo=wakko.debian.net ident=jgg)
	by wakko.debian.net with smtp (Exim 3.16 #1 (Debian))
	id 17HD7N-0000Fi-00; Sun, 09 Jun 2002 18:33:09 -0600
Date: Sun, 09 Jun 2002 18:33:09 -0600 (MDT)
From: Jason Gunthorpe <jgg@debian.org>
Subject: Re: Bug#149429: apt-get source yields different source tree than
 dpkg-source -x
In-reply-to: <[🔎] 87n0u4hkm4.fsf@myrkr.in-berlin.de>
X-Sender: jgg@wakko.debian.net
To: Torsten Hilbrich <debbug@myrkr.in-berlin.de>, 149429-done@bugs.debian.org
Cc: APT Development Team <deity@lists.debian.org>, apt@packages.qa.debian.org
Reply-to: Jason Gunthorpe <jgg@debian.org>
Message-id: <[🔎] Pine.LNX.3.96.1020609182232.789A-100000@wakko.debian.net>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
Delivered-To: 149429-done@bugs.debian.org


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: