[MacPorts] #70853: MacPort silently fails when upgrading crystal
MacPorts
noreply at macports.org
Sat Sep 21 13:01:20 UTC 2024
#70853: MacPort silently fails when upgrading crystal
---------------------+--------------------
Reporter: anta40 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Resolution: | Keywords:
Port: |
---------------------+--------------------
Old description:
> Yesterday, I installed
> [[https://ports.macports.org/port/crystal/|Crystal]]. So far works fine.
> About 10 minutes ago, I ran `sudo port selfupdate` and found this:
>
> {{{
> ---> Checking for newer releases of MacPorts
> MacPorts base version 2.10.1 installed,
> MacPorts base version 2.10.1 available.
> ---> MacPorts base is already the latest version
> ---> Updating the ports tree
>
> The ports tree has been updated.
>
> 2 ports are outdated. Run 'port outdated' for details.
> To upgrade your installed ports, you should run
> port upgrade outdated
> }}}
>
> OK, let's run `port upgrade outdated`
> {{{
> version:1
> :debug:main Starting logging for crystal @1.13.3_0
> :debug:sysinfo macOS 12.7.6 (darwin/21.6.0) arch i386
> :debug:sysinfo MacPorts 2.10.1
> :debug:sysinfo Xcode none, CLT 14.2.0.0.1.1668646533
> :debug:sysinfo SDK 12
> :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
> :msg:main ---> Computing dependencies for crystal:info:main .:debug:main
> crystal has no conflicts
> :debug:main Searching for dependency: boehmgc
> :debug:main Found Dependency: receipt exists for boehmgc
> :debug:main Searching for dependency: gmp
> :debug:main Found Dependency: receipt exists for gmp
> :debug:main Searching for dependency: libevent
> :debug:main Found Dependency: receipt exists for libevent
> :debug:main Searching for dependency: libiconv
> :debug:main Found Dependency: receipt exists for libiconv
> :debug:main Searching for dependency: libxml2
> :debug:main Found Dependency: receipt exists for libxml2
> :debug:main Searching for dependency: libyaml
> :debug:main Found Dependency: receipt exists for libyaml
> :debug:main Searching for dependency: llvm-18
> :debug:main Found Dependency: receipt exists for llvm-18
> :debug:main Searching for dependency: openssl
> :debug:main Found Dependency: receipt exists for openssl
> :debug:main Searching for dependency: pcre
> :debug:main Found Dependency: receipt exists for pcre
> :debug:main Searching for dependency: zlib
> :debug:main Found Dependency: receipt exists for zlib
> :debug:main Searching for dependency: pkgconfig
> :debug:main Found Dependency: receipt exists for pkgconfig
> :debug:main Executing org.macports.main (crystal)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:archivefetch archivefetch phase started at Sat Sep 21 18:33:10 WIB
> 2024
> :msg:archivefetch ---> Fetching archive for crystal
> :warn:archivefetch Your DNS servers incorrectly claim to know the address
> of nonexistent hosts. This may cause checksum mismatches for some ports.
> See this page for more information:
> <https://trac.macports.org/wiki/MisbehavingServers>
> :debug:archivefetch Executing org.macports.archivefetch (crystal)
> :info:archivefetch ---> crystal-1.13.3_0.darwin_21.x86_64.tbz2 doesn't
> seem to exist in /opt/local/var/macports/incoming/verified
> :error:archivefetch Failed to archivefetch crystal:
> /opt/local/var/macports/incoming/verified must be writable
> :debug:archivefetch Error code: NONE
> :debug:archivefetch Backtrace: /opt/local/var/macports/incoming/verified
> must be writable
> :debug:archivefetch while executing
> :debug:archivefetch "portarchivefetch::fetchfiles"
> :debug:archivefetch (procedure "portarchivefetch::archivefetch_main"
> line 5)
> :debug:archivefetch invoked from within
> :debug:archivefetch "$procedure $targetname"
> :error:archivefetch See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_crystal/crystal/main.log
> for details.
> }}}
>
> Whoops. Perhaps I forgot `sudo`? So I tried again.
>
> {{{
> $ sudo port upgrade outdated`
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> }}}
>
> It silently fails. Rebooting my Mac (Monterey 12.7.6) doesn't solve the
> issue.
New description:
Yesterday, I installed
[[https://ports.macports.org/port/crystal/|Crystal]]. So far works fine.
About 10 minutes ago, I ran `sudo port selfupdate` and found this:
{{{
---> Checking for newer releases of MacPorts
MacPorts base version 2.10.1 installed,
MacPorts base version 2.10.1 available.
---> MacPorts base is already the latest version
---> Updating the ports tree
The ports tree has been updated.
2 ports are outdated. Run 'port outdated' for details.
To upgrade your installed ports, you should run
port upgrade outdated
}}}
OK, let's run `port upgrade outdated`
{{{
version:1
:debug:main Starting logging for crystal @1.13.3_0
:debug:sysinfo macOS 12.7.6 (darwin/21.6.0) arch i386
:debug:sysinfo MacPorts 2.10.1
:debug:sysinfo Xcode none, CLT 14.2.0.0.1.1668646533
:debug:sysinfo SDK 12
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
:msg:main ---> Computing dependencies for crystal:info:main .:debug:main
crystal has no conflicts
:debug:main Searching for dependency: boehmgc
:debug:main Found Dependency: receipt exists for boehmgc
:debug:main Searching for dependency: gmp
:debug:main Found Dependency: receipt exists for gmp
:debug:main Searching for dependency: libevent
:debug:main Found Dependency: receipt exists for libevent
:debug:main Searching for dependency: libiconv
:debug:main Found Dependency: receipt exists for libiconv
:debug:main Searching for dependency: libxml2
:debug:main Found Dependency: receipt exists for libxml2
:debug:main Searching for dependency: libyaml
:debug:main Found Dependency: receipt exists for libyaml
:debug:main Searching for dependency: llvm-18
:debug:main Found Dependency: receipt exists for llvm-18
:debug:main Searching for dependency: openssl
:debug:main Found Dependency: receipt exists for openssl
:debug:main Searching for dependency: pcre
:debug:main Found Dependency: receipt exists for pcre
:debug:main Searching for dependency: zlib
:debug:main Found Dependency: receipt exists for zlib
:debug:main Searching for dependency: pkgconfig
:debug:main Found Dependency: receipt exists for pkgconfig
:debug:main Executing org.macports.main (crystal)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Sat Sep 21 18:33:10 WIB
2024
:msg:archivefetch ---> Fetching archive for crystal
:warn:archivefetch Your DNS servers incorrectly claim to know the address
of nonexistent hosts. This may cause checksum mismatches for some ports.
See this page for more information:
<https://trac.macports.org/wiki/MisbehavingServers>
:debug:archivefetch Executing org.macports.archivefetch (crystal)
:info:archivefetch ---> crystal-1.13.3_0.darwin_21.x86_64.tbz2 doesn't
seem to exist in /opt/local/var/macports/incoming/verified
:error:archivefetch Failed to archivefetch crystal:
/opt/local/var/macports/incoming/verified must be writable
:debug:archivefetch Error code: NONE
:debug:archivefetch Backtrace: /opt/local/var/macports/incoming/verified
must be writable
:debug:archivefetch while executing
:debug:archivefetch "portarchivefetch::fetchfiles"
:debug:archivefetch (procedure "portarchivefetch::archivefetch_main"
line 5)
:debug:archivefetch invoked from within
:debug:archivefetch "$procedure $targetname"
:error:archivefetch See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_crystal/crystal/main.log
for details.
}}}
Whoops. Perhaps I forgot `sudo`? So I tried again.
{{{
$ sudo port upgrade outdated
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
}}}
It silently fails. Rebooting my Mac (Monterey 12.7.6) doesn't solve the
issue.
--
Comment (by ryandesign):
Try debug mode (`sudo port -d upgrade outdated`) to see what's going on.
--
Ticket URL: <https://trac.macports.org/ticket/70853#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list