Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865667 - net-im/bitlbee-3.6-r3 fails tests: oauth2.c:(.text+0x4e92): undefined reference to json_parse
Summary: net-im/bitlbee-3.6-r3 fails tests: oauth2.c:(.text+0x4e92): undefined referen...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Petr Vaněk
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-08-18 07:53 UTC by Agostino Sarubbo
Modified: 2022-08-23 05:11 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,99.95 KB, text/plain)
2022-08-18 07:53 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:53:11 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-im/bitlbee-3.6-r3 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-08-18 07:53:13 UTC
Created attachment 800045 [details]
build.log

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


   99 |                         fail("Could not find key %s in %s",
oauth2.c:(.text+0x4e92): undefined reference to `json_parse'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: oauth2.c:(.text+0x4ec1): undefined reference to `json_value_free'
collect2: error: ld returned 1 exit status
Comment 3 Larry the Git Cow gentoo-dev 2022-08-23 05:11:12 UTC
The bug has been closed via the following commit(s):

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

commit 9234f9e1d6a7a7c9b4bd9f4fd11c33b1bd33bee1
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2022-08-18 09:25:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-23 04:50:22 +0000

    net-im/bitlbee: fix tests in 3.6-r3 and live
    
    It was necessary to adapt system-json-parser patches more with
    LDFLAGS_CHECK variable which is used when ./tests/check binary is
    linked.
    
    Fixes: 90a3d5fff1c0 ("net-im/bitlbee: Use system json-parser")
    Fixes: 2f4aeedeec9c ("net-im/bitlbee: sync live")
    Closes: https://bugs.gentoo.org/865667
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/bitlbee-3.6-system-json-parser.patch     | 23 ++++++++++++++++---
 .../files/bitlbee-9999-system-json-parser.patch    | 26 +++++++++++++++++-----
 2 files changed, 41 insertions(+), 8 deletions(-)