<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">On 20 Oct 2022, at 5:11 pm, Marius Schamschula <lists@schamschula.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div class="">Chris,</div><div class=""><br class=""></div>Correct!<div class=""><br class=""></div><div class="">I don’t want to use —autostash, as it may clobber WIP files in my local tree (per the git-pull man page).</div></div></blockquote><div><br></div>My experience with the autostash option is it always works as advertised, so stashes your local changes, applies the update then reapplies the stash. Not using this option isn’t going to help you much if you do have conflicts with master, you are going to have to resolve them one way or anohter eventually, but not using it makes your life harder in the vast majority of cases where it works fine.<div><br></div><div>Just my 2pence worth, but I do not think you are doing yourself any favours avoiding it.</div><div><br></div><div>Chris<br><div><br><blockquote type="cite"><div dir="ltr"><div class=""><br class=""></div><div class="">I ran</div><div class=""><span style="font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class="">git branch --set-upstream-to=origin/</span><span style="font-family: Menlo; font-size: 11px;" class="">master</span><span style="font-family: Menlo; font-size: 11px;" class=""> master</span></div><div class=""><br class=""></div><div class="">to get rid of the error.</div><div class=""><br class=""></div><div class="">However, I shouldn’t use port sync (or for that matter port selfupdate), unless my local tree is clean.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 20, 2022, at 10:37 AM, Chris Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class=""><div dir="ltr" class=""></div><div dir="ltr" class="">Hi</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">Go to your person checkout</div><div dir="ltr" class=""><span style="font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div dir="ltr" class=""><span style="font-family: Menlo; font-size: 11px;" class="">/Users/marius/Development/MacPorts/ports</span></div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">And then run</div><div dir="ltr" class=""><span style="font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div dir="ltr" class="">/<span style="font-family: Menlo; font-size: 11px;" class="">opt/local/bin/git pull --rebase --autostash</span></div><div dir="ltr" class=""><span style="font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div dir="ltr" class=""><span style="font-family: Menlo; font-size: 11px;" class="">You will I bet see the same issue, so the problem is nothing to do with macports but your local checkout.</span></div><div dir="ltr" class=""><span style="font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div dir="ltr" class=""><span style="font-family: Menlo; font-size: 11px;" class="">Chris</span></div><div dir="ltr" class=""><br class=""><blockquote type="cite" class="">On 20 Oct 2022, at 3:22 pm, Marius Schamschula <<a href="mailto:lists@schamschula.com" class="">lists@schamschula.com</a>> wrote:<br class=""><br class=""></blockquote></div><blockquote type="cite" class=""><div dir="ltr" class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div class="">Chris,</div><div class=""><br class=""></div>If I go to <br class=""><div class=""><br class=""></div><div class="">/opt/local/var/macports/sources/<a href="http://github.com/macports/macports-ports" class="">github.com/macports/macports-ports</a></div><div class=""><br class=""></div><div class="">and run</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/opt/local/bin/git pull --rebase origin master</span></div></div><div class=""><br class=""></div><div class="">Which I do as part of a macro which also runs portindex on that directory, everything works as expected.</div><div class=""><br class=""></div><div class="">The only part of port selfupdate that’s failing is the port sync:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">marius@Mira macports-ports % sudo port -d sync </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">DEBUG: Copying /Users/marius/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---> Updating the ports tree</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Synchronizing local ports tree from <a href="file:///Users/marius/Development/MacPorts/ports" class="">file:///Users/marius/Development/MacPorts/ports</a></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">DEBUG: euid/egid changed to: 501/20, env: HOME=/Users/marius SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.084KBeK49L/Listeners</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">DEBUG: /opt/local/bin/git pull --rebase --autostash</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">DEBUG: system -W /Users/marius/Development/MacPorts/ports: /opt/local/bin/git pull --rebase --autostash</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">There is no tracking information for the current branch.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Please specify which branch you want to rebase against.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">See git-pull(1) for details.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> git pull <remote> <branch></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">If you wish to set tracking information for this branch you can do so with:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> git branch --set-upstream-to=origin/<branch> master</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Command failed: /opt/local/bin/git pull --rebase --autostash</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Exit code: 1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">DEBUG: command execution failed</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> while executing</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">"system -W $dir $cmd"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> (procedure "macports::UpdateVCS" line 1)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> invoked from within</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">"macports::UpdateVCS $cmd $dir"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Syncing local Git ports tree failed</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">DEBUG: euid/egid restored to: 0/0, env restored</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Synchronizing local ports tree from <a href="file:///opt/local/var/macports/sources/github.com/macports/macports-ports/" class="">file:///opt/local/var/macports/sources/github.com/macports/macports-ports/</a></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">DEBUG: euid/egid changed to: 501/20, env: HOME=/Users/marius SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.084KBeK49L/Listeners</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">DEBUG: /opt/local/bin/git pull --rebase --autostash</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">DEBUG: system -W /opt/local/var/macports/sources/<a href="http://github.com/macports/macports-ports:" class="">github.com/macports/macports-ports:</a> /opt/local/bin/git pull --rebase --autostash</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">There is no tracking information for the current branch.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Please specify which branch you want to rebase against.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">See git-pull(1) for details.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> git pull <remote> <branch></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">If you wish to set tracking information for this branch you can do so with:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> git branch --set-upstream-to=origin/<branch> master</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Command failed: /opt/local/bin/git pull --rebase --autostash</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Exit code: 1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">DEBUG: command execution failed</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> while executing</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">"system -W $dir $cmd"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> (procedure "macports::UpdateVCS" line 1)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> invoked from within</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">"macports::UpdateVCS $cmd $dir"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Syncing local Git ports tree failed</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">DEBUG: euid/egid restored to: 0/0, env restored</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">DEBUG: Synchronization of 2 sources failed</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> while executing</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">"mportsync [array get global_options]"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">port sync failed: Synchronization of 2 sources failed</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></div><div class="">Note: this error doesn’t happen under MacPorts 2.7.2, as I rechecked two of my machines that haven’t been upgraded to MacPorts 2.8.0.</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="">On Oct 20, 2022, at 8:31 AM, Christopher Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div>No, thats not what I am saying. What you are doing works just fine for me…<div class=""><br class=""></div><div class="">My own checkout has</div><div class=""><br class=""></div><div class=""><div class=""><div class="">Oberon ~/Projects/MacPorts/ports > git remote -v</div><div class="">cjones<span class="Apple-tab-span" style="white-space:pre"> </span><a href="mailto:git@github.com" class="">git@github.com</a>:cjones051073/macports-ports.git (fetch)</div><div class="">cjones<span class="Apple-tab-span" style="white-space:pre"> </span><a href="mailto:git@github.com" class="">git@github.com</a>:cjones051073/macports-ports.git (push)</div><div class="">origin<span class="Apple-tab-span" style="white-space:pre"> </span><a href="mailto:git@github.com" class="">git@github.com</a>:macports/macports-ports.git (fetch)</div><div class="">origin<span class="Apple-tab-span" style="white-space:pre"> </span><a href="mailto:git@github.com" class="">git@github.com</a>:macports/macports-ports.git (push)</div></div><div class=""><br class=""></div><div class="">So I have set origin to be the main repo, and my own clone is the ‘clones’ remote.</div><div class=""><br class=""></div><div class="">running port sync (or port selfupdate for that matter) works fine (at least as far as the git pull part goes).</div><div class=""><br class=""></div><div class=""><div class="">Oberon ~/Projects/MacPorts/ports > sudo port -d selfupdate</div><div class="">DEBUG: Copying /Users/chris/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences</div><div class="">DEBUG: MacPorts sources location: /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs" class="">rsync.macports.org/macports/release/tarballs</a></div><div class="">---> Updating MacPorts base sources using rsync</div><div class="">DEBUG: system: /usr/bin/rsync -rtzvl --delete-after --include=/base.tar --include=/base.tar.rmd160 --exclude=* <a href="rsync://rsync.macports.org/macports/release/tarballs/" class="">rsync://rsync.macports.org/macports/release/tarballs/</a> /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs" class="">rsync.macports.org/macports/release/tarballs</a></div><div class=""><br class=""></div><div class="">Willkommen auf dem RSYNC-server auf <a href="http://ftp.fau.de/" class="">ftp.fau.de</a>.</div><div class="">Nicht all unsere Mirror sind per rsync verfuegbar.</div><div class=""><br class=""></div><div class="">Welcome to the RSYNC daemon on <a href="http://ftp.fau.de/" class="">ftp.fau.de</a>.</div><div class="">Not all of our mirrors are available through rsync.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">receiving file list ... done</div><div class="">./</div><div class=""><br class=""></div><div class="">sent 66 bytes received 98 bytes 109.33 bytes/sec</div><div class="">total size is 113716736 speedup is 693394.73</div><div class="">DEBUG: successful verification with key /opt/local/share/macports/macports-pubkey.pem</div><div class="">DEBUG: system: /usr/bin/tar -C /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/tmp" class="">rsync.macports.org/macports/release/tarballs/tmp</a> -xf /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/base.tar" class="">rsync.macports.org/macports/release/tarballs/base.tar</a></div><div class="">MacPorts base version 2.8.0 installed,</div><div class="">DEBUG: Rebuilding and reinstalling MacPorts if needed</div><div class="">MacPorts base version 2.8.0 downloaded.</div><div class="">---> Updating the ports tree</div><div class="">Synchronizing local ports tree from <a href="file:///Users/chris/Projects/MacPorts/ports" class="">file:///Users/chris/Projects/MacPorts/ports</a></div><div class="">DEBUG: euid/egid changed to: 501/20, env: HOME=/Users/chris SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.3Ry328lG9D/Listeners</div><div class="">DEBUG: /opt/local/bin/git pull --rebase --autostash</div><div class="">DEBUG: system -W /Users/chris/Projects/MacPorts/ports: /opt/local/bin/git pull --rebase --autostash</div><div class="">Already up to date.</div><div class=""><br class=""></div></div><div class="">So the git pull works just fine. ( It hangs after this but thats a different issue. )</div><div class=""><br class=""></div><div class="">Why you are having problems I cannot say, but you should start by checking how you have the remotes setup for your checkout.</div><div class=""><br class=""></div><div class="">Chris</div><div class=""><br class=""></div><div class=""><div class=""><blockquote type="cite" class=""><div class="">On 20 Oct 2022, at 1:52 pm, Marius Schamschula <<a href="mailto:lists@schamschula.com" class="">lists@schamschula.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Chris,<div class=""><br class=""></div><div class="">In other words, I shouldn’t ever run port selfupdate in my local repo (which syncs to my personal GitHub repo), but rather in the </div><div class=""><br class=""></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class="">/opt/local/var/macports/sources/<a href="http://github.com/macports/macports-ports" class="">github.com/macports/macports-ports</a></span></div><div class=""><br class=""></div><div class="">directory. Make sense, but the update has always worked in the past.<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Oct 20, 2022, at 7:26 AM, Christopher Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">The message<div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">There is no tracking information for the current branch.</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Please specify which branch you want to rebase against.</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">See git-pull(1) for details.</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> git pull <remote> <branch></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">If you wish to set tracking information for this branch you can do so with:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> git branch --set-upstream-to=origin/<branch> master</span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;">Indicates you have </span></div><div class=""><br class=""></div><div class=""><a href="file:///Users/marius/Development/MacPorts/ports" class="" style="font-family: Menlo; font-size: 11px;">/Users/marius/Development/MacPorts/ports</a></div><div class=""><div class=""><br class=""></div><div class="">switched to a branch that does not have its tracking information set. This normally happens if you have a feature branch (e.g. for a PR) checked out, but the above is for master which is a bit weird.</div><div class=""><br class=""></div><div class="">running</div><div class=""><br class=""></div><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px;" class="">git branch --set-upstream-to=origin/master master</span></div><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">might fix this, but again, it is a bit odd you need to do this for your master checkout, unless you have done something ‘odd’ to it such that it has lost its tracking info.</span></font></div><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div class="">Chris</div><br class=""><blockquote type="cite" class=""><div class="">On 20 Oct 2022, at 12:17 pm, Marius Schamschula <<a href="mailto:lists@schamschula.com" class="">lists@schamschula.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I’m seeing something very similar with MacPorts 2.8.0 (release)<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">marius@Mira ports % sudo port selfupdate </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---> Updating MacPorts base sources using rsync</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">MacPorts base version 2.7.2 installed,</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">MacPorts base version 2.8.0 downloaded.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---> Updating the ports tree</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---> MacPorts base is outdated, installing new version 2.8.0</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Installing new MacPorts release in /opt/local as root:wheel; permissions 0755</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Error: Couldn't change permissions of the MacPorts sources at /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/base" class="">rsync.macports.org/macports/release/tarballs/base</a> to root: child killed: kill signal</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Please run `port -v selfupdate' for details.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Error: /opt/local/bin/port: port selfupdate failed: Couldn't change permissions of the MacPorts sources at /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/base" class="">rsync.macports.org/macports/release/tarballs/base</a> to root: child killed: kill signal</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">marius@Mira ports % sudo port -v selfupdate</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---> Updating MacPorts base sources using rsync</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Willkommen auf dem RSYNC-server auf <a href="http://ftp.fau.de/" class="">ftp.fau.de</a>.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Nicht all unsere Mirror sind per rsync verfuegbar.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Welcome to the RSYNC daemon on <a href="http://ftp.fau.de/" class="">ftp.fau.de</a>.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Not all of our mirrors are available through rsync.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">receiving file list ... done</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">./</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">sent 66 bytes received 98 bytes 109.33 bytes/sec</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">total size is 113716736 speedup is 693394.73</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">MacPorts base version 2.8.0 installed,</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">MacPorts base version 2.8.0 downloaded.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---> Updating the ports tree</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Synchronizing local ports tree from <a href="file:///Users/marius/Development/MacPorts/ports" class="">file:///Users/marius/Development/MacPorts/ports</a></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">There is no tracking information for the current branch.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Please specify which branch you want to rebase against.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">See git-pull(1) for details.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> git pull <remote> <branch></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">If you wish to set tracking information for this branch you can do so with:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> git branch --set-upstream-to=origin/<branch> master</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Command failed: /opt/local/bin/git pull --rebase --autostash</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Exit code: 1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Syncing local Git ports tree failed</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Synchronizing local ports tree from <a href="file:///opt/local/var/macports/sources/github.com/macports/macports-ports/" class="">file:///opt/local/var/macports/sources/github.com/macports/macports-ports/</a></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">From <a href="http://github.com/" class="">github.com</a>:macports/macports-ports</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] PRE_DESTROOT_TARGET -> PRE_DESTROOT_TARGET</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] jkh-destrootification-base -> jkh-destrootification-base</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] kevin-target-api-base -> kevin-target-api-base</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] post-landon-trace -> post-landon-trace</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] pre-chain-remove -> pre-chain-remove</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] pre-landon-trace -> pre-landon-trace</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_1_2_0-archive -> release_1_2_0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_1_2_0-archive-rc1 -> release_1_2_0-archive-rc1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_1_2_0-rc2-archive -> release_1_2_0-rc2-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_1_2_0-rc3-archive -> release_1_2_0-rc3-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_1_2_1-archive -> release_1_2_1-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_1_2_1-rc1-archive -> release_1_2_1-rc1-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_1_3_0-archive -> release_1_3_0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_1_3_1-archive -> release_1_3_1-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_1_3_2-archive -> release_1_3_2-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_1_4_0-archive -> release_1_4_0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_1_5_0-archive -> release_1_5_0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_1_6_0-archive -> release_1_6_0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_1_7_0-archive -> release_1_7_0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_1_8_0-archive -> release_1_8_0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_1_9_0-archive -> release_1_9_0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_2_0_0-archive -> release_2_0_0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_2_1_0-archive -> release_2_1_0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_2_2_0-archive -> release_2_2_0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] release_2_3_0-archive -> release_2_3_0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] v2.4.0-archive -> v2.4.0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] v2.5.0-archive -> v2.5.0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] v2.6.0-archive -> v2.6.0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] v2.7.0-archive -> v2.7.0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> * [new tag] v2.8.0-archive -> v2.8.0-archive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">There is no tracking information for the current branch.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Please specify which branch you want to rebase against.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">See git-pull(1) for details.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> git pull <remote> <branch></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">If you wish to set tracking information for this branch you can do so with:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> git branch --set-upstream-to=origin/<branch> master</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Command failed: /opt/local/bin/git pull --rebase --autostash</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Exit code: 1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Syncing local Git ports tree failed</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Error: Couldn't sync the ports tree: Synchronization of 2 sources failed</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Error: Follow <a href="https://guide.macports.org/#project.tickets" class="">https://guide.macports.org/#project.tickets</a> if you believe there is a bug.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 2 sources failed</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">marius@Mira ports % port version</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Version: 2.8.0</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">marius@Mira ports % </span></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Oct 20, 2022, at 4:49 AM, Christopher Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class="">I’m afraid I have no idea how to go about setting up a reproducer for this. It seems it randomly comes and goes, so perhaps is related to something else going on in the system (I am on macOS12 intel b.t.w.).<br class=""><br class="">The best I can do is monitor it and see if I can spot any pattern as to when it happens or not. I am now on the official 2.8.0 release and still see it happen, so lets also see if any others start to see the same or not.<br class=""><br class="">Chris<br class=""><br class=""><blockquote type="cite" class="">On 19 Oct 2022, at 2:07 am, Joshua Root <<a href="mailto:jmr@macports.org" class="">jmr@macports.org</a>> wrote:<br class=""><br class="">I can't repro this. The VCS sync logic hasn't changed since the privilege dropping fix in April. The only thing I can think of that might have made a difference is the update to Tcl 8.6 and the associated update of all the try/catch blocks.<br class=""><br class="">All that should be happening between running git and running portindex is the environment restore in VCSCleanup. You might have to do some more digging to figure out a repro recipe I'm afraid.<br class=""><br class="">- Josh<br class=""><br class="">On 2022-10-18 20:09 , Christopher Jones wrote:<br class=""><blockquote type="cite" class="">Hi,<br class="">I’m not running the beta but the current master branch of base, but I guess its similar.<br class="">I’m noticing with the latest version `sudo port sync` just hangs up after updating my local git clone. e.g.<br class="">Oberon ~/Projects/MacPorts/ports > sudo port -d sync<br class="">DEBUG: Copying /Users/chris/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences<br class="">---> Updating the ports tree<br class="">Synchronizing local ports tree from <a href="file:///Users/chris/Projects/MacPorts/ports" class="">file:///Users/chris/Projects/MacPorts/ports</a><br class="">DEBUG: euid/egid changed to: 501/20, env: HOME=/Users/chris SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.vx1uKV7YtR/Listeners<br class="">DEBUG: /opt/local/bin/git pull --rebase --autostash<br class="">DEBUG: system -W /Users/chris/Projects/MacPorts/ports: /opt/local/bin/git pull --rebase --autostash<br class="">Already up to date.<br class="">and thats it, it never gets any further and just hangs up there.<br class="">If I contrl-c the process I can get it to continue.<br class="">^CDEBUG: euid/egid restored to: 0/0, env restored<br class="">DEBUG: system: /opt/local/bin/portindex /Users/chris/Projects/MacPorts/ports<br class="">Creating port index in /Users/chris/Projects/MacPorts/ports<br class="">Total number of ports parsed:<span class="Apple-tab-span" style="white-space:pre"> </span>0<br class="">Ports successfully parsed:<span class="Apple-tab-span" style="white-space:pre"> </span>0<br class="">Ports failed:<span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>0<br class="">Up-to-date ports skipped:<span class="Apple-tab-span" style="white-space:pre"> </span>29934<br class="">any ideas what step its hanging up on ?<br class="">Chris<br class=""><blockquote type="cite" class="">On 14 Oct 2022, at 12:57 am, Joshua Root <<a href="mailto:jmr@macports.org" class="">jmr@macports.org</a>> wrote:<br class=""><br class="">Well, only one issue has been reported against the beta so far (the NULL cxx_stdlib error that Ken saw.) I guess I'll tag an RC soon.<br class=""><br class="">- Josh<br class=""></blockquote></blockquote><br class=""></blockquote><br class=""></div></div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div></blockquote></div></div></blockquote></div><br class=""></div></div></blockquote></div></div></body></html>