[Bug 222964] devel/llvm50: clangd, libclangDemon.a should be in EXTRAS, not CLANG

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 12 18:49:22 UTC 2017


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

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

Created attachment 187113
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=187113&action=edit
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 received
the following install error:

===>   Installing ldconfig configuration file
--->  Installing the new version via the port
===>  Installing for llvm50-5.0.0_1
===>   llvm50-5.0.0_1 depends on package: perl5>=5.22<5.23 - found
===>   llvm50-5.0.0_1 depends on shared library: libedit.so.0 - found
(/usr/local/lib/libedit.so.0)
===>   llvm50-5.0.0_1 depends on shared library: libxml2.so - found
(/usr/local/lib/libxml2.so)
===>   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 work
because the file in question does not exist; it should also be part of EXTRAS:

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

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


More information about the freebsd-ports-bugs mailing list