[MacPorts] #66282: gcc12-libcxx patch phase fails on High Sierra

MacPorts noreply at macports.org
Thu Nov 17 07:59:38 UTC 2022

#66282: gcc12-libcxx patch phase fails on High Sierra
 Reporter:  blair   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  gcc12-libcxx
 # uname -a
 Darwin foobar.local 17.7.0 Darwin Kernel Version 17.7.0: Fri Oct 30
 13:34:27 PDT 2020; root:xnu-4570.71.82.8~1/RELEASE_X86_64 x86_64 i386
 # port -v clean gcc12-libcxx
 --->  Cleaning gcc12-libcxx
 --->  Removing work directory for gcc12-libcxx
 # ls /opt/local/var/macports/build/
 # port -v outdated
 The following installed ports are outdated:
 gcc12                          12.2.0_1 < 12.2.0_2
 # port -v upgrade --enforce-variants outdated
 --->  Computing dependencies for gcc12-libcxx.
 --->  Fetching distfiles for gcc12-libcxx
 --->  Verifying checksums for gcc12-libcxx
 --->  Extracting gcc12-libcxx
 --->  Patching Makefile.in: s|^do-compare =|do-compare = /usr/bin/true|g
 Error: reinplace: couldn't read file "/opt/local/var/macports/build
 ports.git_lang_gcc12/gcc12-libcxx/work/gcc-12.2.0/Makefile.in": no such
 file or directory
 Error: Failed to patch gcc12-libcxx: reinplace sed(1) failed
 Error: See /opt/local/var/macports/logs
 ports.git_lang_gcc12/gcc12-libcxx/main.log for details.
 Error: Problem while installing gcc12-libcxx
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 is a bug.
 Command exited with non-zero status 1
 2.29user 1.22system 0:03.70elapsed 94%CPU (0avgtext+0avgdata
 0inputs+0outputs (2major+49672minor)pagefaults 0swaps

Ticket URL: <https://trac.macports.org/ticket/66282>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list