Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2019 21:21:13 +0100
From:      Antoine Brodin <antoine@freebsd.org>
To:        =?UTF-8?Q?Morgan_Wesstr=C3=B6m?= <freebsd-database@pp.dyndns.biz>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: dns/libidn2 2.3.0 breaks gnutls for samba (was: Samba 4.10.10 can't find gnutls headers on one machine)
Message-ID:  <CAALwa8mH-4EXZxQWb4LVAJnGhOTneYcZhA33Yve6FR%2BcUCofTw@mail.gmail.com>
In-Reply-To: <a000dd7b-0d71-90b8-4e1d-e2a71cde96ad@pp.dyndns.biz>
References:  <600ec0ad-e21d-a651-dfe0-063c7fd9517f@pp.dyndns.biz> <61586b13-223c-a491-c242-bda836ada738@pp.dyndns.biz> <a000dd7b-0d71-90b8-4e1d-e2a71cde96ad@pp.dyndns.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 21, 2019 at 8:46 PM Morgan Wesstr=C3=B6m
<freebsd-database@pp.dyndns.biz> wrote:
>
>
> > On 2019-11-21 16:37, Morgan Wesstr=C3=B6m 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@IDN2_0.0.0'
> //usr/local/lib/libidn2.so.0:(.text+0x2610): multiple definition of
> `_idn2_punycode_decode@IDN2_0.0.0'
> cc: error: linker command failed with exit code 1 (use -v to see invocati=
on)
>
> I tracked this down to a commit made to libidn2 a week ago:
>
> https://gitlab.com/libidn/libidn2/commit/089616574679a017f5d45c6bd40b0581=
6ae4db6b
>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8mH-4EXZxQWb4LVAJnGhOTneYcZhA33Yve6FR%2BcUCofTw>