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

Ubuntu dpkg 1.16.1.2ubuntu8



This e-mail has been sent due to an upload to Ubuntu that contains Ubuntu
changes.  It contains the difference between the new version and the
previous version of the same source package in Ubuntu.
Format: 1.8
Date: Mon, 30 Apr 2012 12:49:51 +0100
Source: dpkg
Binary: libdpkg-dev dpkg dpkg-dev libdpkg-perl dselect
Architecture: source
Version: 1.16.1.2ubuntu8
Distribution: quantal
Urgency: low
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Changed-By: Colin Watson <cjwatson@ubuntu.com>
Description: 
 dpkg       - Debian package management system
 dpkg-dev   - Debian package development tools
 dselect    - Debian package management front-end
 libdpkg-dev - Debian package management static library
 libdpkg-perl - Dpkg perl modules
Changes: 
 dpkg (1.16.1.2ubuntu8) quantal; urgency=low
 .
   * Revert hack to export compiler flags in dpkg-buildpackage.  Any package
     depending on this should be fixed to use dpkg-buildflags instead.
Checksums-Sha1: 
 792aa579fd92a7e85842ee02201860f73ee2dc42 2179 dpkg_1.16.1.2ubuntu8.dsc
 0aa9c59f717602c58a061af27ca2142264b64a60 5440283 dpkg_1.16.1.2ubuntu8.tar.bz2
Checksums-Sha256: 
 c5093a647c7379a811e6c72c8223f9774f77ef9f98b93c6c49a05d8c0a9d6024 2179 dpkg_1.16.1.2ubuntu8.dsc
 8a06cdb66047f3f220d195bc7f00f2d97e41a0026eefc324b9a68d2989c30d2e 5440283 dpkg_1.16.1.2ubuntu8.tar.bz2
Files: 
 9ed2fb2de1d6d30ec56fa51daf4e0c09 2179 admin required dpkg_1.16.1.2ubuntu8.dsc
 cf1e28469a2e90682eb88ece85a1b0a9 5440283 admin required dpkg_1.16.1.2ubuntu8.tar.bz2
Original-Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org>
diff -pruN 1.16.1.2ubuntu7/debian/changelog 1.16.1.2ubuntu8/debian/changelog
--- 1.16.1.2ubuntu7/debian/changelog	2012-04-12 23:01:21.000000000 +0000
+++ 1.16.1.2ubuntu8/debian/changelog	2012-04-30 11:49:52.000000000 +0000
@@ -1,3 +1,10 @@
+dpkg (1.16.1.2ubuntu8) quantal; urgency=low
+
+  * Revert hack to export compiler flags in dpkg-buildpackage.  Any package
+    depending on this should be fixed to use dpkg-buildflags instead.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 30 Apr 2012 12:49:51 +0100
+
 dpkg (1.16.1.2ubuntu7) precise; urgency=low
 
   * Apply missing patch from upstream to let dselect's resolver deal
diff -pruN 1.16.1.2ubuntu7/scripts/dpkg-buildpackage.pl 1.16.1.2ubuntu8/scripts/dpkg-buildpackage.pl
--- 1.16.1.2ubuntu7/scripts/dpkg-buildpackage.pl	2011-11-01 18:13:15.000000000 +0000
+++ 1.16.1.2ubuntu8/scripts/dpkg-buildpackage.pl	2012-04-30 11:47:44.000000000 +0000
@@ -25,7 +25,6 @@ use POSIX;
 use Dpkg;
 use Dpkg::Gettext;
 use Dpkg::ErrorHandling;
-use Dpkg::BuildFlags;
 use Dpkg::BuildOptions;
 use Dpkg::Compression;
 use Dpkg::Version;
@@ -294,36 +293,6 @@ if (defined $parallel) {
     $build_opts->export();
 }
 
-# Temporarily continue to export build flags to the environment.  This is to
-# avoid regressing various defaults in packages in the near term; we expect
-# to drop this after Ubuntu 12.04 LTS.
-# We don't do this if debhelper compat level >= 9 is in use, as a
-# lesser-evil workaround for an interaction with debhelper's build flags
-# handling.  See:
-#   https://lists.ubuntu.com/archives/ubuntu-devel/2011-November/034351.html
-my $debhelper_compat = 1;
-if (open my $debhelper_compat_file, 'debian/compat') {
-    my $line = <$debhelper_compat_file>;
-    close $debhelper_compat_file;
-    if (defined $line and length $line) {
-	$debhelper_compat = int($line);
-    }
-}
-if ($debhelper_compat < 9) {
-    my $build_flags = Dpkg::BuildFlags->new();
-    $build_flags->load_config();
-    foreach my $flag ($build_flags->list()) {
-	# While -Werror=format-security does catch many real bugs, it also
-	# causes many build failures and causes a number of configure tests
-	# to silently fail.  It was not exported to the environment in any
-	# released version of Ubuntu.
-	$build_flags->strip($flag, '-Werror=format-security', undef);
-	$ENV{$flag} = $build_flags->get($flag);
-	printf(_g("%s: export %s from dpkg-buildflags (origin: %s): %s\n"),
-	       $progname, $flag, $build_flags->get_origin($flag), $ENV{$flag});
-    }
-}
-
 my $cwd = cwd();
 my $dir = basename($cwd);
 

Reply to: