pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/pkgtools/bootstrap-mk-files



* On 2013-09-03 at 13:11 BST, Jörn Clausen wrote:

> Bootstrap on Solaris 10 now fails with
> 
> ===> Building for bsdinstall-20130828
> gcc -O2  -D_PATH_DEVNULL=\"/dev/null\"
> -DTARGET_STRIP=\"/usr/ccs/bin/strip\" -DHAVE_NBCOMPAT_H=1
> -I/pkgsrc/source/pkgsrc/bootstrap/work.pkgsrc-i86/wrk/sysutils/bsdinstall/work/libnbcompat
> -c bsdinstall.c
> bsdinstall.c:69:17: fatal error: err.h: No such file or directory
> compilation terminated.
> *** Error code 1
> 
> Which is not really a surprise:
> 
> checking err.h usability... no
> checking err.h presence... no
> checking for err.h... no
> 
> After commenting out the include
> 
> --- files/bsdinstall.c  2013/09/03 11:54:06     1.1
> +++ files/bsdinstall.c  2013/09/03 11:54:18
> @@ -66,7 +66,7 @@
>  #include <sys/time.h>
> 
>  #include <ctype.h>
> -#include <err.h>
> +/* #include <err.h> */
>  #include <errno.h>
>  #include <fcntl.h>
>  #include <grp.h>
> 
> bsdinstall still builds and bootstrap succeeds.

Can you try changing it to <nbcompat/err.h>, that should work and be more
portable.

Thanks,

-- 
Jonathan Perkin       www.perkin.org.uk
github.com/jperkin  twitter.com/jperkin


Home | Main Index | Thread Index | Old Index