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

Bug#1074896: marked as done (cvm: ftbfs with GCC-14)



Your message dated Fri, 29 Aug 2025 19:34:32 +0000
with message-id <E1us4ro-006IbQ-1U@fasolo.debian.org>
and subject line Bug#1074896: fixed in cvm 0.97-4
has caused the Debian Bug report #1074896,
regarding cvm: 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.)


-- 
1074896: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074896
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:cvm
Version: 0.97-3.1
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/cvm_0.97-3.1_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

[...]
client_xfer_compat.c: In function ‘wrapper’:
client_xfer_compat.c:41:39: warning: ‘sizeof’ on array function parameter ‘buffer’ will return size of ‘unsigned char *’ [-Wsizeof-array-argument]
   41 |   memcpy(request.data, buffer, sizeof buffer);
      |                                       ^~~~~~
client_xfer_compat.c:31:39: note: declared here
   31 |                         unsigned char buffer[CVM_BUFSIZE],
      |                         ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
client_xfer_compat.c:41:39: warning: argument to ‘sizeof’ in ‘memcpy’ call is the same pointer type ‘unsigned char *’ as the destination; expected ‘unsigned char’ or an explicit length [-Wsizeof-pointer-memaccess]
   41 |   memcpy(request.data, buffer, sizeof buffer);
      |                                       ^~~~~~
client_xfer_compat.c:44:40: warning: ‘sizeof’ on array function parameter ‘buffer’ will return size of ‘unsigned char *’ [-Wsizeof-array-argument]
   44 |   memcpy(buffer, response.data, sizeof buffer);
      |                                        ^~~~~~
client_xfer_compat.c:31:39: note: declared here
   31 |                         unsigned char buffer[CVM_BUFSIZE],
      |                         ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
client_xfer_compat.c:44:40: warning: argument to ‘sizeof’ in ‘memcpy’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
   44 |   memcpy(buffer, response.data, sizeof buffer);
      |                                        ^~~~~~
