RE: Openssl 3.0.2- Build error - catgets_failed
Thank you so much, Finally I am able to compile and install it We only need root access with below setting once you done changes as mention in URL(they have recently committed to their new upcoming release) or download next release. export CC=/opt/aCC/bin/aCC export CFLAGS="+DD64 -mt" export CPPFLAGS="+DD64 -mt" export LDFLAGS="-L/usr/lib/hpux64/" export PATH=/usr/local/bin:/usr/contrib/imake/bin:$PATH ./config --prefix=/opt/openssl/3.0.2 --openssldir=/opt/openssl/3.0.2 --shared hpux64-ia64-cc Question - Why it gives march date even after compiling today. ./apps/openssl version OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022) Regards, Gaurav Mittal Senior Developer, Unix Lumen Account, Noida,India Global Business Services, IBM Email: gaurav.mit...@in.ibm.com| gaurav.mit...@lumen.com Mobile: 91 - 9654328344 Vacation Alert – 11th,18th,22th,25th Apr Holiday – 15th Apr -Original Message- From: Tomas Mraz Sent: 21 April 2022 11:24 PM To: Gaurav Mittal11 ; Michael Wojcik ; openssl-users@openssl.org Subject: [EXTERNAL] Re: Openssl 3.0.2- Build error - catgets_failed Maybe https://github.com/openssl/openssl/pull/18136 could help you? Regards, Tomas Mraz On Thu, 2022-04-21 at 16:49 +, Gaurav Mittal11 wrote: > I tried same commands and same setting with root access, seems like I > pass that error. > Can you help why its not giving any error and not even generating > crypto/chacha/libcrypto-lib-chacha-ia64.o file > > CC="/opt/aCC/bin/aCC" perl crypto/chacha/asm/chacha-ia64.pl "void" -I. > -Iinclude -Iproviders/common/include - > Iproviders/implementations/include +Z -Ae +DD64 +Olit=all -z +DD64 -mt > -DB_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/opt/openssl/3.0.2\"" - > DENGINESDIR="\"/opt/openssl/3.0.2/lib/hpux64/engines-3\"" - > DMODULESDIR="\"/opt/openssl/3.0.2/lib/hpux64/ossl-modules\"" - > D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -D_XOPEN_SOURCE - > D_XOPEN_SOURCE_EXTENDED -D_HPUX_ALT_XOPEN_SOCKET_API -DNDEBUG +DD64 > -mt -DAES_ASM -DGHASH_ASM -DOPENSSL_CPUID_OBJ -DPOLY1305_ASM > -DSHA1_ASM - DSHA256_ASM -DSHA512_ASM crypto/chacha/chacha-ia64.S > ##This generate .S file > > /opt/aCC/bin/aCC -I. -Iinclude -Iproviders/common/include - > Iproviders/implementations/include -DAES_ASM -DGHASH_ASM - > DOPENSSL_CPUID_OBJ -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM > +Z -Ae +DD64 +Olit=all -z +DD64 -mt -DB_ENDIAN -DOPENSSL_PIC - > DOPENSSLDIR="\"/opt/openssl/3.0.2\"" - > DENGINESDIR="\"/opt/openssl/3.0.2/lib/hpux64/engines-3\"" - > DMODULESDIR="\"/opt/openssl/3.0.2/lib/hpux64/ossl-modules\"" - > D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -D_XOPEN_SOURCE - > D_XOPEN_SOURCE_EXTENDED -D_HPUX_ALT_XOPEN_SOCKET_API -DNDEBUG +DD64 > -mt -c -o crypto/chacha/libcrypto-lib-chacha-ia64.o > crypto/chacha/chacha- ia64.S ## this is not generating .o file > > I have cut below command, it is trying to put all 100 .o file into one > static librray and give error. > > ar qc libcrypto.a crypto/aes/libcrypto-lib-aes-ia64.o > crypto/aes/libcrypto-lib-aes_cbc.o crypto/cast/libcrypto-lib-c_skey.o > crypto/chacha/libcrypto-lib-chacha-ia64.o > > ar: could not open crypto/chacha/libcrypto-lib-chacha-ia64.o > gmake[1]: *** [Makefile:6800: libcrypto.a] Error 1 > gmake[1]: Leaving directory '/home/infod3/tools/openssl-3.0.2' > gmake: *** [Makefile:1680: build_sw] Error 2 > > -- > Gaurav Mittal > > -Original Message- > From: openssl-users On Behalf Of > Michael Wojcik > Sent: 21 April 2022 09:57 PM > To: openssl-users@openssl.org > Subject: [EXTERNAL] RE: Openssl 3.0.2- Build error - catgets_failed > > > From: Gaurav Mittal11 > > Sent: Thursday, 21 April, 2022 09:55 > > > > Yes, I have gone through internet search, I have not found any clue. > > > > Still same error even after setting LANG to C > > > > Yes, HP is kind of legacy server and very less help available on > > internet. > > > > Any more suggestions would be helpful. > > All I can say at the moment is that we haven't seen this with OpenSSL > 1.1.1n on HP-UX 11i. We haven't tried building any 3.x versions on > that platform yet (and maybe we won't have to, which would be great). > > Can you post the failing .s file somewhere? Maybe looking at it will > provide some clue. Those messages look like they might be syntax > cascade errors, so it's possible the Perl script tossed something > bogus in there. > > We do have HP-UX assembler expertise here (in the compiler team, since > we've had HP-UX support since the PA-RISC days at least, quite > possibly since the 68K/FOCUS days) - not just Itanium experience, that > is, but some working knowledge of the as program on that platform. > I've battled through a bit of Itanium assembly now and then myself. So > I may be able to find someone who can figure out where it's gone wrong. > -- Tomáš Mráz, OpenSSL
Re: Openssl 3.0.2- Build error - catgets_failed
Maybe https://github.com/openssl/openssl/pull/18136 could help you? Regards, Tomas Mraz On Thu, 2022-04-21 at 16:49 +, Gaurav Mittal11 wrote: > I tried same commands and same setting with root access, seems like I > pass that error. > Can you help why its not giving any error and not even generating > crypto/chacha/libcrypto-lib-chacha-ia64.o file > > CC="/opt/aCC/bin/aCC" perl crypto/chacha/asm/chacha-ia64.pl "void" -I. > -Iinclude -Iproviders/common/include - > Iproviders/implementations/include +Z -Ae +DD64 +Olit=all -z +DD64 -mt > -DB_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/opt/openssl/3.0.2\"" - > DENGINESDIR="\"/opt/openssl/3.0.2/lib/hpux64/engines-3\"" - > DMODULESDIR="\"/opt/openssl/3.0.2/lib/hpux64/ossl-modules\"" - > D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -D_XOPEN_SOURCE - > D_XOPEN_SOURCE_EXTENDED -D_HPUX_ALT_XOPEN_SOCKET_API -DNDEBUG +DD64 -mt > -DAES_ASM -DGHASH_ASM -DOPENSSL_CPUID_OBJ -DPOLY1305_ASM -DSHA1_ASM - > DSHA256_ASM -DSHA512_ASM crypto/chacha/chacha-ia64.S ##This generate > .S file > > /opt/aCC/bin/aCC -I. -Iinclude -Iproviders/common/include - > Iproviders/implementations/include -DAES_ASM -DGHASH_ASM - > DOPENSSL_CPUID_OBJ -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM > +Z -Ae +DD64 +Olit=all -z +DD64 -mt -DB_ENDIAN -DOPENSSL_PIC - > DOPENSSLDIR="\"/opt/openssl/3.0.2\"" - > DENGINESDIR="\"/opt/openssl/3.0.2/lib/hpux64/engines-3\"" - > DMODULESDIR="\"/opt/openssl/3.0.2/lib/hpux64/ossl-modules\"" - > D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -D_XOPEN_SOURCE - > D_XOPEN_SOURCE_EXTENDED -D_HPUX_ALT_XOPEN_SOCKET_API -DNDEBUG +DD64 -mt > -c -o crypto/chacha/libcrypto-lib-chacha-ia64.o crypto/chacha/chacha- > ia64.S ## this is not generating .o file > > I have cut below command, it is trying to put all 100 .o file into one > static librray and give error. > > ar qc libcrypto.a crypto/aes/libcrypto-lib-aes-ia64.o > crypto/aes/libcrypto-lib-aes_cbc.o crypto/cast/libcrypto-lib-c_skey.o > crypto/chacha/libcrypto-lib-chacha-ia64.o > > ar: could not open crypto/chacha/libcrypto-lib-chacha-ia64.o > gmake[1]: *** [Makefile:6800: libcrypto.a] Error 1 > gmake[1]: Leaving directory '/home/infod3/tools/openssl-3.0.2' > gmake: *** [Makefile:1680: build_sw] Error 2 > > -- > Gaurav Mittal > > -Original Message- > From: openssl-users On Behalf Of > Michael Wojcik > Sent: 21 April 2022 09:57 PM > To: openssl-users@openssl.org > Subject: [EXTERNAL] RE: Openssl 3.0.2- Build error - catgets_failed > > > From: Gaurav Mittal11 > > Sent: Thursday, 21 April, 2022 09:55 > > > > Yes, I have gone through internet search, I have not found any clue. > > > > Still same error even after setting LANG to C > > > > Yes, HP is kind of legacy server and very less help available on > > internet. > > > > Any more suggestions would be helpful. > > All I can say at the moment is that we haven't seen this with OpenSSL > 1.1.1n on HP-UX 11i. We haven't tried building any 3.x versions on that > platform yet (and maybe we won't have to, which would be great). > > Can you post the failing .s file somewhere? Maybe looking at it will > provide some clue. Those messages look like they might be syntax > cascade errors, so it's possible the Perl script tossed something bogus > in there. > > We do have HP-UX assembler expertise here (in the compiler team, since > we've had HP-UX support since the PA-RISC days at least, quite possibly > since the 68K/FOCUS days) - not just Itanium experience, that is, but > some working knowledge of the as program on that platform. I've battled > through a bit of Itanium assembly now and then myself. So I may be able > to find someone who can figure out where it's gone wrong. > -- Tomáš Mráz, OpenSSL
RE: Openssl 3.0.2- Build error - catgets_failed
I tried same commands and same setting with root access, seems like I pass that error. Can you help why its not giving any error and not even generating crypto/chacha/libcrypto-lib-chacha-ia64.o file CC="/opt/aCC/bin/aCC" perl crypto/chacha/asm/chacha-ia64.pl "void" -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include +Z -Ae +DD64 +Olit=all -z +DD64 -mt -DB_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/opt/openssl/3.0.2\"" -DENGINESDIR="\"/opt/openssl/3.0.2/lib/hpux64/engines-3\"" -DMODULESDIR="\"/opt/openssl/3.0.2/lib/hpux64/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_HPUX_ALT_XOPEN_SOCKET_API -DNDEBUG +DD64 -mt -DAES_ASM -DGHASH_ASM -DOPENSSL_CPUID_OBJ -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM crypto/chacha/chacha-ia64.S ##This generate .S file /opt/aCC/bin/aCC -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -DAES_ASM -DGHASH_ASM -DOPENSSL_CPUID_OBJ -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM +Z -Ae +DD64 +Olit=all -z +DD64 -mt -DB_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/opt/openssl/3.0.2\"" -DENGINESDIR="\"/opt/openssl/3.0.2/lib/hpux64/engines-3\"" -DMODULESDIR="\"/opt/openssl/3.0.2/lib/hpux64/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_HPUX_ALT_XOPEN_SOCKET_API -DNDEBUG +DD64 -mt -c -o crypto/chacha/libcrypto-lib-chacha-ia64.o crypto/chacha/chacha-ia64.S ## this is not generating .o file I have cut below command, it is trying to put all 100 .o file into one static librray and give error. ar qc libcrypto.a crypto/aes/libcrypto-lib-aes-ia64.o crypto/aes/libcrypto-lib-aes_cbc.o crypto/cast/libcrypto-lib-c_skey.o crypto/chacha/libcrypto-lib-chacha-ia64.o ar: could not open crypto/chacha/libcrypto-lib-chacha-ia64.o gmake[1]: *** [Makefile:6800: libcrypto.a] Error 1 gmake[1]: Leaving directory '/home/infod3/tools/openssl-3.0.2' gmake: *** [Makefile:1680: build_sw] Error 2 -- Gaurav Mittal -Original Message- From: openssl-users On Behalf Of Michael Wojcik Sent: 21 April 2022 09:57 PM To: openssl-users@openssl.org Subject: [EXTERNAL] RE: Openssl 3.0.2- Build error - catgets_failed > From: Gaurav Mittal11 > Sent: Thursday, 21 April, 2022 09:55 > > Yes, I have gone through internet search, I have not found any clue. > > Still same error even after setting LANG to C > > Yes, HP is kind of legacy server and very less help available on internet. > > Any more suggestions would be helpful. All I can say at the moment is that we haven't seen this with OpenSSL 1.1.1n on HP-UX 11i. We haven't tried building any 3.x versions on that platform yet (and maybe we won't have to, which would be great). Can you post the failing .s file somewhere? Maybe looking at it will provide some clue. Those messages look like they might be syntax cascade errors, so it's possible the Perl script tossed something bogus in there. We do have HP-UX assembler expertise here (in the compiler team, since we've had HP-UX support since the PA-RISC days at least, quite possibly since the 68K/FOCUS days) - not just Itanium experience, that is, but some working knowledge of the as program on that platform. I've battled through a bit of Itanium assembly now and then myself. So I may be able to find someone who can figure out where it's gone wrong. -- Michael Wojcik
RE: Openssl 3.0.2- Build error - catgets_failed
> From: Gaurav Mittal11 > Sent: Thursday, 21 April, 2022 09:55 > > Yes, I have gone through internet search, I have not found any clue. > > Still same error even after setting LANG to C > > Yes, HP is kind of legacy server and very less help available on internet. > > Any more suggestions would be helpful. All I can say at the moment is that we haven't seen this with OpenSSL 1.1.1n on HP-UX 11i. We haven't tried building any 3.x versions on that platform yet (and maybe we won't have to, which would be great). Can you post the failing .s file somewhere? Maybe looking at it will provide some clue. Those messages look like they might be syntax cascade errors, so it's possible the Perl script tossed something bogus in there. We do have HP-UX assembler expertise here (in the compiler team, since we've had HP-UX support since the PA-RISC days at least, quite possibly since the 68K/FOCUS days) - not just Itanium experience, that is, but some working knowledge of the as program on that platform. I've battled through a bit of Itanium assembly now and then myself. So I may be able to find someone who can figure out where it's gone wrong. -- Michael Wojcik
RE: Openssl 3.0.2- Build error - catgets_failed
Yes, I have gone through internet search, I have not found any clue. Still same error even after setting LANG to C Yes, HP is kind of legacy server and very less help available on internet. Any more suggestions would be helpful. > echo NLSPATH NLSPATH > echo $NLSPATH > export LANG=C > echo $LANG C export CC=/opt/aCC/bin/aCC export CFLAGS="+DD64 -mt" export CPPFLAGS="+DD64 -mt" export LDFLAGS="-L/usr/lib/hpux64/" export PATH=/usr/local/bin:/usr/contrib/imake/bin:$PATH #./config --prefix=/opt/openssl/3.0.2 --openssldir=/opt/openssl/3.0.2 --shared hpux64-ia64-cc make -- Gaurav Mittal -Original Message- From: openssl-users On Behalf Of Michael Wojcik Sent: 20 April 2022 06:56 PM To: openssl-users@openssl.org Subject: [EXTERNAL] RE: Openssl 3.0.2- Build error - catgets_failed > From: openssl-users On Behalf Of Gaurav > Mittal11 > Sent: Wednesday, 20 April, 2022 06:52 > ... > as: "crypto/aes/aes-ia64.s", catgets_failed 2: catgets_failed 1052: > catgets_failed - IDENT A web search isn't turning anything up, but you probably tried that already. I wonder if "catgets_failed" is a cryptic way of saying that as tried to retrieve message text from an NLS message catalog and failed, and it's just dumping parameters. What's your $LANG? Can you try the build with LANG set to C? Maybe make sure NLSPATH isn't set too? (Someone at HP clearly didn't get the memo about emitting useful error messages. It's really not hard to wrap your message output to have a default string when the catalog lookup fails. Right up there in the list of Why Software Sucks, to use Platt's phrase.) -- Michael Wojcik
RE: Openssl 3.0.2- Build error - catgets_failed
> From: openssl-users On Behalf Of Gaurav > Mittal11 > Sent: Wednesday, 20 April, 2022 06:52 > ... > as: "crypto/aes/aes-ia64.s", catgets_failed 2: catgets_failed 1052: > catgets_failed - IDENT A web search isn't turning anything up, but you probably tried that already. I wonder if "catgets_failed" is a cryptic way of saying that as tried to retrieve message text from an NLS message catalog and failed, and it's just dumping parameters. What's your $LANG? Can you try the build with LANG set to C? Maybe make sure NLSPATH isn't set too? (Someone at HP clearly didn't get the memo about emitting useful error messages. It's really not hard to wrap your message output to have a default string when the catalog lookup fails. Right up there in the list of Why Software Sucks, to use Platt's phrase.) -- Michael Wojcik