Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667966 - dev-lang/rust-1.29.1 - shared libraries lack a SONAME
Summary: dev-lang/rust-1.29.1 - shared libraries lack a SONAME
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-07 15:09 UTC by Mike Gilbert
Modified: 2018-10-18 09:05 UTC (History)
1 user (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 Mike Gilbert gentoo-dev 2018-10-07 15:09:21 UTC
* Messages for package dev-lang/rust-1.29.1:
 * Log file: /var/log/portage/dev-lang:rust-1.29.1:20181007-140434.log

 * Rust installs a helper script for calling GDB and LLDB,
 * for your convenience it is installed under /usr/bin/rust-{gdb,lldb}-1.29.1.
 * install app-vim/rust-vim to get vim support for rust.
 * install app-shells/rust-zshcomp to get zsh completion for rust.
 * QA Notice: The following shared libraries lack a SONAME
 * /usr/lib/libstd-5095feac7e2004cd.so
 * /usr/lib/libterm-3a1ad9a704d05daa.so
 * /usr/lib/libtest-b5dc942ee1e7c30e.so
 * /usr/lib64/libarena-ca086d4352b89c0a.so
 * /usr/lib64/libfmt_macros-02600efb1ea9142a.so
 * /usr/lib64/libgraphviz-8973153f37d94844.so
 * /usr/lib64/libproc_macro-789f27c42022b61b.so
 * /usr/lib64/librustc-b654d5bd7e584da7.so
 * /usr/lib64/librustc_allocator-8214ef93f2cc9f9a.so
 * /usr/lib64/librustc_borrowck-281bcc41ead4d171.so
 * /usr/lib64/librustc_codegen_utils-5bf719c819a5bab5.so
 * /usr/lib64/librustc_cratesio_shim-dc641e4e1676b008.so
 * /usr/lib64/librustc_data_structures-1eae32b76b6eb6a3.so
 * /usr/lib64/librustc_driver-786e3b2848b7aa3a.so
 * /usr/lib64/librustc_errors-8d6cff265ca12f89.so
 * /usr/lib64/librustc_incremental-5218ae030640d216.so
 * /usr/lib64/librustc_lint-174c2d9a4286d218.so
 * /usr/lib64/librustc_metadata-e769910754e4fbe6.so
 * /usr/lib64/librustc_mir-65a92c59e47706f9.so
 * /usr/lib64/librustc_passes-e02f763e1c161a71.so
 * /usr/lib64/librustc_platform_intrinsics-97bec2c2ca3822d3.so
 * /usr/lib64/librustc_plugin-4b2725c0b6aa4e61.so
 * /usr/lib64/librustc_privacy-efb207389d62d847.so
 * /usr/lib64/librustc_resolve-bd9ec21c90d1bf09.so
 * /usr/lib64/librustc_save_analysis-9530056085359b6e.so
 * /usr/lib64/librustc_target-0653e6dac0ccb314.so
 * /usr/lib64/librustc_traits-642dd825d12ee243.so
 * /usr/lib64/librustc_typeck-93c5ca4b7f5487ba.so
 * /usr/lib64/libserialize-3383a21c51a2af26.so
 * /usr/lib64/libstd-f3d661f27b6f386b.so
 * /usr/lib64/libsyntax-d410ccc0e3fdbacb.so
 * /usr/lib64/libsyntax_ext-c0652bc0a76cc08e.so
 * /usr/lib64/libsyntax_pos-22ec450e54e06dd3.so
 * /usr/lib64/libterm-3a1ad9a704d05daa.so
 * /usr/lib64/libtest-b5dc942ee1e7c30e.so
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-10-07 15:14:15 UTC
I'm aware of this and yet I have no clue what to do with/about it. What's an SONAME exactly, why is it needed, and if these are libraries that only some particular Rust libraries/compilers need, where should they be hidden so that the QA thing doesn't complain about them?
Comment 2 Mike Gilbert gentoo-dev 2018-10-07 16:25:43 UTC
> What's an SONAME exactly

https://en.wikipedia.org/wiki/Soname

> why is it needed

Libraries installed in system directories should have an SONAME defined to ensure binary compatibility across upgrades.

> if these are libraries that only some particular Rust libraries/compilers need, where should they be hidden so that the QA thing doesn't complain about them?

Moving them to a sub-directory of /usr/lib or /usr/lib64 should suffice.

If moving the files is not possible, you may define file patterns in QA_SONAME to have portage ignore them. See ebuild(5) for details.
Comment 3 Oleg 2018-10-11 15:47:44 UTC
(In reply to Mike Gilbert from comment #2)
> 
> Moving them to a sub-directory of /usr/lib or /usr/lib64 should suffice.

It possible to move them into lib/${P}. The only issue is clippy but it could be fixed with patch.
Comment 4 Larry the Git Cow gentoo-dev 2018-10-18 09:05:22 UTC
The bug has been closed via the following commit(s):

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

commit aca73a89121af25876703d0ddcc5f08ddf277933
Author:     Dirkjan Ochtman <djc@gentoo.org>
AuthorDate: 2018-10-18 09:02:33 +0000
Commit:     Dirkjan Ochtman <djc@gentoo.org>
CommitDate: 2018-10-18 09:05:13 +0000

    dev-lang/rust: version bump to 1.29.2 with fixes
    
    Fixes: https://bugs.gentoo.org/667286
    Fixes: https://bugs.gentoo.org/667966
    Bug: https://bugs.gentoo.org/609654
    Signed-off-by: Dirkjan Ochtman <djc@gentoo.org>
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-lang/rust/Manifest                          |  14 ++
 dev-lang/rust/files/1.29.2-clippy-sysroot.patch |  62 +++++
 dev-lang/rust/rust-1.29.2.ebuild                | 289 ++++++++++++++++++++++++
 3 files changed, 365 insertions(+)