Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865669 - dev-libs/json-parser-1.1.0_p20211208 fails tests: json.c:(.text+0xf00): undefined reference to pow
Summary: dev-libs/json-parser-1.1.0_p20211208 fails tests: json.c:(.text+0xf00): undef...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Petr Vaněk
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-08-18 07:55 UTC by Agostino Sarubbo
Modified: 2022-08-18 18:43 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,45.11 KB, text/plain)
2022-08-18 07:55 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-08-18 07:55:42 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/json-parser-1.1.0_p20211208 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-08-18 07:55:44 UTC
Created attachment 800047 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-08-18 07:55:45 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


json.c:(.text+0xf00): undefined reference to `pow'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: json.c:(.text+0x11b6): undefined reference to `pow'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: json.c:(.text+0x18ae): undefined reference to `pow'
collect2: error: ld returned 1 exit status
Comment 3 Larry the Git Cow gentoo-dev 2022-08-18 18:43:17 UTC
The bug has been closed via the following commit(s):

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

commit d6cecbf80a1279b77eaefb9f2b8fb213d77a6a90
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2022-08-18 08:14:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-18 18:42:13 +0000

    dev-libs/json-parser: fix tests
    
    It is necessary to link the test with libm.
    
    Fixes: 3d84addb0089 ("dev-libs/json-parser: new package, add 1.1.0_p20211208")
    Closes: https://bugs.gentoo.org/865669
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Closes: https://github.com/gentoo/gentoo/pull/26908
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/json-parser/json-parser-1.1.0_p20211208.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)