Bugzilla – Bug 1221863
GCC 14: cyrus-sasl package fails
Last modified: 2024-06-11 10:49:30 UTC
Building cyrus-sasl with GCC 14 fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/cyrus-sasl/standard/x86_64 Or built using: osc build --alternative-project openSUSE:Factory:Staging:Gcc7 Due to: saslutil.c: In function ‘sasl_mkchal’: saslutil.c:280:3: error: implicit declaration of function ‘time’ [-Wimplicit-function-declaration] 280 | time(&now); | ^~~~ saslutil.c:66:1: note: ‘time’ is defined in header ‘<time.h>’; this is probably fixable by adding ‘#include <time.h>’ 65 | #include "saslint.h" +++ |+#include <time.h> 66 | #include <saslutil.h> saslutil.c: In function ‘getranddata’: saslutil.c:364:41: error: implicit declaration of function ‘clock’ [-Wimplicit-function-declaration] 364 | ret[1] ^= (unsigned short) (clock() & 0xFFFF); | ^~~~~ saslutil.c:364:41: note: ‘clock’ is defined in header ‘<time.h>’; this is probably fixable by adding ‘#include <time.h>’ See the meta bug#1220571 for more info. ---------- Seems to be fixed upstream https://github.com/cyrusimap/cyrus-sasl/commit/266f0acf7f5e029afbb3e263437039e50cd6c262
This is an autogenerated message for OBS integration: This bug (1221863) was mentioned in https://build.opensuse.org/request/show/1172385 Factory / cyrus-sasl
fixed