NetBSD Problem Report #19205

Received: (qmail 25491 invoked by uid 605); 29 Nov 2002 20:14:18 -0000
Message-Id: <20021129201415.5BFED11124@narn.netbsd.org>
Date: Fri, 29 Nov 2002 12:14:15 -0800 (PST)
From: sketch@rd.bbc.co.uk
Sender: gnats-bugs-owner@netbsd.org
Reply-To: sketch@rd.bbc.co.uk
To: gnats-bugs@gnats.netbsd.org
Subject: Fix for pkgsrc/security/openssl on machines with "perl5" command
X-Send-Pr-Version: www-1.0

>Number:         19205
>Category:       pkg
>Synopsis:       Fix for pkgsrc/security/openssl on machines with "perl5" command
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 29 20:15:00 +0000 2002
>Closed-Date:    Sat Nov 30 05:14:22 +0000 2002
>Last-Modified:  Sat Nov 30 05:15:00 +0000 2002
>Originator:     Jonathan Perkin
>Release:        Today's CVS
>Organization:
British Broadcasting Corporation
>Environment:
SunOS desk08 5.8 Generic_108528-06 sun4u sparc SUNW,Sun-Blade-100
>Description:
openssl only checks for $PERL, then if that doesn't exist prefers "perl5"
over "perl".  This breaks machines which have a "perl5" binary, as that
will be used before the pkgsrc-installed version.

It should correctly check $PERL5 on pkgsrc systems as that is what is
used internally.
>How-To-Repeat:
--<jonp@desk08>-</cache/pkgsrc/security/openssl>--
-% bmake install
[...]
installing man1/version.1
installing man1/x509.1
Can't call method "isa" on unblessed reference at /usr/local/lib/perl5/site_perl/Pod/InputObjects.pm line 500, <GEN0> chunk 382.
[...]
--<jonp@desk08>-</cache/pkgsrc/security/openssl>--
-% which perl5
/usr/local/bin.sun4/perl5
--<jonp@desk08>-</cache/pkgsrc/security/openssl>--
-% perl5 -v

This is perl, version 5.004_04 built for sun4-solaris
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/openssl/Makefile,v
retrieving revision 1.61
diff -u -r1.61 Makefile
--- Makefile    2002/09/07 07:17:00     1.61
+++ Makefile    2002/11/29 20:01:36
@@ -22,7 +22,7 @@
 USE_BUILDLINK2=                YES
 CONFIGURE_SCRIPT=      config
 CONFIGURE_ARGS=                shared --openssldir=${PKG_SYSCONFDIR} --prefix=${PREFIX}
-CONFIGURE_ENV=         CC="${CC}"
+CONFIGURE_ENV=         CC="${CC}" PERL="${PERL5}"

 PLIST_SRC=             ${PKGDIR}/PLIST.${LOWER_OPSYS}
 PLIST_SRC+=            ${PLIST_RSAREF}
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: uebayasi 
State-Changed-When: Fri Nov 29 21:13:52 PST 2002 
State-Changed-Why:  
Patch commited.  Thanks for the report! 

From: Masao Uebayashi <uebayasi@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: pr/19205 CVS commit: pkgsrc/security/openssl
Date: Sat, 30 Nov 2002 07:13:26 +0200 (EET)

 Module Name:	pkgsrc
 Committed By:	uebayasi
 Date:		Sat Nov 30 05:13:25 UTC 2002

 Modified Files:
 	pkgsrc/security/openssl: Makefile

 Log Message:
 Explicitly specify the path to Perl5 executable for configure script.

 Reported by Jonathan Perkin in PR19205.


 To generate a diff of this commit:
 cvs rdiff -r1.61 -r1.62 pkgsrc/security/openssl/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.