pkgsrc-Bugs archive

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

Re: pkg/39569: openssl-0.9.8h fails to build: Error: alignment not a power of 2




OBATA Akio wrote:
> The following reply was made to PR pkg/39569; it has been noted by GNATS.
> 
> From: "OBATA Akio" <obache%netbsd.org@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc: 
> Subject: Re: pkg/39569: openssl-0.9.8h fails to build: Error: alignment not a
>  power of 2
> Date: Tue, 23 Sep 2008 13:32:39 +0900
> 
>  On Mon, 22 Sep 2008 04:00:08 +0900, Mike Cappella 
> <lists-netbsd%cappella.us@localhost> wrote:
>  
>  >  + echo /usr/pkg/bin/perl ./Configure BSD-x86-elf
>  >  /usr/pkg/bin/perl ./Configure BSD-x86-elf
>  
>  Then, how about result of "make configure"? Also show up "BSD-x86-elf"?
>  

Thanks again for your time.

I see BSD-X86, but nothing elf related...

bash-3.2# make clean
===> Cleaning for openssl-0.9.8hnb1
make configure^Lbash-3.2# make configure
bash-3.2# make configure
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Checking for vulnerabilities in openssl-0.9.8hnb1
=> Checksum SHA1 OK for openssl-0.9.8h.tar.gz
=> Checksum RMD160 OK for openssl-0.9.8h.tar.gz
===> Installing dependencies for openssl-0.9.8hnb1
==========================================================================
The supported build options for openssl are:

        idea mdc2 rc5 zlib

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.openssl (not defined)

==========================================================================
=> Build dependency gmake>=3.81: found gmake-3.81
=> Build dependency perl>=5.0: found perl-5.8.8nb8
===> Overriding tools for openssl-0.9.8hnb1
===> Extracting for openssl-0.9.8hnb1
===> Patching for openssl-0.9.8hnb1
=> Applying pkgsrc patches for openssl-0.9.8hnb1
===> Creating toolchain wrappers for openssl-0.9.8hnb1
===> Configuring for openssl-0.9.8hnb1
cd /usr/pkgsrc/security/openssl/work/openssl-0.9.8h && /usr/pkg/bin/perl
util/perlpath.pl /usr/pkg/bin/perl
Operating system: i686-whatever-netbsd
Configuring for BSD-x86
Configuring for BSD-x86
    no-camellia     [default]  OPENSSL_NO_CAMELLIA (skip dir)
    no-cms          [default]  OPENSSL_NO_CMS (skip dir)
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
    no-idea         [option]   OPENSSL_NO_IDEA (skip dir)
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
    no-mdc2         [option]   OPENSSL_NO_MDC2 (skip dir)
    no-montasm      [default]
    no-rc5          [option]   OPENSSL_NO_RC5 (skip dir)
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
    no-seed         [default]  OPENSSL_NO_SEED (skip dir)
    no-sse2         [option]
    no-tlsext       [default]  OPENSSL_NO_TLSEXT (skip dir)
    no-zlib         [option]
    no-zlib-dynamic [default]
