pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42297: pkgsrc/devel/cmake fails to build, due to xmlrpc-c

>Number:         42297
>Category:       pkg
>Synopsis:       xmlrpc-c seems to be missing libraries required by cmake
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 09 19:25:00 +0000 2009
>Originator:     bharder <>
>Release:        NetBSD 5.0_STABLE
System: NetBSD oxford 5.0_STABLE NetBSD 5.0_STABLE (oxford) #4: Sun Nov 1 
13:23:35 PST 2009 root@oxford:/usr/obj/sys/arch/i386/compile/oxford i386
Architecture: i386
Machine: i386
        In build of pkgsrc/devel/cmake:

        -- Found CURL: /usr/pkg/lib/
        -- Found EXPAT: /usr/pkg/lib/
        CMake Error at Modules/FindXMLRPC.cmake:130 (MESSAGE):
          XMLRPC was not found.  Make sure the entries XMLRPC_* are set.
        Call Stack (most recent call first):
          CMakeLists.txt:310 (FIND_PACKAGE)
          CMakeLists.txt:403 (CMAKE_BUILD_UTILITIES)

-- Configuring incomplete, errors occurred!
Error when bootstrapping CMake:
Problem while running initial CMake
*** Error code 11

I did insert some adhoc MESSAGE("") commands into cmake's 
Modules/FindXMLRPC.cmake and determined that it's failing looking for a C (not 
C++) client library "xmlrpc_client"; there is "xmlrpc_client++".

(patch to view error)

--- ./cmake-2.6.4/Modules/FindXMLRPC.cmake.orig 2009-04-28 13:22:59.000000000 
+++ ./cmake-2.6.4/Modules/FindXMLRPC.cmake
@@ -108,6 +108,7 @@ IF(XMLRPC_FOUND)
       # If any library is not found then the whole package is not found.
       IF(NOT XMLRPC_${name}_LIBRARY)
         SET(XMLRPC_FOUND 0)
+        MESSAGE("Failed at ${name}")
       # Build an ordered list of all the libraries needed.
        cd pkgsrc/devel/cmake; make
        Review xmlrpc_client libraries (not) installed by xmlrpc-c; I believe 
this is only in last couple weeks.

Home | Main Index | Thread Index | Old Index