kernel build fails - ".depend", line 27905: Need an operator

Jorge Medina jorge at bsdchile.cl
Tue May 25 15:30:38 UTC 2010


On Tue, May 25, 2010 at 11:00 AM, Peter Cornelius <pcc at gmx.net> wrote:
> Dear list,
>
> This probably is obvious but I don't seem to be able to figure out where I should look in order to learn why I can't compile the bloomin' kernel, pse see below.
>
> Every time I update my KERNCONF, I try to remember to keep a copy of GENERIC so I can diff against the updated one. This diff shows no change hence I believe my KERNCONF is in order. Which I did not expect since the running kernel is not that old:
>
> FreeBSD 8.0-STABLE #17: Thu May  6 10:21:19 UTC 2010
>
> I also read that config(8) was updated so I finally tried to remake world hoping that that's where it comes from but (well in agreement with my expectations that /usr/src should be self-contained :)) without avail.
>
> Any enlightenment appreciated...
>
> Thanks all,
>
> All the best,
>
> Peter.
>
> ---
>
> P.S.: Is it still worthwhile to report lock order reversals on 8-STABLE?
>
> ---
>
> [root at netserv /usr/src]# ( DISPLAY="" cvsup -Pm ~/etc/cvsup.netserv.src-all && cd /usr/src/ && make kernel KERNCONF=NETSERV )
> Connected to cvsup4.de.FreeBSD.org
> Updating collection src-all/cvs
> Finished successfully
>
> --------------------------------------------------------------
>>>> Kernel build for NETSERV started on Tue May 25 14:35:46 UTC 2010
> --------------------------------------------------------------
> ===> NETSERV
> mkdir -p /usr/obj/usr/Src-RELENG_8/sys
>
> --------------------------------------------------------------
>>>> stage 1: configuring the kernel
> --------------------------------------------------------------
> cd /usr/Src-RELENG_8/sys/i386/conf;  PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/games:/usr/obj/usr/Src-RELENG_8/tmp/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin  config  -d /usr/obj/usr/Src-RELENG_8/sys/NETSERV  /usr/Src-RELENG_8/sys/i386/conf/NETSERV
> Kernel build directory is /usr/obj/usr/Src-RELENG_8/sys/NETSERV
> Don't forget to do ``make cleandepend && make depend''
>
> --------------------------------------------------------------
>>>> stage 2.1: cleaning up the object tree
> --------------------------------------------------------------
> cd /usr/obj/usr/Src-RELENG_8/sys/NETSERV; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/bin  GROFF_FONT_PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/share/groff_font  GROFF_TMAC_PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/share/tmac  _SHLIBDIRPREFIX=/usr/obj/usr/Src-RELENG_8/tmp  VERSION="FreeBSD 8.0-STABLE i386 800505"  INSTALL="sh /usr/Src-RELENG_8/tools/install.sh"  PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/games:/usr/obj/usr/Src-RELENG_8/tmp/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin NO_CTF=1 make KERNEL=kernel cleandir
> ".depend", line 27905: Need an operator
> make: fatal errors encountered -- cannot continue
> *** Error code 1
>
> Stop in /usr/Src-RELENG_8.
> *** Error code 1
>
> Stop in /usr/Src-RELENG_8.
>
> --
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

do the makebuildworld first.

-- 
Jorge Andrés Medina Oliva.


More information about the freebsd-questions mailing list