I'm writing a port maintainer program and I seen a strange misbehaviour. I do not know if this has to do with portmaster.
This happen in a virtual machine in VirtualBox
I installed it a couple of months ago with kmod drivers graphics/gpu-firmware-kmod with the command
All the drivers (amd, intel and radeon) will be installed (I thought). And that's a fact.
Last week I upgraded the ports tree (with git), checked the stale ports (
In the list of ports to upgrade there was graphics/gpu-firmware-kmod too.
Today
In my program I display port information per flavor, and I check what flavor is installed, so (as a simple example) for the port devel/git it shows
for port graphics/gpu-firmware-intel-kmod it shows
The `dg2` flavor is not installed. This I think is the anomaly. So I manually installed it.
After the installation I re-run my command
I do not know if the flavor `dg2` was added after I installed the first time that port or it was never compiled.
This happen in a virtual machine in VirtualBox
Code:
root at elopao-vm
~> freebsd-version -kru
14.1-RELEASE-p5
14.1-RELEASE-p5
14.1-RELEASE-p6
I installed it a couple of months ago with kmod drivers graphics/gpu-firmware-kmod with the command
portmaster graphics/gpu-firmware-kmod
All the drivers (amd, intel and radeon) will be installed (I thought). And that's a fact.
Last week I upgraded the ports tree (with git), checked the stale ports (
pkg version -I -l '<'
) and run the upgrade with portmaster(8) portmaster -a
In the list of ports to upgrade there was graphics/gpu-firmware-kmod too.
Today
In my program I display port information per flavor, and I check what flavor is installed, so (as a simple example) for the port devel/git it shows
Code:
devel
git
default
lite
tiny (installed)
for port graphics/gpu-firmware-intel-kmod it shows
Code:
graphics
gpu-firmware-intel-kmod (installed)
skylake (installed)
broxton (installed)
kabylake (installed)
geminilake (installed)
cannonlake (installed)
icelake (installed)
elkhartlake (installed)
tigerlake (installed)
rocketlake (installed)
dg1 (installed)
dg2
alderlake (installed)
make FLAVOR=dg2 -C /usr/ports/graphics/gpu-firmware-intel-kmod install clean
After the installation I re-run my command
Code:
graphics
gpu-firmware-intel-kmod (installed)
skylake (installed)
broxton (installed)
kabylake (installed)
geminilake (installed)
cannonlake (installed)
icelake (installed)
elkhartlake (installed)
tigerlake (installed)
rocketlake (installed)
dg1 (installed)
dg2 (installed)
alderlake (installed)
I do not know if the flavor `dg2` was added after I installed the first time that port or it was never compiled.
Last edited by a moderator: