Your message dated Wed, 23 May 2012 10:19:18 +0000
with message-id <[email protected]>
and subject line Bug#669250: fixed in xdeb 0.6.6
has caused the Debian Bug report #669250,
regarding xdeb: Add support to the option --stage1 to consider the 
Build_Depends-Stage1 instead of Build-Depends
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
669250: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669250
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xdeb
Version: 0.6.5
Severity: wishlist

Dear Maintainer,

Attached is a patch to add support to --stage1 option, which considers the 
Build-Depends-Stage1 field of control file instead of Build-Depends.

This addition enables the use of xdeb while working with staged build. 

Please, see [1] for more informations about bootstrap in debian.

This is my second bugreport. Sorry for any mistakes.

[1] http://wiki.debian.org/DebianBootstrap

Cheers, 

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xdeb depends on:
ii  apt-utils        0.8.15.10
ii  build-essential  11.5
ii  devscripts       2.11.6
ii  dpkg-cross       2.6.6
ii  dpkg-dev         1.16.2
ii  lintian          2.5.6
ii  python           2.7.2-10
ii  python-apt       0.8.3+nmu1
ii  python-debian    0.1.21
ii  sudo             1.8.3p2-1
ii  wget             1.13.4-2

Versions of packages xdeb recommends:
ii  fakeroot  1.18.2-1
ii  gcc       4:4.6.3-4

xdeb suggests no packages.

-- no debconf information
diff -Nur xdeb-0.6.5.orig/debian/changelog xdeb-0.6.5/debian/changelog
--- xdeb-0.6.5.orig/debian/changelog	2011-09-30 11:49:54.000000000 +0000
+++ xdeb-0.6.5/debian/changelog	2012-04-18 12:21:55.858809074 +0000
@@ -1,5 +1,9 @@
 xdeb (0.6.5) unstable; urgency=low
 
+  [ Gustavo Alkmim ]
+  * Add support to --stage1 option, which considers the Build-Depends-Stage1
+    field of control file instead of Build-Depends.
+
   [ Steve Langasek ]
   * If a package is Multi-Arch: foreign, we don't need to build it unless we
     also want to install it in its own right.
diff -Nur xdeb-0.6.5.orig/xdeb.py xdeb-0.6.5/xdeb.py
--- xdeb-0.6.5.orig/xdeb.py	2011-09-30 09:25:31.000000000 +0000
+++ xdeb-0.6.5/xdeb.py	2012-04-18 12:22:04.366809385 +0000
@@ -301,7 +301,12 @@
         # that we can native-import them, but we don't want to go further
         # down transitive build-dependencies.
         if not options.only_explicit or not builddep_depth:
-            builddeps = src_record.relations['build-depends']
+            if options.stage1:
+                builddeps = src_record.relations['build-depends-stage1']
+                if builddeps == []:
+                    builddeps = src_record.relations['build-depends']
+            else:
+                builddeps = src_record.relations['build-depends']
             if options.architecture == build_arch:
                 builddeps.extend(src_record.relations['build-depends-indep'])
             builddeps = filter_arch(builddeps, options.architecture)
@@ -428,7 +433,13 @@
         src_record = get_src_record(options, src)
         if src_record is None:
             continue
-        builddeps = src_record.relations['build-depends']
+        if options.stage1:
+            builddeps = src_record.relations['build-depends-stage1']
+            if builddeps == []:
+                builddeps = src_record.relations['build-depends']
+
+        else:
+            builddeps = src_record.relations['build-depends']
         builddeps.extend(src_record.relations['build-depends-indep'])
         for builddep in builddeps:
             if [d for d in builddep if d['name'] == 'linux-gnu']:
@@ -631,9 +642,20 @@
     print "===== Building %s_%s =====" % (src, ver)
     print
 
-    utils.spawn(['dpkg-checkbuilddeps'], cwd=srcdir)
+    if options.stage1:
+        utils.spawn(['dpkg-checkbuilddeps', '--stage=1'], cwd=srcdir)
+    else:
+        utils.spawn(['dpkg-checkbuilddeps'], cwd=srcdir)
 
     buildpackage = ['debuild', '--no-lintian', '-eUSER']
+
+    if 'DEB_BUILD_OPTIONS' in os.environ:
+        build_options = '%s' % os.environ['DEB_BUILD_OPTIONS']
+    else:
+        build_options = '"'
+    if options.stage1:
+        build_options += 'stage=1 '
+
     global target_config
     if options.parallel and src not in target_config.parallel_blacklist:
         cpu_count = multiprocessing.cpu_count()
@@ -644,11 +666,8 @@
     if options.architecture != build_arch:
         buildpackage.append('-eCONFIG_SITE=/etc/dpkg-cross/cross-config.%s' %
                             options.architecture)
-        if 'DEB_BUILD_OPTIONS' in os.environ:
-            buildpackage.append('-eDEB_BUILD_OPTIONS=%s nocheck' %
-                                os.environ['DEB_BUILD_OPTIONS'])
-        else:
-            buildpackage.append('-eDEB_BUILD_OPTIONS=nocheck')
+
+        build_options += 'nocheck '
         deb_host_gnu_type = utils.get_output(
             ['dpkg-architecture', '-a%s' % options.architecture,
              '-qDEB_HOST_GNU_TYPE']).rstrip('\n')
@@ -667,6 +686,8 @@
         if options.debug:
             buildpackage.append('-eDH_VERBOSE=1')
         buildpackage.append('-a%s' % options.architecture)
+    build_options += '"'
+    buildpackage.append('-eDEB_BUILD_OPTIONS=%s' % build_options)
     buildpackage.extend(['-b', '-uc', '-us'])
     if options.clean_after:
         buildpackage.append('-tc')
