> | Now to track down the next error.
> | I took a couple @'s out of Makefile to get more info
> | ......
> | making all in crypto/cmac...
> |     if [ -n "libcrypto.so.1.0.0 libssl.so.1.0.0" ]; then \
> |             (cd ..; make libcrypto.so.1.0.0); \
> |     fi
> |     [ -z "" ] || cc -Kpic -DOPENSSL_PIC -DZLIB_SHARED -DZLIB 
> -DOPENSSL_THREADS -Kthread -DDSO_DLFCN -DHAVE_DLFCN_H -Kpentium_pro 
> -D__i386__ -O -DFILIO_H -Kalloca -DOPENSSL_BN_ASM_PART_WORDS 
> -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM 
> -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM 
> -Iinclude \
> |             -DFINGERPRINT_PREMAIN_DSO_LOAD -o fips_premain_dso  \
> |             fips_premain.c fipscanister.o \
> |             libcrypto.a -lsocket -lnsl
> |     if [ "svr5-shared" != "" ]; then \
> |             if [ "" = "libcrypto" ]; then \
> |                     FIPSLD_LIBCRYPTO=libcrypto.a ; \
> |                     FIPSLD_CC="cc"; CC=/usr/local/ssl/fips-2.0/bin/fipsld; \
> |                     export CC FIPSLD_CC FIPSLD_LIBCRYPTO; \
> |             fi; \
> |             make -e SHLIBDIRS=crypto  CC="${CC:-cc}" build-shared; \
> |             touch -c fips_premain_dso; \
> |     else \
> |             echo "There's no support for shared libraries on this platform" 
> >&2; \
> |             exit 1; \
> |     fi
> | *** Error code 1 (bu21)
> | UX:make: ERROR: fatal error.
> | ......
> | 
> | Still looking.
> 
> It turns out to be the "touch -c".
> It returns 1 on UnixWare if the file does not exist.
> 
> --- Makefile.org.old  2014-02-03 07:00:13.000000000 -0800
> +++ Makefile.org      2014-02-26 13:55:36.430461665 -0800
> @@ -303,7 +303,7 @@
>                       export CC FIPSLD_CC FIPSLD_LIBCRYPTO; \
>               fi; \
>               $(MAKE) -e SHLIBDIRS=crypto  CC="$${CC:-$(CC)}" build-shared; \
> -             touch -c fips_premain_dso$(EXE_EXT); \
> +             touch -c fips_premain_dso$(EXE_EXT) ||:; \
>       else \
>               echo "There's no support for shared libraries on this platform" 
> >&2; \
>               exit 1; \

Good catch. And it made me realize that it's not nice of touch to mask
make's exit code, therefore
http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=2f34088e5e9ff02ad20df50571073abac04f1431

> Tests pass now.

Cool.




______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to