Your message dated Tue, 08 Sep 2020 14:10:16 +0000 with message-id <[email protected]> and subject line Bug#513759: fixed in log4cxx 0.11.0-1 has caused the Debian Bug report #513759, regarding Please provide logging macros that are not complete statements. 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.) -- 513759: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513759 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: liblog4cxx10-dev Version: 0.10.0-1 Severity: wishlist The log4cxx macros are complete statements (not needing a trailing semicolon) so you must use them like this: LOG4CXX_INFO(logger, "This is a message") rather than like this: LOG4CXX_INFO(logger, "This is a message"); This is somewhat inconvenient and causes editors to get confused about how much to indent the next line. You can actually write the second one a lot of the time, but it's not guaranteed to work; e.g., try this out: if(blah) LOG4CXX_INFO(logger, "This is a message"); else doSomething(); That will produce a surprising error message about your "else" not having a corresponding "if", because it expanded to: if(blah) { /* log4cxx stuff */ }; else doSomething(); (note the trailing semicolon in the first "if" clause) The standard remedy for this problem is to use "do { ... } while(0)" around the macro statements, and I'll probably make my own macros that do just that. It would be nice if log4cxx had standard macros which were a little more robust, or alternatively if this "feature" was documented in the short intro to log4cxx. Daniel -- System Information: Debian Release: 5.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (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/bash Versions of packages liblog4cxx10-dev depends on: ii libapr1-dev 1.2.12-5 The Apache Portable Runtime Librar ii libaprutil1-dev 1.2.12+dfsg-8 The Apache Portable Runtime Utilit ii liblog4cxx10 0.10.0-1 A logging library for C++ liblog4cxx10-dev recommends no packages. Versions of packages liblog4cxx10-dev suggests: ii liblog4cxx10-doc 0.10.0-1 Documentation for log4cxx ii pkg-config 0.22-1 manage compile and link flags for -- no debconf information
--- End Message ---
--- Begin Message ---Source: log4cxx Source-Version: 0.11.0-1 Done: Tobias Frost <[email protected]> We believe that the bug you reported is fixed in the latest version of log4cxx, 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. Tobias Frost <[email protected]> (supplier of updated log4cxx 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, 25 Aug 2020 00:13:04 +0200 Source: log4cxx Binary: liblog4cxx-dev liblog4cxx-doc liblog4cxx11 liblog4cxx11-dbgsym Architecture: source amd64 all Version: 0.11.0-1 Distribution: experimental Urgency: medium Maintainer: Tobias Frost <[email protected]> Changed-By: Tobias Frost <[email protected]> Description: liblog4cxx-dev - Logging library for C++ (development files) liblog4cxx-doc - Documentation for log4cxx liblog4cxx11 - Logging library for C++ Closes: 513759 Changes: log4cxx (0.11.0-1) experimental; urgency=medium . * Upload to experimental due to soname bump. * New upstream release. (Closes: #513759) - Drop all patches except 160_use_packaged_find_apur_m4.patch, as upstream has applied them in the new version. - The m4 directory has been moved to src, so adapt said patch for new location. Also, d/clean updated to reflect this change. - The new upstream version requires a SONAME bump on the packages. - Remove obsolete overrides from source/lintian-overrides - Override some lintian false positives about missing code. * Updating upstream keyring. * Clean more files using d/clean * Temporarily disable a network-based test. * Fix liblog4cxx-doc.docs to find doxygen docs. * Remove override for dh_auto_test * Minify upstream keyring to fix public-upstream-key-not-minimal. * Hint dh_installdocs to install into the right package. * Enable CI on salsa.d.o * Update autopkgtest. Checksums-Sha1: c72cc7f0706bc6a7bd61c000f1c8c036e642ac4a 2359 log4cxx_0.11.0-1.dsc 646b66740d176383257de3ffedc68ca2892afb18 1145075 log4cxx_0.11.0.orig.tar.gz eec09748cc1df494949a286e794c6d4b6d07d1d8 833 log4cxx_0.11.0.orig.tar.gz.asc 797d7424276944feb3756757f09b2ee66dd37213 31840 log4cxx_0.11.0-1.debian.tar.xz ac052a2dfbbfe2cfc785be22a931b74eef83c6ff 723632 liblog4cxx-dev_0.11.0-1_amd64.deb 4a7f0acd2f2f7d6b4e4f3f2975d0454352ad8a0a 837100 liblog4cxx-doc_0.11.0-1_all.deb 5f8da4557e7a851b68b7c9ca17e825230b4266f7 3907036 liblog4cxx11-dbgsym_0.11.0-1_amd64.deb 4e464e1f9ed415c1c18a3b735ccb059cb2f529c6 439796 liblog4cxx11_0.11.0-1_amd64.deb 075eb9f6ee1c80d8bfce4256d60d7a0617150321 8444 log4cxx_0.11.0-1_amd64.buildinfo Checksums-Sha256: 545c23123808fd7b38006ba8cff789042affcabe804d79cf6466a0fda2d19e97 2359 log4cxx_0.11.0-1.dsc c316705ee3c4e5b919d3561d5f305162d21687aa6ae1f31f02f6cdadc958b393 1145075 log4cxx_0.11.0.orig.tar.gz 7e8e0dd08462119faf9d5cb1fd878388441727972200b3c7f2ce46a579566468 833 log4cxx_0.11.0.orig.tar.gz.asc 50f836fda561d89bfded3775b3d1239afbdfdb9ecc80d8d9bc757c7d6f51ba2a 31840 log4cxx_0.11.0-1.debian.tar.xz 99be2d365d3999626a7e45cd9046b0c49f44a6ed75b323870eb29a23c0bfede2 723632 liblog4cxx-dev_0.11.0-1_amd64.deb 4a57482ed73847a8be6a6546392271625f8427c2042c168ac8cb09b0381a9f1f 837100 liblog4cxx-doc_0.11.0-1_all.deb 33687bbaf1727f8d98257c4ea6b3aae44c78ca2595c27794bbed02e02b459d46 3907036 liblog4cxx11-dbgsym_0.11.0-1_amd64.deb 8cc5ddf3401a76f8835f90d893ded994999e60625ecb49161aa17c322dcd1fd8 439796 liblog4cxx11_0.11.0-1_amd64.deb d6824200da9480107a3ed9be3be5fbca60c1728c04a4f69e9753290073e28cca 8444 log4cxx_0.11.0-1_amd64.buildinfo Files: 5795deeba879b32bfa325f4d71208d6b 2359 devel optional log4cxx_0.11.0-1.dsc bf8d5e2a1356ae593c952e45bf96c5d9 1145075 devel optional log4cxx_0.11.0.orig.tar.gz 9066f9821cbeecc3c676a5fb2de591b0 833 devel optional log4cxx_0.11.0.orig.tar.gz.asc a2f6a2c5b55615048dd2a89f658e6051 31840 devel optional log4cxx_0.11.0-1.debian.tar.xz facd8815ee96cdbbe5f380a3dfb5653e 723632 libdevel optional liblog4cxx-dev_0.11.0-1_amd64.deb f1442ccb4536017d2f289ae2b8e420a4 837100 doc optional liblog4cxx-doc_0.11.0-1_all.deb 87fd475110a174e75c20f7af09d3b871 3907036 debug optional liblog4cxx11-dbgsym_0.11.0-1_amd64.deb 47480d855480e49e027e76e6035dbe2c 439796 libs optional liblog4cxx11_0.11.0-1_amd64.deb e1ee1f72ebfd587b92bcdd80beaba710 8444 devel optional log4cxx_0.11.0-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE/d0M/zhkJ3YwohhskWT6HRe9XTYFAl9EPRYACgkQkWT6HRe9 XTZfCg/9FgF6UlZtN+ClqwF8coQ24tpgoGE+PYuquaSF66utGv/PiCISyTy2pB3V UzPa6O10F3rwItd6tYCNq88uNvSw317gfYyHPrABEoouXS8HBNQrjQDhwep2QczY MhJWmWHDhGKREYO+mrX1LlLk2zHQMNJPNjwDPJ90h0ZBdsdn6UbtAt1tSGqBqApP sS+1sl3Ec3cY1BkFCSs5SPLhApaaYJrdjN6zkXlvXQFsGu40KAzi1Ybr+vI3XbWN CyIEqREkBjSncQw/sytOfsxBr3ZM6YhUmBz9cKX8+HKrWsD6lTmezYiI4GmTAzMh eFP7g9D+yFVk3ssqbK4J4hrey8zGgjUM+MnYcCNFylGDBwNdgqCWZDkGN643yaL8 G2wppSYCwyXTAPWQ20vJbnPW6T0AQgiBeVxshsVWColzE6+aTXCivydpvtpH0gUj WiOARtbT6QwygXXB5d2QN+D6YWCjfHkUiaTw9Mv7l7boTqiN/BthLJkP2d1952rC srYFgrv01dmzAcd3Ow4qYJjGsV6VBAyj1x5TZ6ekSWxMpo8ZH8Eq7anKfZbvfPEf qlUBjujQiht88wL4LgfE3vPZBMnwTXrZmF35Dl9BDyg97pb1jgQJYkP81SChQZN/ 690Gz33PrSBYyfXz+gIzCLk6dBHxm04umnLvOEE8+8nMYs17V7o= =eqyg -----END PGP SIGNATURE-----
--- End Message ---

