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:   [Bug 294746] ports-mgmt/pkg : pkg version incorrectly marks a port as orphaned
Message-ID:  <bug-294746-32340@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294746

            Bug ID: 294746
           Summary: ports-mgmt/pkg : pkg version incorrectly marks a port
                    as orphaned
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: guido@gvr.org
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

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