Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2002 02:41:53 -0400 (EDT)
From:      "parv" <parv_fm@emailgroups.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41513: lang/perl5.8 - "make test" destroys perl version already installed
Message-ID:  <20020810064153.56FEC50BA1@moo.holy.cow>

next in thread | raw e-mail | index | archive | help

>Number:         41513
>Category:       ports
>Synopsis:       lang/perl5.8 - "make test" destroys perl version already installed
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 10 00:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     parv
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD moo.holy.cow 4.6-STABLE

ports tree updated:  2002.08.05.07.43.43 utc

perl-5.6.1 was already installed which now needs to be installed
again due to the problem.

>Description:

pkg_info -L -x '^perl-5.6' | fgrep 'bin/perl'...

/usr/local/bin/perl
/usr/local/bin/perlbug
/usr/local/bin/perlcc
/usr/local/bin/perldoc


...running "make test" in lang/perl5.8 hopelessly destroys perl installed in
/usr/local/bin...

        Everything is up to date. Type 'make test' to run test suite.
*** Error code 1 (ignored)
        AutoSplitting perl library
./miniperl -Ilib -e 'use AutoSplit;  autosplit_lib_modules(@ARGV)' lib/*.pm
...
PERL=./perl make _test_prep
cd t && (rm -f /usr/local/bin/perl; /bin/ln -s ..//usr/local/bin/perl /usr/local/bin/perl)
PERL=./perl make _test
if (true </devloper/tty) >/devloper/null 2>&1; then  make TEST_ARGS= TESTFILE=TEST _test_tty   ;  else  make TEST_ARGS= TESTFILE=TEST _test_notty ;  fi
cd t &&   /usr/local/bin/perl TEST  </devloper/tty
/usr/local/bin/perl: not found
*** Error code 127


...after the failure, /bin/ls -l /usr/local/bin/perl* gives, as
expected unfortunately...

lrwxr-xr-x  1 root  wheel     22 Aug 10 02:21 /usr/local/bin/perl -> ..//usr/local/bin/perl
lrwxr-xr-x  1 root  wheel     19 Jun 26 22:26 /usr/local/bin/perl5 -> /usr/local/bin/perl
lrwxr-xr-x  1 root  wheel     19 Jun 26 22:26 /usr/local/bin/perl5.6.1 -> /usr/local/bin/perl
-rwxr-xr-x  1 root  wheel  35477 Jun 25 19:29 /usr/local/bin/perlbug
-rwxr-xr-x  1 root  wheel  16932 Jun 25 19:29 /usr/local/bin/perlcc
-rwxr-xr-x  1 root  wheel  22649 Jun 25 19:29 /usr/local/bin/perldoc


>How-To-Repeat:
	
install perl 5.6 from ports followed by a run of "make build && make
test" in lang/perl5.8 to see the above folly.  i suppose PREFIX
needs to be same when installing perl 5.6 & running "make test" in
perl 5.8 port.


>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020810064153.56FEC50BA1>