Bug ID 1221682
Summary GCC 14: autofs package fails
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel:Filesystems
Assignee kernel-fs@suse.de
Reporter michal.jires@suse.com
QA Contact qa-bugs@suse.de
CC ddiss@suse.com
Blocks 1220571
Target Milestone ---
Found By ---
Blocker ---

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

Due to (exhaustive list of errors):

cyrus-sasl.c:112:25: error: initialization of ‘int (*)(void)’ from incompatible
pointer type ‘int (*)(void *, int,  const char **, unsigned int *)’
[-Wincompatible-pointer-types]
  112 |         { SASL_CB_USER, &getuser_func, NULL },
      |                         ^
cyrus-sasl.c:112:25: note: (near initialization for ‘callbacks[0].proc’)
cyrus-sasl.c:113:29: error: initialization of ‘int (*)(void)’ from incompatible
pointer type ‘int (*)(void *, int,  const char **, unsigned int *)’
[-Wincompatible-pointer-types]
  113 |         { SASL_CB_AUTHNAME, &getuser_func, NULL },
      |                             ^
cyrus-sasl.c:113:29: note: (near initialization for ‘callbacks[1].proc’)
cyrus-sasl.c:114:25: error: initialization of ‘int (*)(void)’ from incompatible
pointer type ‘int (*)(sasl_conn_t *, void *, int,  sasl_secret_t **)’ {aka ‘int
(*)(struct sasl_conn *, void *, int,  struct sasl_secret **)’}
[-Wincompatible-pointer-types]
  114 |         { SASL_CB_PASS, &getpass_func, NULL },
      |                         ^
cyrus-sasl.c:114:25: note: (near initialization for ‘callbacks[2].proc’)
cyrus-sasl.c:119:24: error: initialization of ‘int (*)(void)’ from incompatible
pointer type ‘int (*)(void *, int,  const char *)’
[-Wincompatible-pointer-types]
  119 |         { SASL_CB_LOG, &sasl_log_func, NULL },
      |                        ^
cyrus-sasl.c:119:24: note: (near initialization for ‘debug_callbacks[0].proc’)
cyrus-sasl.c:120:25: error: initialization of ‘int (*)(void)’ from incompatible
pointer type ‘int (*)(void *, int,  const char **, unsigned int *)’
[-Wincompatible-pointer-types]
  120 |         { SASL_CB_USER, &getuser_func, NULL },
      |                         ^
cyrus-sasl.c:120:25: note: (near initialization for ‘debug_callbacks[1].proc’)
cyrus-sasl.c:121:29: error: initialization of ‘int (*)(void)’ from incompatible
pointer type ‘int (*)(void *, int,  const char **, unsigned int *)’
[-Wincompatible-pointer-types]
  121 |         { SASL_CB_AUTHNAME, &getuser_func, NULL },
      |                             ^
cyrus-sasl.c:121:29: note: (near initialization for ‘debug_callbacks[2].proc’)
cyrus-sasl.c:122:25: error: initialization of ‘int (*)(void)’ from incompatible
pointer type ‘int (*)(sasl_conn_t *, void *, int,  sasl_secret_t **)’ {aka ‘int
(*)(struct sasl_conn *, void *, int,  struct sasl_secret **)’}
[-Wincompatible-pointer-types]
  122 |         { SASL_CB_PASS, &getpass_func, NULL },
      |                         ^
cyrus-sasl.c:122:25: note: (near initialization for ‘debug_callbacks[3].proc’)

./autofs-5.1.9/config.log: conftest.c: In function 'main':
./autofs-5.1.9/config.log: conftest.c:58:47: error: passing argument 4 of
'ldap_parse_page_control' from incompatible pointer type
[-Wincompatible-pointer-types]
./autofs-5.1.9/config.log:    58 |       ret =
ldap_parse_page_control(ld,clp,ct,c);
./autofs-5.1.9/config.log:       |                                             
 ^
./autofs-5.1.9/config.log:       |                                             
 |
./autofs-5.1.9/config.log:       |                                             
 struct berval *
./autofs-5.1.9/config.log: In file included from /usr/include/lber_types.h:24,
./autofs-5.1.9/config.log:                  from /usr/include/lber.h:29,
./autofs-5.1.9/config.log:                  from /usr/include/ldap.h:30,
./autofs-5.1.9/config.log:                  from conftest.c:49:
./autofs-5.1.9/config.log: /usr/include/ldap.h:2155:25: note: expected 'struct
berval **' but argument is of type 'struct berval *'
./autofs-5.1.9/config.log:  2155 | ldap_parse_page_control LDAP_P((
./autofs-5.1.9/config.log:       |                         ^~~~~~



Fixing configure may not be necessary to build the package, but it might be an
indication that the package will be misconfigured.

See the meta bug#1220571 for more info.


You are receiving this mail because: