Bug 1221703 - GCC 14: libxcb package fails
Summary: GCC 14: libxcb package fails
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Current
Hardware: Other Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: Gfx Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-03-19 12:23 UTC by Michal Jireš
Modified: 2024-03-19 15:35 UTC (History)
0 users

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-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