Recent -CURRENT unable to build numerous ports

Dimitry Andric dim at FreeBSD.org
Fri Oct 21 21:55:26 UTC 2016


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20161021/7ce3b1b8/attachment.sig>


More information about the freebsd-current mailing list