Date: Thu, 20 Apr 2017 11:09:49 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218776] devel/llvm39: build failure without EXTRAS Message-ID: <bug-218776-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218776 Bug ID: 218776 Summary: devel/llvm39: build failure without EXTRAS Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: owen@easytarget.org Assignee: brooks@FreeBSD.org Flags: maintainer-feedback?(brooks@FreeBSD.org) LLVM39 compilation without EXTRAS set is failing similarly to bug #208773 =3D=3D=3D> Cleaning for llvm39-3.9.1_5 =3D=3D=3D> License LLVM accepted by the user =3D=3D=3D> llvm39-3.9.1_5 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by llvm39-3.9.1_5 for building =3D=3D=3D> Extracting for llvm39-3.9.1_5 =3D> SHA256 Checksum OK for llvm-3.9.1.src.tar.xz. =3D> SHA256 Checksum OK for cfe-3.9.1.src.tar.xz. =3D> SHA256 Checksum OK for compiler-rt-3.9.1.src.tar.xz. =3D> SHA256 Checksum OK for lld-3.9.1.src.tar.xz. /bin/mv /usr/ports/devel/llvm39/work/cfe-3.9.1.src /usr/ports/devel/llvm39/work/llvm-3.9.1.src/tools/clang /bin/mv /usr/ports/devel/llvm39/work/lld-3.9.1.src /usr/ports/devel/llvm39/work/llvm-3.9.1.src/tools/lld =3D=3D=3D> Patching for llvm39-3.9.1_5 sed: tools/clang/tools/extra/clang-tidy/tool/clang-tidy-diff.py: No such fi= le or directory *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/llvm39 *** Error code 1 Stop. make: stopped in /usr/ports/devel/llvm39 Adapting the solution from bug #208773 solved this for me; I dont build from SVN, so no proper patch proper patch, but the following diff shows what I d= id: --- llvm39.Makefile.dist 2017-04-20 12:42:58.091014000 +0200 +++ llvm39.Makefile.works 2017-04-19 12:57:02.046708000 +0200 @@ -35,10 +35,7 @@ SHEBANG_FILES=3D utils/lit/lit.py utils/llvm-lit/llvm-lit.in \ tools/clang/tools/scan-view/bin/scan-view \ tools/clang/tools/clang-format/git-clang-format \ - tools/clang/tools/clang-format/clang-format-diff.py \ - tools/clang/tools/extra/clang-tidy/tool/clang-tidy-diff.py \ - tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \ -=20=20=20=20=20=20=20=20=20=20=20=20=20=20 tools/clang/tools/extra/include-fixer/find-all-symbols/tool/run-find-all-sy= mbols.py + tools/clang/tools/clang-format/clang-format-diff.py SUB_FILES=3D llvm-wrapper.sh SUB_LIST=3D LLVM_PREFIX=3D"${LLVM_PREFIX}" LLVM_SUFFIX=3D"${LLVM_SUFF= IX}" @@ -284,6 +281,10 @@ COMMANDS+=3D ${EXTRAS_COMMANDS} MAN1SRCS+=3D extraclangtools.1 PORTDOCS+=3D clang-tools + +SHEBANG_FILES+=3D tools/clang/tools/extra/clang-tidy/tool/clang-tidy-diff.= py \ + tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \ +=20=20=20=20=20=20=20=20=20=20=20=20=20=20 tools/clang/tools/extra/include-fixer/find-all-symbols/tool/run-find-all-sy= mbols.py .endif .if ${PORT_OPTIONS:MLLD} I'm wondering if this also applies to llvm38,40 and others 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-218776-13>