NetBSD Problem Report #51291

From www@NetBSD.org  Tue Jun 28 16:26:56 2016
Return-Path: <www@NetBSD.org>
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 1C1F37A20E
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 28 Jun 2016 16:26:56 +0000 (UTC)
Message-Id: <20160628162654.DE1F67A48A@mollari.NetBSD.org>
Date: Tue, 28 Jun 2016 16:26:54 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: openssl build fails on MacOS X 10.4.11 powerpc
X-Send-Pr-Version: www-1.0

>Number:         51291
>Notify-List:    markd@NetBSD.org
>Category:       pkg
>Synopsis:       openssl build fails on MacOS X 10.4.11 powerpc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sevan
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 28 16:30:00 +0000 2016
>Closed-Date:    
>Last-Modified:  Thu Aug 25 23:35:00 +0000 2016
>Originator:     John D. Baker
>Release:        MacOS X 10.4.11 (ppc), pkgsrc-HEAD (as of 28 June 2016)
>Organization:
>Environment:
Darwin ed.technoskunk.fur 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc

>Description:
Building "security/openssl" (1.0.2hnb1) fails as follows:

[...]
gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include  -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O -I/usr/include -arch ppc -O3 -DB_ENDIAN -Wa,-force_cpusubtype_ALL -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DVPAES_ASM -isystem /usr/include -I/usr/include  -c -o dso_dlfcn.o dso_dlfcn.c
dso_dlfcn.c: In function 'dlfcn_pathbyaddr':
dso_dlfcn.c:425: error: 'Dl_info' undeclared (first use in this function)
dso_dlfcn.c:425: error: (Each undeclared identifier is reported only once
dso_dlfcn.c:425: error: for each function it appears in.)
dso_dlfcn.c:425: error: parse error before 'dli'
dso_dlfcn.c:438: error: 'dli' undeclared (first use in this function)
gmake[2]: *** [<builtin>: dso_dlfcn.o] Error 1
gmake[2]: Leaving directory '/Volumes/d0/tmp/pkgsrc/security/openssl/work/openssl-1.0.2h/crypto/dso'
gmake[1]: *** [Makefile:88: subdirs] Error 1
gmake[1]: Leaving directory '/Volumes/d0/tmp/pkgsrc/security/openssl/work/openssl-1.0.2h/crypto'
gmake: *** [Makefile:286: build_crypto] Error 1
*** Error code 2

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

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

>How-To-Repeat:
See above.

"Dl_info" is defined in "/usr/include/dlfcn.h" and it appears that
the openssl configuration detects and includes it, but the definition
of "Dl_info" is only available if _POSIX_C_SOURCE is NOT defined.

From what I can see this is true of the source file in question, so
the HAVE_DLINFO macro is true, but the source still doesn't find the
Dl_info definition.

I added an explicit "#undef _POSIX_C_SOURCE" in the failing file
with no effect.
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->sevan
Responsible-Changed-By: sevan@NetBSD.org
Responsible-Changed-When: Tue, 28 Jun 2016 16:50:42 +0000
Responsible-Changed-Why:
take


From: Sevan Janiyan <sevan@NetBSD.org>
To: "gnats-bugs@netbsd.org" <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Sun, 3 Jul 2016 15:22:55 +0100

 Which version of XCode are you using?
 I use version 2.5 which you can obtain from ADC (Apple Developer
 Connection). This comes with the following version of GCC

 Using built-in specs.
 Target: powerpc-apple-darwin8
 Configured with: /var/tmp/gcc/gcc-5370~2/src/configure
 --disable-checking -enable-werror --prefix=/usr --mandir=/share/man
 --enable-languages=c,objc,c++,obj-c++
 --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
 --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
 --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8
 --target=powerpc-apple-darwin8
 Thread model: posix
 gcc version 4.0.1 (Apple Computer, Inc. build 5370)

 With this I'm able to build security/openssl without issue.


 Sevan

State-Changed-From-To: open->feedback
State-Changed-By: sevan@NetBSD.org
State-Changed-When: Sun, 03 Jul 2016 14:25:36 +0000
State-Changed-Why:


From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Sun, 3 Jul 2016 12:17:09 -0500 (CDT)

 On Sun, 3 Jul 2016, Sevan Janiyan wrote:

 >  Which version of XCode are you using?
 >  I use version 2.5 which you can obtain from ADC (Apple Developer

 I have the last update of XCode 2.5 that could still run on MacOS X 10.4.*
 (That machine is currently engaged with building packages for NetBSD/macppc,
 but when it reaches a stopping point I'll reboot into MacOS X and try to
 get more detailed information.)

 It built the previous versions of openssl and icu (from pkgsrc-2016Q1
 time-frame) without problems.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Mon, 4 Jul 2016 22:35:56 -0500 (CDT)

 On Sun, 3 Jul 2016, Sevan Janiyan wrote:

 >  Using built-in specs.
 >  Target: powerpc-apple-darwin8
 >  Configured with: /var/tmp/gcc/gcc-5370~2/src/configure
 >  --disable-checking -enable-werror --prefix=/usr --mandir=/share/man
 >  --enable-languages=c,objc,c++,obj-c++
 >  --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
 >  --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
 >  --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8
 >  --target=powerpc-apple-darwin8
 >  Thread model: posix
 >  gcc version 4.0.1 (Apple Computer, Inc. build 5370)

 What options/arguments produce the above output?

 From System Profiler I get:

 Xcode:

   Version:	2.5
   Last Modified:	2007/12/23 18:56
   Kind:	Universal
   Get Info String:	Xcode version 2.5
   Location:	/Developer/Applications/Xcode.app

 From 'gcc --version' I get:

 powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5370)
 Copyright (C) 2005 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Mon, 4 Jul 2016 22:43:30 -0500 (CDT)

 I found it.  'gcc -v' reports:

 Using built-in specs.
 Target: powerpc-apple-darwin8
 Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable-checking
 -enable-werror --prefix=/usr --mandir=/share/man
 --enable-languages=c,objc,c++,obj-c++
 --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
 --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
 --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8
 --target=powerpc-apple-darwin8
 Thread model: posix
 gcc version 4.0.1 (Apple Computer, Inc. build 5370)

 So, same as you.  Yet I cannot build openssl or icu.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: Sevan Janiyan <sevan@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Tue, 5 Jul 2016 09:59:39 +0100

 On 05/07/2016 04:45, John D. Baker wrote:
 >  So, same as you.  Yet I cannot build openssl or icu.

 icu issue is different, I have no trouble building openssl.
 Are you using pkgsrc-current? (I am)


 Sevan

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Tue, 5 Jul 2016 08:43:20 -0500 (CDT)

 On Tue, 5 Jul 2016, Sevan Janiyan wrote:

 >  Are you using pkgsrc-current? (I am)

 Yes.  On this machine, I track pkgsrc-HEAD rather than stick with any
 quarterly branch.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: Sevan Janiyan <sevan@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Tue, 5 Jul 2016 14:50:22 +0100

 On 05/07/2016 14:45, John D. Baker wrote:
 >  On this machine, I track pkgsrc-HEAD rather than stick with any
 >  quarterly branch.

 When you bootstrapped pkgsrc, did you enable cwrappers? (this is broken
 on legacy versions of OS X)


 Sevan

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Tue, 5 Jul 2016 09:28:24 -0500 (CDT)

 On Tue, 5 Jul 2016, Sevan Janiyan wrote:

 >  When you bootstrapped pkgsrc, did you enable cwrappers? (this is broken
 >  on legacy versions of OS X)

 No.  I was not even aware of "cwrappers" the last time I bootstrapped
 pkgsrc on this machine.  (According to the comment in
 "/usr/pkg/etc/mk.conf", that was on 14 February 2016.  I've been using
 'pkg_rolling-replace' since then and it updated bootstrap-mk-files and
 pkg-install plus some others before getting stymied by icu and openssl.)

 Perhaps I should re-bootstrap afresh?

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: Sevan Janiyan <sevan@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Tue, 5 Jul 2016 16:47:33 +0100

 On 05/07/2016 15:30, John D. Baker wrote:
 >  Perhaps I should re-bootstrap afresh?

 yep.
 I updated my tree on a 2nd system & bootstrapped again, I was again able
 to build security/openssl on new system.


 Sevan

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Tue, 5 Jul 2016 16:10:25 +0000

 On Tue, Jul 05, 2016 at 03:50:01PM +0000, Sevan Janiyan wrote:
  >  On 05/07/2016 15:30, John D. Baker wrote:
  >  >  Perhaps I should re-bootstrap afresh?
  >  
  >  yep.
  >  I updated my tree on a 2nd system & bootstrapped again, I was again able
  >  to build security/openssl on new system.

 Given the failure, I'd be surprised if rebootstrapping helped; then
 again, the failure doesn't make a whole lot of sense anyway so maybe
 I'll be surprised...

 -- 
 David A. Holland
 dholland@netbsd.org

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Tue, 5 Jul 2016 16:57:59 -0500 (CDT)

 On Tue, 5 Jul 2016, Sevan Janiyan wrote:

 >On 05/07/2016 15:30, John D. Baker wrote:
 >>  Perhaps I should re-bootstrap afresh?
 >
 > yep.
 > I updated my tree on a 2nd system & bootstrapped again, I was again able
 > to build security/openssl on new system.

 An attempted "in-place" re-bootstrap had no effect.  Like so many things,
 I'll nuke it from orbit and start over with an empty "/usr/pkg" (except
 for my custom "mk.conf" and a couple of customized config files for
 other package).

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: Sevan Janiyan <sevan@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Tue, 5 Jul 2016 23:21:55 +0100

 On 05/07/2016 23:00, John D. Baker wrote:
 > except for my custom "mk.conf" and a couple of customized config
 > files for other package).

 What's in your custom mk.conf?


 Sevan

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Tue, 5 Jul 2016 17:56:34 -0500 (CDT)

 On Tue, 5 Jul 2016, Sevan Janiyan wrote:

 > On 05/07/2016 23:00, John D. Baker wrote:
 > > except for my custom "mk.conf" and a couple of customized config
 > > files for other package).
 >
 > What's in your custom mk.conf?

 Just the standard definitions from the bootstrap example plus
 customizations for my build environment:

 # Example /usr/pkg/etc/mk.conf file produced by bootstrap-pkgsrc
 # Tue Jul  5 15:07:43 CDT 2016

 .ifdef BSD_PKG_MK	# begin pkgsrc settings

 ABI=			32
 PKGSRC_COMPILER=	gcc

 PKG_DBDIR=		/usr/pkg/var/db/pkg
 LOCALBASE=		/usr/pkg
 VARBASE=		/usr/pkg/var
 PKG_TOOLS_BIN=		/usr/pkg/sbin
 PKGINFODIR=		info
 PKGMANDIR=		man

 # Above are the values from the bootstrap process.
 # Below are customizations for build environment and package options.

 WRKOBJDIR=		/Volumes/d0/tmp/pkgsrc

 FAILOVER_FETCH=yes

 PAPERSIZE=Letter

 MAKE_JOBS != echo $$(($$(sysctl -n hw.ncpu) + 1))

 LOCALPATCHES=/usr/pkgsrc/../localpatches

 PKG_DEFAULT_OPTIONS+=pam ssl jack -cups -pulseaudio

 PKG_OPTIONS.thunderbird+=-mozilla-lightning
 PKG_OPTIONS.irssi+=perl
 PKG_OPTIONS.nmap+=zenmap ndiff lua
 PKG_OPTIONS.uircd+=unrealircd-ziplinks
 UIRCD_HOME=/home/unrealircd
 PKG_OPTIONS.ffmpeg+=faac opencore-amr
 PKG_OPTIONS.ffmpeg010+=${PKG_OPTIONS.ffmpeg}
 PKG_OPTIONS.ffmpeg2+=${PKG_OPTIONS.ffmpeg} fdk-aac gnutls x265 xcb
 PKG_OPTIONS.ffmpeg3+=${PKG_OPTIONS.ffmpeg2}
 PKG_OPTIONS.cups+=acl tcpwrappers
 PKG_OPTIONS.samba+=-ldap -ads -winbind
 PKG_OPTIONS.mplayer+=aalib arts caca dts ggi mplayer-real #debug
 PKG_OPTIONS.gmplayer+=${PKG_OPTIONS.mplayer}
 PKG_OPTIONS.mencoder+=faad dts #debug
 PKG_OPTIONS.xscreensaver+=webcollage
 PKG_OPTIONS.gs_type=ghostscript-agpl
 PKG_OPTIONS.fvwm-crystal+=hsetroot urxvt -aterm
 PKG_OPTIONS.apcupsd+=-cgi
 PKG_OPTIONS.links+=svg
 PKG_OPTIONS.memtestplus+=serialconsole
 #PKG_OPTIONS.libmikmod+=esound

 .if "${PKGPATH}" == "security/sudo" || "${PKGPATH}" == "wip/sudo"
 CONFIGURE_ARGS+= --with-insults --with-all-insults
 PKG_PRESERVE=	yes
 .endif

 LIBDVDCSS_MASTER_SITES+=[redacted]

 .endif			# end pkgsrc settings


 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Tue, 5 Jul 2016 18:22:27 -0500 (CDT)

 On Tue, 5 Jul 2016, John D. Baker wrote:

 > An attempted "in-place" re-bootstrap had no effect.  Like so many things,
 > I'll nuke it from orbit and start over with an empty "/usr/pkg" (except
 > for my custom "mk.conf" and a couple of customized config files for
 > other package).

 Unfortunately, a bootstrap from scratch fails building "pkg_install":

 [...]
 cc -isystem /usr/include -O -I/usr/include -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=0022 -I/Volumes/d0/tmp/pkgsrc/bootstrap/wrk/pkgtools/pkg_install/work/zlib -I/Volumes/d0/tmp/pkgsrc/bootstrap/wrk/pkgtools/pkg_install/work/libarchive/libarchive -I/Volumes/d0/tmp/pkgsrc/bootstrap/wrk/pkgtools/pkg_install/work/libfetch -I/Volumes/d0/tmp/pkgsrc/bootstrap/wrk/pkgtools/pkg_install/work -DHAVE_NBCOMPAT_H=1 -I/Volumes/d0/tmp/pkgsrc/bootstrap/wrk/pkgtools/pkg_install/work/libnbcompat -isystem /usr/include -I/usr/include -c libverify.c
 libverify.c:277: error: redefinition of typedef 'pgpv_t'
 verify.h:35: error: previous declaration of 'pgpv_t' was here
 libverify.c:292: error: redefinition of typedef 'pgpv_cursor_t'
 verify.h:38: error: previous declaration of 'pgpv_cursor_t' was here
 libverify.c: In function 'str_to_keyid':
 libverify.c:881: warning: integer constant is too large for 'unsigned long' type
 libverify.c:882: warning: integer constant is too large for 'unsigned long' type
 libverify.c:883: warning: integer constant is too large for 'unsigned long' type
 libverify.c:884: warning: integer constant is too large for 'unsigned long' type
 libverify.c: In function 'fmt_userid':
 libverify.c:1776: warning: pointer targets in passing argument 2 of 'obuf_add_mem' differ in signedness
 *** Error code 1

 Stop.
 bmake: stopped in /Volumes/d0/tmp/pkgsrc/bootstrap/wrk/pkgtools/pkg_install/work/netpgpverify
 *** Error code 1

 Stop.
 bmake[1]: stopped in /usr/pkgsrc/pkgtools/pkg_install
 *** Error code 1

 Stop.
 bmake: stopped in /usr/pkgsrc/pkgtools/pkg_install
 ===> exited with status 1
 aborted.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: Sevan Janiyan <sevan@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Wed, 6 Jul 2016 01:46:25 +0100

 On 06/07/2016 00:25, John D. Baker wrote:
 >  Unfortunately, a bootstrap from scratch fails building "pkg_install":

 update your tree & try again[1]


 Sevan
 [1] http://mail-index.netbsd.org/pkgsrc-changes/2016/07/05/msg143217.html

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Wed, 6 Jul 2016 00:22:37 -0500 (CDT)

 On Wed, 6 Jul 2016, Sevan Janiyan wrote:

 > On 06/07/2016 00:25, John D. Baker wrote:
 > >  Unfortunately, a bootstrap from scratch fails building "pkg_install":
 >
 > update your tree & try again[1]
 >  
 >  Sevan
 >  [1] http://mail-index.netbsd.org/pkgsrc-changes/2016/07/05/msg143217.html

 No change.  Same failure as before.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Wed, 6 Jul 2016 01:35:57 -0500 (CDT)

 On Wed, 6 Jul 2016, John D. Baker wrote:

 > On Wed, 6 Jul 2016, Sevan Janiyan wrote:
 > 
 > > On 06/07/2016 00:25, John D. Baker wrote:
 > > >  Unfortunately, a bootstrap from scratch fails building "pkg_install":
 > >
 > > update your tree & try again[1]
 > >  
 > >  Sevan
 > >  [1] http://mail-index.netbsd.org/pkgsrc-changes/2016/07/05/msg143217.html
 > 
 > No change.  Same failure as before.

 Reverting to just before:

   http://mail-index.netbsd.org/pkgsrc-changes/2016/07/05/msg143215.html

 allows bootstrap to complete.

 Proceeding with build attempts for openssl and icu.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: Alistair Crooks <agc@pkgsrc.org>
To: "gnats-bugs@netbsd.org" <gnats-bugs@netbsd.org>
Cc: "sevan@netbsd.org" <sevan@netbsd.org>, "gnats-admin@netbsd.org" <gnats-admin@netbsd.org>, 
	"pkgsrc-bugs@netbsd.org" <pkgsrc-bugs@netbsd.org>, "jdbaker@mylinuxisp.com" <jdbaker@mylinuxisp.com>
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Wed, 6 Jul 2016 08:02:46 -0700

 --001a113ec784c2d1090536f8dc32
 Content-Type: text/plain; charset=UTF-8

 The old version of the header file is being used, and not the new one in
 the build directory. A workaround for this would be to rename the header,
 but that is just papering over the cracks, and is dangerous- future changes
 could change function signatures or add new functions, and we'd be back in
 the same situation again

 I need to have another look at the flags being used to compile during
 bootstrap

 Best,
 Alistair

 On Tuesday, July 5, 2016, John D. Baker <jdbaker@mylinuxisp.com> wrote:

 > The following reply was made to PR pkg/51291; it has been noted by GNATS.
 >
 > From: "John D. Baker" <jdbaker@mylinuxisp.com <javascript:;>>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
 > Date: Wed, 6 Jul 2016 01:35:57 -0500 (CDT)
 >
 >  On Wed, 6 Jul 2016, John D. Baker wrote:
 >
 >  > On Wed, 6 Jul 2016, Sevan Janiyan wrote:
 >  >
 >  > > On 06/07/2016 00:25, John D. Baker wrote:
 >  > > >  Unfortunately, a bootstrap from scratch fails building
 > "pkg_install":
 >  > >
 >  > > update your tree & try again[1]
 >  > >
 >  > >  Sevan
 >  > >  [1]
 > http://mail-index.netbsd.org/pkgsrc-changes/2016/07/05/msg143217.html
 >  >
 >  > No change.  Same failure as before.
 >
 >  Reverting to just before:
 >
 >    http://mail-index.netbsd.org/pkgsrc-changes/2016/07/05/msg143215.html
 >
 >  allows bootstrap to complete.
 >
 >  Proceeding with build attempts for openssl and icu.
 >
 >  --
 >  |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 >  |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 >  | X  No HTML/proprietary data in email.   BSD just sits there and works!
 >  |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 >
 >
 >

 --001a113ec784c2d1090536f8dc32
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable

 The old version of the header file is being used, and not the new one in th=
 e build directory. A workaround for this would be to rename the header, but=
  that is just papering over the cracks, and is dangerous- future changes co=
 uld change function signatures or add new functions, and we&#39;d be back i=
 n the same situation again<div><br></div><div>I need to have another look a=
 t the flags being used to compile during bootstrap=C2=A0</div><div><br></di=
 v><div>Best,</div><div>Alistair<span></span><br><br>On Tuesday, July 5, 201=
 6, John D. Baker &lt;<a href=3D"mailto:jdbaker@mylinuxisp.com">jdbaker@myli=
 nuxisp.com</a>&gt; wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
 gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The following r=
 eply was made to PR pkg/51291; it has been noted by GNATS.<br>
 <br>
 From: &quot;John D. Baker&quot; &lt;<a href=3D"javascript:;" onclick=3D"_e(=
 event, &#39;cvml&#39;, &#39;jdbaker@mylinuxisp.com&#39;)">jdbaker@mylinuxis=
 p.com</a>&gt;<br>
 To: gnats-bugs@NetBSD.org<br>
 Cc:<br>
 Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)<br>
 Date: Wed, 6 Jul 2016 01:35:57 -0500 (CDT)<br>
 <br>
 =C2=A0On Wed, 6 Jul 2016, John D. Baker wrote:<br>
 <br>
 =C2=A0&gt; On Wed, 6 Jul 2016, Sevan Janiyan wrote:<br>
 =C2=A0&gt;<br>
 =C2=A0&gt; &gt; On 06/07/2016 00:25, John D. Baker wrote:<br>
 =C2=A0&gt; &gt; &gt;=C2=A0 Unfortunately, a bootstrap from scratch fails bu=
 ilding &quot;pkg_install&quot;:<br>
 =C2=A0&gt; &gt;<br>
 =C2=A0&gt; &gt; update your tree &amp; try again[1]<br>
 =C2=A0&gt; &gt;<br>
 =C2=A0&gt; &gt;=C2=A0 Sevan<br>
 =C2=A0&gt; &gt;=C2=A0 [1] <a href=3D"http://mail-index.netbsd.org/pkgsrc-ch=
 anges/2016/07/05/msg143217.html" target=3D"_blank">http://mail-index.netbsd=
 .org/pkgsrc-changes/2016/07/05/msg143217.html</a><br>
 =C2=A0&gt;<br>
 =C2=A0&gt; No change.=C2=A0 Same failure as before.<br>
 <br>
 =C2=A0Reverting to just before:<br>
 <br>
 =C2=A0 =C2=A0<a href=3D"http://mail-index.netbsd.org/pkgsrc-changes/2016/07=
 /05/msg143215.html" target=3D"_blank">http://mail-index.netbsd.org/pkgsrc-c=
 hanges/2016/07/05/msg143215.html</a><br>
 <br>
 =C2=A0allows bootstrap to complete.<br>
 <br>
 =C2=A0Proceeding with build attempts for openssl and icu.<br>
 <br>
 =C2=A0--<br>
 =C2=A0|/&quot;\ John D. Baker, KN5UKS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
 =A0 =C2=A0 =C2=A0NetBSD=C2=A0 =C2=A0 =C2=A0Darwin/MacOS X<br>
 =C2=A0|\ / jdbaker[snail]mylinuxisp[flyspeck]com=C2=A0 =C2=A0 OpenBSD=C2=A0=
  =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 FreeBSD<br>
 =C2=A0| X=C2=A0 No HTML/proprietary data in email.=C2=A0 =C2=A0BSD just sit=
 s there and works!<br>
 =C2=A0|/ \ GPGkeyID:=C2=A0 D703 4A7E 479F 63F8 D3F4=C2=A0 BD99 9572 8F23 E4=
 AD 1645<br>
 <br>
 <br>
 </blockquote></div>

 --001a113ec784c2d1090536f8dc32--

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Wed, 6 Jul 2016 14:35:04 -0500 (CDT)

 On Wed, 6 Jul 2016, John D. Baker wrote:

 > Proceeding with build attempts for openssl and icu.

 Same failure for openssl as originally reported.

 Reverting "security/openssl" to 3-May-2016 14:51 UTC, (1.02gnb1)
 now fails the same way.  Before (pkgsrc-2016Q1 time-frame), it built
 successfully.  So, probably something in the global machinery for
 MacOS X changed...

 Reverting all of pkgsrc to pkgsrc-2016Q1 to verify.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Wed, 6 Jul 2016 15:55:25 -0500 (CDT)

 On Wed, 6 Jul 2016, John D. Baker wrote:

 > Reverting all of pkgsrc to pkgsrc-2016Q1 to verify.

 No, that fails the same way.  Reverting to pkgsrc-2015Q4 to test.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: Sevan Janiyan <sevan@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Wed, 6 Jul 2016 22:16:08 +0100

 On 06/07/2016 22:00, John D. Baker wrote:
 >  No, that fails the same way.  Reverting to pkgsrc-2015Q4 to test.

 Can you test without using the stock defaults, without your mk.conf



 Sevan

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Wed, 6 Jul 2016 18:02:16 -0500 (CDT)

 On Wed, 6 Jul 2016, John D. Baker wrote:
 > On Wed, 6 Jul 2016, John D. Baker wrote:
 > 
 > > Reverting all of pkgsrc to pkgsrc-2016Q1 to verify.
 > 
 > No, that fails the same way.  Reverting to pkgsrc-2015Q4 to test.

 With bootstrap and mk.conf defaults from HEAD, reverting to pkgsrc-2015Q4
 successfully builds "security/openssl" (1.02e).

 Rolling forward to last known bootstrap date when openssl last built
 successfully (14 Feb 2016).

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Wed, 6 Jul 2016 22:07:18 -0500 (CDT)

 On Wed, 6 Jul 2016, John D. Baker wrote:

 > Rolling forward to last known bootstrap date when openssl last built
 > successfully (14 Feb 2016).

 With bootstrap and mk.conf defaults from HEAD, pkgsrc as of
 15-Feb-2016 00:00 UTC builds openssl (1.02f) successfully.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Thu, 7 Jul 2016 14:15:39 -0500 (CDT)

 Found it.  This commit:

   http://mail-index.netbsd.org/pkgsrc-changes/2016/03/14/msg138134.html

 breaks building "security/openssl" on MacOS X 10.4.11 (powerpc).

 From a minute before, openssl builds successfully.  From a minute after,
 it fails in the manner originally reported.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Thu, 7 Jul 2016 14:24:15 -0500 (CDT)

 On Wed, 6 Jul 2016, Sevan Janiyan wrote:

 >  Can you test without using the stock defaults, without your mk.conf

 I'm trying that now.  It's polluting the system "/var/db".  As such, it
 can't find the already-installed packages, so is building everything
 again.  It's making a right mess of things.

 I found the commit that broke building openssl for me and am currently
 rolled back to that.  I'm going to abort this experiment, clean up,
 roll forward to HEAD, rebootstrap (should be fixed now), roll back the
 problem commit and try again.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Fri, 8 Jul 2016 01:09:46 -0500 (CDT)

 On Thu, 7 Jul 2016, John D. Baker wrote:

 > roll forward to HEAD, rebootstrap (should be fixed now), roll back the
 > problem commit and try again.

 Sigh.  Bootstrap is still broken in HEAD.  Reverting netpgpverify and
 pkg_install changes to make it work.

 Following bootstrap, built as many packages that didn't need openssl as
 I could.  When openssl was inevitable it, of course, failed to build.

 I reverted the changes to "mk" of 14 March 2016 20:12 UTC and openssl
 built.  I restored all reverted files to HEAD and restarted building
 the package that pulled in openssl.

 Why these only fail for me and no-one else is a mystery.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Fri, 8 Jul 2016 15:06:25 -0500 (CDT)

 On Thu, 7 Jul 2016, John D. Baker wrote:
 > Found it.  This commit:
 > 
 >   http://mail-index.netbsd.org/pkgsrc-changes/2016/03/14/msg138134.html
 > 
 > breaks building "security/openssl" on MacOS X 10.4.11 (powerpc).

 This also breaks "converters/help2man":

 [...]
 ===> Building for help2man-1.47.3
 /usr/pkg/bin/perl help2man.PL --with-gettext
 cc -O -I/usr/pkg/include -I/usr/include -isystem /usr/include -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -L/usr/lib -o bindtextdomain.dylib -fPIC -dynamiclib -install_name /usr/pkg/lib/bindtextdomain.dylib bindtextdomain.c -lintl 
 Extracting help2man (with variable substitutions)
 bindtextdomain.c: In function 'setup':
 bindtextdomain.c:73: error: 'RTLD_NEXT' undeclared (first use in this function)
 bindtextdomain.c:73: error: (Each undeclared identifier is reported only once
 bindtextdomain.c:73: error: for each function it appears in.)
 gmake: *** [Makefile:148: bindtextdomain.dylib] Error 1
 *** Error code 2

 Stop.
 bmake[12]: stopped in /usr/pkgsrc/converters/help2man


 Reverting the changes in the above commit allows "help2man" to build
 successfully.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Thu, 25 Aug 2016 11:20:49 -0500 (CDT)

 On Fri, 8 Jul 2016, John D. Baker wrote:

 > On Thu, 7 Jul 2016, John D. Baker wrote:
 > > Found it.  This commit:
 > > 
 > >   http://mail-index.netbsd.org/pkgsrc-changes/2016/03/14/msg138134.html
 > > 
 > > breaks building "security/openssl" on MacOS X 10.4.11 (powerpc).
 > 
 > This also breaks "converters/help2man":

 As of 201608251450Z, I still see these problems.  Reverting the changes
 logged in the above commit email lets me build openssl and help2man.
 So far other packages I build have no trouble with the pkgsrc-current
 versions of the files noted in the changelog.

 In case it matters, my XCode installation was last updated from the

   xcode25_8m2558_developerdvd.dmg

 image, circa 23 December 2007.

 Perhaps it would help to reapply the update or re-install XCode?

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: Sevan Janiyan <sevan@NetBSD.org>
To: gnats-bugs@NetBSD.org, jdbaker@mylinuxisp.com
Cc: 
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Thu, 25 Aug 2016 17:45:45 +0100

 On 25/08/2016 17:25, John D. Baker wrote:
 > The following reply was made to PR pkg/51291; it has been noted by GNATS.
 > 
 > From: "John D. Baker" <jdbaker@mylinuxisp.com>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
 > Date: Thu, 25 Aug 2016 11:20:49 -0500 (CDT)
 > 
 >  On Fri, 8 Jul 2016, John D. Baker wrote:
 >  
 >  > On Thu, 7 Jul 2016, John D. Baker wrote:
 >  > > Found it.  This commit:
 >  > > 
 >  > >   http://mail-index.netbsd.org/pkgsrc-changes/2016/03/14/msg138134.html
 >  > > 
 >  > > breaks building "security/openssl" on MacOS X 10.4.11 (powerpc).
 >  > 
 >  > This also breaks "converters/help2man":
 >  
 >  As of 201608251450Z, I still see these problems.  Reverting the changes
 >  logged in the above commit email lets me build openssl and help2man.
 >  So far other packages I build have no trouble with the pkgsrc-current
 >  versions of the files noted in the changelog.
 >  
 >  In case it matters, my XCode installation was last updated from the
 >  
 >    xcode25_8m2558_developerdvd.dmg
 >  
 >  image, circa 23 December 2007.
 >  
 >  Perhaps it would help to reapply the update or re-install XCode?

 I'm also using XCode 2.5 from https://developer.apple.com/download/

 filename: xcode25_8m2558_developerdvd.dmg

 Most recent OpenSSL package which was built on Tiger for me was:
 http://sevan.mit.edu/packages/All/openssl-1.0.2hnb2.tgz

 If you bootstrap pkgsrc-current under a new prefix and try building
 security/openssl again without any customisation, do you still see the
 same problem?

 cd /usr/pkgsrc/bootstrap
 ./bootstrap --unprivileged --prefix /tmp/foo
 cd ../security/openssl
 /tmp/foo/bin/bmake


 Sevan

