Opened 6 years ago

Closed 6 years ago

#56901 closed defect (invalid)

clang-6.0 configure failure

Reported by: dkbarto Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.5.3
Keywords: Cc: larryv (Lawrence Velázquez)
Port: clang-6.0

Description

Updated my macports and tried to install clang-6.0

880_ sudo port install clang-6.0
--->  Computing dependencies for clang-6.0
--->  Fetching distfiles for clang-6.0
--->  Attempting to fetch llvm-6.0.1.src.tar.xz from https://distfiles.macports.org/llvm
--->  Attempting to fetch cfe-6.0.1.src.tar.xz from https://distfiles.macports.org/llvm
--->  Attempting to fetch compiler-rt-6.0.1.src.tar.xz from https://distfiles.macports.org/llvm
--->  Attempting to fetch libcxx-6.0.1.src.tar.xz from https://distfiles.macports.org/llvm
--->  Attempting to fetch clang-tools-extra-6.0.1.src.tar.xz from https://distfiles.macports.org/llvm
--->  Verifying checksums for clang-6.0                                              
--->  Extracting clang-6.0
--->  Applying patches to clang-6.0
Warning: reinplace s|/usr/bin/env python|/opt/local/bin/python2.7|g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-6.0/clang-6.0/work/llvm-6.0.1.src/tools/clang/tools/scan-build/bin/set-xcode-analyzer
--->  Configuring clang-6.0
Error: Failed to configure clang-6.0: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-6.0/clang-6.0/main.log for details.

Sure enough the file doesn't have the expected string for the patch, it starts with

903_ more /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-6.0/clang-6.0/work/llvm-6.0.1.src/tools/clang/tools/scan-build/bin/set-xcode-analyzer
#!/usr/bin/python

Change History (6)

comment:1 Changed 6 years ago by dkbarto

Possibly cmake isn't listed as a requirement for clang-6.0?

:info:configure sh: /opt/local/bin/cmake: No such file or directory

comment:2 Changed 6 years ago by jmroot (Joshua Root)

Cc: larryv added
Summary: clang-6.0 failed to patch set-xcode-analyzer during installclang-6.0 configure failure

Certainly the reinplace should be looked at, but please attach the log file so the full picture can be seen by the maintainers.

comment:3 Changed 6 years ago by dkbarto

Sadly I can't find the log file any longer. I don't recall deleting it.

comment:4 Changed 6 years ago by mf2k (Frank Schima)

It would be deleted if you clean the port. You can locate it as follows:

port logfile clang-6.0
Last edited 6 years ago by mf2k (Frank Schima) (previous) (diff)

comment:5 Changed 6 years ago by dkbarto

Starting from a completely fresh install of MacPorts, this doesn't happen. (Sigh). Close when you have a chance.

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

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.