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

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

Due to (exhaustive list of errors):

cddb_net.c: In function 'timeout_connect':
cddb_net.c:328:63: error: passing argument 5 of 'getsockopt' from incompatible
pointer type [-Wincompatible-pointer-types]
  328 |                 getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &rv, &l);
      |                                                               ^~
      |                                                               |
      |                                                               size_t *
{aka long unsigned int *}
In file included from /usr/include/netinet/in.h:23,
                 from ../include/cddb/cddb_conn.h:32,
                 from ../include/cddb/cddb.h:37,
                 from ../include/cddb/cddb_ni.h:58,
                 from cddb_net.c:22:
/usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka
'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long
unsigned int *'}
  257 |                        socklen_t *__restrict __optlen) __THROW;
      |                        ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~



See the meta bug#1220571 for more info.


You are receiving this mail because: