NetBSD Problem Report #52114

From john@andromeda.zia.io  Mon Mar 27 22:08:31 2017
Return-Path: <john@andromeda.zia.io>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id F09507A217
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 27 Mar 2017 22:08:30 +0000 (UTC)
Message-Id: <201703272118.v2RLI2jL011566@andromeda.zia.io>
Date: Mon, 27 Mar 2017 21:18:02 GMT
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: security/openssl fails to compile on Darwin
X-Send-Pr-Version: 3.95

>Number:         52114
>Category:       pkg
>Synopsis:       security/openssl fails to compile on Mac OS X 10.5.8
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bsiegert
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 27 22:10:00 +0000 2017
>Closed-Date:    Tue Feb 20 06:43:14 +0000 2018
>Last-Modified:  Tue Feb 20 06:43:14 +0000 2018
>Originator:     John Klos
>Release:        Darwin 9.8.0
>Organization:

>Environment:
System: Darwin host247.6.dev.nextvr.com 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh
>Description:

security/openssl, as a prerequisite for net/bind910, fails to compile on Mac OS X Leopard:
===> Creating toolchain wrappers for openssl-1.0.2k
===> Configuring for openssl-1.0.2k
cd /usr/pkgsrc/security/openssl/work/openssl-1.0.2k && /usr/local/bin/perl 
util/perlpath.pl /usr/local/bin/perl
Configuring for darwin64-powerpc64-cc
Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [experimental-<cipher> ...] 
[-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] 
[[no-]zlib|zlib-dynamic] [no-asm] [no-dso] [no-krb5] [sctp] [386] [--prefix=DIR] 
[--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--test-sanity] os/compiler[:flags]

