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

Bug#1074879: marked as done (checkpw: ftbfs with GCC-14)



Your message dated Thu, 07 Nov 2024 00:33:59 +0000
with message-id <E1t8qTH-00E27N-1t@fasolo.debian.org>
and subject line Bug#1074879: fixed in checkpw 1.02-5
has caused the Debian Bug report #1074879,
regarding checkpw: ftbfs with GCC-14
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.)


-- 
1074879: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074879
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:checkpw
Version: 1.02-4
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/checkpw_1.02-4_unstable_gccexp.log
The last lines of the build log are at the end of this report.

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

[...]
  122 |   buffer_init(&ssout,write,fdout,outbuf,sizeof outbuf);
      |                      ^~~~~
      |                      |
      |                      ssize_t (*)(int,  const void *, size_t) {aka long int (*)(int,  const void *, long unsigned int)}
buffer.h:16:34: note: expected ‘int (*)()’ but argument is of type ‘ssize_t (*)(int,  const void *, size_t)’ {aka ‘long int (*)(int,  const void *, long unsigned int)’}
   16 | extern void buffer_init(buffer *,int (*)(),int,char *,unsigned int);
      |                                  ^~~~~~~~~
install.c: At top level:
install.c:141:1: error: return type defaults to ‘int’ [-Wimplicit-int]
  141 | main()
      | ^~~~
make[1]: *** [Makefile:388: install.o] Error 1
make[1]: *** Waiting for unfinished jobs....
hier.c: In function ‘hier’:
hier.c:7:5: warning: passing argument 1 of ‘c’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    7 |   c(auto_home,"bin","checkpw",-1,-1,0700);
      |     ^~~~~~~~~
hier.c:3:21: note: expected ‘char *’ but argument is of type ‘const char *’
    3 | extern void c(char *home, char *subdir, char *file, int uid, int gid, int mode);
      |               ~~~~~~^~~~
hier.c:8:5: warning: passing argument 1 of ‘c’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    8 |   c(auto_home,"bin","checkapoppw",-1,-1,0700);
      |     ^~~~~~~~~
hier.c:3:21: note: expected ‘char *’ but argument is of type ‘const char *’
    3 | extern void c(char *home, char *subdir, char *file, int uid, int gid, int mode);
      |               ~~~~~~^~~~
hier.c:9:5: warning: passing argument 1 of ‘c’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    9 |   c(auto_home,"bin","selectcheckpw",-1,-1,0700);
      |     ^~~~~~~~~
hier.c:3:21: note: expected ‘char *’ but argument is of type ‘const char *’
    3 | extern void c(char *home, char *subdir, char *file, int uid, int gid, int mode);
      |               ~~~~~~^~~~
hier.c:10:5: warning: passing argument 1 of ‘c’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   10 |   c(auto_home,"bin","loginlog",-1,-1,0755);
      |     ^~~~~~~~~
hier.c:3:21: note: expected ‘char *’ but argument is of type ‘const char *’
    3 | extern void c(char *home, char *subdir, char *file, int uid, int gid, int mode);
      |               ~~~~~~^~~~
In file included from auto-str.c:1:
buffer.h:12:61: error: initialization of ‘int (*)()’ from incompatible pointer type ‘ssize_t (*)(int,  const void *, size_t)’ {aka ‘long int (*)(int,  const void *, long unsigned int)’} [-Wincompatible-pointer-types]
   12 | #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) }
      |                                                             ^
auto-str.c:6:12: note: in expansion of macro ‘BUFFER_INIT’
    6 | buffer b = BUFFER_INIT(write,1,bspace,sizeof bspace);
      |            ^~~~~~~~~~~
buffer.h:12:61: note: (near initialization for ‘b.op’)
   12 | #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) }
      |                                                             ^
auto-str.c:6:12: note: in expansion of macro ‘BUFFER_INIT’
    6 | buffer b = BUFFER_INIT(write,1,bspace,sizeof bspace);
      |            ^~~~~~~~~~~
auto-str.c:8:6: warning: conflicting types for built-in function ‘puts’; expected ‘int(const char *)’ [-Wbuiltin-declaration-mismatch]
    8 | void puts(char *s)
      |      ^~~~
auto-str.c:4:1: note: ‘puts’ is declared in header ‘<stdio.h>’
    3 | #include "exit.h"
  +++ |+#include <stdio.h>
    4 | 
auto-str.c:13:1: error: return type defaults to ‘int’ [-Wimplicit-int]
   13 | main(int argc,char **argv)
      | ^~~~
