Subject: port-i386/36189: libasn1/der_put.po dies on OS X 10.4.9
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <charlie@rubberduck.com>
List: netbsd-bugs
Date: 04/21/2007 18:00:01
>Number:         36189
>Category:       port-i386
>Synopsis:       libasn1/der_put.po dies on OS X 10.4.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 21 18:00:01 +0000 2007
>Originator:     Charlie Allom
>Release:        4 BETA_2
>Organization:
>Environment:
Darwin capslock.state51.co.uk 8.9.1 Darwin Kernel Version 8.9.1: Thu Feb 22 20:55:00 PST 2007; root:xnu-792.18.15~1/RELEASE_I386 i386 i386
>Description:
seems to die, other people report success tho..

this is CVS as of this date.
>How-To-Repeat:
#   compile  libasn1/der_put.po
/Users/yeled/netbsd-4/tooldir.Darwin-8.9.1-i386/bin/i386--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional  -Werror    -I.                                    -I/Users/yeled/netbsd-4/crypto/dist/heimdal/lib/asn1            -I/Users/yeled/netbsd-4/include/heimdal         -I/Users/yeled/netbsd-4/lib/libroken            -I/Users/yeled/netbsd-4/crypto/dist/heimdal/lib/roken           -I/Users/yeled/netbsd-4/crypto/dist/heimdal/lib/com_err                 -DHAVE_CONFIG_H -DHAVE_IPV6   -nostdinc -isystem /Users/yeled/netbsd-4/destdir.i386/usr/include -c -DGPROF -DPROF    -pg /Users/yeled/netbsd-4/crypto/dist/heimdal/lib/asn1/der_put.c -o der_put.po
/Users/yeled/netbsd-4/crypto/dist/heimdal/lib/asn1/der_put.c: In function 'der_put_oid':
/Users/yeled/netbsd-4/crypto/dist/heimdal/lib/asn1/der_put.c:167: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions.

*** Failed target:  der_put.po
*** Failed command: /Users/yeled/netbsd-4/tooldir.Darwin-8.9.1-i386/bin/i386--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Werror -I. -I/Users/yeled/netbsd-4/crypto/dist/heimdal/lib/asn1 -I/Users/yeled/netbsd-4/include/heimdal -I/Users/yeled/netbsd-4/lib/libroken -I/Users/yeled/netbsd-4/crypto/dist/heimdal/lib/roken -I/Users/yeled/netbsd-4/crypto/dist/heimdal/lib/com_err -DHAVE_CONFIG_H -DHAVE_IPV6 -nostdinc -isystem /Users/yeled/netbsd-4/destdir.i386/usr/include -c -DGPROF -DPROF -pg /Users/yeled/netbsd-4/crypto/dist/heimdal/lib/asn1/der_put.c -o der_put.po
*** Error code 1

Stop.
nbmake: stopped in /Users/yeled/netbsd-4/lib/libasn1

*** Failed target:  dependall
*** Failed command: cd /Users/yeled/netbsd-4/lib/libasn1; /Users/yeled/netbsd-4/tooldir.Darwin-8.9.1-i386/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /Users/yeled/netbsd-4/lib/libasn1

*** Failed target:  dependall-libasn1
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="lib/"; real="/Users/yeled/netbsd-4/lib" ;; *) this="lib/${dir}/"; real="/Users/yeled/netbsd-4/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /Users/yeled/netbsd-4/tooldir.Darwin-8.9.1-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libasn1 dependall
*** Error code 1

Stop.
nbmake: stopped in /Users/yeled/netbsd-4/lib

*** Failed target:  do-lib
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/Users/yeled/netbsd-4" ;; *) this="${dir}/"; real="/Users/yeled/netbsd-4/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /Users/yeled/netbsd-4/tooldir.Darwin-8.9.1-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget lib dependall
*** Error code 1

Stop.
nbmake: stopped in /Users/yeled/netbsd-4

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/Users/yeled/netbsd-4" ;; *) this="${dir}/"; real="/Users/yeled/netbsd-4/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /Users/yeled/netbsd-4/tooldir.Darwin-8.9.1-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-lib
*** Error code 1

Stop.
nbmake: stopped in /Users/yeled/netbsd-4

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/Users/yeled/netbsd-4" ;; *) this="${dir}/"; real="/Users/yeled/netbsd-4/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /Users/yeled/netbsd-4/tooldir.Darwin-8.9.1-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /Users/yeled/netbsd-4

ERROR: Failed to make distribution
*** BUILD ABORTED ***
zsh: 15741 exit 1     sudo ./build.sh -m i386 -T /Users/yeled/netbsd-4/tooldir.Darwin-8.9.1-i386
sudo ./build.sh -m i386 -T /Users/yeled/netbsd-4/tooldir.Darwin-8.9.1-i386     1678.41s user 888.67s system 86% cpu 49:27.10 total
18:36 capslock:~/netbsd-4%

>Fix: