From owner-freebsd-ports@freebsd.org Thu Nov 21 20:21:27 2019 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B8C1A1C9D65 for ; Thu, 21 Nov 2019 20:21:27 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from mail-qv1-f68.google.com (mail-qv1-f68.google.com [209.85.219.68]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47JrYf37Msz3Nrw for ; Thu, 21 Nov 2019 20:21:26 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: by mail-qv1-f68.google.com with SMTP id x14so1990872qvu.0 for ; Thu, 21 Nov 2019 12:21:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=+kyBHyLgZEkYhnVqQ1tuA2b6wlLqGjq8wvIPs6IsdyU=; b=Ni3qdOrs6sxc2URjkd8GiqJVUPy8C8ZiXlprPJsykwy+bSaE8ZLQCawgSpujUHqH+X YEf1oGCrZid01yp4FPubfsejkH8zig1cOtu49dyBRkn9nQchqX3xlOmSy+S7HeZpxA5x o4fgLmM+PCuvs3OVMp2247AOoqdnWr5mrNVhh90lxVcPWiHpDJjyT2ko3nIaVNEHLfCc XtXMZPuq3NrJ96WcdmZ2T3NMED5/r62aWV7XAXg8g5uOAL3vdhSOWpisBXLWcO/RWlZb Vc8Nc3gFziVVoQNIXXWXNYDRkLsSng7uJDd1oCllHWzbWpNIrDL8e/m8BEvYa8OLyHgH UkNw== X-Gm-Message-State: APjAAAWVN5qWcFda6fWOpw67LQMRy4XyMuwIEmgQNl/uWyIXkxhZRbgk rfPUpd0BAXWZxHHGrnjuPKS99/NjI3qdGDeImDXvPQ== X-Google-Smtp-Source: APXvYqxL9REm+MurYbhfkY3wcMXKABDRJ75WmGUX5Vd2wDnzcDjw4mqL+v8BXv774ZCK/seYUJf53VuXyV4nvpUAmWk= X-Received: by 2002:ad4:50a4:: with SMTP id d4mr9746690qvq.211.1574367685264; Thu, 21 Nov 2019 12:21:25 -0800 (PST) MIME-Version: 1.0 References: <600ec0ad-e21d-a651-dfe0-063c7fd9517f@pp.dyndns.biz> <61586b13-223c-a491-c242-bda836ada738@pp.dyndns.biz> In-Reply-To: From: Antoine Brodin Date: Thu, 21 Nov 2019 21:21:13 +0100 Message-ID: Subject: Re: dns/libidn2 2.3.0 breaks gnutls for samba (was: Samba 4.10.10 can't find gnutls headers on one machine) To: =?UTF-8?Q?Morgan_Wesstr=C3=B6m?= Cc: FreeBSD Ports Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 47JrYf37Msz3Nrw X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of antoinebrodinfreebsd@gmail.com designates 209.85.219.68 as permitted sender) smtp.mailfrom=antoinebrodinfreebsd@gmail.com X-Spamd-Result: default: False [-3.04 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[68.219.85.209.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-1.04)[ipnet: 209.85.128.0/17(-3.17), asn: 15169(-1.97), country: US(-0.05)]; FORGED_SENDER(0.30)[antoine@freebsd.org,antoinebrodinfreebsd@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[68.219.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[antoine@freebsd.org,antoinebrodinfreebsd@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2019 20:21:27 -0000 On Thu, Nov 21, 2019 at 8:46 PM Morgan Wesstr=C3=B6m 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