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

Bug#1012908: marked as done (cups-bjnp: ftbfs with GCC-12)



Your message dated Mon, 01 Aug 2022 12:18:58 +0000
with message-id <E1oIUNu-005TzS-Ka@fasolo.debian.org>
and subject line Bug#1012908: fixed in cups-bjnp 2.0.3-4
has caused the Debian Bug report #1012908,
regarding cups-bjnp: 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.)


-- 
1012908: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012908
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:cups-bjnp
Version: 2.0.3-3
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/cups-bjnp_2.0.3-3_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.

[...]
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking types of arguments for select... int,fd_set *,struct timeval *
checking for string.h... (cached) yes
checking for fcntl.h... yes
checking for arpa/inet.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for sys/socket.h... (cached) yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for wchar.h... yes
checking for cups/cups.h... yes
checking for cups/backend.h... yes
checking for cups/http.h... yes
checking for sys/types.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/nameser.h... yes
checking for netdb.h... (cached) yes
checking for resolv.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build
	make -j8
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make  all-am
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -Werror  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp.o `test -f 'bjnp.c' || echo './'`bjnp.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -Werror  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp-runloop.o `test -f 'bjnp-runloop.c' || echo './'`bjnp-runloop.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -Werror  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp-io.o `test -f 'bjnp-io.c' || echo './'`bjnp-io.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -Werror  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp-debug.o `test -f 'bjnp-debug.c' || echo './'`bjnp-debug.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -Werror  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp-utils.o `test -f 'bjnp-utils.c' || echo './'`bjnp-utils.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -Werror  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp-discover.o `test -f 'bjnp-discover.c' || echo './'`bjnp-discover.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -Werror  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp-commands.o `test -f 'bjnp-commands.c' || echo './'`bjnp-commands.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -Werror  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp-levels.o `test -f 'bjnp-levels.c' || echo './'`bjnp-levels.c
bjnp-commands.c: In function ‘get_printer_id’:
bjnp-commands.c:188:20: error: the comparison will always evaluate as ‘true’ for the address of ‘printer_id’ will never be NULL [-Werror=address]
  188 |     if (printer_id != NULL) {
      |                    ^~
bjnp-commands.c:145:10: note: ‘printer_id’ declared here
  145 |     char printer_id[BJNP_IEEE1284_MAX];
      |          ^~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:556: bjnp-bjnp-commands.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:333: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: cups-bjnp
Source-Version: 2.0.3-4
Done: Thorsten Alteholz <debian@alteholz.de>

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

Debian distribution maintenance software
pp.
Thorsten Alteholz <debian@alteholz.de> (supplier of updated cups-bjnp 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, 31 Jul 2022 23:02:49 +0200
Source: cups-bjnp
Architecture: source
Version: 2.0.3-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Thorsten Alteholz <debian@alteholz.de>
Closes: 1012908
Changes:
 cups-bjnp (2.0.3-4) unstable; urgency=medium
 .
   * avoid [-Werror=address] (Closes: #1012908)
Checksums-Sha1:
 015171aca50fa3a915faa777f0d176282d76dfb1 2133 cups-bjnp_2.0.3-4.dsc
 4dc1cd3c1faba1bd44cd2543be406cf087f34f53 4532 cups-bjnp_2.0.3-4.debian.tar.xz
 0df4945f998bf73fd9decb79e6d8a6fe2d3749fb 8750 cups-bjnp_2.0.3-4_amd64.buildinfo
Checksums-Sha256:
 41b4fae3c80130531a447ee8b59ce56f014fd21b00435aa00759c7a63225a718 2133 cups-bjnp_2.0.3-4.dsc
 b67e9ed31735309d2ca328109578c9018a6519cbe7be825025de9bb8205a584b 4532 cups-bjnp_2.0.3-4.debian.tar.xz
 efb017886657fa5ed0ce619e91afd6f785e1fdd69972713e2a95f263995c667e 8750 cups-bjnp_2.0.3-4_amd64.buildinfo
Files:
 746df9caa3023adba3f4689de2fcc30e 2133 text optional cups-bjnp_2.0.3-4.dsc
 5968b96ff96a9ea20170f1a96daf9b33 4532 text optional cups-bjnp_2.0.3-4.debian.tar.xz
 90e8bfa73a4ca03414579bc7a7c93578 8750 text optional cups-bjnp_2.0.3-4_amd64.buildinfo

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

iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAmLnwglfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYR4xYD/412BA94AdSdNeqarvrtHHstCe0eNS2
iWgKoQj5EtkSqDAMsDy+2lHWeWJc6m3odiplEhwTI0S97ddqDZEHp3nFc11ux12T
2HFdr6CD+OEkWmoF4ioFuDTOhQ7Zp44nY7LydYjzx0gr9ofJheWFqUulPg+rG3pA
M8d7Shf3k2rxGrsnp1RXOWaWiSf4iQFtj6JOagtFpcnmGwmKFGfKvrTQypOd76bY
kUzZQEw25r9kvtbbhxX9XUnZa0LEIJsm47iNkhjl1fkOaUSoXDDwIwWrX5DqeJuq
+yTJo4tZ7pFRPXIhN/P7QfSYFTBJ/MzHdro8ipNyiuGRoVMwOVhA1WJTFYHZdnts
ehwBRC4fiDyjpWb8oSB0UW0wYOjgvh0ID1IKZCslXm2A344j9hu2i5ILAaHcviiv
k04h7BwdmQcQdIu0lUjewu6K0gfcWYj/0iZ2Vp56rfGMfeqP8hQkKDF9FKQyxk0l
fhnFqfydQkaXfXFHPEqPRMIKXoAfyTivuoxYMbYB14ONWGMF9GyHccbh9Z2cs0Nk
PRDWG3HoHM9c5o1zHhFbubSAbeT4Ac2LAXc7cJOC5Jt0/PfSs/5FK0qGLNCPxGvH
92PLnz6dpDfNJj2yT/Y2UnZXR+/OXfEtdH1qnOunRl+06AfcPW4xwm2JIAkQQ5QW
MZQrEYALYu3Usg==
=U9m3
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: