NetBSD Problem Report #44769
From Wolfgang.Stukenbrock@nagler-company.com Fri Mar 25 11:42:52 2011
Return-Path: <Wolfgang.Stukenbrock@nagler-company.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 69C1163B8DE
for <gnats-bugs@gnats.NetBSD.org>; Fri, 25 Mar 2011 11:42:52 +0000 (UTC)
Message-Id: <20110325114243.B63931E80CE@test-s0.nagler-company.com>
Date: Fri, 25 Mar 2011 12:42:43 +0100 (CET)
From: Wolfgang.Stukenbrock@nagler-company.com
Reply-To: Wolfgang.Stukenbrock@nagler-company.com
To: gnats-bugs@gnats.NetBSD.org
Subject: pkgsrc 2010Q4 openssl does not compile on Solaris 2 for 64 bit ABI
X-Send-Pr-Version: 3.95
>Number: 44769
>Category: pkg
>Synopsis: pkgsrc 2010Q4 openssl does not compile on Solaris 2 for 64 bit ABI
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: solaris-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 25 11:45:00 +0000 2011
>Closed-Date: Mon Apr 04 13:20:56 +0000 2011
>Last-Modified: Mon Apr 04 13:20:56 +0000 2011
>Originator: Dr. W. Stukenbrock
>Release: pkgsrc 2010Q4
>Organization:
Dr. Nagler & Company GmbH
>Environment:
Solaris
>Description:
When ABI=64 is selected on Solaris2.x, openssl failes to compile.
The reason is, that in the Makefile in CONFIGURE_ARGS the wrong target
is specified. "solaris-..."
The correct one would be "solaris64-..."
>How-To-Repeat:
Try to compile openssl for ABI=64 (with sunstudio or GNU compile - both will fail).
>Fix:
The fix is easy. Just setup the correct target in the makefile for configure.
The following fix will solve this problem:
--- Makefile 2011/03/25 11:06:09 1.1
+++ Makefile 2011/03/25 11:06:24
@@ -64,9 +64,9 @@
. if defined(OPENSSL_MACHINE_ARCH) && !empty(OPENSSL_MACHINE_ARCH)
CONFIGURE_SCRIPT= ./Configure
. if !empty(CC_VERSION:Mgcc*)
-CONFIGURE_ARGS+= solaris-${OPENSSL_MACHINE_ARCH}-gcc
+CONFIGURE_ARGS+= solaris${${ABI}==64:?64:}-${OPENSSL_MACHINE_ARCH}-gcc
. else
-CONFIGURE_ARGS+= solaris-${OPENSSL_MACHINE_ARCH}-cc
+CONFIGURE_ARGS+= solaris${${ABI}==64:?64:}-${OPENSSL_MACHINE_ARCH}-cc
. endif
. endif
.elif ${OPSYS} == "IRIX"
>Release-Note:
>Audit-Trail:
[20110327 shattered] edited Environment: field
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: gls@NetBSD.org
Responsible-Changed-When: Sat, 26 Mar 2011 09:04:45 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.
From: "Tim Zingelman" <tez@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/44769 CVS commit: pkgsrc/security/openssl
Date: Fri, 1 Apr 2011 21:02:48 +0000
Module Name: pkgsrc
Committed By: tez
Date: Fri Apr 1 21:02:48 UTC 2011
Modified Files:
pkgsrc/security/openssl: Makefile
Log Message:
Use solaris64 rather than solaris for ABI=64 build using gcc in SunOS
fixes PR#44769
To generate a diff of this commit:
cvs rdiff -u -r1.154 -r1.155 pkgsrc/security/openssl/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: tez@NetBSD.org
State-Changed-When: Fri, 01 Apr 2011 21:31:03 +0000
State-Changed-Why:
patch committed, does this fix it?
From: Wolfgang Stukenbrock <Wolfgang.Stukenbrock@nagler-company.com>
To: gnats-bugs@NetBSD.org
Cc: solaris-pkg-people@NetBSD.org, pkgsrc-bugs@NetBSD.org,
gnats-admin@NetBSD.org, tez@NetBSD.org,
Wolfgang.Stukenbrock@nagler-company.com
Subject: Re: pkg/44769 (pkgsrc 2010Q4 openssl does not compile on Solaris 2 for 64 bit ABI)
Date: Mon, 04 Apr 2011 15:09:26 +0200
Hi,
yes, the problem is now fixed.
I think you can close this PR.
Thank.
W. Stukenbrock
tez@NetBSD.org wrote:
> Synopsis: pkgsrc 2010Q4 openssl does not compile on Solaris 2 for 64 bit ABI
>
> State-Changed-From-To: open->feedback
> State-Changed-By: tez@NetBSD.org
> State-Changed-When: Fri, 01 Apr 2011 21:31:03 +0000
> State-Changed-Why:
> patch committed, does this fix it?
>
>
>
>
--
Dr. Nagler & Company GmbH
Hauptstraße 9
92253 Schnaittenbach
Tel. +49 9622/71 97-42
Fax +49 9622/71 97-50
Wolfgang.Stukenbrock@nagler-company.com
http://www.nagler-company.com
Hauptsitz: Schnaittenbach
Handelregister: Amberg HRB
Gerichtsstand: Amberg
Steuernummer: 201/118/51825
USt.-ID-Nummer: DE 273143997
Geschäftsführer: Dr. Martin Nagler, Dr. Dr. Karl-Kuno Kunze
State-Changed-From-To: feedback->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Mon, 04 Apr 2011 13:20:56 +0000
State-Changed-Why:
confirmed fixed.
>Unformatted:
(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.