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
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Ian Whyman (thev00d00) (RETIRED)
Depends on:
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: ---


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:

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):

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

    dev-lang/duktape: bump to 2.6.0
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Sam James <>

 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(+)