Bug ID 1221683
Summary GCC 14: certmonger package fails
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee screening-team-bugs@suse.de
Reporter michal.jires@suse.com
QA Contact qa-bugs@suse.de
CC ngompa13@gmail.com
Blocks 1220571
Target Milestone ---
Found By ---
Blocker ---

Building certmonger with GCC 14 fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/certmonger/standard/x86_64

Due to (exhaustive list of errors):

tdbusm.c: In function ‘cm_tdbusm_get_vn’:
tdbusm.c:244:28: error: assignment to ‘long int’ from ‘int64_t *’ {aka ‘long
int *’} makes integer from pointer without a cast [-Wint-conversion]
  244 |                         *n = i64;
      |                            ^


util-o.c: In function ‘util_public_EVP_PKEY_dup’:
util-o.c:593:40: error: passing argument 2 of ‘util_EVP_PKEY_dup’ from
incompatible pointer type [-Wincompatible-pointer-types]
  593 |         return util_EVP_PKEY_dup(pkey, i2d_PublicKey, d2i_PublicKey);
      |                                        ^~~~~~~~~~~~~
      |                                        |
      |                                        int (*)(const EVP_PKEY *,
unsigned char **) {aka int (*)(const struct evp_pkey_st *, unsigned char **)}
util-o.c:554:25: note: expected ‘int (*)(EVP_PKEY *, unsigned char **)’ {aka
‘int (*)(struct evp_pkey_st *, unsigned char **)’} but argument is of type ‘int
(*)(const EVP_PKEY *, unsigned char **)’ {aka ‘int (*)(const struct evp_pkey_st
*, unsigned char **)’}
  554 |                   int (*i2d)(EVP_PKEY *, unsigned char **),
      |                   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
util-o.c: In function ‘util_private_EVP_PKEY_dup’:
util-o.c:599:40: error: passing argument 2 of ‘util_EVP_PKEY_dup’ from
incompatible pointer type [-Wincompatible-pointer-types]
  599 |         return util_EVP_PKEY_dup(pkey, i2d_PrivateKey, d2i_PrivateKey);
      |                                        ^~~~~~~~~~~~~~
      |                                        |
      |                                        int (*)(const EVP_PKEY *,
unsigned char **) {aka int (*)(const struct evp_pkey_st *, unsigned char **)}


See the meta bug#1220571 for more info.


You are receiving this mail because: