tech-pkg archive

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

security/openssl build failure



This is a bit strange. The build of security/openssl fails if done from a
dependent package, but not when just building the package itself. Ex:

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

        make depend

Configured for NetBSD-x86_64.
===> Building for openssl-1.0.1e
making all in crypto...
gmake[1]: Entering directory
`/usr/pkgsrc/dev/security/openssl/work/openssl-1.0.1e/crypto'
( echo "#ifndef MK1MF_BUILD"; \
echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
echo '  #define CFLAGS "cc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -DDSO_DLFCN
-DHAVE_DLFCN_H -mfpmath=sse -msse3 -march=native -Wa,--noexecstack -DTERMIOS
-DL_ENDIAN -DMD32_REG_T=int -O2 -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT
-DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM
-DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM
-DGHASH_ASM"'; \
echo '  #define PLATFORM "NetBSD-x86_64"'; \
echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
cc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -DDSO_DLFCN
-DHAVE_DLFCN_H -mfpmath=sse -msse3 -march=native -Wa,--noexecstack -DTERMIOS
-DL_ENDIAN -DMD32_REG_T=int -O2 -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT
-DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM
-DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM
-DGHASH_ASM  x86_64 -c -o cryptlib.o cryptlib.c
gcc: x86_64: No such file or directory
gmake[1]: *** [cryptlib.o] Error 1
gmake[1]: Leaving directory
`/usr/pkgsrc/dev/security/openssl/work/openssl-1.0.1e/crypto'
gmake: *** [build_crypto] Error 1
*** Error code 2

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

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

Stop.
bmake: stopped in /usr/pkgsrc/dev/security/heimdal
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/dev/www/curl
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/dev/textproc/xmlrpc-c
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/dev/devel/cmake
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/dev/wip/dolphin


However, making clean, going to pkgsrc/security/openssl and building it
directly works fine. This has been the case in the last several updates of
-current i've done over the past few weeks.



Home | Main Index | Thread Index | Old Index