Subject: pkgtools/pkg_install failure on current (3:40 CST) pkgsrc
To: None <current-users@netbsd.org>
From: Lurch <lurch@smoke.dope.org>
List: current-users
Date: 02/20/2004 03:52:38
checking for strtoll... (cached) yes
checking for optarg declaration... yes
checking for optind declaration... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbcompat/config.h
gcc -o bits bits.c
./bits nbcompat/nbtypes.h
awk '                                                    BEGIN { process = 1 }
/NBCOMPAT templat
e section follows\./ { process = 0 }     /^\#[  ]*define[       ]+PACKAGE_.*/ {
next }           /^\#[  ]*define[       ]+/ {     
if (process == 1) {                              guard = $0;
sub("^#[       ]*define[       ]+", "", g
uard);  sub("[  ]+.*", "", guard);               print "#ifndef " guard;
print $0;                        
print "#endif";                          next;
}                                               }
 { print }                                               ' nbcompat/config.h >
nbcompat/nbconfig.h
gcc  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c glob.c
In file included from nbcompat.h:320,
                 from glob.c:57:
util.h:39: nbconfig.h: No such file or directory
In file included from nbcompat.h:364,
                 from glob.c:57:
getopt.h:42: nbconfig.h: No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install

__


 I noticed that the problem file nbconfig.h is absent but, there is a suspicious
file 'nbconfig.h.in' - no idea about '.in', mabye autoconf or cvs?

After moving said file to nbconfig.h I get the following error:

checking for strtoll... (cached) yes
checking for optarg declaration... yes
checking for optind declaration... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbcompat/config.h
config.status: nbcompat/config.h is unchanged
gcc  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c glob.c
In file included from util.h:39,
                 from nbcompat.h:320,
                 from glob.c:57:
nbconfig.h:540: #error You need either memset or bzero
nbconfig.h:548: #error You need either memcpy or bcopy
In file included from getopt.h:42,
                 from nbcompat.h:364,
                 from glob.c:57:
nbconfig.h:540: #error You need either memset or bzero
nbconfig.h:548: #error You need either memcpy or bcopy
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install

Any ideas?

-- 
The bogosity meter just pegged.