Nethack fails during patching on Ventura 13.2
Jon Lasser
jon at lasser.org
Mon Feb 6 20:11:55 UTC 2023
MacPorts 2.8.1, ran selfupdate, updated all installed ports.
* ok* jon at MadMax ~% *sudo port clean --dist nethack*
---> Cleaning nethack
* ok* jon at MadMax ~% *sudo port install nethack*
---> Computing dependencies for nethack
---> Fetching archive for nethack
---> Attempting to fetch nethack-3.6.6_0.darwin_22.arm64.tbz2 from https://packages.macports.org/nethack
---> Attempting to fetch nethack-3.6.6_0.darwin_22.arm64.tbz2 from http://mirror.fcix.net/macports/packages/nethack
---> Attempting to fetch nethack-3.6.6_0.darwin_22.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/nethack
---> Fetching distfiles for nethack
---> Attempting to fetch nethack-366-src.tgz from https://distfiles.macports.org/nethack
---> Verifying checksums for nethack
---> Extracting nethack
---> Applying patches to nethack
At this point it did nothing and CPU usage went to zero. I hit enter twice, and got this:
Error: Failed to patch nethack: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_nethack/nethack/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port nethack failed
1 jon at MadMax ~%
The bottom of the logfile reads:
:debug:patch patch phase started at Mon Feb 6 12:09:21 PST 2023
:debug:patch Executing org.macports.patch (nethack)
:notice:patch ---> Applying patches to nethack
:info:patch ---> Applying patch-gamestate-dir.diff
:debug:patch Creating patch directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_nethack/nethack/work/nethack-3.6.6
:debug:patch Environment:
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_nethack/nethack/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='13.0'
:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
:info:patch Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_nethack/nethack/work/nethack-3.6.6" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/games/nethack/files/patch-gamestate-dir.diff'
:debug:patch system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_nethack/nethack/work/nethack-3.6.6" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/games/nethack/files/patch-gamestate-dir.diff'
:info:patch File to patch: No file found--skip this patch? [y] 3 out of 3 hunks ignored--saving rejects to Oops.rej
:info:patch Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_nethack/nethack/work/nethack-3.6.6" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/games/nethack/files/patch-gamestate-dir.diff'
:info:patch Exit code: 1
:error:patch Failed to patch nethack: command execution failed
:debug:patch Error code: CHILDSTATUS 97029 1
:debug:patch Backtrace: command execution failed
:debug:patch while executing
:debug:patch "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:patch invoked from within
:debug:patch "command_exec patch "" "< '$patch'""
:debug:patch (procedure "portpatch::patch_main" line 41)
:debug:patch invoked from within
:debug:patch "$procedure $targetname"
:error:patch See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_nethack/nethack/main.log for details.
Anything obvious I should do?
--
Web: twoideas.org / Twitter: @disappearinjon / Mailing list: bit.ly/difficultsf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20230206/9ee36970/attachment.htm>
More information about the macports-users
mailing list