To chime in as a newbie, this mesa thing has thrown me for quite a loop. I have a combination of ports and pkgs installed, and I find that I have run both
sudo pkg upgrade
and
sudo portupgrade -a
to get everything updated. I started by using portmaster for my ports (which I think was based on some advice I read in the forums), but there were some failures that led me to portupgrade.
I did a regular
sudo portupgrade -a
and suddenly it failed like so:
Code:
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
Installed packages to be REMOVED:
libglapi-17.0.3
Number of packages to be removed: 1
[1/1] Deinstalling libglapi-17.0.3...
[1/1] Deleting files for libglapi-17.0.3: 100%
[Reading data from pkg(8) ... - 292 packages found - done]
---> Installing the new version via the port
===> Installing for mesa-libs-17.1.2
===> mesa-libs-17.1.2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===> mesa-libs-17.1.2 depends on file: /usr/local/libdata/pkgconfig/xcb.pc - found
===> mesa-libs-17.1.2 depends on file: /usr/local/libdata/pkgconfig/xdamage.pc - found
===> mesa-libs-17.1.2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===> mesa-libs-17.1.2 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - found
===> mesa-libs-17.1.2 depends on file: /usr/local/libdata/pkgconfig/xshmfence.pc - found
===> mesa-libs-17.1.2 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found
===> mesa-libs-17.1.2 depends on shared library: libexpat.so - found (/usr/local/lib/libexpat.so)
===> mesa-libs-17.1.2 depends on shared library: libdrm.so - found (/usr/local/lib/libdrm.so)
===> mesa-libs-17.1.2 depends on shared library: libunwind.so - found (/usr/local/lib/libunwind.so)
===> Registering installation for mesa-libs-17.1.2
Installing mesa-libs-17.1.2...
pkg-static: mesa-libs-17.1.2 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[2]: stopped in /usr/ports/graphics/mesa-libs
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/graphics/mesa-libs
*** Error code 1
Stop.
make: stopped in /usr/ports/graphics/mesa-libs
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20170619-72313-19vbx29 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libglapi-17.0.3 UPGRADE_PORT_VER=17.0.3 make reinstall
---> Restoring the old version
Installing libglapi-17.0.3...
Extracting libglapi-17.0.3: 100%
** Fix the installation problem and try again.
** Package origin of 'libGL' has been changed: 'graphics/libGL' -> 'graphics/mesa-libs'
---> Skipping 'graphics/mesa-libs' (libGL-17.0.3) because it has already failed
** Package origin of 'gbm' has been changed: 'graphics/gbm' -> 'graphics/mesa-libs'
---> Skipping 'graphics/mesa-libs' (gbm-17.0.3) because it has already failed
** Package origin of 'libEGL' has been changed: 'graphics/libEGL' -> 'graphics/mesa-libs'
---> Skipping 'graphics/mesa-libs' (libEGL-17.0.3) because it has already failed
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! net/samba44 (samba43-4.3.13_2) (interrupted by user)
! graphics/mesa-libs (libglapi-17.0.3) (install error)
* graphics/mesa-libs (libGL-17.0.3)
* graphics/mesa-libs (gbm-17.0.3)
* graphics/mesa-libs (libEGL-17.0.3)
I freely admit that I am not very well versed in FreeBSD -- I set up my server about a year ago to be a Samba, web, & game server. I don't know when mesa got installed, or why. I certainly haven't seen any information that mesa was changing...
I did see this warning from portmaster at one point:
Code:
===>>> libGL-13.0.6
===>>> The graphics/libGL port moved to graphics/mesa-libs
===>>> Reason: Mesa libraries were merged into one port
...but I frankly have no idea what that means or what I'm supposed to do with this information. I haven't seen a forum post, or a note on the front page about this with guidance about how to handle this transition. I only saw errors in my upgrade and I haven't been able to fix it yet. Some sort of guidance would really be appreciated, whether it's in UPDATING or somewhere else.
Out of curiosity, where was this change even discussed? Is it on a mailing list? It'd be interesting to read through the logic behind it, not because I disagree or anything, merely because I don't know why this change has happened.
I know it's horrible, but I have not yet read the manual cover to cover. I have read many pieces of it, but there are limits to my free time, unfortunately. I'm sure I come off as incredibly naive, and I'm sorry for that. I'm doing my best to learn when I can.