Your message dated Tue, 25 Dec 2012 20:47:33 +0000
with message-id <e1tnbpr-0004xr...@franck.debian.org>
and subject line Bug#696423: fixed in gcc-avr 1:4.7.2-2
has caused the Debian Bug report #696423,
regarding missing Built-Using on gcc-4.7 (for gcc-4.7-source)
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 ow...@bugs.debian.org
immediately.)


-- 
696423: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696423
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:gcc-avr
Version: 4.7.2-1
Severity: serious
Tags: patch
Usertags: built-using

gcc-avr uses the gdb source from gcc-4.7-source, but does not indicate so with a
Built-Using field (Policy 7.8). This means the archive might not contain the
full source for this package as the specific version of gcc used to build the
package could be replaced with a newer version.

I've attached a patch adding the Built-Using field to the gcc-avr binary
package.

Ansgar
diff -Nru gcc-avr-4.7.2/debian/changelog gcc-avr-4.7.2/debian/changelog
--- gcc-avr-4.7.2/debian/changelog	2012-11-28 07:43:03.000000000 +0100
+++ gcc-avr-4.7.2/debian/changelog	2012-12-20 16:03:41.000000000 +0100
@@ -1,3 +1,10 @@
+gcc-avr (1:4.7.2-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Add Built-Using for gcc-4.7-source.
+
+ -- Ansgar Burchardt <ans...@debian.org>  Thu, 20 Dec 2012 15:03:29 +0000
+
 gcc-avr (1:4.7.2-1) unstable; urgency=low
 
   * New upstream release (closes: #693572)
diff -Nru gcc-avr-4.7.2/debian/control gcc-avr-4.7.2/debian/control
--- gcc-avr-4.7.2/debian/control	2012-11-27 18:26:12.000000000 +0100
+++ gcc-avr-4.7.2/debian/control	2012-12-20 16:18:37.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Hakan Ardo <ha...@debian.org>
 Standards-Version: 3.5.3
-Build-Depends: m4, autoconf (>= 2.13), libtool, gawk, bzip2, binutils-avr (>= 2.20.1-2), bison, flex, gettext, texinfo, zlib1g-dev, debhelper (>= 4.2.10), tar (>= 1.13.18), automake1.9, libmpfr-dev, lsb-release, patchutils, gcc-4.7-source (>= 4.7.2-4), libmpc-dev
+Build-Depends: m4, autoconf (>= 2.13), libtool, gawk, bzip2, binutils-avr (>= 2.20.1-2), bison, flex, gettext, texinfo, zlib1g-dev, debhelper (>= 4.2.10), tar (>= 1.13.18), automake1.9, libmpfr-dev, lsb-release, patchutils, gcc-4.7-source (>= 4.7.2-4), libmpc-dev, dpkg (>= 1.16.2)
 Build-Conflicts: libgcc0, libgcc300
 
 Package: gcc-avr
@@ -14,6 +14,7 @@
 Depends: ${shlibs:Depends}, binutils-avr (>= 2.18-4)
 Provides: c-compiler-avr
 Suggests: task-c-devel, gcc-doc (>= 4:4.0.2-1), gcc-4.2, avr-libc(>=1:1.6.2-2)
+Built-Using: ${Built-Using}
 Description: The GNU C compiler (cross compiler for avr)
  This is the GNU C compiler, a fairly portable optimizing compiler which
  supports multiple languages.  This package includes support for C.
diff -Nru gcc-avr-4.7.2/debian/rules gcc-avr-4.7.2/debian/rules
--- gcc-avr-4.7.2/debian/rules	2012-05-23 09:33:21.000000000 +0200
+++ gcc-avr-4.7.2/debian/rules	2012-12-20 16:02:49.000000000 +0100
@@ -42,6 +42,7 @@
 TAR_DIR=gcc-*
 
 SOURCE_DIR := /usr/src/gcc-4.7/
+BUILT_USING := $(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W gcc-4.7-source)
 patchdir = $(SOURCE_DIR)/patches
 
 include $(SOURCE_DIR)/debian/rules.defs
@@ -172,7 +173,7 @@
 	dh_installdeb
 #	dh_perl
 	dh_shlibdeps
-	dh_gencontrol
+	dh_gencontrol -- -VBuilt-Using="$(BUILT_USING)"
 	dh_md5sums
 	dh_builddeb
 

--- End Message ---
--- Begin Message ---
Source: gcc-avr
Source-Version: 1:4.7.2-2

We believe that the bug you reported is fixed in the latest version of
gcc-avr, which is due to be installed in the Debian FTP archive.

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 696...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hakan Ardo <ha...@debian.org> (supplier of updated gcc-avr 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 25 Dec 2012 20:27:57 +0100
Source: gcc-avr
Binary: gcc-avr
Architecture: source amd64
Version: 1:4.7.2-2
Distribution: unstable
Urgency: low
Maintainer: Hakan Ardo <ha...@debian.org>
Changed-By: Hakan Ardo <ha...@debian.org>
Description: 
 gcc-avr    - The GNU C compiler (cross compiler for avr)
Closes: 696423
Changes: 
 gcc-avr (1:4.7.2-2) unstable; urgency=low
 .
   [ Ansgar Burchardt ]
   * Add Built-Using for gcc-4.7-source. (closes: #696423)
Checksums-Sha1: 
 17b9594ec1d1e9d5adc27053b4efb6d7ce3acffc 1025 gcc-avr_4.7.2-2.dsc
 0f3be8570272026f49a4ccc22522257180da2980 20002 gcc-avr_4.7.2-2.tar.gz
 46f1b90e1f07338febb97d5a09078a976efcc057 13269148 gcc-avr_4.7.2-2_amd64.deb
Checksums-Sha256: 
 d4f253027eba199f4de8a28fc699fa2b3e6a01e73b8cc04f84b860d2a3ef65aa 1025 
gcc-avr_4.7.2-2.dsc
 595693d60c50523e9ca88d6283bc1b8d9e81407027b556e054b9f7d41088f613 20002 
gcc-avr_4.7.2-2.tar.gz
 d0d5b92f543fa0b64aad7804b3b3d2761d292cf1147235113c3c0c6be49d7d18 13269148 
gcc-avr_4.7.2-2_amd64.deb
Files: 
 4dc9d7e5fd806ef74210ba756604abf5 1025 devel extra gcc-avr_4.7.2-2.dsc
 70ee3cbc7b5c728b9a98a2ff1ff853b4 20002 devel extra gcc-avr_4.7.2-2.tar.gz
 4bc2fbd97a35f6061b6a4d89cb10afd0 13269148 devel extra gcc-avr_4.7.2-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlDaA6sACgkQAbtddT3jfcCrpwCgjzNYqdiKeo+BOSJFNor3alx0
JeYAn0HvuznuuhHsby62h/VpSi01JGky
=+y0M
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to