From: Sevan Janiyan <sevan@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: jdbaker@mylinuxisp.com
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Thu, 25 Aug 2016 17:53:21 +0100

 On 25/08/2016 17:50, Sevan Janiyan wrote:
 >  Most recent OpenSSL package which was built on Tiger for me was:
 >  http://sevan.mit.edu/packages/All/openssl-1.0.2hnb2.tgz

 Most recent help2man package which was built on Tiger for me was:
 http://sevan.mit.edu/packages/All/help2man-1.47.3nb1.tgz

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: Sevan Janiyan <sevan@NetBSD.org>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Thu, 25 Aug 2016 14:01:49 -0500 (CDT)

 On Thu, 25 Aug 2016, Sevan Janiyan wrote:

 > On 25/08/2016 17:50, Sevan Janiyan wrote:
 > >  Most recent OpenSSL package which was built on Tiger for me was:
 > >  http://sevan.mit.edu/packages/All/openssl-1.0.2hnb2.tgz
 > 
 > Most recent help2man package which was built on Tiger for me was:
 > http://sevan.mit.edu/packages/All/help2man-1.47.3nb1.tgz

 With my main (privileged) "/usr/pkg", I can build these versions as
 well, but I have to roll back the aforementioned changes in "mk/*" to
 do so.

 > If you bootstrap pkgsrc-current under a new prefix and try building
 > security/openssl again without any customisation, do you still see
 > the same problem?
 > 
 > cd /usr/pkgsrc/bootstrap
 > ./bootstrap --unprivileged --prefix /tmp/foo
 > cd ../security/openssl
 > /tmp/foo/bin/bmake

 Having already done the rollback-rebuild help2man,openssl-rollforward
 hack, I'm proceeding with updating the rest of my main "/usr/pkg".  I'll
 give the above a try when I reach a stopping point.

 I would normally prefer to at least set "WRKOBJDIR", but for this limited
 test, having the work directory in the pkgsrc tree will not be too much
 trouble.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: Sevan Janiyan <sevan@NetBSD.org>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/51291 (openssl build fails on MacOS X 10.4.11 powerpc)
Date: Thu, 25 Aug 2016 18:29:38 -0500 (CDT)

 On Thu, 25 Aug 2016, Sevan Janiyan wrote:

 > If you bootstrap pkgsrc-current under a new prefix and try building
 > security/openssl again without any customisation, do you still see the
 > same problem?
 > 
 > cd /usr/pkgsrc/bootstrap
 > ./bootstrap --unprivileged --prefix /tmp/foo

 Done with  "--prefix /d0/tmp/foo" on my system.  You say "without any
 customisation" but this is inescapable as the bootstrap process
 automatically installs a "/d0/tmp/foo/etc/mk.conf" file.  Further package
 builds will not work correctly without the definitions it contains.
 I have not added/changed anything in this baseline file.

 > cd ../security/openssl
 > /tmp/foo/bin/bmake

 Yes.  The same error occurs.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.