On Tue, Nov 9, 2010 at 11:48 PM, Jeremy Chadwick
<free...@jdc.parodius.com> wrote:
> On Tue, Nov 09, 2010 at 06:09:08PM -0600, Bryce Edwards wrote:
>> After updating source today, I am receiving the following error when
>> running make NOCCACHE=YES -j16 buildkernel
>
> Please re-run the buildkernel without any -j or -jXX flags to see where
> the actual error happened.  The below doesn't show the actual error due
> to the nature of the parallel build.
>
> I doubt this has anything to do with ccache.
>

Thanks Jeremy, I forgot to disable paralllel builds.  It is very clear
now that it is related to the following in make.conf:

PORTS_MODULES=emulators/virtualbox-ose-kmod

Looks like the path of the make environment for the port doesn't find
yasm (which is indeed installed and located in /usr/local/bin/yasm).

cd ${PORTSDIR:-/usr/ports}/emulators/virtualbox-ose-kmod;
SYSDIR=/usr/src/sys /usr/obj/usr/src/make.amd64/make -B all
===>   virtualbox-ose-kmod-3.2.10 depends on executable: yasm - not found
===>    Verifying install for yasm in /usr/ports/devel/yasm
===>  Installing for yasm-1.1.0
===>   yasm-1.1.0 depends on shared library: iconv.3 - found
===>   yasm-1.1.0 depends on shared library: intl - found
===>   Generating temporary packing list
===>  Checking if devel/yasm already installed
===>   yasm-1.1.0 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of devel/yasm
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/devel/yasm.
*** Error code 1

Stop in /usr/ports/emulators/virtualbox-ose-kmod.
*** Error code 1

Stop in /usr/ports/emulators/virtualbox-ose-kmod.
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


>> ===> zlib (all)
>> cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
>> -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
>> /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq
>> -finline-limit=8000 --param inline-unit-growth=100 --param
>> large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer
>> -I/usr/obj/usr/src/sys/GENERIC -mcmodel=kernel -mno-red-zone
>> -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow
>> -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
>> -fstack-protector -std=iso9899:1999 -fstack-protector -Wall
>> -Wredundant-decls -Wnested-externs -Wstrict-prototypes
>> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
>> -Wno-pointer-sign -fformat-extensions -c
>> /usr/src/sys/modules/zlib/../../net/zlib.c
>> ld  -d -warn-common -r -d -o zlib.ko.debug zlib.o
>> :> export_syms
>> awk -f /usr/src/sys/conf/kmod_syms.awk zlib.ko.debug  export_syms |
>> xargs -J% objcopy % zlib.ko.debug
>> objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols
>> objcopy --strip-debug --add-gnu-debuglink=zlib.ko.symbols zlib.ko.debug 
>> zlib.ko
>> 1 error
>> *** Error code 2
>> 1 error
>> *** Error code 2
>
> --
> | Jeremy Chadwick                                   j...@parodius.com |
> | Parodius Networking                       http://www.parodius.com/ |
> | UNIX Systems Administrator                  Mountain View, CA, USA |
> | Making life hard for others since 1977.              PGP: 4BD6C0CB |
>
>
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to