NetBSD Problem Report #44949

From www@NetBSD.org  Tue May 10 11:55:20 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 68C5F63C597
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 10 May 2011 11:55:20 +0000 (UTC)
Message-Id: <20110510115519.B456863BBC7@www.NetBSD.org>
Date: Tue, 10 May 2011 11:55:19 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joernc@gmail.com
To: gnats-bugs@NetBSD.org
Subject: examples in textproc/xmlrpc-c don't link on Solaris
X-Send-Pr-Version: www-1.0

>Number:         44949
>Category:       pkg
>Synopsis:       examples in textproc/xmlrpc-c don't link on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 10 12:00:00 +0000 2011
>Closed-Date:    Fri May 12 22:41:25 +0000 2023
>Last-Modified:  Fri May 12 22:41:25 +0000 2023
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Building textproc/xmlrpc-c fails on Solaris with

gcc -o auth_client auth_client.o  /software/pkgsrc/source/pkgsrc/textproc/xmlrpc-c/work.spare4200/xmlrpc-c-1.16.34/src/libxmlrpc_client.a
[...]
/usr/ccs/bin/ld: illegal option -- rpath

>How-To-Repeat:

>Fix:
--- GNUmakefile.orig    2011-03-25 16:58:35.000000000 +0000
+++ GNUmakefile
@@ -39,7 +39,7 @@ OMIT_XMLRPC_C_CONFIG_TEST = Y
 include $(SRCDIR)/common.mk

 .PHONY: all
-all: xmlrpc-c-config xmlrpc-c-config.test $(SUBDIRS:%=%/all)
+all: xmlrpc-c-config xmlrpc-c-config.test $(DEFAULT_SUBDIRS:%=%/all)

 # The examples subdirectory is special, because even the make file in there
 # is designed to be an example.  So it has to be simple and as close as



The error happens in the example subdirectory, which, according to several comments in the makefiles, is not supposed to be built by default anyway.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 10 May 2011 14:11:49 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44949: examples in textproc/xmlrpc-c don't link on Solaris
Date: Sat, 14 May 2011 18:09:45 +0000

 On Tue, May 10, 2011 at 12:00:00PM +0000, joern.clausen@uni-bielefeld.de wrote:
  > gcc -o auth_client auth_client.o  /software/pkgsrc/source/pkgsrc/textproc/xmlrpc-c/work.spare4200/xmlrpc-c-1.16.34/src/libxmlrpc_client.a
  > [...]
  > /usr/ccs/bin/ld: illegal option -- rpath

 Did the update of xmlrpc-c on May 9th fix this... or cause it?

 -- 
 David A. Holland
 dholland@netbsd.org

From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: David Holland <dholland-pbugs@NetBSD.org>, solaris-pkg-people@NetBSD.org,
 gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/44949: examples in textproc/xmlrpc-c don't link on Solaris
Date: Mon, 16 May 2011 09:47:11 +0200

 On 05/14/11 08:10 PM, David Holland wrote:
 [...]
 >   Did the update of xmlrpc-c on May 9th fix this... or cause it?

 I can't really tell. Recently, I was able to sync the source tree only 
 in larger intervals, as I had several other problems building on Solaris.

 But the problem seems to originate upstream. It is mentioned several 
 times in the original source files, that the examples directory should 
 not be build by default, and yet exactly this happens. BTW: Because of 
 this, I would not categorize this as Solaris problem. The problem just 
 happens to strike on Solaris, but it has the potential to cause failure 
 on other platforms as well.

 -- 
   Jörn Clausen                             joern.clausen@uni-bielefeld.de
   Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
   Universität Bielefeld

From: Tim Zingelman <tez@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/44949: examples in textproc/xmlrpc-c don't link on Solaris
Date: Wed, 1 Jun 2011 14:10:53 -0500

 > =A0On 05/14/11 08:10 PM, David Holland wrote:
 > =A0> =A0 Did the update of xmlrpc-c on May 9th fix this... or cause it?

 As far as I can tell it may have fixed the problem.  It just built for
 me on a fresh bootstrap of pkgsrc-current on solaris 10 x86 w/gcc (32
 bit).
 If you will be unable to test for a long period of time can we close this P=
 R?

State-Changed-From-To: open->feedback
State-Changed-By: tez@NetBSD.org
State-Changed-When: Wed, 01 Jun 2011 19:24:31 +0000
State-Changed-Why:
feedback requested


From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: Tim Zingelman <tez@NetBSD.org>, solaris-pkg-people@NetBSD.org,
 gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/44949: examples in textproc/xmlrpc-c don't link on Solaris
Date: Fri, 03 Jun 2011 12:59:04 +0200

 >   As far as I can tell it may have fixed the problem.  It just built for
 >   me on a fresh bootstrap of pkgsrc-current on solaris 10 x86 w/gcc (32
 >   bit).

 I was able to build the package unmodified. But I recommend adding my 
 patch anyway, because it is a waste of time to compile examples (that 
 according to the upstream documentation are bound to fail), and then 
 throw them away. And as a personal bonus: The dependencies seem to have 
 changed and I don't even need this package anymore...

 -- 
   Jörn Clausen                             joern.clausen@uni-bielefeld.de
   Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
   Universität Bielefeld

From: Tim Zingelman <tez@netbsd.org>
To: gnats-bugs@netbsd.org, adam@netbsd.org
Cc: 
Subject: Re: pkg/44949: examples in textproc/xmlrpc-c don't link on Solaris
Date: Fri, 3 Jun 2011 11:32:12 -0500

 On Fri, Jun 3, 2011 at 6:00 AM, J=F6rn Clausen
 <joern.clausen@uni-bielefeld.de> wrote:

 > =A0I was able to build the package unmodified. But I recommend adding my
 > =A0patch anyway, because it is a waste of time to compile examples (that
 > =A0according to the upstream documentation are bound to fail), and then
 > =A0throw them away.

 I'm going to remove solaris-pkg-people from Responsible, since this is
 not solaris specific anymore.

 I've cc'd Adam who has made all the recent changes to the package, who
 may be the right person to make the call on this patch.

Responsible-Changed-From-To: solaris-pkg-people->pkg-manager
Responsible-Changed-By: tez@NetBSD.org
Responsible-Changed-When: Fri, 03 Jun 2011 16:36:12 +0000
Responsible-Changed-Why:
not specific to solaris


State-Changed-From-To: feedback->open
State-Changed-By: tez@NetBSD.org
State-Changed-When: Fri, 03 Jun 2011 16:36:12 +0000
State-Changed-Why:
feedback received


State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 12 May 2023 22:41:25 +0000
State-Changed-Why:
At some point the examples were in fact patched out.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.