maintainer-feedback requested: [Bug 294746] ports-mgmt/pkg : pkg version incorrectly marks a port as orphaned
Date: Fri, 24 Apr 2026 08:58:46 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg (Nobody) <pkg@FreeBSD.org> for maintainer-feedback: Bug 294746: ports-mgmt/pkg : pkg version incorrectly marks a port as orphaned https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294746 --- Description --- I have ruby-3.3.11,1 installed as dependency for zfstools-0.3.6_2. pkg version -v -n ruby gives: ruby-3.3.11,1 ? orphaned: lang/ruby33 but lang/ruby33 is a valid port. This is due to version.c:port_version() calling make -C ../../lang/ruby33 flavors-package-names which returns: ruby33-3.3.11,1 and that doesn't match the installed port name. This behaviour is observed since 2026-04-23 which seems to coincide with the installation of pkg rev 2.7.4