pkgsrc-Bugs archive

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

Re: pkg/42324: p5-XML-Parser should pkgdep on expat



The following reply was made to PR pkg/42324; it has been noted by GNATS.

From: Jens Rehsack <rehsack%googlemail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
 pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/42324: p5-XML-Parser should pkgdep on expat
Date: Mon, 16 Nov 2009 05:38:17 +0000

 dforsi%gmail.com@localhost wrote:
 >      Note: There was a bad value `' for the field `Class'.
 >      It was set to the default value of `sw-bug'.
 > 
 >      Note: There was a bad value `' for the field `Priority'.
 >      It was set to the default value of `medium'.
 > 
 >      Note: There was a bad value `' for the field `Severity'.
 >      It was set to the default value of `serious'.
 > 
 >      Note: There was a bad value `' for the field `Confidential'.
 >      It was set to the default value of `yes'.
 > 
 >> Number:         42324
 >> Category:       pkg
 >> Synopsis:       pkg_add p5-XML-Parser doesn't install the required expat 
 >> library
 >> Confidential:   yes
 >> Severity:       serious
 >> Priority:       medium
 >> Responsible:    pkg-manager
 >> State:          open
 >> Class:          sw-bug
 >> Submitter-Id:   net
 >> Arrival-Date:   Sun Nov 15 19:45:00 +0000 2009
 >> Originator:     dforsi%gmail.com@localhost
 >> Release:        NetBSD 5.0.1
 >> Organization:
 >      
 >> Environment:
 >      
 >      
 > System: NetBSD 192-168-1-3 5.0.1 NetBSD 5.0.1 (GENERIC) #0: Thu Jul 30 
 > 00:02:58 UTC 2009 
 > builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-1-RELEASE/sparc64/200907292356Z-obj/home/builds/ab/netbsd-5-0-1-RELEASE/src/sys/arch/sparc64/compile/GENERIC
 >  sparc64
 > Architecture: sparc64
 > Machine: sparc64
 >> Description:
 > The p5-XML-Parser-2.36nb1 package installed by pkg_add is not functional 
 > because
 > libexpat.so.1 isn't installed if missing.
 >      
 >> How-To-Repeat:
 > Install intltool on a system that is missing libexpat.so.1 and run a 
 > ./configure
 > script that uses intltool; configure fails with an error:
 > XML::Parser perl module is required for intltool
 > 
 > Another way to repeat is to execute a command similar to the configure test:
 > $ perl -e "require XML::Parser"
 > Can't load 
 > '/usr/pkg/lib/perl5/vendor_perl/5.10.0/sparc64-netbsd-thread-multi/auto/XML/Parser/Expat/Expat.so'
 >  for module XML::Parser::Expat: Shared object "libexpat.so.1" not found at 
 > /usr/pkg/lib/perl5/5.10.0/sparc64-netbsd-thread-multi/DynaLoader.pm line 203.
 >  at 
 > /usr/pkg/lib/perl5/vendor_perl/5.10.0/sparc64-netbsd-thread-multi/XML/Parser.pm
 >  line 14
 >  Compilation failed in require at 
 > /usr/pkg/lib/perl5/vendor_perl/5.10.0/sparc64-netbsd-thread-multi/XML/Parser.pm
 >  line 14.
 >  BEGIN failed--compilation aborted at 
 > /usr/pkg/lib/perl5/vendor_perl/5.10.0/sparc64-netbsd-thread-multi/XML/Parser.pm
 >  line 18.
 >  Compilation failed in require at -e line 1.
 >      
 >> Fix:
 > To workaround this problem run:
 > pkg_add expat
 >      
 > 
 >> Unformatted:
 >      
 >      
 Looks like your environment has a bug, because textproc/p5-XML-Parser relies
 on expat:
 
 cvs annotate Makefile | grep expat
 1.3          (wiz      17-Feb-01): COMMENT=    Perl extension interface to
 James Clark's XML parser, expat
 1.19         (jlam     31-Mar-04): MAKE_PARAMS+=       
 EXPATLIBPATH=${BUILDLINK_PREFIX.expat}/lib
 1.19         (jlam     31-Mar-04): MAKE_PARAMS+=       
 EXPATINCPATH=${BUILDLINK_PREFIX.expat}/include
 1.18         (jlam     05-Jan-04): .include 
"../../textproc/expat/buildlink3.mk"
 
 /Jens
 


Home | Main Index | Thread Index | Old Index