Opened 3 years ago

Last modified 9 months ago

#56223 assigned defect

clang-6.0 unused regex?

Reported by: gaming-hacker (G Alexander) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: larryv (Lawrence Velázquez), kencu (Ken)
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 (4)

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 22 months 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 22 months 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 9 months ago by kencu (Ken)

Cc: kencu added
Note: See TracTickets for help on using tickets.