make buildworld failing

kyuupichan kyuupichan at
Fri Mar 8 04:41:03 PST 2013

Yes that was the issue; I realised that not long after posting.  Thanks.

make buildworld now succeeds, but make buildkernel fails pretty quickly in the mkdep phase.  This hasn't
gone away for several days now despite refreshing the codebase:

===> bus/cam/cam
@ -> /usr/src/sys/bus/cam/cam/../../..
echo "#define SCSI_DELAY 15000" > opt_scsi.h
rm -f .depend
> .depend
mkdep -f .depend -a     -nostdinc -D_KERNEL -DKLD_MODULE -I. -I@ -I/usr/obj/usr/src/sys/X86_64_GENERIC -I/usr/obj/usr/src/sys/X86_64_GENERIC/include -I@/../include -I/usr/obj/usr/src/world_x86_64/usr/include  -std=c99 -std=gnu99 -std=c99  /usr/src/sys/bus/cam/cam/../cam.c /usr/src/sys/bus/cam/cam/../cam_periph.c /usr/src/sys/bus/cam/cam/../cam_queue.c /usr/src/sys/bus/cam/cam/../cam_sim.c /usr/src/sys/bus/cam/cam/../cam_xpt.c /usr/src/sys/bus/cam/cam/../cam_extend.c /usr/src/sys/bus/cam/cam/../scsi/scsi_all.c /usr/src/sys/bus/cam/cam/../scsi/scsi_cd.c /usr/src/sys/bus/cam/cam/../scsi/scsi_ch.c /usr/src/sys/bus/cam/cam/../scsi/scsi_da.c /usr/src/sys/bus/cam/cam/../scsi/scsi_pass.c /usr/src/sys/bus/cam/cam/../scsi/scsi_pt.c /usr/src/sys/bus/cam/cam/../scsi/scsi_sa.c /usr/src/sys/bus/cam/cam/../scsi/scsi_ses.c /usr/src/sys/bus/cam/cam/../scsi/scsi_targ_bh.c /usr/src/sys/bus/cam/cam/../scsi/scsi_target.c
cc1: error: too many filenames given.  Type cc1 --help for usage

I'm unclear if the problem here is my installed cc1 or the cc1 from make buildworld, or mkdep itself.  Is no-one else
getting this?


---- On Sun, 03 Mar 2013 15:29:06 -0800 Peter Avalos  wrote ---- 

>On Sun, Mar 03, 2013 at 02:50:38PM -0800, kyuupichan wrote: 
>> make buildworld is failing with a clean obj directory and latest sources for me during the mkdep stage early on: 
>> Any ideas? I'm stumped. 
>You mentioned you had a clean obj dir, but are you sure you have a clean 
>src dir? 

More information about the Users mailing list