[kde-freebsd] [Bug 200969] cmake: missing library /usr/local/lib/libjsoncpp.so

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 19 11:52:29 UTC 2015


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

            Bug ID: 200969
           Summary: cmake: missing library /usr/local/lib/libjsoncpp.so
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: pvoigt at uos.de
          Assignee: kde at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)

When building latest devel/cmake on 10.1-RELEASE-p13 (amd64)

# portmaster --no-confirm --no-term-title -D -G cmake

there is an error about missing library /usr/local/lib/libjsoncpp.so

...

===>  Installing for cmake-3.2.3
===>  Checking if cmake already installed
===>   Registering installation for cmake-3.2.3 as automatic  
(cmake-3.2.3) /usr/ports/devel/cmake/work/stage//usr/local/bin/ccmake -
required shared library /usr/local/lib/libjsoncpp.so not found
(cmake-3.2.3) /usr/ports/devel/cmake/work/stage//usr/local/bin/cmake -
required shared library /usr/local/lib/libjsoncpp.so not found
(cmake-3.2.3) /usr/ports/devel/cmake/work/stage//usr/local/bin/cpack -
required shared library /usr/local/lib/libjsoncpp.so not found
(cmake-3.2.3) /usr/ports/devel/cmake/work/stage//usr/local/bin/ctest -
required shared library /usr/local/lib/libjsoncpp.so not found
Installing cmake-3.2.3...

===>>> Re-installation of cmake-3.2.3 succeeded  

===>>> The following actions were performed:  
        Re-installation of cmake-modules-3.2.3
        Re-installation of cmake-3.2.3

However:

# ls -l /usr/local/lib/libjsoncpp*
-rw-r--r-- 1 root wheel 535316 Jun 17 20:22 /usr/local/lib/libjsoncpp.a
lrwxr-xr-x 1 root wheel     15 Jun 17
20:22 /usr/local/lib/libjsoncpp.so -> libjsoncpp.so.0 -r--r--r-- 1 root
wheel 348376 Jun 17 20:22 /usr/local/lib/libjsoncpp.so.0

Build finished just fine but during installation registration of shared
libraries failed. This can be verified with pkg:

# pkg check -Bnv cmake                                           
[1/1] Checking cmake-3.2.3: shared
libraries...(cmake-3.2.3) /usr/local/bin/ccmake - required shared
library /usr/local/lib/libjsoncpp.so not found
(cmake-3.2.3) /usr/local/bin/cmake - required shared
library /usr/local/lib/libjsoncpp.so not found
(cmake-3.2.3) /usr/local/bin/cpack - required shared
library /usr/local/lib/libjsoncpp.so not found
(cmake-3.2.3) /usr/local/bin/ctest - required shared
library /usr/local/lib/libjsoncpp.so not found done

Build process obviosuly finishes just fine but installation has problem to
register/find the above library. To exclude any portmaster issue I have tested
with plain make; make install:

# make install  
===>  Installing for cmake-3.2.3
===>   cmake-3.2.3 depends on file: /usr/local/share/cmake/Modules/CMake.cmake
- found
===>   cmake-3.2.3 depends on shared library: libcurl.so - found
(/usr/local/lib/libcurl.so)
===>   cmake-3.2.3 depends on shared library: libexpat.so - found
(/usr/local/lib/libexpat.so)
===>   cmake-3.2.3 depends on shared library: libjsoncpp.so - found
(/usr/local/lib/libjsoncpp.so)
===>  Checking if cmake already installed
===>   Registering installation for cmake-3.2.3
(cmake-3.2.3) /usr/ports/devel/cmake/work/stage//usr/local/bin/ccmake -
required shared library /usr/local/lib/libjsoncpp.so not found
(cmake-3.2.3) /usr/ports/devel/cmake/work/stage//usr/local/bin/cmake - required
shared library /usr/local/lib/libjsoncpp.so not found
(cmake-3.2.3) /usr/ports/devel/cmake/work/stage//usr/local/bin/cpack - required
shared library /usr/local/lib/libjsoncpp.so not found
(cmake-3.2.3) /usr/ports/devel/cmake/work/stage//usr/local/bin/ctest - required
shared library /usr/local/lib/libjsoncpp.so not found
Installing cmake-3.2.3...

Issue is diskussed on the list as well:
https://www.mail-archive.com/freebsd-ports@freebsd.org/msg65254.html

Peter

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


More information about the kde-freebsd mailing list