Bacula 9.2.1 fails on 10.4:

Yuri Pankov yuripv at yuripv.net
Mon Aug 27 23:26:47 UTC 2018


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).


More information about the freebsd-ports mailing list