#########1########2#########3#########4#########5#########6#########7#########8
Problem description:
openssl-fips-1.1.2 "make install" fails in fips-1.0/Makefile for 
hpux64-ia64-cc, HP-UX 11.
#########1########2#########3#########4#########5#########6#########7#########8

#########1########2#########3#########4#########5#########6#########7#########8
Problem analysis:
1. Problem is resolved using "make -i install" (no other errors occur).
   Appears that if last invocation of "ar d ../libcrypto.a <file>" - in this
   case, "ar d ../libcrypto.a ia64-cpp.o" - returns non-zero, the return value
   is "visible" to make, and make, of course, exits.  Appears that return
   code of "ar d ../libcrypto.a $exdel" should be explicitly disregarded.
#########1########2#########3#########4#########5#########6#########7#########8

#########1########2#########3#########4#########5#########6#########7#########8
Problem symptom:
Exit output (abbreviated) from "make install".
#########1########2#########3#########4#########5#########6#########7#########8

...
making all in fips/dh...
making all in fips/hmac...
        exdel=""; \
        for i in ../crypto/aes/aes_cbc.o  ../crypto/aes/aes_cfb.o ... \
        ...
        ../crypto/x509/x509_err.o  asm/ia64-cpp.o; \
        do \
        exdel="$exdel "`basename $i`""; \
        done ; \
        ar d ../libcrypto.a $exdel
ar: aes_cbc.o not found
ar: aes_cfb.o not found
...
ar: x509_err.o not found
ar: ia64-cpp.o not found
*** Error exit code 114

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

#########1########2#########3#########4#########5#########6#########7#########8
Problem source (presumed):
/fips-1.0/Makefile
#########1########2#########3#########4#########5#########6#########7#########8

...

# for i in $(FIPS_EX_OBJ) $(BN_ASM);\

delexobj:
        exdel=""; \
        for i in $(FIPS_EX_OBJ) $(BN_ASM); \
        do \
        exdel="$$exdel "`basename $$i`""; \
        done ; \
        $(ARD) $(LIB) $$exdel

FIPS_EX_OBJ= ../crypto/aes/aes_cbc.o \
        ../crypto/aes/aes_cfb.o \
        ../crypto/aes/aes_ecb.o \
        ../crypto/aes/aes_ofb.o \
...

#########1########2#########3#########4#########5#########6#########7#########8
uname
#########1########2#########3#########4#########5#########6#########7#########8
> uname -a
HP-UX cpcmsnd1 B.11.23 U ia64 3449163174 unlimited-user license

#########1########2#########3#########4#########5#########6#########7#########8
shell
#########1########2#########3#########4#########5#########6#########7#########8
>what /usr/bin/sh
/usr/bin/sh:
         Version M-11/16/88f
         $ B.11.23  Sep 17 2004 18:27:57 $
         builtin.c $Date: 2005/01/19 00:36:04 $Revision: r11.23/5 PATCH_11.23 
(PHCO_32444)
         xec.c $Date: 2005/08/10 00:06:13 $Revision: r11.23/5 PATCH_11.23 
(PHCO_32444)
         jobs.c $Date: 2005/08/10 00:06:06 $Revision: r11.23/5 PATCH_11.23 
(PHCO_32444)
         $Revision: @(#) ksh R11.23_BL2005_0914_1 PATCH_11.23 PHCO_32444

#########1########2#########3#########4#########5#########6#########7#########8
Makefile
Created with "./config fips"
#########1########2#########3#########4#########5#########6#########7#########8
> head -33 Makefile
### Generated automatically from Makefile.org by Configure.

##
## Makefile for OpenSSL
##

VERSION=0.9.7j-dev
MAJOR=0
MINOR=9.7
SHLIB_VERSION_NUMBER=0.9.7
SHLIB_VERSION_HISTORY=
SHLIB_MAJOR=0
SHLIB_MINOR=9.7
SHLIB_EXT=.so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
PLATFORM=hpux64-ia64-cc
OPTIONS=fips -D_REENTRANT no-krb5
CONFIGURE_ARGS=hpux64-ia64-cc fips -D_REENTRANT
SHLIB_TARGET=hpux-shared

# HERE indicates where this Makefile lives.  This can be used to indicate
# where sub-Makefiles are expected to be.  Currently has very limited usage,
# and should probably not be bothered with at all.
HERE=.

# INSTALL_PREFIX is for package builders so that they can configure
# for, say, /usr/ and yet have everything installed to /tmp/somedir/usr/.
# Normally it is left empty.
INSTALL_PREFIX=/home/wellingc
INSTALLTOP=/usr/local/ssl

# Do not edit this manually. Use Configure --openssldir=DIR do change this!
OPENSSLDIR=/usr/local/ssl
-

Reply via email to