Bug 1221703

Summary: GCC 14: libxcb package fails
Product: [openSUSE] openSUSE Tumbleweed Reporter: Michal Jireš <michal.jires>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: Gfx Bugs <gfx-bugs>
Severity: Normal    
Priority: P3 - Medium    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1220571    

Description Michal Jireš 2024-03-19 12:23:20 UTC
Building libxcb with GCC 14 fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/libxcb/standard/x86_64

Due to (exhaustive list of errors):

xcb_auth.c: In function 'get_authptr':
xcb_auth.c:181:60: error: passing argument 7 of 'XauGetBestAuthByAddr' from incompatible pointer type [-Wincompatible-pointer-types]
  181 |                                             N_AUTH_PROTOS, authnames, authnameslen);
      |                                                            ^~~~~~~~~
      |                                                            |
      |                                                            const char **
In file included from xcb_auth.c:33:
/usr/include/X11/Xauth.h:131:1: note: expected 'char **' but argument is of type 'const char **'
  131 | char**          /* type_names */,
      | ^~~~~~



See the meta bug#1220571 for more info.
Comment 1 Stefan Dirsch 2024-03-19 13:38:47 UTC
fixed and submitted to factory
Comment 2 OBSbugzilla Bot 2024-03-19 15:35:02 UTC
This is an autogenerated message for OBS integration:
This bug (1221703) was mentioned in
https://build.opensuse.org/request/show/1159559 Factory / libxcb