Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912967 - sys-devel/mold-9999: scanelf: rpath_security_checks(): Security problem NULL DT_RUNPATH in /var/tmp/portage/sys-devel/mold-9999/image/usr/bin/mold
Summary: sys-devel/mold-9999: scanelf: rpath_security_checks(): Security problem NULL ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-24 14:03 UTC by Kostadin Shishmanov
Modified: 2023-08-24 18:53 UTC (History)
1 user (show)

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


Attachments
build log (build.log,357.59 KB, text/x-log)
2023-08-24 14:03 UTC, Kostadin Shishmanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kostadin Shishmanov 2023-08-24 14:03:45 UTC
Created attachment 868639 [details]
build log

scanelf: rpath_security_checks(): Security problem NULL DT_RUNPATH in /var/tmp/portage/sys-devel/mold-9999/image/usr/bin/mold
Auto fixing rpaths for /var/tmp/portage/sys-devel/mold-9999/image/usr/bin/mold

 * QA Notice: The following files contain insecure RUNPATHs
 *  Please file a bug about this at https://bugs.gentoo.org/
 *  with the maintainer of the package.
 *   /var/tmp/portage/sys-devel/mold-9999/image/usr/bin/moldn    RPATH: /var/tmp/portage/sys-devel/mold-9999/work/mold-9999_build/third-party/blake3/c:
 * 

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/lib64/mold/mold-wrapper.so
   /usr/bin/mold
 * QA Notice: Unresolved soname dependencies:
 * 
 *      /usr/bin/mold: libblake3.so.0
 * 

This also somehow makes mold unusable because it can't find the blake3 library:

/usr/bin/ld.mold: error while loading shared libraries: libblake3.so.0: cannot open shared object file: No such file or directory
Comment 1 Larry the Git Cow gentoo-dev 2023-08-24 18:22:11 UTC
The bug has been referenced in the following commit(s):

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

commit 4748a3125594dd48688221e528b0f314ab330dd6
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2023-08-24 18:19:26 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2023-08-24 18:21:58 +0000

    sys-devel/mold: update live ebuild
    
    - remove openssl dependency
    - add blake3 dependency, update keywords to match
    
    Bug: https://bugs.gentoo.org/912967
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 sys-devel/mold/mold-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)