pkgsrc-Bugs archive

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

pkg/45198: p5-XML-Parser compile issues on NetBSD from pkgsrc-current...



>Number:         45198
>Category:       pkg
>Synopsis:       p5-XML-Parser compile issues on NetBSD from pkgsrc-current...
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 01 02:50:00 +0000 2011
>Originator:     Ricky Elrod
>Release:        NetBSD 5.1 pkgsrc-current 2011-06-31
>Environment:
System: NetBSD nbsd01 5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov  7 14:39:56 UTC 2010 
 
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-RELEASE/i386/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
Architecture: i386
Machine: i386
pkgsrc-current 2011-06-31
>Description:
While trying to compile www/firefox with pkgsrc-current on NetBSD 5.1/i386, the 
dependency textproc/p5-XML-Parser failed to compile with some errors (below) 
about expat.

Using the binary package from pkgsrc-2011Q1 will get past the error, but is not 
an optimal solution.

===> Building for p5-XML-Parser-2.40
--- blib/lib/XML/.exists ---
--- blib/arch/.exists ---
--- blib/lib/auto/XML/Parser/.exists ---
--- blib/arch/auto/XML/Parser/.exists ---
--- blib/bin/.exists ---
--- blib/script/.exists ---
--- blib/man1/.exists ---
--- blib/man3/.exists ---
--- subdirs ---
--- subdirs ---
--- ../blib/lib/XML/Parser/.exists ---
--- ../blib/lib/auto/XML/Parser/Expat/.exists ---
--- Makefile ---
Makefile out-of-date with respect to 
/usr/pkg/lib/perl5/5.12.0/i386-netbsd-thread-multi/Config.pm 
/usr/pkg/lib/perl5/5.12.0/i386-netbsd-thread-multi/CORE/config.h
Cleaning current config before rebuilding Makefile...
--- subdirs ---
--- subdirs ---
--- Makefile ---
make -f Makefile.old clean > /dev/null 2>&1
--- subdirs ---
--- Makefile ---
Makefile out-of-date with respect to 
/usr/pkg/lib/perl5/5.12.0/i386-netbsd-thread-multi/Config.pm 
/usr/pkg/lib/perl5/5.12.0/i386-netbsd-thread-multi/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
/usr/pkg/bin/perl Makefile.PL "INSTALLDIRS=vendor"
--- Makefile ---
/usr/pkg/bin/perl Makefile.PL "INSTALLDIRS=vendor"
--- subdirs ---
Note (probably harmless): No library found for -lexpat
Writing Makefile for XML::Parser::Expat
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** [Makefile] Error code 1
1 error

make: stopped in /usr/pkgsrc/textproc/p5-XML-Parser/work/XML-Parser-2.40/Expat
*** [subdirs] Error code 2
--- Makefile ---
Shared object "libexpat.so.1" not found

Expat must be installed prior to building XML::Parser and I can't find
it in the standard library directories. Install 'expat-devel' package with your
OS package manager.

Or you can download expat from:

http://sourceforge.net/projects/expat/

If expat is installed, but in a non-standard directory, then use the
following options to Makefile.PL:

    EXPATLIBPATH=...  To set the directory in which to find libexpat

    EXPATINCPATH=...  To set the directory in which to find expat.h

For example:

    perl Makefile.PL EXPATLIBPATH=/home/me/lib EXPATINCPATH=/home/me/include

Note that if you build against a shareable library in a non-standard location
you may (on some platforms) also have to set your LD_LIBRARY_PATH environment
variable at run time for perl to find the library.

Note (probably harmless): No library found for -lexpat
Warning: prerequisite LWP 0 not found.
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lexpat
Writing Makefile for XML::Parser::Expat
Writing Makefile for XML::Parser
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** [Makefile] Error code 1
2 errors

make: stopped in /usr/pkgsrc/textproc/p5-XML-Parser/work/XML-Parser-2.40
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/textproc/p5-XML-Parser
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/p5-XML-Parser
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/intltool
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/shared-mime-info
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/gtk2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/xulrunner
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/firefox
bash-4.2#
>How-To-Repeat:
Attempt to build www/firefox on NetBSD 5.1/i386 with pkgsrc-current (and 
probably other OSes)
>Fix:
Using the binary from -2011Q1 will get past the error, but is obviously not an 
optimal solution for use with -current.



Home | Main Index | Thread Index | Old Index