[Bug 236542] devel/llvm80: rc5 build fails to patch without EXTRAS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 15 04:47:53 UTC 2019


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

            Bug ID: 236542
           Summary: devel/llvm80: rc5 build fails to patch without EXTRAS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks at FreeBSD.org
          Reporter: greenreaper at hotmail.com
             Flags: maintainer-feedback?(brooks at FreeBSD.org)
          Assignee: brooks at FreeBSD.org

Created attachment 202871
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202871&action=edit
Failed build log without EXTRAS

I configured llvm80-8.0.0.r5 to build only the following:
CLANG - GOLD - LLD - OPENMP
with the BE_NATIVE option.

On attempting to build via portinstall, it attempted to patch the following
files, which did not exist because they are extra tools, causing the make to
fail:
tools/clang/tools/extra/clang-tidy/tool/clang-tidy-diff.py
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py
tools/clang/tools/extra/include-fixer/find-all-symbols/tool/run-find-all-symbols.py

Adding EXTRAS allows the patching and configuration phases to complete.

The files mentioned are included within the Makefile twice, once in the initial
SHEBANG_FILES and then again in the section guarded by:
.if ${PORT_OPTIONS:MCLANG}

However removing the three files from the first SHEBANG_FILES causes the build
to subsequently prompt for a patch. Only after moving ths file:
patch-tools_clang_tools_extra_clang-doc_tool_CMakeLists.txt

...from the files directory will the build then proceed past patching and
configuration and begin to build without EXTRAS.

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


More information about the freebsd-ports-bugs mailing list