li...@ggp2.com wrote: > I applied the newest unbound patch to several amd64 machines without > trouble, and have had issues on several of my i386 boxes. The initial > error was probably the same as below, but led me to believe I may have > had some kind of kernel or system "frankenbox" behavior. I used cvs to > pull all the latest sources ("cvs -q up -rOPENBSD_5_6 -Pd" is what I > ran, so it should be the latest patch branch code), > compiled/installed/rebooted to the new kernel, then ran through the > steps for a make build. make build bombed out on nsd with a similar > error. > > in unbound, running make -f Makefile.bsd-wrapper obj works fine, but > make -f Makefile.bsd-wrapper produces the error (which I believe is what > I initially saw): > > ... > checking for ctime_r... yes > checking if make supports $< with implicit rule in scope... yes > configure: Stripping extension flags... > configure: creating ./config.status > Bad system call (core dumped) > config.status: creating Makefile > Bad system call (core dumped) > config.status: error: could not create Makefile > *** Error 1 in /usr/src/usr.sbin/unbound (Makefile.bsd-wrapper:65 > '/usr/src/usr.sbin/unbound/obj/config.status') > >
I ran into this as well, and found a similar problem on the net. Unfortunately I didn't preserve the link but read on for a possible solution. If your machine is upgraded all the time you may have /usr/bin/nawk getting in the way, which should have been removed during the 5.5->5.6 upgrade. (section "2. Files to delete and move") It seems I did at least the nsd part of this section, so I just (re)ran the first set of rm-s, which includes /usr/bin/nawk, and the problem was gone.