From: Tom Rini Date: Mon, 1 Mar 2021 09:02:18 -0500 Subject: Broken build on OpenBSD In-Reply-To: References: Message-ID: <20210301140218.GX10169@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Feb 23, 2021 at 08:07:21PM +0100, Mark Kettenis wrote: > Hi Simon, > > Commit c5819701a3de61e2ba2ef7ad0b616565b32305e5 broke the build on > OpenBSD and probably other non-Linux systems. ENODATA, which is now > used in fit_check_format(), isn't defined. It isn't part of POSIX[1] > and generally not available on BSD-derived systems. Could you pick > another error code for this case? > > Thanks, > > Mark > > [1] It is mentioned in the Open Group Base Specification, however it > is part of the obsolete XSI STREAMS extension which was never part > of POSIX proper. Just for the record: https://man7.org/linux/man-pages/man3/errno.3.html: ENODATA No message is available on the STREAM head read queue (POSIX.1-2001). So perhaps you want to also raise this with the Linux man pages project folks? -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: