Opened 7 years ago

Closed 4 years ago

#54972 closed defect (worksforme)

clang-devel @devel-r365158+analyzer+assertions+libstdcxx: patch warning

Reported by: dstrubbe (David Strubbe) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Low Milestone:
Component: ports Version:
Keywords: Cc: larryv (Lawrence Velázquez), kencu (Ken)
Port: clang-5.0 clang-6.0 clang-7.0 clang-8.0 clang-devel

Description

Building, I got this warning, which suggests the reinplace may need to be updated. This is on OSX 10.12.6.

--->  Applying patches to clang-4.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-4.0/clang-4.0/work/llvm-4.0.1.src/tools/clang/tools/scan-build/bin/set-xcode-analyzer

I notice the top of the file in question says

#!/usr/bin/python

# [PR 11661] Note that we hardwire to /usr/bin/python because we
# want to the use the system version of Python on Mac OS X.
# This one has the scripting bridge enabled.

Change History (7)

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

Cc: larryv@… added
Owner: changed from jeremyhu, larryv@… to jeremyhu
Status: newassigned

Note that only one person can be the ticket's Owner.

comment:2 Changed 7 years ago by neverpanic (Clemens Lang)

Cc: larryv added; larryv@… removed

The Cc field also takes GitHub user names.

comment:3 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Resolution: wontfix
Status: assignedclosed

llvm-4.0 & clang-4.0 have been declared obsoleted in [7615202b212d36d0598b5775cb33020a916462ac/macports-ports].

comment:4 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Port: clang-5.0 clang-6.0 clang-7.0 clang-8.0 clang-devel added; clang-4.0 removed
Resolution: wontfix
Status: closedreopened

Sorry closing too fast. The relevant file still exists in newer clang.

comment:5 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Summary: clang-4.0 @4.0.1_2+analyzer+libstdcxx: patch warningclang-devel @devel-r365158+analyzer+assertions+libstdcxx: patch warning

Example warning for newer clang: (from https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/34185/steps/install-port/logs/stdio)

Warning: reinplace s|/usr/bin/env python|/opt/local/bin/python2.7|g didn't change anything in /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-devel/clang-devel/work/trunk/tools/clang/tools/scan-build/bin/set-xcode-analyzer

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

Cc: kencu added

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

Resolution: worksforme
Status: reopenedclosed
Note: See TracTickets for help on using tickets.