Bug 1160382

Summary: SDL2 fails with -fno-common
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: BasesystemAssignee: Jan Engelhardt <jengelh>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: alynx.zhou
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: 1160244    

Description Martin Liška 2020-01-08 09:34:56 UTC
The package fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:M/SDL2/standard/x86_64

Please take a look at the META issue for the instructions.
Comment 1 Jan Engelhardt 2020-01-09 15:07:31 UTC
SDL_waylanddyn.h does some macro magic which messes up text that is coming from wayland-core-client.h.

SDL2-2.0.10/src/video/wayland/SDL_waylanddyn.h:#define wl_proxy_create (*WAYLAND_wl_proxy_create)

which turns

struct wl_proxy *
wl_proxy_create(struct wl_proxy *factory,
                const struct wl_interface *interface);

into

struct wl_proxy *
(*WAYLAND_wl_proxy_create)(struct wl_proxy *factory,
                const struct wl_interface *interface);

Bad SDL, bad SDL.
Comment 2 Jan Engelhardt 2020-01-13 01:49:10 UTC
rq 763728
Comment 3 Swamp Workflow Management 2020-01-13 02:20:05 UTC
This is an autogenerated message for OBS integration:
This bug (1160382) was mentioned in
https://build.opensuse.org/request/show/763728 Factory / SDL2