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
That change yields this error:
gcc -O -D_PATH_DEVNULL=\"/dev/null\"
-DTARGET_STRIP=\"/usr/ccs/bin/strip\" -DHAVE_NBCOMPAT_H=1
-I/pkgsrc/source/pkgsrc/sysutils/bsdinstall/work.pkgsrc-i86/libnbcompat
-c setmode.c
--- bsdinstall.o ---
In file included from bsdinstall.c:69:0:
/pkgsrc/source/pkgsrc/sysutils/bsdinstall/work.pkgsrc-i86/libnbcompat/nbcompat/err.h:48:11:
error: unknown type name 'va_list'
/pkgsrc/source/pkgsrc/sysutils/bsdinstall/work.pkgsrc-i86/libnbcompat/nbcompat/err.h:49:12:
error: unknown type name 'va_list'
/pkgsrc/source/pkgsrc/sysutils/bsdinstall/work.pkgsrc-i86/libnbcompat/nbcompat/err.h:55:12:
error: unknown type name 'va_list'
/pkgsrc/source/pkgsrc/sysutils/bsdinstall/work.pkgsrc-i86/libnbcompat/nbcompat/err.h:56:13:
error: unknown type name 'va_list'
This is when building the package, not while doing a bootstrap, but I
expect the same result.
On Tue, Sep 3, 2013 at 2:14 PM, Jonathan Perkin <jperkin%pkgsrc.org@localhost>
wrote:
> * 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
--
Joern Clausen
http://thebloeg.blogspot.com/
http://www.oe-files.de/photography/
Home |
Main Index |
Thread Index |
Old Index