/usr/ports/Mk/Uses/execinfo.mk and r450351

Don Lewis truckman at FreeBSD.org
Mon Sep 25 01:44:31 UTC 2017

On 24 Sep, Keith Hellman wrote:
> Hello all,
> I'm running 
>   FreeBSD dane.localdomain 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r320599
> with a ports tree synced with svn and package update management with 
> portmaster(8).  I synced the tree up to 450554 today and portmaster 
> spat out the following.
>  /usr/ports# portmaster -m BATCH=yes -D --update-if-newer --no-confirm -a
> make: "/usr/ports/Mk/bsd.port.mk" line 1439: Cannot open /usr/ports/Mk/Uses/execinfo.mk
> make: Fatal errors encountered -- cannot continue
> This occurs for what appears to be six of the ports I have installed.
> I notice that r450351--r450354 deal with execinfo, specifically r450351
> removes execinfo support.  The ports complaining for my own situation
> were:
>   devel/qt5-core
>   x11-toolkits/wxgtk30
>   devel/cmake
>   sysutils/fusefs-ext4fuse
>   lang/ruby23
> I've remove the execinfo USES references in these ports' Makefiles and
> portmaster no longer complains during the update.
> I'm still cutting my teeth on freebsd's ports system, I'm unsure if I 
> should submit a PR about this (a grep command seemed to find about 163 
> instances of USES containing execinfo) or if I simply don't realize I
> that I've hosed my ports tree :/

There is something funny going on with your copy of the ports tree.  My
copy is currently at r450422 and I looked at Makefile for the first two
ports that you list and don't see USES=execinfo.  In my copy of the
tree, Makefile for each of those two ports was last changed by r450351,
which removed the USES=.

%svn diff -c 450351 /usr/ports/devel/qt5-core/Makefile
Index: /usr/ports/devel/qt5-core/Makefile
--- /usr/ports/devel/qt5-core/Makefile	(revision 450350)
+++ /usr/ports/devel/qt5-core/Makefile	(revision 450351)
@@ -12,7 +12,6 @@
 LIB_DEPENDS=	libicui18n.so:devel/icu \
-USES=		execinfo
 USE_GNOME=	glib20
 USE_QT5=	qmake_build buildtools_build
 QT_DIST=	base

Checking https://svnweb.freebsd.org/ports/head/devel/qt5-core/Makefile,
I see that it was changed again today with r450556, but that was only a
PORTREVISION bump and didn't undo the removal of USES=.

More information about the freebsd-ports mailing list