mesa libs issue

David Wolfskill david at
Sun May 14 02:15:18 UTC 2017

On Sat, May 13, 2017 at 05:54:10PM -0600, The Doctor wrote:
> ....
> ===>  Installing for mesa-libs-17.0.4
> ===>  Checking if mesa-libs already installed
> ===>   Registering installation for mesa-libs-17.0.4 as automatic
> Installing mesa-libs-17.0.4...
> pkg-static: mesa-libs-17.0.4 conflicts with libEGL-17.0.3 (installs files into the same place).  Problematic file: /usr/local/include/EGL/egl.h
> *** Error code 70
> Stop.
> make[1]: stopped in /usr/ports/graphics/mesa-libs
> *** Error code 1
> .... 
> And crash goes the msea-libs complie.

Well, no.  The compile was fine; it's the installation that choked.

> Can someone explain this?
> ....

I managed -- eventually! -- to get through this by iterating through:

* pkg which /usr/local/include/EGL/egl.h
  This informed me that the file had been installed by libEGL-17.0.3.

* pkg delete -f libEGL-17.0.3

* (re-do the attempt to build/install graphics/mesa-libs; find that it
now whines about something else... re-do "pkg which"; "pkg delete -f"
that package; lather, rinse, repeat....)

The short of it comes down to the equivalent of:

* pkg delete -f libEGL-17.0.3 libGL-17.0.3 libglesv2-17.0.3 gbm-17.0.3 libglapi-17.0.3

(after which point mesa-libs-17.0.4 installed OK).

* pkg delete -f dri-17.0.3,2 

(after which point mesa-dri-17.0.4 installed OK).

Caveat: This was using portmaster.  My attempt to use poudriere to build
graphics/mesa-libs failed rather completely, as I noted earlier.  (Ref.

David H. Wolfskill				david at
Let's hope that the successor to this so-called POTUS will be an improvement.

See for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <>

More information about the freebsd-ports mailing list