Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2018 02:26:34 +0300
From:      Yuri Pankov <yuripv@yuripv.net>
To:        Dan Langille <dan@langille.org>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Bacula 9.2.1 fails on 10.4:
Message-ID:  <4e03e6b7-f866-f6f8-bab1-285fbe36a0f9@yuripv.net>
In-Reply-To: <320B7D85-8E73-4214-8343-DDA3F448E473@langille.org>
References:  <320B7D85-8E73-4214-8343-DDA3F448E473@langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e03e6b7-f866-f6f8-bab1-285fbe36a0f9>