Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 486122

Summary: dev-libs/boost - subslots should be set to full version
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: [OLD] LibraryAssignee: C++ Team [disbanded] <cpp+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 491064    

Description Arfrever Frehtes Taifersar Arahesis 2013-09-26 22:13:58 UTC
Recent versions of dev-libs/boost define subslots, but in incorrect way.
Sonames of dev-libs/boost libraries include full version:

# scanelf -qyF "%F: %S" $(qlist dev-libs/boost | grep /usr/lib | sort)
/usr/lib64/libboost_atomic.so.1.54.0: libboost_atomic.so.1.54.0
/usr/lib64/libboost_chrono.so.1.54.0: libboost_chrono.so.1.54.0
/usr/lib64/libboost_context.so.1.54.0: libboost_context.so.1.54.0
/usr/lib64/libboost_date_time.so.1.54.0: libboost_date_time.so.1.54.0
/usr/lib64/libboost_filesystem.so.1.54.0: libboost_filesystem.so.1.54.0
/usr/lib64/libboost_graph_parallel.so.1.54.0: libboost_graph_parallel.so.1.54.0
/usr/lib64/libboost_graph.so.1.54.0: libboost_graph.so.1.54.0
/usr/lib64/libboost_iostreams.so.1.54.0: libboost_iostreams.so.1.54.0
/usr/lib64/libboost_locale.so.1.54.0: libboost_locale.so.1.54.0
/usr/lib64/libboost_log_setup.so.1.54.0: libboost_log_setup.so.1.54.0
/usr/lib64/libboost_log.so.1.54.0: libboost_log.so.1.54.0
...

If upstream released 1.54.1, then rebuilding of reverse dependencies would be necessary after upgrade of dev-libs/boost.
Full version of dev-libs/boost should be included in subslot.
E.g. SLOT="0/1.54" should be replaced with SLOT="0/1.54.0" in ~dev-libs/boost-1.54.0.
Comment 1 Sergey Popov (RETIRED) gentoo-dev 2013-10-29 07:11:51 UTC
We can set subslot properly if such release will happen.

Changing subslot for current dev-libs/boost will trigger unnecessary rebuilds
Comment 2 Arfrever Frehtes Taifersar Arahesis 2013-10-29 21:37:12 UTC
SLOT in at least the newest, package.masked 1.54.0 should be fixed.
Comment 3 Sergey Popov (RETIRED) gentoo-dev 2013-10-30 09:56:29 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #2)
> SLOT in at least the newest, package.masked 1.54.0 should be fixed.

No, there are some bunch of developers and users, who use boost 1.54 now in Gentoo. They have slow machines that will be very angry for VAST amount of totally unnecessary rebuilds.

I told you again: when SONAME will be changed, we will change sublot.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2013-11-12 14:49:11 UTC
Please set SLOT="0/1.55.0" in dev-libs/boost-1.55.0 (bug #491064).
Comment 5 Sergey Popov (RETIRED) gentoo-dev 2013-11-14 17:20:09 UTC
+*boost-1.55.0 (14 Nov 2013)
+
+  14 Nov 2013; Sergey Popov <pinkbyte@gentoo.org> +boost-1.55.0.ebuild:
+  Version bump, wrt bug #491064. Change subslot, wrt bug #486122, thanks to
+  Arfrever Frehtes Taifersar Arahesis <arfrever.fta AT gmail.com>