From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 1 13:00:12 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E49B1065676 for ; Tue, 1 Jun 2010 13:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D55268FC17 for ; Tue, 1 Jun 2010 13:00:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o51D0BY2022424 for ; Tue, 1 Jun 2010 13:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o51D0BeU022423; Tue, 1 Jun 2010 13:00:11 GMT (envelope-from gnats) Resent-Date: Tue, 1 Jun 2010 13:00:11 GMT Resent-Message-Id: <201006011300.o51D0BeU022423@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Konstantin Kukushkin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E519B1065673 for ; Tue, 1 Jun 2010 12:50:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D44498FC19 for ; Tue, 1 Jun 2010 12:50:03 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o51Co3cV084901 for ; Tue, 1 Jun 2010 12:50:03 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o51Co3Kk084900; Tue, 1 Jun 2010 12:50:03 GMT (envelope-from nobody) Message-Id: <201006011250.o51Co3Kk084900@www.freebsd.org> Date: Tue, 1 Jun 2010 12:50:03 GMT From: Konstantin Kukushkin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/147279: perl modules broken on clean FreeBSD X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 13:00:12 -0000 >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@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: