Opened 4 years ago

Last modified 3 years ago

#60173 assigned defect

clang-9.0@9.0.1 +debug Failed to destroot clang-9.0: reinplace sed(1) failed — at Version 8

Reported by: nasyxx (Nasy) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: Cc: larryv (Lawrence Velázquez), kencu (Ken)
Port: clang-9.0

Description (last modified by kencu (Ken))

When I install Next from https://github.com/atlas-engineer/next, it needs MacPorts clang to build. But when I installed clang-9.0, it failed at the very end step.

--->  Fetching distfiles for clang-9.0
--->  Verifying checksums for clang-9.0
--->  Extracting clang-9.0
--->  Applying patches to clang-9.0
Warning: reinplace s|/usr/bin/env python|/Users/Nasy/.macports/bin/python2.7|g didn't change anything in /Users/Nasy/.macports/var/macports/build/_Users_Nasy_.macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/clang-9.0/work/llvm-9.0.1.src/tools/clang/tools/scan-build/bin/set-xcode-analyzer
--->  Configuring clang-9.0
--->  Building clang-9.0
--->  Staging clang-9.0 into destroot
Error: reinplace: couldn't read file "/Users/Nasy/.macports/var/macports/build/_Users_Nasy_.macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/clang-9.0/work/destroot/Users/Nasy/.macports/libexec/llvm-9.0/lib/cmake/clang/ClangTargets-release.cmake": no such file or directory
Error: Failed to destroot clang-9.0: reinplace sed(1) failed
Error: See /Users/Nasy/.macports/var/macports/logs/_Users_Nasy_.macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/clang-9.0/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port Next failed

Change History (9)

Changed 4 years ago by nasyxx (Nasy)

Attachment: main.log.zip added

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Cc: larryv kencu added
Keywords: haspatch removed
Owner: set to jeremyhu
Status: newassigned

comment:2 Changed 4 years ago by kencu (Ken)

do you have the option of installing into /opt/local ?

comment:3 Changed 4 years ago by nasyxx (Nasy)

Sorry, I can't. /opt/local is occupied by something else, I don't want to mix MacPorts with them.

I configured MacPorts with

./configure --prefix=/Users/Nasy/.macports/ --enable-readline

Hope this is not a problem caused by changing the prefix.

comment:4 Changed 4 years ago by kencu (Ken)

OK.

Do you have to use the +debug option? That is not often used, and perhaps your build might succeed without it, as it appears that could be part of this issue (until it gets looked into at least).

comment:5 in reply to:  4 ; Changed 4 years ago by nasyxx (Nasy)

Thanks! I'll have a try.

comment:6 in reply to:  5 Changed 4 years ago by nasyxx (Nasy)

It works without using the +debug option. Thanks!

comment:7 Changed 4 years ago by kencu (Ken)

Keywords: catalina removed
Summary: clang-9.0@9.0.1+analyzer+debug+debug+libstdcxx: Failed to destroot clang-9.0: reinplace sed(1) failedclang-9.0@9.0.1 +debug Failed to destroot clang-9.0: reinplace sed(1) failed

comment:8 Changed 4 years ago by kencu (Ken)

Description: modified (diff)
Note: See TracTickets for help on using tickets.