latest git version no longer detected by base
Joshua Root
jmr at macports.org
Sat Apr 16 22:16:33 UTC 2022
On 2022-4-17 01:13 , Chris Jones wrote:
>
>> FWIW, my syncs still use /opt/local/bin/git after upgrading.
>
> What OS is this ? For me the issue is happening on macOS 12.
Also macOS 12.
> The problem is completely reproducible. I can uninstall macports git and
> it starts working again with the system binary, and then reinstall
> macports version and it stops working again..
>
> I think at some point I will have to probably just put some more verbose
> debug into base, to try and help figure out what exactly is happening
> there to cause it to fail to use macports git correctly.. my suspicion
> is its something to do with the checks performed at
>
> https://github.com/macports/macports-base/blob/5d637741b5ae04b63f7e99a9057c6764d29fd7fd/src/macports1.0/macports.tcl#L2613
> <https://github.com/macports/macports-base/blob/5d637741b5ae04b63f7e99a9057c6764d29fd7fd/src/macports1.0/macports.tcl#L2613>
>
> That are no longer working correctly for some reason, leading to a null
> string being returned, which is the behaviour I see.
I misread your problem description initially, sorry. I still don't see
any issue with my usage, but it does seem likely to be permissions
problems as suggested elsewhere. Any error when running the git commands
in the code you linked to will result in an empty string being returned.
- Josh
More information about the macports-dev
mailing list