Bacula 9.2.1 fails on 10.4:
Dan Langille
dan at langille.org
Mon Aug 27 23:41:11 UTC 2018
> On Aug 27, 2018, at 7:26 PM, Yuri Pankov <yuripv at yuripv.net> wrote:
>
> 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/2018-08-27_21h15m53s/logs/bacula9-client-9.2.1.log
>> 10.4: https://services.unixathome.org/poudriere/data/104amd64-default/2018-08-27_21h43m31s/logs/errors/bacula9-client-9.2.1.log
>> It doesn't make any sense to me. Thanks.
>
> I'd say it's libc++ missing its errno.h having ENODATA defined if the following is true:
>
> - both builds are using clang++
> - both builds are using libc++
>
> That header defining ENODATA exists in 11.2 and doesn't exist in 10.4 (contrib/libc++/include/errno.h).
What is a decent solution? Patch upstream? Patch the port?
Thank you.
--
Dan Langille
http://langille.org/
More information about the freebsd-ports
mailing list