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

Bug#957695: marked as done (pnm2ppa: ftbfs with GCC-10)



Your message dated Fri, 24 Jul 2020 09:31:43 +0000
with message-id <E1jyu3L-0002pq-FA@fasolo.debian.org>
and subject line Bug#957695: fixed in pnm2ppa 1.13-10
has caused the Debian Bug report #957695,
regarding pnm2ppa: ftbfs with GCC-10
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.)


-- 
957695: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957695
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:pnm2ppa
Version: 1.13-9
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/pnm2ppa_1.13-9_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 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-10/porting_to.html

[...]
                 from ../pnm2ppa.c:24:
In function ‘strncpy’,
    inlined from ‘main’ at ../pnm2ppa.c:872:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘main’ at ../pnm2ppa.c:848:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘main’ at ../pnm2ppa.c:821:8:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I..  -DSYSCONFDIR='"/etc"' -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLANG_ENG -Wall -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -c -o cutswath.o ../cutswath.c
../cutswath.c: In function ‘ppa_print_page’:
../cutswath.c:465:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum <anonymous>’ [-Wsign-compare]
  465 |  if (!gUnimode && last_dir == prev->direction){
      |                            ^~
../cutswath.c:505:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum <anonymous>’ [-Wsign-compare]
  505 |  if (!gUnimode && last_dir == prev->direction){
      |                            ^~
../cutswath.c:541:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum <anonymous>’ [-Wsign-compare]
  541 |     if (!gUnimode && last_dir == prev->direction){
      |                               ^~
../cutswath.c: In function ‘read_black_image’:
../cutswath.c:780:34: warning: variable ‘after_color’ set but not used [-Wunused-but-set-variable]
  780 |   BOOLEAN  got_nonblank = false, after_color = false, ignore_color = false;
      |                                  ^~~~~~~~~~~
../cutswath.c: In function ‘r2l_black_sweep’:
../cutswath.c:1080:32: warning: variable ‘oddlines’ set but not used [-Wunused-but-set-variable]
 1080 |   int i, j , width, evenlines, oddlines;
      |                                ^~~~~~~~
../cutswath.c: In function ‘l2r_black_sweep’:
../cutswath.c:1219:32: warning: variable ‘oddlines’ set but not used [-Wunused-but-set-variable]
 1219 |   int i, j , width, evenlines, oddlines;
      |                                ^~~~~~~~
../cutswath.c: In function ‘l2r_color_sweep’:
../cutswath.c:1931:32: warning: variable ‘oddlines’ set but not used [-Wunused-but-set-variable]
 1931 |   int i, j , width, evenlines, oddlines;
      |                                ^~~~~~~~
../cutswath.c: In function ‘r2l_color_sweep’:
../cutswath.c:2154:32: warning: variable ‘oddlines’ set but not used [-Wunused-but-set-variable]
 2154 |   int i, j , width, evenlines, oddlines;
      |                                ^~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I..  -DSYSCONFDIR='"/etc"' -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLANG_ENG -Wall -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -c -o gamma.o ../gamma.c
gcc -I.. -O2  -o make_hash_ink ../make_hash_ink.c 
gcc -DHAVE_CONFIG_H -I. -I..  -DSYSCONFDIR='"/etc"' -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLANG_ENG -Wall -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -c -o calibrate_ppa.o ../calibrate_ppa.c
gcc -DHAVE_CONFIG_H -I. -I..  -DSYSCONFDIR='"/etc"' -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLANG_ENG -Wall -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -c -o pnmtools.o ../pnmtools.c
./make_hash_ink 4 3 > hash_ink.c
gcc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLANG_ENG -Wall -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG  -Wl,-z,relro -o calibrate_ppa calibrate_ppa.o pnmtools.o gamma.o  -lm 
./make_hash_ink 1 5 >> hash_ink.c
gcc -DHAVE_CONFIG_H -I. -I..  -DSYSCONFDIR='"/etc"' -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLANG_ENG -Wall -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG -c -o hash_ink.o hash_ink.c
gcc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLANG_ENG -Wall -Wall -Wsign-compare -Wfloat-equal -Wformat-security -g -O2 -DNDEBUG  -Wl,-z,relro -o pnm2ppa pnm2ppa.o syslog.o ppa.o image.o dither.o cutswath.o gamma.o  hash_ink.o  -lm 
/usr/bin/ld: syslog.o:./build/../ppa_syslog.h:42: multiple definition of `syslog_message'; pnm2ppa.o:./build/../ppa_syslog.h:42: first defined here
/usr/bin/ld: ppa.o:./build/../ppa_syslog.h:42: multiple definition of `syslog_message'; pnm2ppa.o:./build/../ppa_syslog.h:42: first defined here
/usr/bin/ld: image.o:./build/../ppa_syslog.h:42: multiple definition of `syslog_message'; pnm2ppa.o:./build/../ppa_syslog.h:42: first defined here
/usr/bin/ld: cutswath.o:./build/../ppa_syslog.h:42: multiple definition of `syslog_message'; pnm2ppa.o:./build/../ppa_syslog.h:42: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:592: pnm2ppa] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:701: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:491: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j4 returned exit code 2
make: *** [debian/rules:8: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: pnm2ppa
Source-Version: 1.13-10
Done: Didier Raboud <odyx@debian.org>

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

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated pnm2ppa 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: Fri, 24 Jul 2020 10:49:39 +0200
Source: pnm2ppa
Architecture: source
Version: 1.13-10
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Closes: 957695
Changes:
 pnm2ppa (1.13-10) unstable; urgency=medium
 .
   * Convert to git debrebase workflow
   * lintian brush:
     - Trim trailing whitespace.
     - Drop use of autotools-dev debhelper.
     - Bump debhelper from deprecated 9 to 10.
     - Drop unnecessary dependency on dh-autoreconf.
     - Drop unnecessary dh arguments: --parallel
   * Add Fedora patch for GCC-10 FTBFS (Closes: #957695)
     - Declare syslog_message correctly for GCC-10 FTBFS (Zdenek Dohnal)
Checksums-Sha1:
 2491eec4d888709fc48a47d86b63fd91d0015f6a 2030 pnm2ppa_1.13-10.dsc
 9df64bde36281bb371de2a750183573f7bdc5856 28480 pnm2ppa_1.13-10.debian.tar.xz
Checksums-Sha256:
 85832691cdb5c5147cadae948e17781ab6d86e273bcf6de479eabbad3cb1907a 2030 pnm2ppa_1.13-10.dsc
 6981a1943174491eab8eb3a4d3eb461f9eb355ab7e83b50e8af3c9f53a0081e0 28480 pnm2ppa_1.13-10.debian.tar.xz
Files:
 5b15c3882443b1c3c75c5aab1c8ee498 2030 text optional pnm2ppa_1.13-10.dsc
 71c8b3820098d58ae690c41352f5c2f5 28480 text optional pnm2ppa_1.13-10.debian.tar.xz

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

iQIzBAEBCgAdFiEEJ3k7rA0YCplkx4gZqcb6xg1jAWkFAl8aoakACgkQqcb6xg1j
AWkflBAAkrO5hiSCyQPkycGihnDW55hcFPPOrKovD7C6vB594fp6gHwNB1Tmhuiv
aENqDjPwqoBS0xdXCafFGQ6QaFQYxLYz0n86hjTM7US2IliNgL5UzIzUmnfSfNhx
5FrMXS68hlOKmGKdHWvAAFQ45y7MmdIEmF8eBpSxqV3ahFMEo7eUOeIbqquTg4ZN
4VIL0K0QeoEfJ9NIHl9XfSnLC/6zXzbp6v8+tkC51nDsEAf+rKgrVkiy4HYuPy2s
fgjOJJ9hasfI9ZXcCOlh7QMATWI2QY1VFsRuUPcx83zG+zQgBgi6HdHp2PkuPwdD
zgl7J3Ju0OdHb5WFD9aR4UHHybJZG/HaHrpWGE0yk9no6ZT/vfEZJ7Rfmxm4eLAs
nwydDkdzpP5+wfgL+h/rmRsbzp8IQUOJ2yWLwlzojKf3McoWs3HGr3icRCDeh7QM
YPbYV1FRP2av/EvVsZ2Lv27CzwZcAPraSfvnJKvRfvdHCtIHqMSNb/dXzLP1LiQO
U0tN2aW0n/GxvQi9QuVjEZWubdeXKfASky0C2gixvCr3I1Xx4Ax8cPGlVlBKUN2b
WE8deGfBMwdilzYkATwDfP7YZwF5lmwR2pQd43oQ4KsAw4TzkphLEqlXGiSzMVEh
C8sJLAC/2dbrP6fVtnDp5rXxUiguqPY6OKuGbJrjBONCx66chIc=
=DvOX
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: