Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jun 2020 12:02:10 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Emmanuel Vadot <manu@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r537998 - in head: graphics/libosmesa graphics/libxatracker graphics/mesa-dri graphics/mesa-dri/files graphics/mesa-libs lang/clover
Message-ID:  <d06d-96fx-wny@FreeBSD.org>
In-Reply-To: <202006050913.0559DwOX047806@repo.freebsd.org> (Emmanuel Vadot's message of "Fri, 5 Jun 2020 09:13:58 %2B0000 (UTC)")
References:  <202006050913.0559DwOX047806@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Emmanuel Vadot <manu@FreeBSD.org> writes:

> Author: manu
> Date: Fri Jun  5 09:13:57 2020
> New Revision: 537998
> URL: https://svnweb.freebsd.org/changeset/ports/537998
>
> Log:
>   mesa*: Switch to meson
>   
>   Upstream switched to meson for their build system so do the same as
>   it will be easier to find problems sooner than later.
>   This also switch to python3, python is only used for the build.
>   There is more thing enabled by default (or auto-enabled based on some
>   configuration) so we need to disable a lot more things than with autotools.
>   
>   This should be a non functional change.

Fails to build on i386. Maybe apply graphics/mesa-devel/files/patch-i386

  $ poudriere testport -j 113i386 graphics/mesa-libs
  [...]
  Checking if "GCC atomic builtins" compiles: YES 
  Checking if "GCC atomic builtins required -latomic" links: NO 

meson.build:912:4: ERROR: C library 'atomic' not found

Fails to build on non-LLD archs. Maybe move USE_BINUTILS conditional
from mesa-dri/Makefile to mesa-dri/Makefile.common.

  $ poudriere testport -j 113amd64 graphics/mesa-libs
  [...]
  FAILED: src/mesa/drivers/dri/libmesa_dri_drivers.so 
  /usr/bin/ld: unrecognized option '--build-id=sha1'
  /usr/bin/ld: use the --help option for usage information
  c++: error: linker command failed with exit code 1 (use -v to see invocation)

  $ poudriere testport -j 121armv6 graphics/mesa-libs
  FAILED: src/mesa/drivers/dri/libmesa_dri_drivers.so 
  /nxb-bin/usr/bin/ld: unrecognized option '--build-id=sha1'
  /nxb-bin/usr/bin/ld: use the --help option for usage information
  c++: error: linker command failed with exit code 1 (use -v to see invocation)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d06d-96fx-wny>