pick os/compiler from:
BC-32 BS2000-OSD BSD-generic32 BSD-generic64 BSD-ia64 BSD-sparc64 BSD-sparcv8 
BSD-x86 BSD-x86-elf BSD-x86_64 Cygwin Cygwin-x86_64 DJGPP DragonFly-i386 
DragonFly-x86_64 GNU/kFreeBSD-i386 GNU/kFreeBSD-x86_64 Interix MPE/iX-gcc 
NetBSD NetBSD-alpha NetBSD-arm NetBSD-arm32 NetBSD-m68000 NetBSD-m68k 
NetBSD-mipseb NetBSD-mipsel NetBSD-ns32k NetBSD-powerpc NetBSD-sparc 
NetBSD-sparc64 NetBSD-vax NetBSD-x86-aout NetBSD-x86-elf NetBSD-x86_64 OS2-EMX 
OS390-Unix QNX6 QNX6-i386 ReliantUNIX SINIX SINIX-N UWIN VC-CE VC-WIN32 
VC-WIN64A VC-WIN64I aix-cc aix-gcc aix3-cc aix64-cc aix64-gcc android 
android-armv7 android-mips android-x86 aux3-gcc beos-x86-bone beos-x86-r5 
bsdi-elf-gcc cc cray-j90 cray-t3e darwin-i386-cc darwin-ppc-cc darwin64-ppc-cc 
darwin64-x86_64-cc dgux-R3-gcc dgux-R4-gcc dgux-R4-x86-gcc dist gcc hpux-cc 
hpux-gcc hpux-ia64-cc hpux-ia64-gcc hpux-parisc-cc hpux-parisc-cc-o4 
hpux-parisc-gcc hpux-parisc1_1-cc hpux-parisc1_1-gcc hpux-parisc2-cc 
hpux-parisc2-gcc hpux64-ia64-cc hpux64-ia64-gcc hpux64-parisc2-cc 
hpux64-parisc2-gcc hurd-x86 iphoneos-cross irix-cc irix-gcc irix-mips3-cc 
irix-mips3-gcc irix64-mips4-cc irix64-mips4-gcc linux-aarch64 
linux-alpha+bwx-ccc linux-alpha+bwx-gcc linux-alpha-ccc linux-alpha-gcc 
linux-aout linux-armv4 linux-elf linux-generic32 linux-generic64 
linux-ia32-icc linux-ia64 linux-ia64-icc linux-mips32 linux-mips64 linux-ppc 
linux-ppc64 linux-ppc64le linux-sparcv8 linux-sparcv9 linux-x32 linux-x86_64 
linux-x86_64-clang linux-x86_64-icc linux32-s390x linux64-mips64 linux64-s390x 
linux64-sparcv9 mingw mingw64 ncr-scde netware-clib netware-clib-bsdsock 
netware-clib-bsdsock-gcc netware-clib-gcc netware-libc netware-libc-bsdsock 
netware-libc-bsdsock-gcc netware-libc-gcc newsos4-gcc nextstep nextstep3.3 
osf1-alpha-cc osf1-alpha-gcc purify qnx4 rhapsody-ppc-cc sco5-cc sco5-gcc 
solaris-sparcv7-cc solaris-sparcv7-gcc solaris-sparcv8-cc solaris-sparcv8-gcc 
solaris-sparcv9-cc solaris-sparcv9-gcc solaris-x86-cc solaris-x86-gcc 
solaris64-sparcv9-cc solaris64-sparcv9-gcc solaris64-x86_64-cc 
solaris64-x86_64-gcc sunos-gcc tandem-c89 tru64-alpha-cc tru64-alpha-gcc 
uClinux-dist uClinux-dist64 ultrix-cc ultrix-gcc unixware-2.0 unixware-2.1 
unixware-7 unixware-7-gcc vos-gcc vxworks-mips vxworks-ppc405 vxworks-ppc60x 
vxworks-ppc750 vxworks-ppc750-debug vxworks-ppc860 vxworks-ppcgen 
vxworks-simlinux debug debug-BSD-x86-elf debug-VC-WIN32 debug-VC-WIN64A 
debug-VC-WIN64I debug-ben debug-ben-darwin64 debug-ben-debug 
debug-ben-debug-64 debug-ben-debug-64-clang debug-ben-macos 
debug-ben-macos-gcc46 debug-ben-no-opt debug-ben-openbsd 
debug-ben-openbsd-debug debug-ben-strict debug-bodo debug-darwin-i386-cc 
debug-darwin-ppc-cc debug-darwin64-x86_64-cc debug-geoff32 debug-geoff64 
debug-levitte-linux-elf debug-levitte-linux-elf-extreme 
debug-levitte-linux-noasm debug-levitte-linux-noasm-extreme debug-linux-elf 
debug-linux-elf-noefence debug-linux-generic32 debug-linux-generic64 
debug-linux-ia32-aes debug-linux-pentium debug-linux-ppro debug-linux-x86_64 
debug-linux-x86_64-clang debug-rse debug-solaris-sparcv8-cc 
debug-solaris-sparcv8-gcc debug-solaris-sparcv9-cc debug-solaris-sparcv9-gcc 
debug-steve-opt debug-steve32 debug-steve64 debug-vos-gcc 

NOTE: If in doubt, on Unix-ish systems use './config'.
*** Error code 1

Stop.
bmake[4]: stopped in /usr/pkgsrc/security/openssl
*** Error code 1



>How-To-Repeat:

>Fix:


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->macos-pkg-people
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Tue, 28 Mar 2017 07:40:09 +0000
Responsible-Changed-Why:
Darwin problem


Responsible-Changed-From-To: macos-pkg-people->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 05 Aug 2017 11:08:29 +0000
Responsible-Changed-Why:
take


State-Changed-From-To: open->feedback
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sat, 05 Aug 2017 11:08:29 +0000
State-Changed-Why:
I committed a patch that should fix this (v1.231 of
security/openssl/Makefile). Does it work now?


From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52114 CVS commit: pkgsrc/security/openssl
Date: Sat, 5 Aug 2017 11:06:29 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sat Aug  5 11:06:29 UTC 2017

 Modified Files:
 	pkgsrc/security/openssl: Makefile

 Log Message:
 Overhaul the platform selector logic, so that the right value is selected
 for powerpc64 on Darwin. Fix for PR pkg/52114.


 To generate a diff of this commit:
 cvs rdiff -u -r1.230 -r1.231 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: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 20 Feb 2018 06:43:14 +0000
State-Changed-Why:
feedback timeout


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.