Bug 1062778

Summary: freeorion : Please stop BuildRequire on boost-devel
Product: [openSUSE] openSUSE Tumbleweed Reporter: Adam Majer <amajer>
Component: OtherAssignee: D B <buckyballreaction>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
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: 1062583    

Description Adam Majer 2017-10-11 12:08:57 UTC
freeorion current BuildRequires boost-devel. This package is going to be dropped since it pulls in too many unnecessary runtimes. This change will cause your package to stop building. Please fix.

See Bug 1062583 for rationale.

https://build.opensuse.org/package/show/home:adamm:branches:devel:libraries:c_c++/freeorion
Comment 1 D B 2017-10-11 14:56:18 UTC
Hi,

Does this mean I just replace 'boost-devel' with 'libboost_headers-devel'?  If so, what versions of SUSE support 'libboost_headers-devel'?

Thanks
Comment 2 Adam Majer 2017-10-11 15:04:22 UTC
(In reply to David Buck from comment #1)
> Does this mean I just replace 'boost-devel' with 'libboost_headers-devel'? 
> If so, what versions of SUSE support 'libboost_headers-devel'?

No. From the build logs, you will need to add at least,

libboost_date_time-devel
libboost_filesystem-devel
libboost_regex-devel
libboost_signals-devel
libboost_system-devel
libboost_thread-devel
libboost_log-devel

All versions since %{suse_version} >= 1330

To verify that new version builds, build against home:adamm:branches:devel:libraries:c_c++/openSUSE_Tumbleweed repository. Or, if you branch from your devel project instead, you can link in boost from home:adamm:branches:devel:libraries:c_c++ too.
Comment 3 Adam Majer 2017-10-11 15:05:55 UTC
Actually, if you build vs. Tumbleweed, you'll know if it builds as long as you don't have BuildRequires on boost-devel for Tumbleweed onward.

You don't need special boost version. Split up boost is already in Tumbleweed.
Comment 4 D B 2017-10-11 15:11:42 UTC
OK, I will do a build against tumbleweed.  For Leap, do I just leave the 'boost-devel'?
Comment 5 Adam Majer 2017-10-11 15:23:33 UTC
(In reply to David Buck from comment #4)
> OK, I will do a build against tumbleweed.  For Leap, do I just leave the
> 'boost-devel'?

Yes
Comment 6 D B 2017-10-11 18:29:31 UTC
I've committed a change to the repository and tested the build on Tumbleweed (which works).  See:

https://build.opensuse.org/package/rdiff/games/freeorion?linkrev=base&rev=24

Thanks!
Comment 7 Adam Majer 2017-10-12 07:29:21 UTC
(In reply to David Buck from comment #6)
> I've committed a change to the repository and tested the build on Tumbleweed
> (which works).  See:

Thanks. Just for your information, you do not need any versions on the split up boost since it never existed before version 1.62.
Comment 8 D B 2017-10-23 12:01:54 UTC
Marking resolved