Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2017 18:49:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222964] devel/llvm50: clangd, libclangDemon.a should be in EXTRAS, not CLANG
Message-ID:  <bug-222964-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 222964
           Summary: devel/llvm50: clangd, libclangDemon.a should be in
                    EXTRAS, not CLANG
           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: greenreaper@hotmail.com
          Assignee: brooks@FreeBSD.org
             Flags: maintainer-feedback?(brooks@FreeBSD.org)

Created attachment 187113
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D187113&action=
=3Dedit
pkg-plist patch which moves libclangDaemon.a to EXTRAS

Clangd is listed as one of the clang "extras":
https://clang.llvm.org/extra/clangd.html

When compiling using portinstall with just CLANG, GOLD and OPENMP, I receiv=
ed
the following install error:

=3D=3D=3D>   Installing ldconfig configuration file
--->  Installing the new version via the port
=3D=3D=3D>  Installing for llvm50-5.0.0_1
=3D=3D=3D>   llvm50-5.0.0_1 depends on package: perl5>=3D5.22<5.23 - found
=3D=3D=3D>   llvm50-5.0.0_1 depends on shared library: libedit.so.0 - found
(/usr/local/lib/libedit.so.0)
=3D=3D=3D>   llvm50-5.0.0_1 depends on shared library: libxml2.so - found
(/usr/local/lib/libxml2.so)
=3D=3D=3D>   Registering installation for llvm50-5.0.0_1
pkg-static: Unable to access file
/tmp/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/bin/clangd:No such =
file
or directory
pkg-static: Unable to access file
/tmp/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/libclangDaemon.=
a:No
such file or directory
*** Error code 74

Stop.
make[2]: stopped in /usr/ports/devel/llvm50

The files in question are referenced in pkg-plist:

%%CLANG%%llvm%%LLVM_LIB_VER%%/bin/clangd
%%CLANG%%llvm%%LLVM_LIB_VER%%/lib/libclangDaemon.a

While it does not fail the installation, this installed shortcut doesn't wo=
rk
because the file in question does not exist; it should also be part of EXTR=
AS:

%%CLANG%%bin/clangd%%LLVM_SUFFIX%%

--=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-222964-13>