Re: Recent -CURRENT unable to build numerous ports

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Fri, 21 Oct 2016 23:55:16 +0200
On 21 Oct 2016, at 20:47, Marcus von Appen <mva_at_freebsd.org> wrote:
> 
> -CURRENT as of r307731 seems to have some serious flaw with its build
> tool environment. Many ports fail to build with some error similar to
> the following (devel/apr1):
> 
> cc -emit-llvm -fno-strict-aliasing -pipe -march=native -DLIBICONV_PLUG
>  -fstack-protector -c -o .c.bco
> cc: error: no input files
> *** [.c.bco] Error code 1
> [...]
> 
> Since not all ports are affected, I assume some auto[conf|tool|make]
> issue to be triggered. Hints for getting this one solved are highly
> appreciated.

This was a side-effect of r307676, which added transformation rules for
.bco and .llo files (LLVM bytecode in binary and text representation).

Because .SUFFIXES was not updated to match, bmake was actually trying to
build a ".c.bco" file in the above case...

I committed a fix in r307754.

-Dimitry


Received on Fri Oct 21 2016 - 19:55:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:08 UTC