Date: Sat, 07 Apr 2018 15:21:47 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 227347] ports-mgmt/portmaster: unnecessarily recompiles flavored dependencies Message-ID: <bug-227347-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227347 Bug ID: 227347 Summary: ports-mgmt/portmaster: unnecessarily recompiles flavored dependencies Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: se@FreeBSD.org Reporter: d8zNeCFG@aon.at Flags: maintainer-feedback?(se@FreeBSD.org) Assignee: se@FreeBSD.org It seems that whenever a dependency does not specify an explicit flavor for= a port which is flavored, portmaster reinstalls it unconditionally. For examp= le, running "portmaster devel/llvm50" will recompile py27-enum34 and py27-sphin= x, even though both are already installed in their latest versions. I think portmaster should be modified such that when checking whether a port needs to be updated it first checks whether the port is flavored (probably using "make -V FLAVORS"), and if it detects that it indeed is changes the update check to be for the default flavor instead ("make -V FLAVOR" where t= he environment does not include the flavor). There are quite many ports whose dependencies have not been marked (complet= ely) with a flavor, and it probably should not be necessary given that a default flavor exists anyway (there were however a few commits where most of the flavors for python dependencies were added). -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227347-7788>