Friday, October 26, 2018

Re: amd64 bulk build failures (2018-10-25)

On 2018-10-26, Christian Weisgerber <naddy@mips.inka.de> wrote:

> New build failures:
> graphics/piglit C++ narrowing, triggered by Mesa update

The failure chain is this:
* pkg_check_modules(GBM QUIET gbm>=17.1) now succeeds.
* "-lgbm -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib" is added to the
compiler flags.
* This causes error "/usr/bin/ld: error: unable to find library -lgbm".
* Which breaks all subsequent compile tests, including one for
-Wno-narrowing.
* Eventually, the build fails with "error: non-constant-expression
cannot be narrowed ..." in some C++ code.

--
Christian "naddy" Weisgerber naddy@mips.inka.de

No comments:

Post a Comment