make[1]: *** [Makefile:292: auto-str.o] Error 1
instcheck.c:104:1: error: return type defaults to ‘int’ [-Wimplicit-int]
  104 | main()
      | ^~~~
make[1]: *** [Makefile:155: instcheck.o] 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:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: checkpw
Source-Version: 1.02-5
Done: Petter Reinholdtsen <pere@debian.org>

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

Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated checkpw 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: SHA256

Format: 1.8
Date: Thu, 07 Nov 2024 01:11:41 +0100
Source: checkpw
Architecture: source
Version: 1.02-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Closes: 1074879
Changes:
 checkpw (1.02-5) unstable; urgency=medium
 .
   * QA upload.
 .
   * Added d/gbp.conf to describe branch layout.
   * Updated vcs in d/control to Salsa.
   * Updated d/gbp.conf to enforce the use of pristine-tar.
   * Updated Standards-Version from 3.7.2.2 to 4.7.0.
   * Use wrap-and-sort -at for debian control files.
   * Trim trailing whitespace.
   * Add missing ${misc:Depends} to Depends for checkpw.
   * Use secure URI in debian/watch.
   * Fixed compiler errors and warnings from GCC 14 (Closes: #1074879).
Checksums-Sha1:
 ade76694496b7c698b62ecd3d83751271f1947cd 1784 checkpw_1.02-5.dsc
 a6592e7e57dc4d7738b15a63ee9fa14ec8e767bc 8468 checkpw_1.02-5.debian.tar.xz
 6b6b81b2e451b2608b03796360d7ffbb531ac8c2 5968 checkpw_1.02-5_source.buildinfo
Checksums-Sha256:
 cc4da742f2ec9cd6c585d8c6a0ebd07aa5f89f4576d38da99b0a26a6ab83e751 1784 checkpw_1.02-5.dsc
 ae26d6abeb2bef226a0c3e708c2ad7baff6552d080720637fc6418fc562692dc 8468 checkpw_1.02-5.debian.tar.xz
 4bd6f7e9e4a5c4ef5f570427ad2a0ca6bd7b677df6e190cc19546d1efacb2692 5968 checkpw_1.02-5_source.buildinfo
Files:
 b7698610755f2a32defa2915b4eace81 1784 mail optional checkpw_1.02-5.dsc
 dd12fb0de981f8494e8dc5857c82a845 8468 mail optional checkpw_1.02-5.debian.tar.xz
 ea83360a37a56043f297355a2bcd0fcd 5968 mail optional checkpw_1.02-5_source.buildinfo

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

iQIzBAEBCAAdFiEERqLf4owIeylOb9kkgSgKoIe6+w4FAmcsBwYACgkQgSgKoIe6
+w4xcA//XlE0RHUJfnoRD+KrJdmVMWZxmnKDQzh+frpkEyFl0c4ia50YUeKpZsL1
EuaFVl9XI5KDRkpyEg2pGGTQaTm3YGA0SD91eJB52SzCtmYCRLcXKR0F/Ln2J/Ma
BaS4w4Lt/GrOwJAyd8EvGTVJhKQhFNpYN6v2e7JKKHI/Y4QbUzQAzc+xkPFijrNm
hh+BI+wpX0Yqmi4G62L9BGJg8rF/BXzOR/9Ud9Wslpc8eaL/mFQ4+B8YH23HKm3K
nouC8vmlwzX4xUmCT6FpdUoLDGmpF58BQqxO7Bqgj2vduyPFS6l8RtcEwj5GwpXX
HotpU008JdDLN6bWS36/DjBwoWaOU5/01bSUJxTLLZ47k/S76wDob1/VgC4yzBKi
y9fMeeIiJKGuO1ISIR+l6Ov5VgNSuCj1K2UqED5LASXTPYedugDJEfxnq1juzuTV
8CYD2SgZq39rE5d13gcZh/8R0r291Ma66X0/zTD6g7T/UQ2dVnCW2EbqoeNeNNpf
pRoWEpboPXfV4PT5fWkLVDyFYrQxSxzRwOPhcTDJ5pwppRR6qf6Ut0oP64PpiEQM
cTsJwGUdaibeaIaFcc1oEu0yTqD16CXZz8TaYdqQqmzuo5cRv0dsr2ixKqVmrzrQ
L9oWLg7pY7jCPuPtR5drZd7zXQUPUvISgSB8qpZSf0yUF8xSljw=
=PCvb
-----END PGP SIGNATURE-----

Attachment: pgpqLHMtCW4oG.pgp
Description: PGP signature


--- End Message ---

Reply to: