Your message dated Tue, 28 Feb 2012 03:32:13 +0000
with message-id <e1s2dnr-0001zw...@franck.debian.org>
and subject line Bug#592006: fixed in apt-build 0.12.42
has caused the Debian Bug report #592006,
regarding apt-build: Should use "debchange" instead of "debchange --append"
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.)
--
592006: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592006
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: apt-build
Version: 0.12.37
Severity: normal
Tags: patch
Hi,
apt-build uses "debchange --append" to add entries on the changelog
file. Therefore, the change (build infos) is logged into the same log
entry as the official maintainer's one.
- First, the change is expected to be logged in a new entry, tagged
"non-maintainer upload" since it is generally indeed the case.
- Second, it means that the version of the local-built package will be the
same as the one from the official repository. This leads to a very
annoying bug with apt (see #351056). Indeed, after you've built all your
"world" and have stored them in your local repository, apt will want to
upgrade *all* your installed packages to the same version - the one from
your local repository - again and again...
These two issues are fixed by modifying "debchange --append" into
"debchange". This will add a new entry in the change log, tag it as
"non-maintainer upload" if you're not recognized as author of the
package and increment the minor version as expected.
I've attached a patch to fix this that way (though it's not very
useful given the small size of the adjustment).
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35-rc6-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt-build depends on:
ii apt 0.7.25.3 Advanced front-end for dpkg
ii apt-utils 0.7.25.3 APT utility programs
ii debconf [debconf-2.0] 1.5.33 Debian configuration management sy
ii devscripts 2.10.66 scripts to make the life of a Debi
ii dpkg-dev 1.15.8.3 Debian package development tools
ii g++ 4:4.4.4-2 The GNU C++ compiler
ii gcc 4:4.4.4-2 The GNU C compiler
ii libappconfig-perl 1.56-2 Perl module for configuration file
ii libapt-pkg-perl 0.1.24 Perl interface to libapt-pkg
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii perl 5.10.1-13 Larry Wall's Practical Extraction
Versions of packages apt-build recommends:
ii build-essential 11.5 Informational list of build-essent
ii fakeroot 1.14.4-1 Gives a fake root environment
apt-build suggests no packages.
-- Configuration Files:
/etc/apt/sources.list.d/apt-build [Errno 2] No such file or directory:
u'/etc/apt/sources.list.d/apt-build'
-- debconf information excluded
Index: apt-build-0.12.37/apt-build
===================================================================
--- apt-build-0.12.37.orig/apt-build 2010-08-06 21:41:42.000000000 +0200
+++ apt-build-0.12.37/apt-build 2010-08-06 21:44:26.000000000 +0200
@@ -288,11 +288,11 @@
chdir "$src_name-$upver";
# Add an entry in changelog
- system "debchange --append 'Built by apt-build'";
+ system "debchange 'Built by apt-build'";
for (@{$conf->patch})
{
$_ =~ s[.*/(.*)\n$][$1]gio; # basename + chomp
- system "debchange --append 'Patched with $_'";
+ system "debchange 'Patched with $_'";
}
# Patch if asked
@@ -310,7 +310,7 @@
$buildoptions = "Build options: ".
$conf->Olevel." ".$conf->mtune." ".$conf->options;
- system "debchange --append \"$buildoptions\"";
+ system "debchange \"$buildoptions\"";
# Now build
$r = !system $conf->build_command;
--- End Message ---
--- Begin Message ---
Source: apt-build
Source-Version: 0.12.42
We believe that the bug you reported is fixed in the latest version of
apt-build, which is due to be installed in the Debian FTP archive:
apt-build_0.12.42.dsc
to main/a/apt-build/apt-build_0.12.42.dsc
apt-build_0.12.42.tar.gz
to main/a/apt-build/apt-build_0.12.42.tar.gz
apt-build_0.12.42_mipsel.deb
to main/a/apt-build/apt-build_0.12.42_mipsel.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 592...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dominique Lasserre <lasserr...@gmail.com> (supplier of updated apt-build
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: SHA256
Format: 1.8
Date: Fri, 24 Feb 2012 02:02:46 +0100
Source: apt-build
Binary: apt-build
Architecture: source mipsel
Version: 0.12.42
Distribution: experimental
Urgency: low
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Dominique Lasserre <lasserr...@gmail.com>
Description:
apt-build - frontend to apt to build, optimize and install packages
Closes: 179850 291565 292169 314155 315102 316572 369173 391449 392844 425044
434859 507881 511853 592006 596296 624365 660590
Changes:
apt-build (0.12.42) experimental; urgency=low
.
* QA upload.
* Bump source format to 3.0 (native).
* Added archive suite. Clear solution for #639859.
* Allow non authenticated installation from apt-build repository. Closes:
#316572, #369173
* Added new cpu-type profiles to debconf templates.
* Changed default make option in template (-j`cpu_cores`). Set question
priority to "high".
* debian/dirs: Removed due to its redundancy.
* Prevent empty directory for build_dir and repository_dir (use loop).
Closes: #511853
* Move debconf-only related content from postinst to config file and pimp
debconf stuff (configuration file handling).
* --yes (assume-yes) functionality is now recognized by aptitude. Also
renamed help information from apt-get and apt-cache to aptget and aptcache.
(thanks to Bryant Wong) Closes: #392844
* Improved source version and name handling. Closes: #314155, #315102,
#425044, #434859
* Pull correct build dependencies. Closes: #624365
* Compilation with cmake is supported (no code changes). Closes: #507881
* Build with local version number (suffix +aptbuild). Closes: #391449,
#592006
* Support sources stored at /Dir::Etc::sourceparts. Closes: #596296
* Rebuild Packages.gz after repository cleaning.
* Patch from Kumar Appaiah: Allow package builds without binary packages
registered in sources. Closes: #179850, #291565, #292169
* Unregister conffiles located in /etc/apt/sources.list.d/. Changes are
completely managed by debconf and maintainer scripts. Closes: #660590
* Bump debhelper compatibility mode to 9.
* Bump Standards version to 3.9.3.
Checksums-Sha1:
88b86903c8156f48205e89371093fd53f2da3b7d 1550 apt-build_0.12.42.dsc
469be4c4c6aafd483a05566025fb0891f4ce12c6 52168 apt-build_0.12.42.tar.gz
bf5f8c657aa98cde4eb583d534a17f3a140cb502 41298 apt-build_0.12.42_mipsel.deb
Checksums-Sha256:
95b37faa6d66d09a6ffd6d623b36f38f89ff4fda9520fea27c14536e681aa00c 1550
apt-build_0.12.42.dsc
ab5b8695bafd872058436ec3b18eddf83b7efe07f9f25181d334c96c04d7d363 52168
apt-build_0.12.42.tar.gz
344e7586795f7680a4ab334e1e4b77e325d5f9d8682929ef29c31a9472de03be 41298
apt-build_0.12.42_mipsel.deb
Files:
4edb97edbb39549b9c6b2c4f0f9d1e53 1550 devel optional apt-build_0.12.42.dsc
cbb307d6124b5c2a4f323e6fab2cb28e 52168 devel optional apt-build_0.12.42.tar.gz
e32793eb1a0364438fab56cd692a133a 41298 devel optional
apt-build_0.12.42_mipsel.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJPTEc3AAoJEHxWrP6UeJfYGxkQAIf4InGAS3+MqrADaDiiv0jO
jvjO/HbaNJKOXE2MFeETlw72XP10z5nib6tfiD3UWeOy8i2pQHXSm+eoccjhg+A/
fVhp5je1IphufnF5SNlFzBxh6uMJnL6tD6669ipCFhPuNxh3rF9lCjCTRRy6QfHr
aMkWpglcW9oO8GJDFA2VLdlKQWT77jnJzzICTTDcLYJ214owXghYyaUMDWTIvaJO
xJ3dioYmaQzd7FaLqR8IL8G8VSq/3ZTgFQravPJ2AB4MF/eOZjbFNqQzfqQ4B113
C0UM5gsQoWKbCxRkmnsWi/LFDoHGTb67lyMGhpv/eJBljJT9TDkM3UUZjdz0yD51
oGVABJK5WZKfL+OJ1Efq9ZQtWQ+jaOLEHUZpCasb13uoF7NxJq1Pf+qCX4zV/W+Q
G4tgi0pv858RsuLPoDIEN4AIKR8x0SmthW5QxGBuLHlcp/gOq3o+nECIhLkE/sYu
+MNIe0DDNusnNvkor4YK72R+VymC+SoxegBkDdO051G4x4qWUVoIpo41ijmM8vhD
U2wWLtNEC/qC+Lnp2rzDmnoweS9PYxPWpkFuZPLcSgbaXF0F9+50z7OQLCByL6RI
slBqIV3evMsmWS6aFxwhydu1IMCJ0+gKRrT6OPU/KCAdkWbgSguGDz7ts7hwS/ns
9VtT1VoYR3nkCg4tWYLj
=o0il
-----END PGP SIGNATURE-----
--- End Message ---