@@ -789,6 +810,12 @@
                       action='store_true', default=False,
                       help='draw a simplified graph omitting binary package '
                            'links')
+    parser.add_option('--stage1',
+                      dest='stage1', 
+                      action='store_true', default=False,
+                      help='generate the dependencies of packages based on '
+                           'the Build-Depends-Stage1 field of the control '
+                           'file instead of the Build-Depends field')
     options, args = parser.parse_args()
     return parser, options, args
 

--- End Message ---
--- Begin Message ---
Source: xdeb
Source-Version: 0.6.6

We believe that the bug you reported is fixed in the latest version of
xdeb, which is due to be installed in the Debian FTP archive:

xdeb_0.6.6.dsc
  to main/x/xdeb/xdeb_0.6.6.dsc
xdeb_0.6.6.tar.gz
  to main/x/xdeb/xdeb_0.6.6.tar.gz
xdeb_0.6.6_all.deb
  to main/x/xdeb/xdeb_0.6.6_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated xdeb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 23 May 2012 11:03:18 +0100
Source: xdeb
Binary: xdeb
Architecture: source all
Version: 0.6.6
Distribution: unstable
Urgency: low
Maintainer: Wookey <[email protected]>
Changed-By: Colin Watson <[email protected]>
Description: 
 xdeb       - Cross-build tool for Debian packages
Closes: 669250
Changes: 
 xdeb (0.6.6) unstable; urgency=low
 .
   [ Loïc Minier ]
   * Add an initial testsuite.
 .
   [ Colin Watson ]
   * Fix typography of --generate-graph help text.
   * Don't fail if /etc/apt/sources.list (or whatever Dir::Etc::sourcelist
     points to) doesn't exist.
   * Use Python 3-style print functions.
   * Require Python >= 2.6.
   * Use "except Exception as e" syntax rather than the old-style "except
     Exception, e".
   * Use "raise Exception(value)" syntax rather than the old-style "raise
     Exception, value".
   * Make GraphCycleError a subclass of Exception rather than of
     StandardError; StandardError was removed in Python 3.
   * Run the test suite on build.
   * Build-depend on python-debian and python-apt for the test suite.
   * Bump python build-dependency to (>= 2.7) for unittest discovery.
 .
   [ Gustavo Alkmim ]
   * Add support for --stage1 option, which considers the
     Build-Depends-Stage1 field of control file instead of Build-Depends;
     using this option requires patched dpkg-dev with support for
     'dpkg-checkbuilddeps --stage=1' (closes: #669250).
Checksums-Sha1: 
 148f784089de39b160a218123b91c2d248aee477 1612 xdeb_0.6.6.dsc
 bb819fbd1ddc03aea91249fedb2f56afe8a67762 50814 xdeb_0.6.6.tar.gz
 ebe3ccd11952437c6b2d19fbe2462aea6867f538 39136 xdeb_0.6.6_all.deb
Checksums-Sha256: 
 032822c6744f45fd324899571f5ebf6d3257a5cde3a739434bf3a4914f76dd1c 1612 
xdeb_0.6.6.dsc
 ab6578d372598eab71c1d69a31f24b1434f935be9a7e310dd93008fbce7a04ea 50814 
xdeb_0.6.6.tar.gz
 1c9e56b3e2a4f7a8c03804ae72567230d38542fd53a81a67ca6c4b9438526332 39136 
xdeb_0.6.6_all.deb
Files: 
 c98989d89f7714268408a2e50df9de6c 1612 devel optional xdeb_0.6.6.dsc
 064477f21b708d158a89532d79fbcecc 50814 devel optional xdeb_0.6.6.tar.gz
 be0fc9c796181b0c2f40d2b364daea1d 39136 devel optional xdeb_0.6.6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Colin Watson <[email protected]> -- Debian developer

iQIVAwUBT7y3Mzk1h9l9hlALAQigIg//WBSQiZXly7k/OJT+kzwtO5gEnrwuw1Ec
9ZkPWlW9ZzLiW8XsQmKrw+3qhmvHhRaAxdrIy7fKb8V0HB+bB7BNEANrpsNa5LnY
T90YotLYANOVJ6obsj+j7oHFB+P/U0T+B9sKDcnMl5xfZN2s7Y7pSHeLkEIm2EmW
nH9TfDcNm8sew0dBVG8RNF2kFNtlpbimOxkDw/Hn1B9EMUfCC/DP/KYCHJcZ/xPe
UF2ktmGMiH32H7yoqT/aQnoyr2ovxmZlOw7KhukG2zrqhSNZ39ZrsGn0ebBVV+z5
7iHwy+Kn70A3iCJ+E4nN/wkrxa/GFwSbZh2W9bvBFQRBpd3h/x2pKnOKvrqhWeDJ
DXLiwjYFEWQAWSN+9G2X3qGdvMEVy2NWGEUd0BWZeUVoNau6pIUjucbPTM//ZmDZ
tHeOKBM40JLZr07M4KLDh3btG3GXncIoTDN22GPzLaY7P8bQ6YhMM8/ObQHBwT7U
7PR/snO5ARNzLmjDK8+aVJSL0HpXI1620tdL1AJNez4F+phOqd6ydKf3mRxvDumQ
tQoG4UYlMV6GcBq89uUt36h+UF3Fs2g9zfEi15iUTSEaqR/7vNuEXXcDdnJVJ57y
iPqdR4hH6JkH3zhRzSgZDD7fj6Bo2jMt09bdeNYA1sV8ttA4eDG5qdb+Jqt3obed
OTcgH8/tuf4=
=Cb4o
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to