[Bug 265084] ports-mgmt/portmaster seems to pull erroneous flavors during dependency check pre-install not sure if portmaster or regression in bsd.port.mk

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 08 Jul 2022 05:32:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265084

            Bug ID: 265084
           Summary: ports-mgmt/portmaster seems to pull erroneous flavors
                    during dependency check pre-install not sure if
                    portmaster or regression in bsd.port.mk
           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: alt2600@icloud.com
          Assignee: se@FreeBSD.org
             Flags: maintainer-feedback?(se@FreeBSD.org)

last time I saw this behavior it was an issue with bsd.port.mk , so either
there is a regression in some of the cleanup patches for indents, or something
is wrong with portmaster. both have been getting updates over the period of
time when things have gone haywire for me. first really noticed it when QT
updated a few days ago and qt5-sqldrivers-sqlite3 kept failing and failing due
to FLAVOR=default somehow being in the environment. It seems to be carrying
this FLAVOR from the dependency on sqlite3. to be honest i expected this gdal
to fail, but with the flavor of py39, but alas it was carried in seemingly from
the dependency check not the upstream build. gdal had been removed during a
previous failed upgrade it seems, so it was being built to satisfy py39-gdal's
need of it. I honestly do not know if its portmaster or bsd.port.mk or some
other piece of Mk/ wanted to post bug in case others are seeing this issue. I
know when I did a rebuild after 13.1 update things worked as that was shortly
after bsd.port.mk being patched to fix the carry of FLAVOR into the recursive
makes. PR 256736 was still open on bsd.port.mk so I posted earlier of the
possible regression. needed to do something after coming to terms with
potentially having to manually upgrade KDE one port at a time.



/usr/bin/strip /usr/ports/graphics/gdal/work/stage/usr/local/lib/libgdal.so
====> Compressing man pages (compress-man)
===>>> Starting check for runtime dependencies
===>>> Gathering dependency list for graphics/gdal from ports

===>>> The dependency for databases/sqlite3
       seems to be handled by sqlite3-3.39.0,1

===>>> Dependency check complete for graphics/gdal

===>>> py39-gdal-3.5.0 3/9 >> graphics/gdal (1/1)

===>  gdal-3.5.1 FLAVOR is defined (to default) while this port does not have
FLAVORS.
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/gdal

===>>> Installation of gdal-3.5.1 (graphics/gdal) failed
===>>> Aborting update

===>>> Update for graphics/gdal failed
===>>> Aborting update

===>>> Update for py39-gdal-3.5.0 failed
===>>> Aborting update

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