Bug 1221863 - GCC 14: cyrus-sasl package fails
Summary: GCC 14: cyrus-sasl package fails
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Network (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Peter Varkoly
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-03-22 12:35 UTC by Michal Jireš
Modified: 2024-06-11 10:49 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Jireš 2024-03-22 12:35:26 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
Comment 1 OBSbugzilla Bot 2024-05-07 09:15:04 UTC
This is an autogenerated message for OBS integration:
This bug (1221863) was mentioned in
https://build.opensuse.org/request/show/1172385 Factory / cyrus-sasl
Comment 2 Peter Varkoly 2024-06-11 10:49:30 UTC
fixed
Comment 3 Peter Varkoly 2024-06-11 10:49:30 UTC
fixed