Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2019 04:47:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236542] devel/llvm80: rc5 build fails to patch without EXTRAS
Message-ID:  <bug-236542-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236542

            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@FreeBSD.org
          Reporter: greenreaper@hotmail.com
             Flags: maintainer-feedback?(brooks@FreeBSD.org)
          Assignee: brooks@FreeBSD.org

Created attachment 202871
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D202871&action=
=3Dedit
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-sy=
mbols.py

Adding EXTRAS allows the patching and configuration phases to complete.

The files mentioned are included within the Makefile twice, once in the ini=
tial
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 bu=
ild
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236542-7788>