Bug 208773

Summary: devel/llvm37: build failure unless EXTRAS
Product: Ports & Packages Reporter: Helge Oldach <freebsd>
Component: Individual Port(s)Assignee: Brooks Davis <brooks>
Status: Closed FIXED    
Severity: Affects Many People CC: freebsd
Priority: --- Flags: bugzilla: maintainer-feedback? (brooks)
Version: Latest   
Hardware: Any   
OS: Any   

Description Helge Oldach 2016-04-13 12:34:04 UTC
When the EXTRAS option is /not/ set, building fails as follows:

/bin/rm -f /usr/obj/usr/ports/devel/llvm37/work/llvm-3.7.1.src/tools/clang/tools/scan-view/Reporter.py
/bin/rm -f /usr/obj/usr/ports/devel/llvm37/work/llvm-3.7.1.src/tools/clang/tools/scan-view/ScanView.py
/bin/rm -f /usr/obj/usr/ports/devel/llvm37/work/llvm-3.7.1.src/tools/clang/tools/scan-view/scan-view
/bin/rm -f /usr/obj/usr/ports/devel/llvm37/work/llvm-3.7.1.src/tools/clang/tools/scan-view/startfile.py
===>  Patching for llvm37-3.7.1_2
sed: tools/clang/tools/extra/clang-tidy/tool/clang-tidy-diff.py: No such file or directory
*** Error code 1

make[1]: stopped in /usr/ports/devel/llvm37
*** Error code 1

make: stopped in /usr/ports/devel/llvm37

The reason is that the shebang fix introduced in r413159 touches a file that is not present without EXTRAS.

Bug fix is trivial: include SHEBANG_FILES within a
Comment 1 commit-hook freebsd_committer 2016-04-13 21:55:38 UTC
A commit references this bug:

Author: brooks
Date: Wed Apr 13 21:54:46 UTC 2016
New revision: 413231
URL: https://svnweb.freebsd.org/changeset/ports/413231

  Fix build with EXTRAS disabled.

  PR:		208773
  Submitted by:	Helge Oldach <freebsd@oldach.net>

Comment 2 Brooks Davis freebsd_committer 2016-04-13 23:44:43 UTC
Thanks for the report.