Your message dated Wed, 18 Jun 2014 12:33:59 +0000 with message-id <[email protected]> and subject line Bug#751857: fixed in apt 1.0.5 has caused the Debian Bug report #751857, regarding [PATCH] private-update.cc does not compile when --disable-nls is used 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.) -- 751857: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751857 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt Version: 1.0.4 Severity: normal Tags: patch When --disable-nls is given to configure, apt-private/private-update.cc does not compile due to calling ngettext(), which buildlib/apti18n.h does not define when USE_NLS is undefined. Looking at other files the P_ macro (which apti18n.h do define) is used, so I guess that the correct fix is to change private-update.cc to use that one (instead of adding a ngettext macro to apti18n.h). Patch: diff --git a/apt-private/private-update.cc b/apt-private/private-update.cc index fa827de..c98b990 100644 --- a/apt-private/private-update.cc +++ b/apt-private/private-update.cc @@ -86,7 +86,7 @@ bool DoUpdate(CommandLine &CmdL) if (I->CurrentVer != 0 && state.Upgradable()) upgradable++; } - const char *msg = ngettext( + const char *msg = P_( "%i package can be upgraded. Run 'apt list --upgradable' to see it.\n", "%i packages can be upgraded. Run 'apt list --upgradable' to see them.\n", upgradable);
--- End Message ---
--- Begin Message ---Source: apt Source-Version: 1.0.5 We believe that the bug you reported is fixed in the latest version of apt, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Vogt <[email protected]> (supplier of updated apt 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: SHA1 Format: 1.8 Date: Wed, 18 Jun 2014 13:35:13 +0200 Source: apt Binary: apt libapt-pkg4.12 libapt-inst1.5 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https Architecture: source all amd64 Version: 1.0.5 Distribution: unstable Urgency: low Maintainer: APT Development Team <[email protected]> Changed-By: Michael Vogt <[email protected]> Description: apt - commandline package manager apt-doc - documentation for APT apt-transport-https - https download transport for APT apt-utils - package management related utility programs libapt-inst1.5 - deb package format runtime library libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst libapt-pkg-doc - documentation for APT development libapt-pkg4.12 - package management runtime library Closes: 748506 751388 751635 751857 Changes: apt (1.0.5) unstable; urgency=low . [ Michael Vogt ] * fix autopkgtest tests * fix test-apt-ftparchive-cachedb-lp1274466 and apt-internal-solver tests * test/integration/test-essential-force-loopbreak: fix on non-amd64 systems * Tell the user if no updates are available after apt update (Closes: #751388) . [ Michele OrrĂ¹ ] * Check for gtest's header before building. . [ Chris Leick ] * Updated translation of german documentation . [ Konstantin Manna ] * fix two german manpage spelling mistakes (Closes: 751635) * add missing comma in SEE ALSO of apt-secure manpage (Closes: 748506) . [ Fredrik Fornwall ] * use P_ instead of ngettext to compiling with --disable-nls (Closes: 751857) . [ David Kalnischkies ] * don't send pkg from an unknown architecture via EDSP * fix SubstVar to be usable as a replace_all method * show our broken packages message in 'apt' solver * do not call resolver twice on (dist-)upgrade . [ Stefano Zacchiroli ] * EDSP doc: clarify that Install/Remove packages are arch-qualified Checksums-Sha1: bd8317eaf6758849ba13a27e1f3f051004236263 1716 apt_1.0.5.dsc a92ad21e32d8e6d148e0d29a524fa8e80e58f5af 1779056 apt_1.0.5.tar.xz b2683b0958b4ffd843cb55b5330e84a3024f4f77 272200 apt-doc_1.0.5_all.deb 5c2f755452e7c7e32e8c0b5f7470230c81612afc 771390 libapt-pkg-doc_1.0.5_all.deb e8bdf85d6995da47d11a1aac50b8cfeb0b0fe5cc 767222 libapt-pkg4.12_1.0.5_amd64.deb 375d20bff9e6ecffe0daa83a50a9a16d7278a3d9 165132 libapt-inst1.5_1.0.5_amd64.deb 1f56983203db207c2649a04b19db956b2d95ce2c 1075538 apt_1.0.5_amd64.deb f345d2e6bf986167920ae8e286bc12543c19751a 189494 libapt-pkg-dev_1.0.5_amd64.deb 009fa9701eb14c43d214a866cb33e454e4101edd 356050 apt-utils_1.0.5_amd64.deb 328213128a5c12e0d845e27a1eba0cfe0f48b9ed 131716 apt-transport-https_1.0.5_amd64.deb Checksums-Sha256: 2ac9b4e94097dd8a61dad1729e7bd6e7cd4f9523a4b397338f2a7d1e4949d9db 1716 apt_1.0.5.dsc eb88a82e2a044c1612c6d6aadf7cc0b5587298df3352e9755f5420be8abd62d7 1779056 apt_1.0.5.tar.xz 6a4dd4cc443696dc194d1279af37c7eafb330851a51baa571de65b512c07de53 272200 apt-doc_1.0.5_all.deb c0cbb966c7781b3d0fb5e21d950476dbb7d70b6745aa4c25e4c5641721119e08 771390 libapt-pkg-doc_1.0.5_all.deb f313466aca1b18af333ca3de4747328ff51eb5376f62ca0824533d8802da10a1 767222 libapt-pkg4.12_1.0.5_amd64.deb ad1c9e8bd7ee74c7a9d7d142c0feba89be4de72c143c8d52deae3d452343a37f 165132 libapt-inst1.5_1.0.5_amd64.deb ddc4a465a1dbe71fdce54485b4bfbf147368ad115b39729087a25192d1b7462b 1075538 apt_1.0.5_amd64.deb 8a7d83955bcb548d80f7f5be88e79adb215b739f6c637595a5cda8088d64b886 189494 libapt-pkg-dev_1.0.5_amd64.deb 6635bc9bb4e69f0629a9d868f24da64571ea87caf7acbf65a852dab20e2ec1f4 356050 apt-utils_1.0.5_amd64.deb 43b87ab49ec12c792974eead5563e6736f61b7faf240775c44cee0a29abac509 131716 apt-transport-https_1.0.5_amd64.deb Files: fc41e9765e4590105e71131eba2e7fc6 272200 doc optional apt-doc_1.0.5_all.deb 8fd3846d65d93d2a1d3d612b68a72e9d 771390 doc optional libapt-pkg-doc_1.0.5_all.deb d9745faf42b4f5daec798f94c01daa57 767222 libs important libapt-pkg4.12_1.0.5_amd64.deb dda1dfb696faf46bd1c38fa667124d03 165132 libs important libapt-inst1.5_1.0.5_amd64.deb be87760ee85038bb0effe265003e69d2 1075538 admin important apt_1.0.5_amd64.deb 36d9a8dbef1ac7823524e65ac8117bb7 189494 libdevel optional libapt-pkg-dev_1.0.5_amd64.deb 1351c40377b3fad1d7a3ed60a73c1264 356050 admin important apt-utils_1.0.5_amd64.deb d468ee30459a7e845b7f0eca170a0ad5 131716 admin optional apt-transport-https_1.0.5_amd64.deb 2309751ec2b8b9a87eef6e450326a8d7 1716 admin important apt_1.0.5.dsc 16ce99640573bc79adab9c765fdc7507 1779056 admin important apt_1.0.5.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlOhhLQACgkQliSD4VZixzSoGACfZ8rSjlVFvVbx3YAHLvyzoi5q l20AoIsjGBXKJsxhA4RPG9FoBzEN4Fl9 =jWaF -----END PGP SIGNATURE-----
--- End Message ---

