Bug 1160423

Summary: xorg-x11-server fails with -fno-common
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: BasesystemAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium 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, 1160578    
Attachments: u_fno-common.patch

Description Martin Liška 2020-01-08 09:47:42 UTC
The package fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:M/xorg-x11-server/standard/x86_64

Please take a look at the META issue for the instructions.
Comment 1 Stefan Dirsch 2020-01-20 16:47:05 UTC
Created attachment 827854 [details]
u_fno-common.patch

Almost. Still remaining:

  CCLD     tests
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: tests-protocol-xchangedevicecontrol.o: in function `test_ChangeDeviceControl':
/home/abuild/rpmbuild/BUILD/xserver-1.20.7+0/test/xi1/protocol-xchangedevicecontrol.c:89: undefined reference to `reply_handler'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: tests-protocol-common.o: in function `__wrap_WriteToClient':
/home/abuild/rpmbuild/BUILD/xserver-1.20.7+0/test/xi2/protocol-common.c:288: undefined reference to `reply_handler'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: tests-protocol-xiqueryversion.o: in function `test_XIQueryVersion':
/home/abuild/rpmbuild/BUILD/xserver-1.20.7+0/test/xi2/protocol-xiqueryversion.c:149: undefined reference to `reply_handler'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/xserver-1.20.7+0/test/xi2/protocol-xiqueryversion.c:188: undefined reference to `reply_handler'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: tests-protocol-xiqueryversion.o: in function `test_XIQueryVersion_multiple':
/home/abuild/rpmbuild/BUILD/xserver-1.20.7+0/test/xi2/protocol-xiqueryversion.c:208: undefined reference to `reply_handler'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: tests-protocol-xiquerydevice.o:/home/abuild/rpmbuild/BUILD/xserver-1.20.7+0/test/xi2/protocol-xiquerydevice.c:85: more undefined references to `reply_handler' follow
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1054: tests] Error 1
make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/xserver-1.20.7+0/test'
make[1]: *** [Makefile:1509: all-recursive] Error 1
make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/xserver-1.20.7+0/test'
make: *** [Makefile:1005: all] Error 2

Weird stuff ...
Comment 2 Stefan Dirsch 2020-01-20 19:43:17 UTC
Meanwhile fixed.
Comment 3 Swamp Workflow Management 2020-01-20 20:20:05 UTC
This is an autogenerated message for OBS integration:
This bug (1160423) was mentioned in
https://build.opensuse.org/request/show/765910 Factory / xorg-x11-server