./ltcompile random.c
./ltcompile module_local_main.c
./ltcompile module_command_main.c
./ltcompile v1client.c
./ltcompile module_udp_main.c
./ltcompile sql-auth.c
./ltcompile sql-query.c
./ltcompile sasl_auth.c
./ltcompile sasl_authenticate.c
./ltcompile sasl_cram_md5.c
./ltcompile sasl_init.c
./ltcompile sasl_login.c
./ltcompile sasl_plain.c
./ltcompile sasl_start.c
./ltcompile qmail-domains.c
./ltcompile qmail-dotfile.c
./ltcompile qmail-init.c
./ltcompile qmail-lookup.c
./ltcompile qmail-users.c
./load sql-query-test sql-query.o -lbg 
Checking for socket libraries: ./makeshlib libcvm-module.la facts.lo module_command.lo module_local.lo module_log.lo module_main.lo module_output.lo module_request.lo module_udp.lo
no
./makeshlib libcvm-v2client.la v2client.lo v2client_wrappers.lo client_domain.lo client_setugid.lo client_setenv.lo client_xfer_command.lo client_xfer_compat.lo client_xfer_local.lo client_xfer_udp.lo errors.lo facts.lo random.lo
./makeshlib libcvm-local.la module_local.lo module_local_main.lo module_request.lo module_output.lo module_log.lo facts.lo
./makeshlib libcvm-command.la module_command.lo module_command_main.lo module_request.lo module_output.lo facts.lo
./makeshlib libcvm-v1client.la v1client.lo client_domain.lo client_setugid.lo client_setenv.lo client_xfer_command.lo client_xfer_compat.lo client_xfer_local.lo client_xfer_udp.lo errors.lo facts.lo
./makeshlib libcvm-udp.la module_udp.lo module_udp_main.lo module_request.lo module_output.lo module_log.lo facts.lo
./makeshlib libcvm-sql.la sql-auth.lo sql-query.lo
./makeshlib libcvm-sasl.la sasl_auth.lo sasl_authenticate.lo sasl_cram_md5.lo sasl_init.lo sasl_login.lo sasl_plain.lo sasl_start.lo
./ltload cvm-pwfile libcvm-module.la -lbg -lpwcmp `cat crypt.lib` `cat socket.lib`
./ltload cvm-unix getpwnam.o libcvm-module.la -lbg `cat crypt.lib` `cat shadow.lib` `cat s.lib` `cat socket.lib`
./makeshlib libcvm-qmail.la qmail-domains.lo qmail-dotfile.lo qmail-init.lo qmail-lookup.lo qmail-users.lo
./ltload cvm-checkpassword libcvm-v2client.la -lbg `cat socket.lib`
./ltload cvm-chain libcvm-module.la libcvm-v2client.la -lbg `cat socket.lib` `cat s.lib`
./ltload cvm-testclient libcvm-v2client.la -lbg `cat socket.lib`
./ltload cvm-benchclient libcvm-v2client.la -lbg `cat socket.lib`
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib/libpwcmp.a(client.o): in function `pwcmp_crypt':
(.text+0x29): undefined reference to `crypt'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:109: cvm-pwfile] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/ld: cvm-unix.o: in function `cvm_module_authenticate':
././cvm-unix.c:55:(.text+0x75): undefined reference to `crypt'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:133: cvm-unix] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:26: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: cvm
Source-Version: 0.97-4
Done: Santiago Vila <sanvila@debian.org>

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

Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated cvm 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, 29 Aug 2025 20:30:00 +0200
Source: cvm
Architecture: source
Version: 0.97-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Closes: 1074896 1107011
Changes:
 cvm (0.97-4) unstable; urgency=medium
 .
   * QA upload.
   * Fix return value for main(). Closes: #1074896.
   * Add libcrypt-dev to Build-Depends. Closes: #1107011.
   * Build using C17 standard with GNU extensions.
   * Update standards-version.
Checksums-Sha1:
 8dfafb789be3d71925e504ad4e5155298f5bf73f 1756 cvm_0.97-4.dsc
 e4383ffeafb5d294b877acc8fd37b56fa8cf1d1d 15724 cvm_0.97-4.debian.tar.xz
 5763d8d105c831f6581416fcb3ee7b25f5d2319d 5641 cvm_0.97-4_source.buildinfo
Checksums-Sha256:
 434d1059a7703e5d39be9706f91379b3d8be980ac69ea00fd86e3864174517fe 1756 cvm_0.97-4.dsc
 091f2c84cd3c67d6910ecd49f6d2b0babe7a5e76cbba2cb223e22de1dd0d5870 15724 cvm_0.97-4.debian.tar.xz
 25cc5915c8de5f47da0170cea0a158ea5703b296434ffaa7c7d4f848e23e4288 5641 cvm_0.97-4_source.buildinfo
Files:
 296d221e20abb4fcfc1abdb3a4cd7a0e 1756 admin optional cvm_0.97-4.dsc
 6bbae3a7f488de4e767e4e78639623b5 15724 admin optional cvm_0.97-4.debian.tar.xz
 66ed765714dabfbbf7cf19f2f8ec67cf 5641 admin optional cvm_0.97-4_source.buildinfo

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

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmix/HwACgkQQc5/C58b
izLaVQgAhEWyM+6P/oTV77dwU2jOOOvywib1Ns8pNQw28H3e76aL68EQ3kMeMkIr
mdAMmRS5zb/ddyU7D4882wkKP2EBq7DaNHr6FOXw2aquKTjRJNZbHOWIhx3EHwvx
f5qRdFXKshlRHYoNco9ArLJ/Ds5n3wcCr8QkTLdDsBORhUO7AmlufDNIbzTmAzTb
bxOkmhkswBgG60EbH74YBWdT82S7W3zrPa7WQF3kyU8PUytfJumUMHKOigWgYbZ8
cmVnP1odXMegcAZtGIVdTpy1VGnRpl23leG/IBfde50r6pfK7RADQA/Jdg/TY2Lr
BK1fKAd2F4qRYcoqWZ8hItddpIEIMg==
=h9uS
-----END PGP SIGNATURE-----

Attachment: pgphf6oL2shOE.pgp
Description: PGP signature


--- End Message ---

Reply to: