Opened 14 years ago

Closed 14 years ago

#26358 closed defect (fixed)

openssl 1.0.0a fails to configure on Tiger with trunk base

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: base Version: 1.9.99
Keywords: Cc: mww@…
Port: openssl

Description

 $ PATH=/opt/local/bin:/bin:/usr/bin:/sbin:/usr/sbin port -d install openssl
Warning: port definitions are more than two weeks old, consider using selfupdate
DEBUG: Changing to port directory: /Volumes/Home/jeremy/src/macports/trunk/dports/devel/openssl
DEBUG: OS darwin/8.11.1 (Mac OS X 10.4) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /Volumes/Home/jeremy/src/macports/trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /Volumes/Home/jeremy/src/macports/trunk/dports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work /Volumes/Home/jeremy/src/macports/trunk/dports/devel/openssl/work
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: -2
DEBUG: euid changed to: -2
DEBUG: Starting logging for openssl
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: zlib 1.2.5_0 exists in the ports tree
DEBUG: zlib 1.2.5_0  is the latest installed
DEBUG: zlib 1.2.5_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /Volumes/Home/jeremy/src/macports/trunk/dports/archivers/zlib
DEBUG: OS darwin/8.11.1 (Mac OS X 10.4) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /Volumes/Home/jeremy/src/macports/trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /Volumes/Home/jeremy/src/macports/trunk/dports/_resources/port1.0/variant_descriptions.conf
DEBUG: No need to upgrade! zlib 1.2.5_0 >= zlib 1.2.5_0
--->  Computing dependencies for openssl
DEBUG: Searching for dependency: zlib
DEBUG: Found Dependency: receipt exists for zlib
DEBUG: Executing org.macports.main (openssl)
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: -2
DEBUG: euid changed to: -2
--->  Fetching openssl
DEBUG: fetch phase started at Sat Sep  4 20:59:45 PDT 2010
DEBUG: Executing org.macports.fetch (openssl)
DEBUG: euid changed to: 0
DEBUG: chowned /opt/local/var/macports/distfiles/openssl to nobody
DEBUG: euid changed to: -2
DEBUG: Privilege de-escalation not attempted as not running as root.
--->  Verifying checksum(s) for openssl
DEBUG: checksum phase started at Sat Sep  4 20:59:45 PDT 2010
DEBUG: Executing org.macports.checksum (openssl)
--->  Checksumming openssl-1.0.0a.tar.gz
DEBUG: Correct (md5) checksum for openssl-1.0.0a.tar.gz
DEBUG: Correct (sha1) checksum for openssl-1.0.0a.tar.gz
DEBUG: Correct (rmd160) checksum for openssl-1.0.0a.tar.gz
DEBUG: Privilege de-escalation not attempted as not running as root.
--->  Extracting openssl
DEBUG: extract phase started at Sat Sep  4 20:59:45 PDT 2010
DEBUG: Executing org.macports.extract (openssl)
--->  Extracting openssl-1.0.0a.tar.gz
DEBUG: setting option extract.args to '/opt/local/var/macports/distfiles/openssl/openssl-1.0.0a.tar.gz'
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.4'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/openssl/openssl-1.0.0a.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: euid changed to: 0
DEBUG: chowned /opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work to nobody
DEBUG: euid changed to: -2
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: patch phase started at Sat Sep  4 20:59:46 PDT 2010
DEBUG: Executing org.macports.patch (openssl)
--->  Applying patches to openssl
--->  Applying /Volumes/Home/jeremy/src/macports/trunk/dports/devel/openssl/files/patch-Makefile.org.diff
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.4'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/openssl-1.0.0a" && /usr/bin/patch -p0'
patching file Makefile.org
--->  Applying /Volumes/Home/jeremy/src/macports/trunk/dports/devel/openssl/files/patch-crypto-Makefile.diff
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.4'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/openssl-1.0.0a" && /usr/bin/patch -p0'
patching file crypto/bf/Makefile
patching file crypto/des/Makefile
DEBUG: Executing proc-post-org.macports.patch-patch-0
DEBUG: euid changed to: 0
DEBUG: chowned /opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/openssl-1.0.0a/Configure to nobody
DEBUG: euid changed to: -2
DEBUG: euid changed to: 0
DEBUG: setting attributes on /opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/openssl-1.0.0a/Configure
DEBUG: euid changed to: -2
DEBUG: Privilege de-escalation not attempted as not running as root.
--->  Configuring openssl
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: configure phase started at Sat Sep  4 20:59:46 PDT 2010
DEBUG: Executing org.macports.configure (openssl)
DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-pipe -ggdb3 -arch i386' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -ggdb3 -arch i386' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.4' CXX='/usr/bin/g++-4.0' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -ggdb3 -m32' LDFLAGS='-L/opt/local/lib -arch i386' OBJC='/usr/bin/gcc-4.0' FCFLAGS='-pipe -ggdb3 -m32' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -ggdb3 -arch i386' FFLAGS='-pipe -ggdb3 -m32' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.0'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/openssl-1.0.0a" && ./Configure --prefix=/opt/local -L/opt/local/lib --openssldir=/opt/local/etc/openssl zlib no-asm no-krb5 shared darwin-i386-cc'
Insecure $ENV{PATH} while running setgid at ./Configure line 1937.
Configuring for darwin-i386-cc
    no-asm          [option]   OPENSSL_NO_ASM
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
    no-store        [experimental] OPENSSL_NO_STORE (skip dir)
    no-zlib-dynamic [default] 
shell command " cd "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/openssl-1.0.0a" && ./Configure --prefix=/opt/local -L/opt/local/lib --openssldir=/opt/local/etc/openssl zlib no-asm no-krb5 shared darwin-i386-cc " returned error 2
Error: Target org.macports.configure returned: configure failure: shell command failed
DEBUG: Backtrace: configure failure: shell command failed
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for openssl): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Log for openssl is at: /opt/local/var/macports/logs/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (9)

comment:1 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Oh, and $PATH looks fine ... so I'm not sure what that security warning is about...

for path in $PATH; do ls -ld $path ; done
drwxr-xr-x 25 jeremy staff 850 Aug 23 16:21 /Volumes/Home/jeremy/bin
drwxrwxr-x 30 root admin 1020 Sep  4 11:33 /Developer/Tools
drwxr-xr-x 173 root admin 5882 Sep  4 12:38 /opt/local/bin
drwxr-xr-x 2 root admin 68 Sep  4 11:50 /opt/local/sbin
drwxr-xr-x 40 root wheel 1360 Sep  4 11:07 /bin
drwxr-xr-x 63 root wheel 2142 Sep  4 11:07 /sbin
drwxr-xr-x 757 root wheel 25738 Sep  4 11:28 /usr/bin
drwxr-xr-x 203 root wheel 6902 Sep  4 11:27 /usr/sbin

comment:2 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

I wonder if this is an issue with recent trunk/base because I'm able to run the exact same command without a problem:

/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/openssl-1.0.0a $ sudo ./Configure --prefix=/opt/local -L/opt/local/lib --openssldir=/opt/local/etc/openssl zlib no-asm no-krb5 shared darwin-i386-cc
Configuring for darwin-i386-cc
    no-asm          [option]   OPENSSL_NO_ASM
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
    no-store        [experimental] OPENSSL_NO_STORE (skip dir)
    no-zlib-dynamic [default] 
IsMK1MF=0
CC            =/usr/bin/gcc-4.0
CFLAG         =-fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch i386 -O3 -fomit-frame-pointer -DL_ENDIAN
EX_LIBS       =-L/opt/local/lib  -lz
CPUID_OBJ     =mem_clr.o
BN_ASM        =bn_asm.o
DES_ENC       =des_enc.o fcrypt_b.o
AES_ENC       =aes_core.o aes_cbc.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4_enc.o rc4_skey.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =
SHA1_OBJ_ASM  =
RMD160_OBJ_ASM=
CMLL_ENC=     =camellia.o cmll_misc.o cmll_cbc.o
PROCESSOR     =
RANLIB        =/usr/bin/ranlib
ARFLAGS       =
PERL          =/usr/bin/perl
THIRTY_TWO_BIT mode
DES_UNROLL used
BN_LLONG mode
RC4_CHUNK is unsigned long
BF_PTR used
e_os2.h => include/openssl/e_os2.h
making links in crypto...
crypto.h => ../include/openssl/crypto.h
opensslv.h => ../include/openssl/opensslv.h
opensslconf.h => ../include/openssl/opensslconf.h
ebcdic.h => ../include/openssl/ebcdic.h
symhacks.h => ../include/openssl/symhacks.h
ossl_typ.h => ../include/openssl/ossl_typ.h
making links in crypto/objects...
objects.h => ../../include/openssl/objects.h
obj_mac.h => ../../include/openssl/obj_mac.h
making links in crypto/md4...
md4.h => ../../include/openssl/md4.h
md4test.c => ../../test/md4test.c
md4.c => ../../apps/md4.c
making links in crypto/md5...
md5.h => ../../include/openssl/md5.h
md5test.c => ../../test/md5test.c
making links in crypto/sha...
sha.h => ../../include/openssl/sha.h
shatest.c => ../../test/shatest.c
sha1test.c => ../../test/sha1test.c
sha256t.c => ../../test/sha256t.c
sha512t.c => ../../test/sha512t.c
making links in crypto/mdc2...
mdc2.h => ../../include/openssl/mdc2.h
mdc2test.c => ../../test/mdc2test.c
making links in crypto/hmac...
hmac.h => ../../include/openssl/hmac.h
hmactest.c => ../../test/hmactest.c
making links in crypto/ripemd...
ripemd.h => ../../include/openssl/ripemd.h
rmdtest.c => ../../test/rmdtest.c
making links in crypto/whrlpool...
whrlpool.h => ../../include/openssl/whrlpool.h
wp_test.c => ../../test/wp_test.c
making links in crypto/des...
des.h => ../../include/openssl/des.h
des_old.h => ../../include/openssl/des_old.h
destest.c => ../../test/destest.c
making links in crypto/aes...
aes.h => ../../include/openssl/aes.h
making links in crypto/rc2...
rc2.h => ../../include/openssl/rc2.h
rc2test.c => ../../test/rc2test.c
making links in crypto/rc4...
rc4.h => ../../include/openssl/rc4.h
rc4test.c => ../../test/rc4test.c
making links in crypto/idea...
idea.h => ../../include/openssl/idea.h
ideatest.c => ../../test/ideatest.c
making links in crypto/bf...
blowfish.h => ../../include/openssl/blowfish.h
bftest.c => ../../test/bftest.c
making links in crypto/cast...
cast.h => ../../include/openssl/cast.h
casttest.c => ../../test/casttest.c
making links in crypto/camellia...
camellia.h => ../../include/openssl/camellia.h
making links in crypto/seed...
seed.h => ../../include/openssl/seed.h
making links in crypto/modes...
modes.h => ../../include/openssl/modes.h
making links in crypto/bn...
bn.h => ../../include/openssl/bn.h
bntest.c => ../../test/bntest.c
exptest.c => ../../test/exptest.c
making links in crypto/ec...
ec.h => ../../include/openssl/ec.h
ectest.c => ../../test/ectest.c
making links in crypto/rsa...
rsa.h => ../../include/openssl/rsa.h
rsa_test.c => ../../test/rsa_test.c
making links in crypto/dsa...
dsa.h => ../../include/openssl/dsa.h
dsatest.c => ../../test/dsatest.c
making links in crypto/ecdsa...
ecdsa.h => ../../include/openssl/ecdsa.h
ecdsatest.c => ../../test/ecdsatest.c
making links in crypto/dh...
dh.h => ../../include/openssl/dh.h
dhtest.c => ../../test/dhtest.c
making links in crypto/ecdh...
ecdh.h => ../../include/openssl/ecdh.h
ecdhtest.c => ../../test/ecdhtest.c
making links in crypto/dso...
dso.h => ../../include/openssl/dso.h
making links in crypto/engine...
engine.h => ../../include/openssl/engine.h
enginetest.c => ../../test/enginetest.c
making links in crypto/buffer...
buffer.h => ../../include/openssl/buffer.h
making links in crypto/bio...
bio.h => ../../include/openssl/bio.h
making links in crypto/stack...
stack.h => ../../include/openssl/stack.h
safestack.h => ../../include/openssl/safestack.h
making links in crypto/lhash...
lhash.h => ../../include/openssl/lhash.h
making links in crypto/rand...
rand.h => ../../include/openssl/rand.h
randtest.c => ../../test/randtest.c
making links in crypto/err...
err.h => ../../include/openssl/err.h
making links in crypto/evp...
evp.h => ../../include/openssl/evp.h
evp_test.c => ../../test/evp_test.c
cp evptests.txt ../../test
making links in crypto/asn1...
asn1.h => ../../include/openssl/asn1.h
asn1_mac.h => ../../include/openssl/asn1_mac.h
asn1t.h => ../../include/openssl/asn1t.h
making links in crypto/pem...
pem.h => ../../include/openssl/pem.h
pem2.h => ../../include/openssl/pem2.h
making links in crypto/x509...
x509.h => ../../include/openssl/x509.h
x509_vfy.h => ../../include/openssl/x509_vfy.h
making links in crypto/x509v3...
x509v3.h => ../../include/openssl/x509v3.h
making links in crypto/conf...
conf.h => ../../include/openssl/conf.h
conf_api.h => ../../include/openssl/conf_api.h
making links in crypto/txt_db...
txt_db.h => ../../include/openssl/txt_db.h
making links in crypto/pkcs7...
pkcs7.h => ../../include/openssl/pkcs7.h
making links in crypto/pkcs12...
pkcs12.h => ../../include/openssl/pkcs12.h
making links in crypto/comp...
comp.h => ../../include/openssl/comp.h
making links in crypto/ocsp...
ocsp.h => ../../include/openssl/ocsp.h
making links in crypto/ui...
ui.h => ../../include/openssl/ui.h
ui_compat.h => ../../include/openssl/ui_compat.h
making links in crypto/krb5...
krb5_asn.h => ../../include/openssl/krb5_asn.h
making links in crypto/cms...
cms.h => ../../include/openssl/cms.h
making links in crypto/pqueue...
pqueue.h => ../../include/openssl/pqueue.h
making links in crypto/ts...
ts.h => ../../include/openssl/ts.h
making links in ssl...
ssl.h => ../include/openssl/ssl.h
ssl2.h => ../include/openssl/ssl2.h
ssl3.h => ../include/openssl/ssl3.h
ssl23.h => ../include/openssl/ssl23.h
tls1.h => ../include/openssl/tls1.h
dtls1.h => ../include/openssl/dtls1.h
kssl.h => ../include/openssl/kssl.h
ssltest.c => ../test/ssltest.c
making links in engines...
making links in engines/ccgost...
make[2]: Nothing to be done for `links'.
making links in apps...
make[1]: Nothing to be done for `links'.
making links in test...
make[1]: Nothing to be done for `links'.
making links in tools...
make[1]: Nothing to be done for `links'.
generating dummy tests (if needed)...
make[1]: Nothing to be done for `generate'.

Configured for darwin-i386-cc.

comment:3 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Cc: mww@… added
Component: portsbase
Owner: changed from mww@… to jmr@…

comment:4 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Yep... using base 1.9.1 works, so this is an issue with base.

comment:5 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Summary: openssl 1.0.0a fails to configure on Tigeropenssl 1.0.0a fails to configure with trunk base

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Configuring openssl with trunk on Tiger works for me. The PATH in your shell should be irrelevant; what do you get if you change the configure.cmd to env; ./Configure for example?

comment:7 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Summary: openssl 1.0.0a fails to configure with trunk baseopenssl 1.0.0a fails to configure on Tiger with trunk base

This is with a fresh install of Tiger and XCode 2.5, so I doubt there is anything "interesting". $PATH that is set by base looks sane as well...

r71235 trunk:

~/src/macports/dports/devel/openssl $ sudo port -v destroot
--->  Computing dependencies for openssl.
--->  Fetching openssl
--->  Verifying checksum(s) for openssl
--->  Checksumming openssl-1.0.0a.tar.gz
--->  Extracting openssl
--->  Extracting openssl-1.0.0a.tar.gz
--->  Applying patches to openssl
--->  Applying /Volumes/Home/jeremy/src/macports/trunk/dports/devel/openssl/files/patch-Makefile.org.diff
patching file Makefile.org
--->  Applying /Volumes/Home/jeremy/src/macports/trunk/dports/devel/openssl/files/patch-crypto-Makefile.diff
patching file crypto/bf/Makefile
patching file crypto/des/Makefile
--->  Configuring openssl
LDFLAGS=-L/opt/local/lib -arch i386
OBJC=/usr/bin/gcc-4.0
CPPFLAGS=-I/opt/local/include
LIBRARY_PATH=/opt/local/lib
OLDPWD=/Volumes/Home/jeremy/src/macports/trunk/dports/archivers/zlib
F90FLAGS=-pipe -O2 -m32
USER=root
CPATH=/opt/local/include
CXXFLAGS=-pipe -O2 -arch i386
COLUMNS=174
PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
FCFLAGS=-pipe -O2 -m32
PWD=/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/openssl-1.0.0a
CC_PRINT_OPTIONS=YES
CC_PRINT_OPTIONS_FILE=/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/.CC_PRINT_OPTIONS
LINES=49
CXX=/usr/bin/g++-4.0
SHLVL=1
HOME=/Volumes/Home/jeremy
CFLAGS=-pipe -O2 -arch i386
INSTALL=/usr/bin/install -c
MACOSX_DEPLOYMENT_TARGET=10.4
CC=/usr/bin/gcc-4.0
FFLAGS=-pipe -O2 -m32
OBJCFLAGS=-pipe -O2 -arch i386
_=/usr/bin/env
Insecure $ENV{PATH} while running setgid at ./Configure line 1789.
Configuring for darwin-i386-cc
    no-asm          [option]   OPENSSL_NO_ASM
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
    no-store        [experimental] OPENSSL_NO_STORE (skip dir)
    no-zlib-dynamic [default] 
IsMK1MF=0
CC            =/usr/bin/gcc-4.0
CFLAG         =-fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch i386 -O3 -fomit-frame-pointer -DL_ENDIAN
EX_LIBS       =-L/opt/local/lib  -lz
CPUID_OBJ     =mem_clr.o
BN_ASM        =bn_asm.o
DES_ENC       =des_enc.o fcrypt_b.o
AES_ENC       =aes_core.o aes_cbc.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4_enc.o rc4_skey.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =
SHA1_OBJ_ASM  =
RMD160_OBJ_ASM=
CMLL_ENC=     =camellia.o cmll_misc.o cmll_cbc.o
PROCESSOR     =
RANLIB        =/usr/bin/ranlib
ARFLAGS       =
PERL          =/opt/local/bin/perl5
THIRTY_TWO_BIT mode
DES_UNROLL used
BN_LLONG mode
RC4_CHUNK is unsigned long
BF_PTR used
shell command " cd "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/openssl-1.0.0a" && env && ./Configure --prefix=/opt/local -L/opt/local/lib --openssldir=/opt/local/etc/openssl zlib no-asm no-krb5 shared darwin-i386-cc " returned error 2
Error: Target org.macports.configure returned: configure failure: shell command failed
Warning: the following items did not execute (for openssl): org.macports.destroot org.macports.configure org.macports.build
Log for openssl is at: /opt/local/var/macports/logs/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

1.9.1:

~/src/macports/dports/devel/openssl $ sudo port -v destroot
--->  Computing dependencies for openssl.
--->  Configuring openssl
LDFLAGS=-L/opt/local/lib -arch i386
OBJC=/usr/bin/gcc-4.0
CPPFLAGS=-I/opt/local/include
LIBRARY_PATH=/opt/local/lib
OLDPWD=/Volumes/Home/jeremy/src/macports/trunk/dports/archivers/zlib
F90FLAGS=-pipe -O2 -m32
USER=root
CPATH=/opt/local/include
CXXFLAGS=-pipe -O2 -arch i386
COLUMNS=174
PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
FCFLAGS=-pipe -O2 -m32
PWD=/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/openssl-1.0.0a
CC_PRINT_OPTIONS=YES
CC_PRINT_OPTIONS_FILE=/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_devel_openssl/work/.CC_PRINT_OPTIONS
LINES=49
CXX=/usr/bin/g++-4.0
SHLVL=1
HOME=/Volumes/Home/jeremy
CFLAGS=-pipe -O2 -arch i386
INSTALL=/usr/bin/install -c
MACOSX_DEPLOYMENT_TARGET=10.4
CC=/usr/bin/gcc-4.0
FFLAGS=-pipe -O2 -m32
OBJCFLAGS=-pipe -O2 -arch i386
_=/usr/bin/env
Configuring for darwin-i386-cc
    no-asm          [option]   OPENSSL_NO_ASM
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
    no-store        [experimental] OPENSSL_NO_STORE (skip dir)
    no-zlib-dynamic [default] 
IsMK1MF=0
CC            =/usr/bin/gcc-4.0
CFLAG         =-fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch i386 -O3 -fomit-frame-pointer -DL_ENDIAN
EX_LIBS       =-L/opt/local/lib  -lz
CPUID_OBJ     =mem_clr.o
BN_ASM        =bn_asm.o
DES_ENC       =des_enc.o fcrypt_b.o
AES_ENC       =aes_core.o aes_cbc.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4_enc.o rc4_skey.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =
SHA1_OBJ_ASM  =
RMD160_OBJ_ASM=
CMLL_ENC=     =camellia.o cmll_misc.o cmll_cbc.o
PROCESSOR     =
RANLIB        =/usr/bin/ranlib
ARFLAGS       =
PERL          =/opt/local/bin/perl5
THIRTY_TWO_BIT mode
DES_UNROLL used
BN_LLONG mode
RC4_CHUNK is unsigned long
BF_PTR used
e_os2.h => include/openssl/e_os2.h
making links in crypto...
crypto.h => ../include/openssl/crypto.h
opensslv.h => ../include/openssl/opensslv.h
opensslconf.h => ../include/openssl/opensslconf.h
ebcdic.h => ../include/openssl/ebcdic.h
symhacks.h => ../include/openssl/symhacks.h
ossl_typ.h => ../include/openssl/ossl_typ.h
making links in crypto/objects...
objects.h => ../../include/openssl/objects.h
obj_mac.h => ../../include/openssl/obj_mac.h
making links in crypto/md4...
md4.h => ../../include/openssl/md4.h
md4test.c => ../../test/md4test.c
md4.c => ../../apps/md4.c
making links in crypto/md5...
md5.h => ../../include/openssl/md5.h
md5test.c => ../../test/md5test.c
making links in crypto/sha...
sha.h => ../../include/openssl/sha.h
shatest.c => ../../test/shatest.c
sha1test.c => ../../test/sha1test.c
sha256t.c => ../../test/sha256t.c
sha512t.c => ../../test/sha512t.c
making links in crypto/mdc2...
mdc2.h => ../../include/openssl/mdc2.h
mdc2test.c => ../../test/mdc2test.c
making links in crypto/hmac...
hmac.h => ../../include/openssl/hmac.h
hmactest.c => ../../test/hmactest.c
making links in crypto/ripemd...
ripemd.h => ../../include/openssl/ripemd.h
rmdtest.c => ../../test/rmdtest.c
making links in crypto/whrlpool...
whrlpool.h => ../../include/openssl/whrlpool.h
wp_test.c => ../../test/wp_test.c
making links in crypto/des...
des.h => ../../include/openssl/des.h
des_old.h => ../../include/openssl/des_old.h
destest.c => ../../test/destest.c
making links in crypto/aes...
aes.h => ../../include/openssl/aes.h
making links in crypto/rc2...
rc2.h => ../../include/openssl/rc2.h
rc2test.c => ../../test/rc2test.c
making links in crypto/rc4...
rc4.h => ../../include/openssl/rc4.h
rc4test.c => ../../test/rc4test.c
making links in crypto/idea...
idea.h => ../../include/openssl/idea.h
ideatest.c => ../../test/ideatest.c
making links in crypto/bf...
blowfish.h => ../../include/openssl/blowfish.h
bftest.c => ../../test/bftest.c
making links in crypto/cast...
cast.h => ../../include/openssl/cast.h
casttest.c => ../../test/casttest.c
making links in crypto/camellia...
camellia.h => ../../include/openssl/camellia.h
making links in crypto/seed...
seed.h => ../../include/openssl/seed.h
making links in crypto/modes...
modes.h => ../../include/openssl/modes.h
making links in crypto/bn...
bn.h => ../../include/openssl/bn.h
bntest.c => ../../test/bntest.c
exptest.c => ../../test/exptest.c
making links in crypto/ec...
ec.h => ../../include/openssl/ec.h
ectest.c => ../../test/ectest.c
making links in crypto/rsa...
rsa.h => ../../include/openssl/rsa.h
rsa_test.c => ../../test/rsa_test.c
making links in crypto/dsa...
dsa.h => ../../include/openssl/dsa.h
dsatest.c => ../../test/dsatest.c
making links in crypto/ecdsa...
ecdsa.h => ../../include/openssl/ecdsa.h
ecdsatest.c => ../../test/ecdsatest.c
making links in crypto/dh...
dh.h => ../../include/openssl/dh.h
dhtest.c => ../../test/dhtest.c
making links in crypto/ecdh...
ecdh.h => ../../include/openssl/ecdh.h
ecdhtest.c => ../../test/ecdhtest.c
making links in crypto/dso...
dso.h => ../../include/openssl/dso.h
making links in crypto/engine...
engine.h => ../../include/openssl/engine.h
enginetest.c => ../../test/enginetest.c
making links in crypto/buffer...
buffer.h => ../../include/openssl/buffer.h
making links in crypto/bio...
bio.h => ../../include/openssl/bio.h
making links in crypto/stack...
stack.h => ../../include/openssl/stack.h
safestack.h => ../../include/openssl/safestack.h
making links in crypto/lhash...
lhash.h => ../../include/openssl/lhash.h
making links in crypto/rand...
rand.h => ../../include/openssl/rand.h
randtest.c => ../../test/randtest.c
making links in crypto/err...
err.h => ../../include/openssl/err.h
making links in crypto/evp...
evp.h => ../../include/openssl/evp.h
evp_test.c => ../../test/evp_test.c
cp evptests.txt ../../test
making links in crypto/asn1...
asn1.h => ../../include/openssl/asn1.h
asn1_mac.h => ../../include/openssl/asn1_mac.h
asn1t.h => ../../include/openssl/asn1t.h
making links in crypto/pem...
pem.h => ../../include/openssl/pem.h
pem2.h => ../../include/openssl/pem2.h
making links in crypto/x509...
x509.h => ../../include/openssl/x509.h
x509_vfy.h => ../../include/openssl/x509_vfy.h
making links in crypto/x509v3...
x509v3.h => ../../include/openssl/x509v3.h
making links in crypto/conf...
conf.h => ../../include/openssl/conf.h
conf_api.h => ../../include/openssl/conf_api.h
making links in crypto/txt_db...
txt_db.h => ../../include/openssl/txt_db.h
making links in crypto/pkcs7...
pkcs7.h => ../../include/openssl/pkcs7.h
making links in crypto/pkcs12...
pkcs12.h => ../../include/openssl/pkcs12.h
making links in crypto/comp...
comp.h => ../../include/openssl/comp.h
making links in crypto/ocsp...
ocsp.h => ../../include/openssl/ocsp.h
making links in crypto/ui...
ui.h => ../../include/openssl/ui.h
ui_compat.h => ../../include/openssl/ui_compat.h
making links in crypto/krb5...
krb5_asn.h => ../../include/openssl/krb5_asn.h
making links in crypto/cms...
cms.h => ../../include/openssl/cms.h
making links in crypto/pqueue...
pqueue.h => ../../include/openssl/pqueue.h
making links in crypto/ts...
ts.h => ../../include/openssl/ts.h
making links in ssl...
ssl.h => ../include/openssl/ssl.h
ssl2.h => ../include/openssl/ssl2.h
ssl3.h => ../include/openssl/ssl3.h
ssl23.h => ../include/openssl/ssl23.h
tls1.h => ../include/openssl/tls1.h
dtls1.h => ../include/openssl/dtls1.h
kssl.h => ../include/openssl/kssl.h
ssltest.c => ../test/ssltest.c
making links in engines...
making links in engines/ccgost...
make[2]: Nothing to be done for `links'.
making links in apps...
make[1]: Nothing to be done for `links'.
making links in test...
make[1]: Nothing to be done for `links'.
making links in tools...
make[1]: Nothing to be done for `links'.
generating dummy tests (if needed)...
make[1]: Nothing to be done for `generate'.

Configured for darwin-i386-cc.
--->  Building openssl

The only difference in the output from "LDFLAGS=" to "BF_PTR used" is:

/tmp $ diff -Naurp 191 trunk 
--- 191 2010-09-05 14:44:33.000000000 -0700
+++ trunk       2010-09-05 14:44:07.000000000 -0700
@@ -24,6 +24,7 @@ CC=/usr/bin/gcc-4.0
 FFLAGS=-pipe -O2 -m32
 OBJCFLAGS=-pipe -O2 -arch i386
 _=/usr/bin/env
+Insecure $ENV{PATH} while running setgid at ./Configure line 1789.
 Configuring for darwin-i386-cc
     no-asm          [option]   OPENSSL_NO_ASM
     no-gmp          [default]  OPENSSL_NO_GMP (skip dir)

comment:8 Changed 14 years ago by jmroot (Joshua Root)

Apparently this is perl being paranoid when gid != egid.

comment:9 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Version: 1.9.11.9.99
Note: See TracTickets for help on using tickets.