Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2026 08:58:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 294746] ports-mgmt/pkg : pkg version incorrectly marks a port as orphaned
Message-ID:  <bug-294746-32340-TeS0MjhmI0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-294746-32340@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294746-32340-TeS0MjhmI0>