Opened 3 years ago

Last modified 3 months ago

#56223 assigned defect

clang-6.0 unused regex?

Reported by: gaming-hacker (G Alexander) Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: larryv (Lawrence Velázquez), jeremyhu (Jeremy Huddleston Sequoia)
Port: clang-6.0

Description

Hello, I upgraded to latest clang-6.0 and received the following warning.

Full Name: clang-6.0 @6.0.0+analyzer+libstdcxx

--->  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/_HOME_local_macports-ports_lang_llvm-6.0/clang-6.0/work/llvm-6.0.0.src/tools/clang/tools/scan-build/bin/set-xcode-analyzer

port seems to build ok and running tests now.

Change History (5)

comment:1 Changed 2 years ago by mf2k (Frank Schima)

Cc: jeremyhu removed
Keywords: regex removed
Owner: set to jeremyhu
Status: newassigned

comment:2 Changed 2 years ago by chrstphrchvz (Christopher Chavez)

This warning appears with other versions of clang as well, since the same replacement is being done by their portfiles (I just observed it for clang-7.0 7.0.1).

According to https://github.com/llvm-mirror/clang/commit/5a15d92206f8ef357c49d6993a6ec4a85bde7b8f, the shebang in set-xcode-analyzer has been /usr/bin/python for several years.

comment:3 in reply to:  2 Changed 2 years ago by chrstphrchvz (Christopher Chavez)

Replying to chrstphrchvz:

This warning appears with other versions of clang as well, since the same replacement is being done by their portfiles

See #54972 (clang-4.0)

comment:4 Changed 14 months ago by kencu (Ken)

Cc: kencu added

comment:5 Changed 3 months ago by kencu (Ken)

Cc: jeremyhu added; kencu removed
Owner: changed from jeremyhu to kencu
Note: See TracTickets for help on using tickets.