ports/147279: perl modules broken on clean FreeBSD
Konstantin Kukushkin
dark at rambler-co.ru
Tue Jun 1 13:00:12 UTC 2010
>Number: 147279
>Category: ports
>Synopsis: perl modules broken on clean FreeBSD
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 01 13:00:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Konstantin Kukushkin
>Release: 8-STABLE
>Organization:
Rambler
>Environment:
FreeBSD mon3.rambler.ru 8.0-20100505-SNAP FreeBSD 8.0-20100505-SNAP #0: Wed May 5 02:23:55 UTC 2010 root at nat-sl.rambler.ru:/usr/obj/i386/usr/src/sys/R0 i386
>Description:
The 'Configure' script from the perl 5.10 distribution removes all non-existent
directories from the internal libpth variable. On a clean FreeBSD installation
/usr/local/lib doesn't exist, so 'Configure' removes /usr/local/lib from libpth.
Later on, perl modules can't be used, due to linking errors.
>How-To-Repeat:
# make -C /usr/ports/lang/perl5.10 BATCH=1 install
// AFTER configure, ports will create /usr/local/lib and install perl in.
# make -C /usr/ports/devel/p5-Event-Lib install
# perl -e 'use Event::Lib'
/libexec/ld-elf.so.1:
/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/Event/Lib/Lib.so: Undefined
symbol "event_set_log_callback"
>Fix:
To fix, use attached patch for Configure.
Patch attached with submission follows:
--- Configure.orig 2010-05-18 17:04:27.000000000 +0400
+++ Configure 2010-05-18 17:40:19.000000000 +0400
@@ -4780,7 +4780,7 @@
libpth=''
for xxx in $dlist
do
- if $test -d $xxx; then
+ if $test -d $xxx || [ $xxx = $prefix/lib ]; then
case " $libpth " in
*" $xxx "*) ;;
*) libpth="$libpth $xxx";;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list