make buildkernel fails: too many files

John Marino dragonflybsd at marino.st
Sat Nov 30 23:58:53 PST 2013


On 12/1/2013 08:24, Francois Tigeot wrote:
>> cc1: error: too many filenames given.  Type cc1 --help for usage
>> cc1: fatal error: /usr/obj/usr/src/world_x86_64/usr/include: No such file or 
> 
> [...]
> 
>> This is a freshly checked out tree two days ago. Building world succeeded. How 
>> do I fix it?
> 
> Your source tree is probably corrupt; git status should show what files are
> missing or shouldn't be present.
> 
> This is not the first time I've seen this kind of issue but so far nobody has
> been able to pinpoint what exactly causes it.
> 

If you have a /include directory with files in it, delete it including
the files.



More information about the Users mailing list