Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893544 - dev-util/Tensile: support >=dev-libs/msgpack-5.0.0 , >=dev-cpp/msgpack-cxx-5.0.0
Summary: dev-util/Tensile: support >=dev-libs/msgpack-5.0.0 , >=dev-cpp/msgpack-cxx-5.0.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: msgpack-5
  Show dependency tree
 
Reported: 2023-02-07 20:20 UTC by Marek Szuba
Modified: 2023-02-24 16:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba archtester gentoo-dev 2023-02-07 20:20:41 UTC
dev-util/Tensile installs its C/C++ bits as source code, complete with their own CMakeLists.txt - which both looks for msgpack-c using its pre-5.0.0 package name "msgpack" and assumes said package to provide information about both the C and the C++ library. This causes src_configure errors in CMake-based packages using Tensile with msgpack, e.g. sci-libs/rocBLAS (I don't think there are any others in the tree at present).

In order for newer versions of msgpack to be supported, CMake scripts bundled with Tensile will have to use the package name "msgpackc" for the C library and "msgpackc-cxx" for the C++ one.

In the meantime, sci-libs/rocBLAS ebuilds have been modified to depend on <=dev-libs/msgpack-5.0.0.
Comment 1 Larry the Git Cow gentoo-dev 2023-02-24 16:50:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81aebd088f646095930f961c38fae6a769c21328

commit 81aebd088f646095930f961c38fae6a769c21328
Author:     Yiyang Wu <xgreenlandforwyy@gmail.com>
AuthorDate: 2023-02-11 09:14:03 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-02-24 16:49:47 +0000

    dev-util/Tensile: support >=dev-cpp/msgpack-cxx-5.0.0
    
    Closes: https://bugs.gentoo.org/893544
    Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 dev-util/Tensile/Tensile-5.1.3-r1.ebuild           |  9 ++++----
 dev-util/Tensile/Tensile-5.4.2.ebuild              |  9 ++++----
 ...1-Change-cmake-name-for-msgpack-5-release.patch | 25 ++++++++++++++++++++++
 3 files changed, 35 insertions(+), 8 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8d972ba35aaae7eec609c9138d4fefc735f8ed4

commit d8d972ba35aaae7eec609c9138d4fefc735f8ed4
Author:     Yiyang Wu <xgreenlandforwyy@gmail.com>
AuthorDate: 2023-02-11 14:10:53 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-02-24 16:49:48 +0000

    sci-libs/rocBLAS: replace msgpack dep with msgpack-cxx
    
    Bug: https://bugs.gentoo.org/893544
    Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 sci-libs/rocBLAS/{rocBLAS-5.1.3-r1.ebuild => rocBLAS-5.1.3-r2.ebuild} | 2 +-
 sci-libs/rocBLAS/{rocBLAS-5.4.2-r1.ebuild => rocBLAS-5.4.2-r2.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)