dns/libidn2 2.3.0 breaks gnutls for samba (was: Samba 4.10.10 can't find gnutls headers on one machine)

Antoine Brodin antoine at freebsd.org
Thu Nov 21 20:21:27 UTC 2019


On Thu, Nov 21, 2019 at 8:46 PM Morgan Wesström
<freebsd-database at pp.dyndns.biz> wrote:
>
>
> > On 2019-11-21 16:37, Morgan Wesström wrote:
> >> Dear list,
> >>
> >> I need some help to figure out what I broke on my system. I have two
> >> (almost) identical machines, one running 12.1-RELEASE and one waiting
> >> to be upgraded and is still on 12.0-RELEASE-p10. Configuration and
> >> software wise I try to keep them identical.
>
> I found the problem. Samba's config.log had the following error:
>
> err: //usr/local/lib/libidn2.so.0:(.text+0x2290): multiple definition of
> `_idn2_punycode_encode at IDN2_0.0.0'
> //usr/local/lib/libidn2.so.0:(.text+0x2610): multiple definition of
> `_idn2_punycode_decode at IDN2_0.0.0'
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
>
> I tracked this down to a commit made to libidn2 a week ago:
>
> https://gitlab.com/libidn/libidn2/commit/089616574679a017f5d45c6bd40b05816ae4db6b
>
> I downgraded libidn2 to 2.2.0 and recompiled gnutls and the other
> packages depending on it and now samba compiles without any problems. I
> can't say if this is a bug in libidn2, gnutls or samba so I can't file a
> bug report for it.

Hi,

It's a libidn2 bug.

Antoine


More information about the freebsd-ports mailing list