From owner-freebsd-ports@freebsd.org Mon Aug 27 23:41:11 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 029EA1099404 for ; Mon, 27 Aug 2018 23:41:11 +0000 (UTC) (envelope-from dan@langille.org) Received: from clavin1.langille.org (clavin1.langille.org [162.208.116.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "clavin.langille.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AE3E688791 for ; Mon, 27 Aug 2018 23:41:10 +0000 (UTC) (envelope-from dan@langille.org) Received: from (clavin1.int.langille.org (clavin1.int.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) with ESMTPSA id 6F0E31B9AA ; Mon, 27 Aug 2018 23:41:01 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Bacula 9.2.1 fails on 10.4: From: Dan Langille X-Mailer: iPhone Mail (15G77) In-Reply-To: <4e03e6b7-f866-f6f8-bab1-285fbe36a0f9@yuripv.net> Date: Mon, 27 Aug 2018 19:41:00 -0400 Cc: FreeBSD Ports Content-Transfer-Encoding: quoted-printable Message-Id: <23601736-1846-4B86-AAC2-1A0871852C21@langille.org> References: <320B7D85-8E73-4214-8343-DDA3F448E473@langille.org> <4e03e6b7-f866-f6f8-bab1-285fbe36a0f9@yuripv.net> To: Yuri Pankov X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2018 23:41:11 -0000 > On Aug 27, 2018, at 7:26 PM, Yuri Pankov wrote: >=20 > Dan Langille wrote: >> Why would Bacula 9.2.1 compile on 11.2 but fail on 10.4? >> The error is: >> bsock.c:439:20: error: use of undeclared identifier 'ENODATA' >> The complete build logs are at the following URLs. Can you see the cause.= >> 11.2: https://services.unixathome.org/poudriere/data/112amd64-default/201= 8-08-27_21h15m53s/logs/bacula9-client-9.2.1.log >> 10.4: https://services.unixathome.org/poudriere/data/104amd64-default/201= 8-08-27_21h43m31s/logs/errors/bacula9-client-9.2.1.log >> It doesn't make any sense to me. Thanks. >=20 > I'd say it's libc++ missing its errno.h having ENODATA defined if the foll= owing is true: >=20 > - both builds are using clang++ > - both builds are using libc++ >=20 > That header defining ENODATA exists in 11.2 and doesn't exist in 10.4 (con= trib/libc++/include/errno.h). What is a decent solution? Patch upstream? Patch the port? Thank you.=20 --=20 Dan Langille http://langille.org/=