Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2018 19:41:00 -0400
From:      Dan Langille <dan@langille.org>
To:        Yuri Pankov <yuripv@yuripv.net>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Bacula 9.2.1 fails on 10.4:
Message-ID:  <23601736-1846-4B86-AAC2-1A0871852C21@langille.org>
In-Reply-To: <4e03e6b7-f866-f6f8-bab1-285fbe36a0f9@yuripv.net>
References:  <320B7D85-8E73-4214-8343-DDA3F448E473@langille.org> <4e03e6b7-f866-f6f8-bab1-285fbe36a0f9@yuripv.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Aug 27, 2018, at 7:26 PM, Yuri Pankov <yuripv@yuripv.net> 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/=




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23601736-1846-4B86-AAC2-1A0871852C21>