[MacPorts] #66031: selfupdate throws error changing directory permissions on Monterey and Big Sur

MacPorts noreply at macports.org
Fri Oct 21 15:45:31 UTC 2022


#66031: selfupdate throws error changing directory permissions on Monterey and Big
Sur
--------------------------+-----------------------------
  Reporter:  petermichor  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:  2.8.0
Resolution:               |   Keywords:  bigsur monterey
      Port:               |
--------------------------+-----------------------------

Comment (by jculpon):

 I can confirm that I was also impacted by this on Monterey and Big Sur
 x86; it looked like the specific error I hit was:
 {{{
 % sudo port -v selfupdate
 Password:
 --->  Updating MacPorts base sources using rsync

 Willkommen auf dem RSYNC-server auf ftp.fau.de.
 Nicht all unsere Mirror sind per rsync verfuegbar.

 Welcome to the RSYNC daemon on ftp.fau.de.
 Not all of our mirrors are available through rsync.


 receiving file list ... done
 ./

 sent 66 bytes  received 98 bytes  65.60 bytes/sec
 total size is 113716736  speedup is 693394.73
 MacPorts base version 2.8.0 installed,
 MacPorts base version 2.8.0 downloaded.
 --->  Updating the ports tree
 Synchronizing local ports tree from
 rsync://rsync.macports.org/macports/release/tarballs/ports.tar

 Willkommen auf dem RSYNC-server auf ftp.fau.de.
 Nicht all unsere Mirror sind per rsync verfuegbar.

 Welcome to the RSYNC daemon on ftp.fau.de.
 Not all of our mirrors are available through rsync.


 receiving file list ... done
 ./

 sent 68 bytes  received 99 bytes  66.80 bytes/sec
 total size is 100107776  speedup is 599447.76
 Creating port index in
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports
 Warning: Failed to open old entry for python/py-wheel, making a new one
 Adding port python/py-wheel
 Failed to parse file python/py-wheel/Portfile with subport 'py27-wheel':
 wrong # args: extra words after "else" clause in "if" command
 Failed to parse file python/py-wheel/Portfile with subport 'py34-wheel':
 wrong # args: extra words after "else" clause in "if" command
 Failed to parse file python/py-wheel/Portfile with subport 'py35-wheel':
 wrong # args: extra words after "else" clause in "if" command
 Failed to parse file python/py-wheel/Portfile with subport 'py36-wheel':
 wrong # args: extra words after "else" clause in "if" command
 Failed to parse file python/py-wheel/Portfile with subport 'py37-wheel':
 wrong # args: extra words after "else" clause in "if" command
 Failed to parse file python/py-wheel/Portfile with subport 'py38-wheel':
 wrong # args: extra words after "else" clause in "if" command
 Failed to parse file python/py-wheel/Portfile with subport 'py39-wheel':
 wrong # args: extra words after "else" clause in "if" command
 Failed to parse file python/py-wheel/Portfile with subport 'py310-wheel':
 wrong # args: extra words after "else" clause in "if" command

 Total number of ports parsed:   9
 Ports successfully parsed:      1
 Ports failed:                   8
 Up-to-date ports skipped:       29923

 --->  MacPorts base is already the latest version

 The ports tree has been updated. To upgrade your installed ports, you
 should run
   port upgrade outdated
 }}}

 After rerunning self update another time the tree updated fine.

-- 
Ticket URL: <https://trac.macports.org/ticket/66031#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list