Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903657 - app-misc/tmate-2.4.0-r1: unable to build with dev-libs/msgpack-6.0.0
Summary: app-misc/tmate-2.4.0-r1: unable to build with dev-libs/msgpack-6.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: Yixun Lan
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-04-01 03:39 UTC by ston jia
Modified: 2023-04-03 06:40 UTC (History)
3 users (show)

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


Attachments
build.log (file_903657.txt,5.63 KB, text/plain)
2023-04-01 03:39 UTC, ston jia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ston jia 2023-04-01 03:39:18 UTC
Created attachment 859364 [details]
build.log

```
 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: dev-libs/msgpack-6.0.0
 *  - /usr/lib64/libmsgpackc.so.2
 *  - /usr/lib64/libmsgpackc.so.2.0.0
 *      used by /usr/bin/tmate (app-misc/tmate-2.4.0-r1)
Use emerge @preserved-rebuild to rebuild packages using these libraries
```
After upgrading my system,it seems like i have to do `emerge @preserved-rebuild`

But tmate failed to build
Comment 1 ston jia 2023-04-01 04:08:18 UTC
https://github.com/tmate-io/tmate/pull/281

This should be an upstream issue.
Comment 2 Larry the Git Cow gentoo-dev 2023-04-03 05:30:39 UTC
The bug has been closed via the following commit(s):

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

commit 7bd84e098a747208514b888ac6963693edd38d0b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-03 05:27:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-03 05:28:13 +0000

    app-misc/tmate: add msgpack subslot dep, fix build w/ msgpack-6
    
    While at it, cleanup obsolete --disable-static (EAPI 8 does it for us).
    
    Closes: https://bugs.gentoo.org/903657
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/tmate/files/tmate-2.4.0-msgpack-6.patch   | 30 ++++++++++++++++++++++
 ...tmate-2.4.0-r1.ebuild => tmate-2.4.0-r2.ebuild} | 16 +++++++-----
 2 files changed, 39 insertions(+), 7 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2023-04-03 05:37:09 UTC
The bug has been referenced in the following commit(s):

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

commit 49c8b9cee214bdcab719fa5d21f3bdfb5d1462dd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-03 05:35:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-03 05:36:01 +0000

    dev-libs/msgpack: crank subslot for msgpack-6 for library rename
    
    Need the -c as a one-off (can drop on next soname bump) as the library rename
    from libmsgpackc.so.2 -> libmsgpack-c.so.2 is effectively an ABI break and
    has all the same problems a new SONAME would have.
    
    Bug: https://bugs.gentoo.org/903657
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/msgpack/{msgpack-6.0.0.ebuild => msgpack-6.0.0-r1.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)