gregkh / bti

bash twitter ididocy
GNU General Public License v2.0
162 stars 31 forks source link

033 fails to build on GNU/kfreebsd #30

Closed gregoa closed 11 years ago

gregoa commented 11 years ago

We have build failures on the Debian GNU/kfreebsd build daemons:

https://buildd.debian.org/status/fetch.php?pkg=bti&arch=kfreebsd-amd64&ver=033-1&stamp=1372378700 https://buildd.debian.org/status/fetch.php?pkg=bti&arch=kfreebsd-i386&ver=033-1&stamp=1372378660

Adding something like the following to bti.c seems to help

#ifndef EREMOTEIO
#define EREMOTEIO -1
#endif /* EREMOTEIO */

Does this make sense?

gregoa commented 11 years ago

Same on the debian hurd port: https://buildd.debian.org/status/fetch.php?pkg=bti&arch=hurd-i386&ver=033-1&stamp=1372384141

gregkh commented 11 years ago

Ick, yeah, that's an odd error number to be returning, I'll clean this up, give me a bit...

gregkh commented 11 years ago

Now fixed with commit 7dc7db4f2b52a02f9fd960e0980b33082f65883c

gregoa commented 11 years ago

Thanks for the quick fix, looks all good now, i.e. the package with this commit as a patch builds in GNU/kfreebsd and GNU/Hurd:

https://buildd.debian.org/status/logs.php?pkg=bti&ver=033-2