RJVB / macstrop

RJVB's repository of alternative macports, with ports missing from or overriding those in the standard collection, including a set of KF5 ports.
20 stars 9 forks source link

Same 11 ports get reindexed on every selfupdate #85

Closed cooljeanius closed 2 years ago

cooljeanius commented 2 years ago

Try selfupdating twice in a row and notice how a group of ports that had previously been added to the index get added to it again:

DEBUG: system -W /Users/ericgallager/Documents/GitHub/macstrop: /opt/local/bin/git pull --rebase --autostash
Already up to date.
DEBUG: euid/egid restored to: 0/0, env restored
DEBUG: system: /opt/local/bin/portindex /Users/ericgallager/Documents/GitHub/macstrop
Creating port index in /Users/ericgallager/Documents/GitHub/macstrop
Adding port Soup/VLC
Adding port kde/ECM
Adding subport kde-extra-cmake-modules-devel
Adding subport kECM
Warning: depends_libs change: path:lib/libQtCore.4.dylib:qt4-mac
Warning: Using the mainstream/official Qt4 portgroup
Adding port kde/krecipe
Adding port kf5/kdevelop5-pg-qt
Adding subport kf5-kdevelop-pg-qt-devel
Adding port kf5/konsole5
Adding subport kf5-konsole-devel
Adding port kf5/okteta5
Adding port x11/oxygen-gtk3

Total number of ports parsed:   11 
Ports successfully parsed:  11 
Ports failed:           0 
Up-to-date ports skipped:   1323
RJVB commented 2 years ago

I know. That never bothered me enough to address; it’s a quirk in MacPorts (port dir not named after any of the port it contains).

On 15 Nov 2021, at 04:11, Eric Gallager @.***> wrote:

 Try selfupdating twice in a row and notice how a group of ports that had previously been added to the index get added to it again:

DEBUG: system -W /Users/ericgallager/Documents/GitHub/macstrop: /opt/local/bin/git pull --rebase --autostash Already up to date. DEBUG: euid/egid restored to: 0/0, env restored DEBUG: system: /opt/local/bin/portindex /Users/ericgallager/Documents/GitHub/macstrop Creating port index in /Users/ericgallager/Documents/GitHub/macstrop Adding port Soup/VLC Adding port kde/ECM Adding subport kde-extra-cmake-modules-devel Adding subport kECM Warning: depends_libs change: path:lib/libQtCore.4.dylib:qt4-mac Warning: Using the mainstream/official Qt4 portgroup Adding port kde/krecipe Adding port kf5/kdevelop5-pg-qt Adding subport kf5-kdevelop-pg-qt-devel Adding port kf5/konsole5 Adding subport kf5-konsole-devel Adding port kf5/okteta5 Adding port x11/oxygen-gtk3

Total number of ports parsed: 11 Ports successfully parsed: 11 Ports failed: 0 Up-to-date ports skipped: 1323 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

cooljeanius commented 2 years ago

This still seems to be happening with 4 of them:

$ sudo portindex
Creating port index in /Users/ericgallager/Documents/GitHub/macstrop
Adding port Soup/VLC
Adding port kde/ECM
Adding subport kde-extra-cmake-modules-devel
Adding subport kECM

Total number of ports parsed:   4 
Ports successfully parsed:  4 
Ports failed:           0 
Up-to-date ports skipped:   1328
cooljeanius commented 2 years ago

This still seems to be happening with 4 of them:

$ sudo portindex
Creating port index in /Users/ericgallager/Documents/GitHub/macstrop
Adding port Soup/VLC
Adding port kde/ECM
Adding subport kde-extra-cmake-modules-devel
Adding subport kECM

Total number of ports parsed: 4 
Ports successfully parsed:    4 
Ports failed:         0 
Up-to-date ports skipped: 1328

Still happening now:

Creating port index in /Users/ericgallager/Documents/GitHub/macstrop
Adding port Soup/VLC
Adding port kde/ECM
Adding subport kde-extra-cmake-modules-devel
Adding subport kECM

Total number of ports parsed:   4 
Ports successfully parsed:  4 
Ports failed:           0 
Up-to-date ports skipped:   1330
RJVB commented 2 years ago

I know, and it still doesn't bother me enough to fix.

Adding port Soup/VLC

This one shouldn't be there though; ports in "Soup" are not supposed to be visible in the regular MacStrop tree. Fixed.