Subject: pkg/32174: [Solaris] security/openssl does not care of Solaris(x86)
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 11/27/2005 14:07:01
>Number:         32174
>Category:       pkg
>Synopsis:       [Solaris] security/openssl does not care of Solaris(x86)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 27 14:07:00 +0000 2005
>Originator:     NAKAJI Hiroyuki
>Release:        Solaris 10 (x86)
SunOS 5.10 Generic_118844-20 i86pc i386 i86pc

This is not only a problem of security/openssl but also of other packages which use ${SPARC_TARGET_ARCH} variable.

Anyway, security/openssl cannot build with Sun Studio 11.

cd /usr/pkgsrc/security/openssl/work/openssl-0.9.7i && /usr/pkg/bin/perl util/ /usr/pkg/bin/perl
Operating system: i86pc-whatever-solaris2
This system (solaris-x86-sc3) is not supported. See file INSTALL for details.
===> Building for openssl-0.9.7i
Makefile is older than
Reconfigure the source tree (via './config' or 'perl Configure'), please.
gmake: *** [Makefile] Error 255
*** Error code 2

bmake: stopped in /usr/pkgsrc/security/openssl

Set in /etc/mk.conf,


And run.

cd /usr/pkgsrc/security/openssl
bmake install

This fix is only for x86 (i386). If you want to build 64-bit binary on x86_64 like Athlon64 or Opteron, some .mk files in pkgsrc/mk need be modified.

A patch for x86 is available at