pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/28787: security/openssl broken on 1.6 PowerPC and i386



>Number:         28787
>Category:       pkg
>Synopsis:       security/openssl broken on 1.6 PowerPC and i386
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 26 19:00:01 +0000 2004
>Originator:     John Klos
>Release:        NetBSD 1.6.2_STABLE
>Organization:
ZiaSpace Productions
        
>Environment:
        
        
System: NetBSD andromeda.ziaspace.com 1.6.2_STABLE NetBSD 1.6.2_STABLE 
(ANDROMEDA-$Revision: 1.655 $) #0: Tue Aug 10 01:33:06 EDT 2004 
john%andromeda.ziaspace.com@localhost:/usr/src/sys/arch/macppc/compile/ANDROMEDA
 macppc
Architecture: powerpc
Machine: macppc
>Description:
        
Attempting to run "make" in pkgsrc/security/openssl on a 1.6.2 PowerPC system
gives:

===> build-message [openssl-0.9.7e] ===> Building for openssl-0.9.7e
making all in crypto...
gmake[1]: Entering directory 
`/usr/pkgsrc/security/openssl/work/openssl-0.9.7e/crypto'
( echo "#ifndef MK1MF_BUILD"; \
echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
echo '  #define CFLAGS "gcc bsd-gcc-shared -DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA 
-DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -O2 -DTERMIOS -O2 -Wall -DB_ENDIAN"'; \
echo '  #define PLATFORM "NetBSD-powerpc"'; \
echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
gcc -I. -I.. -I../include bsd-gcc-shared -DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA 
-DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -O2 -DTERMIOS -O2 -Wall -DB_ENDIAN    -c -o 
cryptlib.o cryptlib.c
gcc: cannot specify -o with -c or -S and multiple compilations
gmake[1]: *** [cryptlib.o] Error 1
gmake[1]: Leaving directory 
`/usr/pkgsrc/security/openssl/work/openssl-0.9.7e/crypto'
gmake: *** [sub_all] Error 1
*** Error code 2


Attempting on a 1.6.2 i386 system gives:

if [ "bsd-gcc-shared" = "hpux-shared" -o "bsd-gcc-shared" = "darwin-shared" ] ; 
then \
  gcc -o openssl -DMONOLITH -I.. -I../include  -fPIC -DDSO_DLFCN -DHAVE_DLFCN_H 
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA
-DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -O2 -O2 -i686 -DTERMIOS -O2 -Wall -DSHA1_ASM 
-DMD5_ASM -DRMD160_ASM openssl.o verify.o
asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o 
pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o
dsaparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o s_time.o 
apps.o s_cb.o s_socket.o app_rand.o version.o
sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o 
ocsp.o prime.o ../libssl.a  ../libcrypto.a
-Wl,-R/usr/local/lib  ; \
else \
  LD_LIBRARY_PATH=..:$LD_LIBRARY_PATH \
  gcc -o openssl -DMONOLITH -I.. -I../include  -fPIC -DDSO_DLFCN -DHAVE_DLFCN_H 
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA
-DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -O2 -O2 -i686 -DTERMIOS -O2 -Wall -DSHA1_ASM 
-DMD5_ASM -DRMD160_ASM openssl.o verify.o
asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o 
pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o
dsaparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o s_time.o 
apps.o s_cb.o s_socket.o app_rand.o version.o
sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o 
ocsp.o prime.o -L.. -lssl  -L.. -lcrypto
-Wl,-R/usr/local/lib  ; \
fi
speed.o: In function `speed_main':
speed.o(.text+0x1769): undefined reference to `RC4'
speed.o(.text+0x1859): undefined reference to `DES_ncbc_encrypt'
speed.o(.text+0x1954): undefined reference to `DES_ede3_cbc_encrypt'
speed.o(.text+0x1e53): undefined reference to `BF_cbc_encrypt'
../libcrypto.so: undefined reference to `bn_mul_words'
../libcrypto.so: undefined reference to `DES_encrypt3'
../libcrypto.so: undefined reference to `bn_mul_comba8'
../libcrypto.so: undefined reference to `DES_decrypt3'
../libcrypto.so: undefined reference to `ripemd160_block_asm_host_order'
../libcrypto.so: undefined reference to `BF_encrypt'
../libcrypto.so: undefined reference to `bn_mul_add_words'
../libcrypto.so: undefined reference to `bn_div_words'
../libcrypto.so: undefined reference to `DES_encrypt1'
../libcrypto.so: undefined reference to `_DES_SPtrans'
../libcrypto.so: undefined reference to `DES_encrypt2'
../libcrypto.so: undefined reference to `bn_sub_words'
../libcrypto.so: undefined reference to `sha1_block_asm_host_order'
../libcrypto.so: undefined reference to `bn_sqr_comba8'
../libcrypto.so: undefined reference to `bn_sqr_comba4'
../libcrypto.so: undefined reference to `fcrypt_body'
../libcrypto.so: undefined reference to `bn_sqr_words'
../libcrypto.so: undefined reference to `md5_block_asm_host_order'
../libcrypto.so: undefined reference to `sha1_block_asm_data_order'
../libcrypto.so: undefined reference to `bn_mul_comba4'
../libcrypto.so: undefined reference to `BF_decrypt'
../libcrypto.so: undefined reference to `bn_add_words'
collect2: ld returned 1 exit status
gmake[1]: *** [openssl] Error 1
gmake[1]: Leaving directory 
`/usr/pkgsrc/security/openssl/work/openssl-0.9.7e/apps'
gmake: *** [sub_all] Error 1
*** Error code 2

>How-To-Repeat:
        
On a 1.6.2 NetBSD machine, run "make" in pkgsrc/security/openssl
>Fix:
        
Not known.

>Unformatted:
 Package security/openssl 0.9.7e does not compile on 1.6.2 ppc or i386. 
        
        



Home | Main Index | Thread Index | Old Index