Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752111 - dev-lang/duktape the so files need to link against -lm
Summary: dev-lang/duktape the so files need to link against -lm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Ian Whyman (thev00d00) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-01 14:19 UTC by Mike Lothian
Modified: 2020-11-13 16:51 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 Lothian 2020-11-01 14:19:30 UTC
I've been using duktape instead of spidermonkey in polkit

However the so file uses functions in -lm which it isn't linked against so I was getting errors

I've fixed this in my overlay I'm not sure if you're interested in incorporating that or respecting CFLAGS or the bump to 2.6.0

My changes are here:

https://github.com/FireBurn/Overlay/tree/master/dev-lang/duktape

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-01 14:22:48 UTC
Could you share the build.log when it fails?
Comment 2 Mike Lothian 2020-11-01 14:55:26 UTC
It builds fine, it's then polkit tries to run, it complains about a missing symbol (from libm) in the duktape so file
Comment 3 Larry the Git Cow gentoo-dev 2020-11-13 16:51:10 UTC
The bug has been closed via the following commit(s):

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

commit 5d15db0d72c98412428ec951e6befeb78c456395
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-11-13 16:49:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-11-13 16:50:57 +0000

    dev-lang/duktape: bump to 2.6.0
    
    Bug: https://bugs.gentoo.org/730188
    Closes: https://bugs.gentoo.org/752111
    Closes: https://bugs.gentoo.org/722192
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/duktape/Manifest                          |  1 +
 dev-lang/duktape/duktape-2.6.0.ebuild              | 51 ++++++++++++++++++++++
 .../files/duktape-2.6.0-respect-tc-env.patch       | 33 ++++++++++++++
 3 files changed, 85 insertions(+)