[Bug 208773] devel/llvm37: build failure unless EXTRAS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 13 12:34:05 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208773

            Bug ID: 208773
           Summary: devel/llvm37: build failure unless EXTRAS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks at FreeBSD.org
          Reporter: freebsd at oldach.net
             Flags: maintainer-feedback?(brooks at FreeBSD.org)
          Assignee: brooks at FreeBSD.org

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

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

Stop.
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
.if ${PORT_OPTIONS:MEXTRAS}
.endif
clause.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list