Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870163 - dev-lang/duktape - underlinking -lm? breaks kde-frameworks/syntax-highlighting
Summary: dev-lang/duktape - underlinking -lm? breaks kde-frameworks/syntax-highlighting
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-14 22:26 UTC by Georgy Yakovlev
Modified: 2022-09-14 22:34 UTC (History)
1 user (show)

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


Attachments
syntax-highlighting-5.98.0 build log (syntax-highlighting-5.98.0:build.log,32.82 KB, text/plain)
2022-09-14 22:26 UTC, Georgy Yakovlev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georgy Yakovlev archtester gentoo-dev 2022-09-14 22:26:18 UTC
Created attachment 805204 [details]
syntax-highlighting-5.98.0 build log

getting this while building  kde-frameworks/syntax-highlighting-5.98.0

FAILED: data/index.katesyntax /var/tmp/portage/kde-frameworks/syntax-highlighting-5.98.0/work/syntax-highlighting-5.98.0_build/data/index.katesyntax
cd /var/tmp/portage/kde-frameworks/syntax-highlighting-5.98.0/work/syntax-highlighting-5.98.0_build/data && /var/tmp/portage/kde-frameworks/syntax-highlighting-5.98.0/work/syntax-highlighting-5.98.0_build/bin/katehighlightingindexer /var/tmp/portage/kde-frameworks/syntax-highlighting-5.98.0/work/syntax-highlighting-5.98.0_build/data/index.katesyntax /var/tmp/portage/kde-frameworks/syntax-highlighting-5.98.0/work/syntax-highlighting-5.98.0/data/schema/language.xsd /var/tmp/portage/kde-frameworks/syntax-highlighting-5.98.0/work/syntax-highlighting-5.98.0_build/data/syntax-data.qrc
/var/tmp/portage/kde-frameworks/syntax-highlighting-5.98.0/work/syntax-highlighting-5.98.0_build/bin/katehighlightingindexer: Relink `/usr/lib64/libduktape.so.207' with `/usr/lib64/libm.so.6' for IFUNC symbol `sin'


temp workaround:
patchelf --add-needed /usr/lib64/libm.so.6 /usr/lib64/libduktape.so.207

allows syntax-highlighting to build
Comment 1 Larry the Git Cow gentoo-dev 2022-09-14 22:33:07 UTC
The bug has been closed via the following commit(s):

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

commit 5f377980c1cdf66c35bee011b0caae95e8c93220
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-14 22:32:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-14 22:32:43 +0000

    dev-lang/duktape: fix libm underlinking
    
    Closes: https://bugs.gentoo.org/870163
    Signed-off-by: Sam James <sam@gentoo.org>

 ...ape-2.7.0-r1.ebuild => duktape-2.7.0-r2.ebuild} |  1 +
 .../files/duktape-2.7.0-underlinked-libm.patch     | 25 ++++++++++++++++++++++
 2 files changed, 26 insertions(+)