FTBFS with gcc-14

Bug #2075332 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cyrus-sasl2 (Debian)
New
Unknown
cyrus-sasl2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

https://launchpadlibrarian.net/741628620/buildlog_ubuntu-oracular-amd64.cyrus-sasl2_2.1.28+dfsg1-6_BUILDING.txt.gz

In file included from ../../include/hmac-md5.h:7,
                 from ../../include/saslplug.h:11,
                 from ../../lib/common.c:60:
/usr/include/openssl/md5.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
      | ^~~~~~~~
../../lib/common.c:2034:19: error: assignment to ‘void (*)(MD5_CTX *)’ {aka ‘void (*)(struct MD5state_st *)’} from incompatible pointer type ‘int (*)(MD5_CTX *)’ {aka ‘int (*)(struct MD5state_st *)’} [-Wincompatible-pointer-types]
 2034 | utils->MD5Init = &MD5_Init;
      | ^
../../lib/common.c:2035:3: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2035 | utils->MD5Update= &MD5_Update;
      | ^~~~~
/usr/include/openssl/md5.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
      | ^~~~~~~~~~
../../lib/common.c:2035:19: error: assignment to ‘void (*)(MD5_CTX *, const unsigned char *, unsigned int)’ {aka ‘void (*)(struct MD5state_st *, const unsigned char *, unsigned int)’} from incompatible pointer type ‘int (*)(MD5_CTX *, const void *, size_t)’ {aka ‘int (*)(struct MD5state_st *, const void *, long unsigned int)’} [-Wincompatible-pointer-types]
 2035 | utils->MD5Update= &MD5_Update;
      | ^
../../lib/common.c:2036:3: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2036 | utils->MD5Final = &MD5_Final;
      | ^~~~~
/usr/include/openssl/md5.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
      | ^~~~~~~~~
../../lib/common.c:2036:19: error: assignment to ‘void (*)(unsigned char *, MD5_CTX *)’ {aka ‘void (*)(unsigned char *, struct MD5state_st *)’} from incompatible pointer type ‘int (*)(unsigned char *, MD5_CTX *)’ {aka ‘int (*)(unsigned char *, struct MD5state_st *)’} [-Wincompatible-pointer-types]
 2036 | utils->MD5Final = &MD5_Final;
      | ^
../../lib/common.c: In function ‘_sasl_find_verifyfile_callback’:
../../lib/common.c:2165:5: warning: cast between incompatible function types from ‘int (*)(void *, char *, int)’ to ‘int (*)(void)’ [-Wcast-function-type]
 2165 | (sasl_callback_ft)&_sasl_verifyfile,
      | ^
make[5]: *** [Makefile:608: common.lo] Error 1

Tags: ftbfs
Changed in cyrus-sasl2 (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.