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

Bug#1012995: marked as done (mailcheck: ftbfs with GCC-12)



Your message dated Sun, 24 Jul 2022 01:50:47 +0000
with message-id <E1oFQlb-0003wn-QH@fasolo.debian.org>
and subject line Bug#1012995: fixed in mailcheck 1.91.2-5
has caused the Debian Bug report #1012995,
regarding mailcheck: ftbfs with GCC-12
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 owner@bugs.debian.org
immediately.)


-- 
1012995: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012995
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:mailcheck
Version: 1.91.2-4
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-12

[This bug is targeted to the upcoming bookworm release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/mailcheck_1.91.2-4_unstable_gcc12.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
 fakeroot debian/rules clean
dh clean
   dh_auto_clean
	make -j8 distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f mailcheck *~
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
	make -j8 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wall -O2 mailcheck.c netrc.c socket.c -o mailcheck
mailcheck.c: In function ‘check_pop3’:
mailcheck.c:461:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  461 |   fgets (buf, BUF_SIZE, fp);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
mailcheck.c:465:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  465 |   fgets (buf, BUF_SIZE, fp);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
mailcheck.c:481:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  481 |   fgets (buf, BUF_SIZE, fp);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
mailcheck.c:495:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  495 |   fgets (buf, BUF_SIZE, fp);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
mailcheck.c:510:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  510 |   fgets (buf, BUF_SIZE, fp);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
mailcheck.c: In function ‘check_imap’:
mailcheck.c:559:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  559 |   fgets (buf, BUF_SIZE, fp);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
mailcheck.c:569:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  569 |       fgets (buf, BUF_SIZE, fp);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
mailcheck.c:586:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  586 |   fgets (buf, BUF_SIZE, fp);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
mailcheck.c:600:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  600 |       fgets (buf, BUF_SIZE, fp);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
mailcheck.c: In function ‘check_maildir’:
mailcheck.c:162:40: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 2047 [-Wformat-truncation=]
  162 |     snprintf(fname, sizeof(fname), "%s/%s", dir, entry->d_name);
      |                                        ^~
In file included from /usr/include/stdio.h:866,
                 from mailcheck.c:21:
In function ‘snprintf’,
    inlined from ‘ignore_maildir_entry’ at mailcheck.c:162:5,
    inlined from ‘check_maildir’ at mailcheck.c:416:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 2 and 2304 bytes into a destination of size 2048
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccziOleX.o: in function `count_entries':
./mailcheck.c:191: undefined reference to `ignore_maildir_entry'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:7: mailcheck] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:7: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: mailcheck
Source-Version: 1.91.2-5
Done: Håvard F. Aasen <havard.f.aasen@pfft.no>

We believe that the bug you reported is fixed in the latest version of
mailcheck, 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 1012995@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Håvard F. Aasen <havard.f.aasen@pfft.no> (supplier of updated mailcheck 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 24 Jul 2022 00:36:37 +0200
Source: mailcheck
Architecture: source
Version: 1.91.2-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Håvard F. Aasen <havard.f.aasen@pfft.no>
Closes: 1012995
Changes:
 mailcheck (1.91.2-5) unstable; urgency=medium
 .
   * QA upload.
   * Update d/p/002_advanced_counting.patch, declare ignore_maildir_entry()
     static. Another option is to not inline function. Closes: #1012995
   * d/control:
     - Document Rules-requires-Root.
     - Update Standards-Version to 4.6.1
   * Update to secure URI, where available.
Checksums-Sha1:
 26096365155b78c86a413ddb88f6f572fe10a368 1757 mailcheck_1.91.2-5.dsc
 7316fa7d35b4edb272a7a115e9e3cb3c8688f1d4 11012 mailcheck_1.91.2-5.debian.tar.xz
 0ec8c1939fe5f1d2f96ca597cbc42970ae777104 5721 mailcheck_1.91.2-5_source.buildinfo
Checksums-Sha256:
 70c6a37049314172dafc316690ff9f1bfb17736e5ba6a2545777019a03faf34e 1757 mailcheck_1.91.2-5.dsc
 b4313cb176360857fd9be5c7ce59dc5de6b41d40f6c0aba6bc50767a8b627197 11012 mailcheck_1.91.2-5.debian.tar.xz
 1627e851188bcf753a66f6a334da1d033b105912db5dac16d76732475c5b13d9 5721 mailcheck_1.91.2-5_source.buildinfo
Files:
 02555faf4856aac7740e815f080947b6 1757 mail optional mailcheck_1.91.2-5.dsc
 04591675f576b91217f4139161d16d3b 11012 mail optional mailcheck_1.91.2-5.debian.tar.xz
 8c64cf6ddec64ad69f09553006b8ad2f 5721 mail optional mailcheck_1.91.2-5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmLcoC8ACgkQweDZLphv
fH7SHA//c3LO1VGUW2CCZF+ePt/5IxSq4n2T/EO28IXxw19uavAUqw7ndp0fPp4Y
khD8V74aNI0tEHoj+772B3hB5YzLYGMZDk5SJiI5Vit9RZ2wqbvP7dL90o2xbWx4
PCVm8eHEl8B5sbYFNI0x6RPODLMxlJV9dJ0u/QeUGbMOhFMmiKexAhm/7dEdSdR2
Yrsa2FpP1o71y2xkm4Uftg5KQBhNcx9vE0EqsWKAGtrrz26JDiAM4bZX/6GMYhEz
YjTJrlwKzMVqBM6rLz/nRnNI6jJUyhVNG00hc068VxyO4qpq/ZavFGiN8XQIRbgL
jUVX729Zv7En/wziUWPvIslKSK658slJ/4qJ9KCUv27OIUut12WhKwVhdnu+V6BN
S6OzscQfbC1fZOAorXa7tJ8WRVh1T3Ja/JZSnmNyOE+GwCUP/Z7fMQ/uQl5pi4wM
1fbbV+dRxicYpxhYvkLoyQ2rqttINHvwaVmHiPcN7GuE4B1TTXxPH9NxAWZDiJ6E
3DTzY6lp2XFGSAvmj7GZWKr0O+TcPYxIyl0ZZEJ2lodnai6wJ66WphNs0reQ2/qF
JI+h0sWWsnhcDrjD4H6KJn9aRJSKeIMU1u1sTUyGGSNmgyGz6JTpzzoQ6p5PhP4z
4a+O+8MViuJeLdJ656mlsSpE2FUCUmDFs8Oz7W1RK9lqqOkRSeo=
=v9y3
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: