Bug 1160289

Summary: redis fails with -fno-common
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: BasesystemAssignee: Marcus Rückert <mrueckert>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: alynx.zhou, forgotten_7645792743
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-07 14:02:44 UTC
The package fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:M/redis/standard/x86_64

Please take a look at the META issue for the instructions.
Comment 1 Martin Liška 2020-02-04 11:25:56 UTC
May I please ping this issue?
Comment 2 Martin Liška 2020-03-02 12:00:06 UTC
May I please ping this as we're slowly (but surely) approaching a new GCC release and this will unblock acceptance of the new package into Factory.
Comment 3 Martin Liška 2020-03-23 16:57:00 UTC
Another ping please..
Comment 4 Forgotten User 7645792743 2020-03-24 15:33:01 UTC
for ref, _local_, build with

	gcc --version
		gcc (SUSE Linux) 10.0.1 20200320 (experimental) [revision 7d4549b2cd209eb621453ce13be7ffd84ffa720a]

of redis 5.0. branch builds/tests/execs with no errors

	cd redis
	git checkout 5.0
	git log -n1
	      1 commit 1f7d08b76dc83fd2aa43ee7fc04ab4ee01016628 (HEAD -> 5.0, tag: 5.0.8, origin/5.0)
	      2 Author: antirez <antirez@gmail.com>
	      3 Date:   Thu Mar 12 16:07:44 2020 +0100
	      4
	      5     Redis 5.0.8.

	make
	make test
		...
		\o/ All tests passed without errors!
		...
	make install

	systemctl start redis
	systemctl statues redis
	● redis.service - Redis
	   Loaded: loaded (/etc/systemd/system/redis.service; enabled; vendor preset: disabled)
	   Active: active (running) since Tue 2020-03-24 08:27:10 PDT; 56ms ago
	  Process: 43911 ExecStart=/usr/local/bin/redis-server /usr/local/etc/redis/redis.conf (code=exited, status=0/SUCCESS)
	 Main PID: 43912 (redis-server)
	    Tasks: 4
	   CGroup: /system.slice/redis.service
	           └─43912 /usr/local/bin/redis-server *:0
Comment 5 Marcus Rückert 2020-03-24 16:22:35 UTC
HEAD of 5.0 seems to be 5.0.8. which should be on its way to TW already. so it might be fixed?
Comment 6 Forgotten User 7645792743 2020-03-24 17:20:36 UTC
> HEAD of 5.0 seems to be 5.0.8

looks as v5.0.8 was released

   redis-5.0.8.tar.gz	12-Mar-2020 11:08 	1.9M

> which should be on its way to TW already

afaict, only in

   https://build.opensuse.org/package/show/server:database/redis

so far.

quick check with a branched build, with my gcc10 pkgs, for Leap 15.1,

   https://build.opensuse.org/package/show/home:pgnd:test:redis+gcc10/redis

looks ok. at least, no errors on build.
Comment 7 Martin Liška 2020-03-24 21:01:36 UTC
Thanks for investigation, as it's fixed in devel project we can close it.
Comment 8 Forgotten User 7645792743 2020-03-24 21:12:37 UTC
just note that 'my' check was for Leap 15.1 build -- not for 15.2/TW/Factory.