Your message dated Tue, 22 Nov 2016 21:18:25 +0000 with message-id <[email protected]> and subject line Bug#843417: fixed in apt-cacher-ng 2-1 has caused the Debian Bug report #843417, regarding apt-cacher-ng: Undeclared `uint' compilation errors with GCC 5.4 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.) -- 843417: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843417 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt-cacher-ng Severity: normal Tags: patch Dear Maintainer, While trying to compile apt-cacher-ng with GCC 5.4.0 from the LEDE compiled toolchain, I get the following errors: /store/rah/proj/ash/lede-source/build_dir/target-mips_24kc_musl-1.1.15/apt-cacher-ng-0.9.1/include/acbuf.h:55:58: error: 'uint' was not declared in this scope int syswrite(int fd, unsigned int maxlen=MAX_VAL(uint)); ^ ... /store/rah/proj/ash/lede-source/build_dir/target-mips_24kc_musl-1.1.15/apt-cacher-ng-0.9.1/include/acbuf.h:62:57: error: 'uint' was not declared in this scope int sysread(int fd, unsigned int maxlen=MAX_VAL(uint)); ^ Plainly GCC 5.4 has removed the `uint' syntactic sugar. Replacing it with `unsigned int' fixes the error, as in the attached patch. Note that this error comes from compiling version 0.9.1 of the package, as with #843410, but the problem still seems to be present in the latest source for version 1-2, which the attached patch is against. -- System Information: Debian Release: 8.5 APT prefers stable APT policy: (990, 'stable'), (500, 'stable-updates'), (70, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: armhf Kernel: Linux 4.8.0-linux-latest-104 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: sysvinit (via /sbin/init)>From b157e8e7569bbb467530d57271e8fe8dc5c4387f Mon Sep 17 00:00:00 2001 From: Bob Ham <[email protected]> Date: Sun, 6 Nov 2016 14:33:42 +0000 Subject: [PATCH] include/acbuf.h: Fix undeclared `uint' with GCC 5.4 GCC 5.4 complains that `uint' is unknown. Plainly this syntactic sugar has been removed. Replacing with `unsigned int' fixes the error. Signed-off-by: Bob Ham <[email protected]> --- include/acbuf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/acbuf.h b/include/acbuf.h index 33dbde8..231297e 100644 --- a/include/acbuf.h +++ b/include/acbuf.h @@ -55,14 +55,14 @@ class acbuf * \param maxlen Maximum amount of data to write * \return Number of written bytes, negative on failures, see write(2) */ - int syswrite(int fd, unsigned int maxlen=MAX_VAL(uint)); + int syswrite(int fd, unsigned int maxlen=MAX_VAL(unsigned int)); /* * Reads from a file descriptor and append to buffered data, update position indexes. * \param fd File descriptor * \return Number of read bytes, negative on failures, see read(2) */ - int sysread(int fd, unsigned int maxlen=MAX_VAL(uint)); + int sysread(int fd, unsigned int maxlen=MAX_VAL(unsigned int)); protected: -- 2.1.4
--- End Message ---
--- Begin Message ---Source: apt-cacher-ng Source-Version: 2-1 We believe that the bug you reported is fixed in the latest version of apt-cacher-ng, 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. Eduard Bloch <[email protected]> (supplier of updated apt-cacher-ng 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: Tue, 22 Nov 2016 21:39:43 +0100 Source: apt-cacher-ng Binary: apt-cacher-ng Architecture: source amd64 Version: 2-1 Distribution: unstable Urgency: low Maintainer: Eduard Bloch <[email protected]> Changed-By: Eduard Bloch <[email protected]> Description: apt-cacher-ng - caching proxy server for software repositories Closes: 832882 841431 841633 843410 843417 843834 845245 Changes: apt-cacher-ng (2-1) unstable; urgency=low . * New upstream version + Fix for incorrect compilation with gcc-5.4 (closes: #843417, #843410) + Fixes communication of cron job runner on systems where public address was guessed incorrectly and/or connection was not possible (closes: #843834, #841633) + Fix ExStartTradeOff computation with unit suffix (closes: #845245) + Linking libatomic where possible (closes: #841431, now really) * Not rotating apt-cacher.err log when file is empty (notifempty option, closes: #832882) Checksums-Sha1: 0a0ab5c23345eb1af9d2f70170132987a682ede4 2165 apt-cacher-ng_2-1.dsc 10263bee32d42ed7850d0f037e140b4a968a8413 313360 apt-cacher-ng_2.orig.tar.xz 6f6f61916dc64f6eafd00c33a8a074151b053594 47240 apt-cacher-ng_2-1.debian.tar.xz 6d09a2901c13b05df7c2408ea04a5ca256f1e10a 2205858 apt-cacher-ng-dbgsym_2-1_amd64.deb c8e5c7ecbfa35801adfb469a51aba4443e9b4600 521370 apt-cacher-ng_2-1_amd64.deb Checksums-Sha256: 82e729b66f365e5ba739cc03953b8f871f5088a4bf0066fe13cd31cde7496274 2165 apt-cacher-ng_2-1.dsc eeab24d96ceb544b4c57dd1ac749af9e2ad92dbf864056688bd9c62d02186c2e 313360 apt-cacher-ng_2.orig.tar.xz 95ff61ed534b3b0441e7cd8753ee6aa03e42d4c9d40723f14ff404c4405a5983 47240 apt-cacher-ng_2-1.debian.tar.xz ccbb888f51b68ff2260b729419cc6539f8209965a3eb37a81cb11132d879b322 2205858 apt-cacher-ng-dbgsym_2-1_amd64.deb 0862c9729c14781a64e67a2ebe16279b01493abd63296f22faa10819d7814e9b 521370 apt-cacher-ng_2-1_amd64.deb Files: b005fac2c2435553dadfdd55cdb500fd 2165 net optional apt-cacher-ng_2-1.dsc 9cd2bea95833debc864957aa89d13850 313360 net optional apt-cacher-ng_2.orig.tar.xz b4b1382af1d1bfce55bf15a8a727978f 47240 net optional apt-cacher-ng_2-1.debian.tar.xz e853ca114701cdf1807f274cfc238c02 2205858 debug extra apt-cacher-ng-dbgsym_2-1_amd64.deb f0362b3614c33233450f94da0a0fc462 521370 net optional apt-cacher-ng_2-1_amd64.deb -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJYNK+MAAoJEGl0DlyzX+w8GHkP/ifOZfE8eSXtoc2R5mK92epT BHy84S30MDNu+etpDQv7d+ZO36DvBxh1eTJPf9MAUhYOR5rHibi9nbZjOAnheh9x cD3EvP1g+UqMn9U2P8y4BjsyEg5BEldEYlFpUbWP+wmpwPnDSrTdq05VJRt5JMFC v+J7Zg9TKcryhtqenL4EfwbhthbFWF5qiPh4o5v52pYxIYIynwEQMdYaB3GK7ma7 KFzoGhBbNkHedurSEjN1txsnK1v8r2bLdFy16ajoNlzMoW6twGM3rlHHbItForg3 +g4XmNitwPzgYXwhptQrrxGy1qArPFLXyVp6DzFa6fJX80i9u2KhB1p1PlZqYq5t 55v/6+BT017JMhOA/cIc8IJKxAJoOxlGITf7GeIzdAGpScba4Ap9+9KTOUMmu+Vv jt4JKd/cmVaGp8pZx2EjgppH3fpTYObaNSK0Gz4b4OwT7sIsytZ9FnjT20guWiz5 4Ykl+sQMOF/BsNFrYU78xX8x6Hpv/pW+fI7r5iTYy8UkNfDQhdv3h61QGV7RXSA7 Hyo84ucB9PL+g4EaxhSDpwcTxI7rBm8UR5mw1Xt4gli+w+Kb3KNWK7wo6T+F/bTx LtlG0Gkau7Aya9rLEUSJLgUnCl/VHLjyEct7yCOSfQlQJuhIcHKDOxgPdjSNqI4D n+4COjl6oG3EpyzaDnow =4qft -----END PGP SIGNATURE-----
--- End Message ---