IsMK1MF=0
CC            =gcc
CFLAG         =-fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -pthread
-D_THREAD_SAFE -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O2 -DL_ENDIAN
-DTERMIOS -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS
-DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
EX_LIBS       =-Wl,-R/usr/pkg/lib
CPUID_OBJ     =x86cpuid-out.o
BN_ASM        =bn86-out.o co86-out.o
DES_ENC       =dx86-out.o yx86-out.o
AES_ASM_OBJ   =ax86-out.o
BF_ENC        =bx86-out.o
CAST_ENC      =c_enc.o
RC4_ENC       =rx86-out.o rc4_skey.o
RC5_ENC       =r586-out.o
MD5_OBJ_ASM   =mx86-out.o
SHA1_OBJ_ASM  =sx86-out.o
RMD160_OBJ_ASM=rm86-out.o
PROCESSOR     =
RANLIB        =/usr/bin/ranlib
ARFLAGS       =
PERL          =/usr/pkg/bin/perl
THIRTY_TWO_BIT mode
DES_PTR used
DES_RISC1 used
DES_UNROLL used
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined
e_os2.h => include/openssl/e_os2.h
making links in crypto...
make[1]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto'
crypto.h => ../include/openssl/crypto.h
tmdiff.h => ../include/openssl/tmdiff.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...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/objects'
objects.h => ../../include/openssl/objects.h
obj_mac.h => ../../include/openssl/obj_mac.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/objects'
making links in crypto/md2...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/md2'
md2.h => ../../include/openssl/md2.h
md2test.c => ../../test/md2test.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/md2'
making links in crypto/md4...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/md4'
md4.h => ../../include/openssl/md4.h
md4test.c => ../../test/md4test.c
md4.c => ../../apps/md4.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/md4'
making links in crypto/md5...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/md5'
md5.h => ../../include/openssl/md5.h
md5test.c => ../../test/md5test.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/md5'
making links in crypto/sha...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/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
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/sha'
making links in crypto/hmac...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/hmac'
hmac.h => ../../include/openssl/hmac.h
hmactest.c => ../../test/hmactest.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/hmac'
making links in crypto/ripemd...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/ripemd'
ripemd.h => ../../include/openssl/ripemd.h
rmdtest.c => ../../test/rmdtest.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/ripemd'
making links in crypto/des...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/des'
des.h => ../../include/openssl/des.h
des_old.h => ../../include/openssl/des_old.h
destest.c => ../../test/destest.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/des'
making links in crypto/aes...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/aes'
aes.h => ../../include/openssl/aes.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/aes'
making links in crypto/rc2...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/rc2'
rc2.h => ../../include/openssl/rc2.h
rc2test.c => ../../test/rc2test.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/rc2'
making links in crypto/rc4...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/rc4'
rc4.h => ../../include/openssl/rc4.h
rc4test.c => ../../test/rc4test.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/rc4'
making links in crypto/bf...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/bf'
blowfish.h => ../../include/openssl/blowfish.h
bftest.c => ../../test/bftest.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/bf'
making links in crypto/cast...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/cast'
cast.h => ../../include/openssl/cast.h
casttest.c => ../../test/casttest.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/cast'
making links in crypto/bn...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/bn'
bn.h => ../../include/openssl/bn.h
bntest.c => ../../test/bntest.c
exptest.c => ../../test/exptest.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/bn'
making links in crypto/ec...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/ec'
ec.h => ../../include/openssl/ec.h
ectest.c => ../../test/ectest.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/ec'
making links in crypto/rsa...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/rsa'
rsa.h => ../../include/openssl/rsa.h
rsa_test.c => ../../test/rsa_test.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/rsa'
making links in crypto/dsa...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/dsa'
dsa.h => ../../include/openssl/dsa.h
dsatest.c => ../../test/dsatest.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/dsa'
making links in crypto/ecdsa...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/ecdsa'
ecdsa.h => ../../include/openssl/ecdsa.h
ecdsatest.c => ../../test/ecdsatest.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/ecdsa'
making links in crypto/dh...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/dh'
dh.h => ../../include/openssl/dh.h
dhtest.c => ../../test/dhtest.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/dh'
making links in crypto/ecdh...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/ecdh'
ecdh.h => ../../include/openssl/ecdh.h
ecdhtest.c => ../../test/ecdhtest.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/ecdh'
making links in crypto/dso...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/dso'
dso.h => ../../include/openssl/dso.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/dso'
making links in crypto/engine...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/engine'
engine.h => ../../include/openssl/engine.h
enginetest.c => ../../test/enginetest.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/engine'
making links in crypto/buffer...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/buffer'
buffer.h => ../../include/openssl/buffer.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/buffer'
making links in crypto/bio...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/bio'
bio.h => ../../include/openssl/bio.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/bio'
making links in crypto/stack...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/stack'
stack.h => ../../include/openssl/stack.h
safestack.h => ../../include/openssl/safestack.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/stack'
making links in crypto/lhash...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/lhash'
lhash.h => ../../include/openssl/lhash.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/lhash'
making links in crypto/rand...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/rand'
rand.h => ../../include/openssl/rand.h
randtest.c => ../../test/randtest.c
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/rand'
making links in crypto/err...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/err'
err.h => ../../include/openssl/err.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/err'
making links in crypto/evp...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/evp'
evp.h => ../../include/openssl/evp.h
evp_test.c => ../../test/evp_test.c
cp evptests.txt ../../test
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/evp'
making links in crypto/asn1...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/asn1'
asn1.h => ../../include/openssl/asn1.h
asn1_mac.h => ../../include/openssl/asn1_mac.h
asn1t.h => ../../include/openssl/asn1t.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/asn1'
making links in crypto/pem...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/pem'
pem.h => ../../include/openssl/pem.h
pem2.h => ../../include/openssl/pem2.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/pem'
making links in crypto/x509...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/x509'
x509.h => ../../include/openssl/x509.h
x509_vfy.h => ../../include/openssl/x509_vfy.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/x509'
making links in crypto/x509v3...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/x509v3'
x509v3.h => ../../include/openssl/x509v3.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/x509v3'
making links in crypto/conf...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/conf'
conf.h => ../../include/openssl/conf.h
conf_api.h => ../../include/openssl/conf_api.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/conf'
making links in crypto/txt_db...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/txt_db'
txt_db.h => ../../include/openssl/txt_db.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/txt_db'
making links in crypto/pkcs7...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/pkcs7'
pkcs7.h => ../../include/openssl/pkcs7.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/pkcs7'
making links in crypto/pkcs12...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/pkcs12'
pkcs12.h => ../../include/openssl/pkcs12.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/pkcs12'
making links in crypto/comp...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/comp'
comp.h => ../../include/openssl/comp.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/comp'
making links in crypto/ocsp...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/ocsp'
ocsp.h => ../../include/openssl/ocsp.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/ocsp'
making links in crypto/ui...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/ui'
ui.h => ../../include/openssl/ui.h
ui_compat.h => ../../include/openssl/ui_compat.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/ui'
making links in crypto/krb5...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/krb5'
krb5_asn.h => ../../include/openssl/krb5_asn.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/krb5'
making links in crypto/store...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/store'
store.h => ../../include/openssl/store.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/store'
making links in crypto/pqueue...
make[2]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/pqueue'
pqueue.h => ../../include/openssl/pqueue.h
pq_compat.h => ../../include/openssl/pq_compat.h
make[2]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/pqueue'
make[1]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto'
making links in ssl...
make[1]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/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
make[1]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/ssl'
making links in engines...
make[1]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/engines'
make[1]: Nothing to be done for `links'.
make[1]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/engines'
making links in apps...
make[1]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/apps'
make[1]: Nothing to be done for `links'.
make[1]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/apps'
making links in test...
make[1]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/test'
make[1]: Nothing to be done for `links'.
make[1]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/test'
making links in tools...
make[1]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/tools'
make[1]: Nothing to be done for `links'.
make[1]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/tools'
generating dummy tests (if needed)...
make[1]: Entering directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/test'
make[1]: Nothing to be done for `generate'.
make[1]: Leaving directory
`/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/test'

Since you've disabled or enabled at least one algorithm, you need to do
the following before building:

        make depend

Configured for BSD-x86.


Home | Main Index | Thread Index | Old Index