portmaster -ty --clean-distfiles and "make" errors

Jens Schweikhardt schweikh at schweikhardt.net
Sun May 15 16:35:31 UTC 2016


hello, world\n

whenever I clean old distfiles I get a handful of ugly error messages:

# portmaster -t -y --clean-distfiles
===>>> Gathering distinfo list for all ports
       (This will take several minutes)

make: "/usr/ports/devel/svnmerge/Makefile" line 33: Cannot open /usr/ports/devel/subversion16/Makefile.inc
make: Fatal errors encountered -- cannot continue
make: "/usr/ports/Mk/bsd.linux-apps.mk" line 589: Malformed conditional (${${:Utcl84}_DETECT}=="")
make: "/usr/ports/Mk/bsd.linux-apps.mk" line 589: Malformed conditional (${${:Utk84}_DETECT}=="")
make: Fatal errors encountered -- cannot continue
make: "/usr/ports/x11/avant-window-navigator-gnome/Makefile" line 8: Cannot open /usr/ports/x11/avant-window-navigator-gnome/../avant-window-navigator/Makefile
make: Fatal errors encountered -- cannot continue
===>>> Checking for stale distfiles

/usr/ports/devel/subversion16 no longer exists, which explains the first error.
The others are more obscure.

This makes for a quite disappointing user experience. The errors point,
as far as I can tell, to some neglience in ports tree maintenance. Would
it be possible to add a check for a silent, error free "portmaster -t -y
--clean-distfiles" to the Ports QA checks?

And how should I go about fixing the Malformed conditional (${${:Utcl84}_DETECT}=="")
issue?

Regards,

	Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)


More information about the freebsd-ports mailing list