Solved gitup ports + orphaned packages issue

Are there any issues with the git repo today?

After running gitup ports this morning, almost all my packages are orphaned.

Code:
[user@localhost ~]$ sudo gitup ports
# Scanning local repository...
# Host: git.freebsd.org
# Port: 443
# Repository Path: /ports.git
# Target Directory: /usr/ports
# Have: 053917ee30713f94e7ce8bc27f153a5e3a5ef848
# Want: d85c697dbe887735e60e427beb76a70326983f9f
# Branch: main
# Action: pull
* /usr/ports/Mk/bsd.port.mk
* /usr/ports/Mk/bsd.tex.mk
* /usr/ports/devel/rubygem-gitlab-license
* /usr/ports/games/alienarena-data
* /usr/ports/math/R-cran-forcats
* /usr/ports/net-im/telegram-desktop
* /usr/ports/net/cloudquery
* /usr/ports/science/R-cran-fastICA
* /usr/ports/security/testssl.sh
* /usr/ports/x11-themes/Makefile
+ /usr/ports/x11-themes/chicago95
# Done.
[user@localhost ~]$ pkg version -v
3proxy-0.9.3                       =   up-to-date with port
acme.sh-2.8.9                      =   up-to-date with port
apache24-2.4.46_2                  ?   orphaned: www/apache24
apr-1.7.0.1.6.1_1                  ?   orphaned: devel/apr1
aspell-0.60.8_1,1                  ?   orphaned: textproc/aspell
bash-5.1.8                         ?   orphaned: shells/bash
ca_root_nss-3.63                   ?   orphaned: security/ca_root_nss
curl-7.76.1                        ?   orphaned: ftp/curl
db5-5.3.28_7                       ?   orphaned: databases/db5
dialog4ports-0.1.6                 ?   orphaned: ports-mgmt/dialog4ports
dovecot-2.3.13_1                   ?   orphaned: mail/dovecot
en-aspell-2018.04.16.0             ?   orphaned: textproc/en-aspell
expat-2.3.0                        ?   orphaned: textproc/expat2
freetype2-2.10.4                   ?   orphaned: print/freetype2
gdbm-1.19                          ?   orphaned: databases/gdbm
gettext-runtime-0.21               ?   orphaned: devel/gettext-runtime
gitup-0.93                         ?   orphaned: net/gitup
gmp-6.2.1                          ?   orphaned: math/gmp
goaccess-1.4.6                     ?   orphaned: sysutils/goaccess
google-perftools-2.9.1             ?   orphaned: devel/google-perftools
groff-1.22.4_3                     ?   orphaned: textproc/groff
indexinfo-0.3.1                    ?   orphaned: print/indexinfo
iperf-2.1.1.d                      ?   orphaned: benchmarks/iperf
jpeg-turbo-2.0.6                   ?   orphaned: graphics/jpeg-turbo
libargon2-20190702                 ?   orphaned: security/libargon2
libedit-3.1.20210216,1             ?   orphaned: devel/libedit
libevent-2.1.12                    ?   orphaned: devel/libevent
libffi-3.3_1                       ?   orphaned: devel/libffi
libgd-2.3.1,1                      ?   orphaned: graphics/gd
libiconv-1.16                      ?   orphaned: converters/libiconv
libinotify-20180201_2              ?   orphaned: devel/libinotify
liblz4-1.9.3,1                     ?   orphaned: archivers/liblz4
libmaxminddb-1.5.2                 ?   orphaned: net/libmaxminddb
libnghttp2-1.43.0                  ?   orphaned: www/libnghttp2
libpaper-1.1.24.4                  ?   orphaned: print/libpaper
libunwind-20201110                 ?   orphaned: devel/libunwind
libxml2-2.9.10_3                   ?   orphaned: textproc/libxml2
...
...
 
Same issue on my home backup machine :

Code:
[someone@localhost ~]$ pkg version -v
bash-5.1.8                         ?   orphaned: shells/bash
dialog4ports-0.1.6                 ?   orphaned: ports-mgmt/dialog4ports
gettext-runtime-0.21               ?   orphaned: devel/gettext-runtime
gitup-0.92                         ?   orphaned: net/gitup
indexinfo-0.3.1                    ?   orphaned: print/indexinfo
liblz4-1.9.3,1                     ?   orphaned: archivers/liblz4
nano-5.6.1                         ?   orphaned: editors/nano
pkg-1.16.3                         ?   orphaned: ports-mgmt/pkg
readline-8.1.0                     ?   orphaned: devel/readline
rsync-3.2.3_1                      ?   orphaned: net/rsync
screen-4.8.0_3                     ?   orphaned: sysutils/screen
smartmontools-7.2_1                ?   orphaned: sysutils/smartmontools
sudo-1.9.6p1                       ?   orphaned: security/sudo
synth-2.10                         ?   orphaned: ports-mgmt/synth
wget-1.21                          ?   orphaned: ftp/wget
xxhash-0.8.0                       ?   orphaned: devel/xxhash
zstd-1.4.9                         ?   orphaned: archivers/zstd
 
A quick git bisect give this commit as the culprit
Code:
073b0aa8a4304190cd1727cee1393d39fd520a8b is the first bad commit
commit 073b0aa8a4304190cd1727cee1393d39fd520a8b
Author: Baptiste Daroussin <bapt@FreeBSD.org>
Date:   Fri May 7 10:26:52 2021 +0200

    overlay: allow to load -overlay.mk files for each USES
  
    This will be done before the loading of the actual USES, it allows one
    to keep using the USES from the ports tree, and still provide additional
    features in the overlay

Mk/bsd.port.mk | 3 +++
1 file changed, 3 insertions(+)
Warning not for gitup user
For those that use git, doing git revert 073b0aa8a43 will fixes the issue.

This just get reverted, and so fixed:
Revert "overlay: allow to load -overlay.mk files for each USES"
This changes was not supposed to be pushed yet

This reverts commit 073b0aa8a4304190cd1727cee1393d39fd520a8b.
 
Back
Top