Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832548 - net-misc/connman-1.41 fails to compile: gresolv.c:(.text+0x12a1): undefined reference to res_ninit
Summary: net-misc/connman-1.41 fails to compile: gresolv.c:(.text+0x12a1): undefined r...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-02 08:02 UTC by Agostino Sarubbo
Modified: 2022-02-04 20:27 UTC (History)
0 users

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


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

Issue: net-misc/connman-1.41 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-02-02 08:02:59 UTC
Created attachment 764176 [details]
build.log

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


gresolv.c:(.text+0x12a1): undefined reference to `res_ninit'
gresolv.c:(.text+0x143c): undefined reference to `res_nclose'
collect2: error: ld returned 1 exit status
Comment 3 Larry the Git Cow gentoo-dev 2022-02-04 20:27:00 UTC
The bug has been closed via the following commit(s):

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

commit f3641eecc7c75afc5307e248ca98a390ded51bc2
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2022-02-04 20:15:28 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2022-02-04 20:25:15 +0000

    net-misc/connman: musl fix
    
    Closes: https://bugs.gentoo.org/832548
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 net-misc/connman/connman-1.41-r1.ebuild         | 103 ++++++++++++++++++++++++
 net-misc/connman/files/libresolv-musl-fix.patch |  61 ++++++++++++++
 2 files changed, 164 insertions(+)