Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2020 12:33:24 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        Emmanuel Vadot <manu@FreeBSD.org>, 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:  <20200605123324.7632e456206278f4b722c560@bidouilliste.com>
In-Reply-To: <d06d-96fx-wny@FreeBSD.org>
References:  <202006050913.0559DwOX047806@repo.freebsd.org> <d06d-96fx-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 05 Jun 2020 12:02:10 +0200
Jan Beich <jbeich@FreeBSD.org> wrote:

> 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)

 Testing the patch, will fix it today.
 Thanks,

-- 
Emmanuel Vadot <manu@bidouilliste.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200605123324.7632e456206278f4b722c560>