NetBSD Problem Report #42297

From bharder@methodlogic.net  Mon Nov  9 19:23:16 2009
Return-Path: <bharder@methodlogic.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 9B16363B8CD
	for <gnats-bugs@gnats.netbsd.org>; Mon,  9 Nov 2009 19:23:16 +0000 (UTC)
Message-Id: <20091109181222.GA16789@methodlogic.net>
Date: Mon, 9 Nov 2009 10:12:23 -0800
From: bharder <bharder@methodlogic.net>
Reply-To:
To: gnats-bugs@gnats.NetBSD.org
Subject: pkgsrc/devel/cmake fails to build, due to xmlrpc-c
X-Send-Pr-Version: 3.95

>Number:         42297
>Category:       pkg
>Synopsis:       xmlrpc-c seems to be missing libraries required by cmake
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    drochner
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 09 19:25:00 +0000 2009
>Closed-Date:    Tue Nov 10 21:27:56 +0000 2009
>Last-Modified:  Tue Nov 10 21:30:03 +0000 2009
>Originator:     bharder <bharder@methodlogic.net>
>Release:        NetBSD 5.0_STABLE
>Organization:
	http://www.methodlogic.net
>Environment:
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
>Description:
	In build of pkgsrc/devel/cmake:

	-- Found CURL: /usr/pkg/lib/libcurl.so
	-- Found EXPAT: /usr/pkg/lib/libexpat.so
	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)
---------------------
$NetBSD$

--- ./cmake-2.6.4/Modules/FindXMLRPC.cmake.orig	2009-04-28 13:22:59.000000000 -0700
+++ ./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}")
       ENDIF(NOT XMLRPC_${name}_LIBRARY)

       # Build an ordered list of all the libraries needed.
>How-To-Repeat:
	cd pkgsrc/devel/cmake; make
>Fix:
	Review xmlrpc_client libraries (not) installed by xmlrpc-c; I believe this is only in last couple weeks.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->drochner
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 10 Nov 2009 18:08:53 +0000
Responsible-Changed-Why:
I can't reproduce this on NetBSD-5.99.21/amd64.
drochner last updated the xmlrpc-c package, perhaps he has an idea?


State-Changed-From-To: open->closed
State-Changed-By: drochner@NetBSD.org
State-Changed-When: Tue, 10 Nov 2009 21:27:56 +0000
State-Changed-Why:
fixed (patch was tested by submitter)


From: Matthias Drochner <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42297 CVS commit: pkgsrc/textproc/xmlrpc-c
Date: Tue, 10 Nov 2009 21:25:57 +0000

 Module Name:	pkgsrc
 Committed By:	drochner
 Date:		Tue Nov 10 21:25:57 UTC 2009

 Modified Files:
 	pkgsrc/textproc/xmlrpc-c: Makefile distinfo
 	pkgsrc/textproc/xmlrpc-c/patches: patch-ah

 Log Message:
 restore linker search path which got lost in libtoolification, fixes
 incomplete pkg installation w/o DESTDIR
 (PR pkg/42297 by Brad Harder)
 bump PKGREVISION


 To generate a diff of this commit:
 cvs rdiff -u -r1.13 -r1.14 pkgsrc/textproc/xmlrpc-c/Makefile
 cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/xmlrpc-c/distinfo
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/xmlrpc-c/patches/patch-ah

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.