Package Details: openssl-1.0 1.0.2.u-6

Git Clone URL: https://aur.archlinux.org/openssl-1.0.git (read-only, click to copy)
Package Base: openssl-1.0
Description: The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
Upstream URL: https://www.openssl.org
Licenses: custom:BSD
Submitter: Foxboron
Maintainer: nns
Last Packager: nns
Votes: 33
Popularity: 2.62
First Submitted: 2022-12-20 20:54 (UTC)
Last Updated: 2023-06-01 12:58 (UTC)

Pinned Comments

nns commented on 2022-12-21 12:03 (UTC) (edited on 2022-12-27 08:31 (UTC) by nns)

If you recently updated your system and are wondering why your AUR helper is pulling this package (and possibly requesting PGP keys to be imported), then you have a package that depends on (or used to depend on) openssl-1.0, which is an old release of the OpenSSL library.

The openssl-1.0 package used to be packaged in the community repo - however, it was recently moved from there to the AUR.

Ensure that you still have packages that depend on openssl-1.0 using pacman:

pacman -Qi openssl-1.0

If you don't, then you may remove this package from your system.

If you have issues with PGP keys being imported, try another keyserver:

gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys \
  7953AC1FBC3DC8B3B292393ED5E9E43F7DF9EE8C \
  8657ABB260F056B1E5190839D9C4D26D0E604491

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

nns commented on 2023-01-20 08:53 (UTC)

I've added a compiler flag to not error out with unused linker flags.

I've also identified an issue with the NIST curve when compiling with newer clang releases. This had been fixed in 1.1.1, so I backported the patch for this version as well.

This means that you should be able to compile with clang without issues.

nns commented on 2023-01-19 17:51 (UTC) (edited on 2023-01-19 17:51 (UTC) by nns)

@illuser, looks like clang is unhappy about something. I'll try to investigate tomorrow, in the meantime you can try setting your default compiler to gcc or building in a clean chroot.

illuser commented on 2023-01-19 17:13 (UTC)

Currently unable to compile

==> Starting build()...
Configuring for linux-x86_64
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
    no-libunbound   [experimental] OPENSSL_NO_LIBUNBOUND (skip dir)
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
    no-sctp         [default]  OPENSSL_NO_SCTP (skip dir)
    no-ssl-trace    [default]  OPENSSL_NO_SSL_TRACE (skip dir)
    no-ssl2         [default]  OPENSSL_NO_SSL2 (skip dir)
    no-ssl3         [option(ssl)] OPENSSL_NO_SSL3 (skip dir)
    no-ssl3-method  [option(ssl)] OPENSSL_NO_SSL3_METHOD (skip dir)
    no-store        [experimental] OPENSSL_NO_STORE (skip dir)
    no-unit-test    [default]  OPENSSL_NO_UNIT_TEST (skip dir)
    no-weak-ssl-ciphers [default]  OPENSSL_NO_WEAK_SSL_CIPHERS (skip dir)
    no-zlib         [default] 
    no-zlib-dynamic [default] 
IsMK1MF=0
CC            =/usr/bin/clang
CFLAG         =-fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM
EX_LIBS       =-ldl
CPUID_OBJ     =x86_64cpuid.o
BN_ASM        =x86_64-gcc.o x86_64-mont.o x86_64-mont5.o x86_64-gf2m.o rsaz_exp.o rsaz-x86_64.o rsaz-avx2.o
EC_ASM        =ecp_nistz256.o ecp_nistz256-x86_64.o
DES_ENC       =des_enc.o fcrypt_b.o
AES_ENC       =aes-x86_64.o vpaes-x86_64.o bsaes-x86_64.o aesni-x86_64.o aesni-sha1-x86_64.o aesni-sha256-x86_64.o aesni-mb-x86_64.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4-x86_64.o rc4-md5-x86_64.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =md5-x86_64.o
SHA1_OBJ_ASM  =sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o sha1-mb-x86_64.o sha256-mb-x86_64.o
RMD160_OBJ_ASM=
CMLL_ENC      =cmll-x86_64.o cmll_misc.o
MODES_OBJ     =ghash-x86_64.o aesni-gcm-x86_64.o
ENGINES_OBJ   =
PROCESSOR     =
RANLIB        =/usr/bin/ranlib
ARFLAGS       =
PERL          =/usr/bin/perl
SIXTY_FOUR_BIT_LONG mode
DES_UNROLL used
DES_INT used
RC4_CHUNK is unsigned long
created directory `include/openssl'
e_os2.h => include/openssl/e_os2.h
making links in crypto...
make[1]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto'
crypto.h => ../include/openssl/crypto.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
constant_time_test.c => ../test/constant_time_test.c
making links in crypto/objects...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/objects'
objects.h => ../../include/openssl/objects.h
obj_mac.h => ../../include/openssl/obj_mac.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/objects'
making links in crypto/md4...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/md4'
md4.h => ../../include/openssl/md4.h
md4test.c => ../../test/md4test.c
md4.c => ../../apps/md4.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/md4'
making links in crypto/md5...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/md5'
md5.h => ../../include/openssl/md5.h
md5test.c => ../../test/md5test.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/md5'
making links in crypto/sha...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/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 '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/sha'
making links in crypto/mdc2...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/mdc2'
mdc2.h => ../../include/openssl/mdc2.h
mdc2test.c => ../../test/mdc2test.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/mdc2'
making links in crypto/hmac...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/hmac'
hmac.h => ../../include/openssl/hmac.h
hmactest.c => ../../test/hmactest.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/hmac'
making links in crypto/ripemd...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/ripemd'
ripemd.h => ../../include/openssl/ripemd.h
rmdtest.c => ../../test/rmdtest.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/ripemd'
making links in crypto/whrlpool...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/whrlpool'
whrlpool.h => ../../include/openssl/whrlpool.h
wp_test.c => ../../test/wp_test.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/whrlpool'
making links in crypto/des...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/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 '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/des'
making links in crypto/aes...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/aes'
aes.h => ../../include/openssl/aes.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/aes'
making links in crypto/rc2...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/rc2'
rc2.h => ../../include/openssl/rc2.h
rc2test.c => ../../test/rc2test.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/rc2'
making links in crypto/rc4...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/rc4'
rc4.h => ../../include/openssl/rc4.h
rc4test.c => ../../test/rc4test.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/rc4'
making links in crypto/idea...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/idea'
idea.h => ../../include/openssl/idea.h
ideatest.c => ../../test/ideatest.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/idea'
making links in crypto/bf...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/bf'
blowfish.h => ../../include/openssl/blowfish.h
bftest.c => ../../test/bftest.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/bf'
making links in crypto/cast...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/cast'
cast.h => ../../include/openssl/cast.h
casttest.c => ../../test/casttest.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/cast'
making links in crypto/camellia...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/camellia'
camellia.h => ../../include/openssl/camellia.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/camellia'
making links in crypto/seed...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/seed'
seed.h => ../../include/openssl/seed.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/seed'
making links in crypto/modes...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/modes'
modes.h => ../../include/openssl/modes.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/modes'
making links in crypto/bn...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/bn'
bn.h => ../../include/openssl/bn.h
bntest.c => ../../test/bntest.c
exptest.c => ../../test/exptest.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/bn'
making links in crypto/ec...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/ec'
ec.h => ../../include/openssl/ec.h
ectest.c => ../../test/ectest.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/ec'
making links in crypto/rsa...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/rsa'
rsa.h => ../../include/openssl/rsa.h
rsa_test.c => ../../test/rsa_test.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/rsa'
making links in crypto/dsa...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/dsa'
dsa.h => ../../include/openssl/dsa.h
dsatest.c => ../../test/dsatest.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/dsa'
making links in crypto/ecdsa...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/ecdsa'
ecdsa.h => ../../include/openssl/ecdsa.h
ecdsatest.c => ../../test/ecdsatest.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/ecdsa'
making links in crypto/dh...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/dh'
dh.h => ../../include/openssl/dh.h
dhtest.c => ../../test/dhtest.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/dh'
making links in crypto/ecdh...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/ecdh'
ecdh.h => ../../include/openssl/ecdh.h
ecdhtest.c => ../../test/ecdhtest.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/ecdh'
making links in crypto/dso...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/dso'
dso.h => ../../include/openssl/dso.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/dso'
making links in crypto/engine...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/engine'
engine.h => ../../include/openssl/engine.h
enginetest.c => ../../test/enginetest.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/engine'
making links in crypto/buffer...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/buffer'
buffer.h => ../../include/openssl/buffer.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/buffer'
making links in crypto/bio...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/bio'
bio.h => ../../include/openssl/bio.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/bio'
making links in crypto/stack...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/stack'
stack.h => ../../include/openssl/stack.h
safestack.h => ../../include/openssl/safestack.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/stack'
making links in crypto/lhash...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/lhash'
lhash.h => ../../include/openssl/lhash.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/lhash'
making links in crypto/rand...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/rand'
rand.h => ../../include/openssl/rand.h
randtest.c => ../../test/randtest.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/rand'
making links in crypto/err...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/err'
err.h => ../../include/openssl/err.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/err'
making links in crypto/evp...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/evp'
evp.h => ../../include/openssl/evp.h
evp_test.c => ../../test/evp_test.c
evp_extra_test.c => ../../test/evp_extra_test.c
evptests.txt -> ../../test/evptests.txt
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/evp'
making links in crypto/asn1...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/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 '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/asn1'
making links in crypto/pem...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/pem'
pem.h => ../../include/openssl/pem.h
pem2.h => ../../include/openssl/pem2.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/pem'
making links in crypto/x509...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/x509'
x509.h => ../../include/openssl/x509.h
x509_vfy.h => ../../include/openssl/x509_vfy.h
verify_extra_test.c => ../../test/verify_extra_test.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/x509'
making links in crypto/x509v3...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/x509v3'
x509v3.h => ../../include/openssl/x509v3.h
v3nametest.c => ../../test/v3nametest.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/x509v3'
making links in crypto/conf...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/conf'
conf.h => ../../include/openssl/conf.h
conf_api.h => ../../include/openssl/conf_api.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/conf'
making links in crypto/txt_db...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/txt_db'
txt_db.h => ../../include/openssl/txt_db.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/txt_db'
making links in crypto/pkcs7...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/pkcs7'
pkcs7.h => ../../include/openssl/pkcs7.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/pkcs7'
making links in crypto/pkcs12...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/pkcs12'
pkcs12.h => ../../include/openssl/pkcs12.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/pkcs12'
making links in crypto/comp...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/comp'
comp.h => ../../include/openssl/comp.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/comp'
making links in crypto/ocsp...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/ocsp'
ocsp.h => ../../include/openssl/ocsp.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/ocsp'
making links in crypto/ui...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/ui'
ui.h => ../../include/openssl/ui.h
ui_compat.h => ../../include/openssl/ui_compat.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/ui'
making links in crypto/krb5...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/krb5'
krb5_asn.h => ../../include/openssl/krb5_asn.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/krb5'
making links in crypto/cms...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/cms'
cms.h => ../../include/openssl/cms.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/cms'
making links in crypto/pqueue...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/pqueue'
pqueue.h => ../../include/openssl/pqueue.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/pqueue'
making links in crypto/ts...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/ts'
ts.h => ../../include/openssl/ts.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/ts'
making links in crypto/srp...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/srp'
srp.h => ../../include/openssl/srp.h
srptest.c => ../../test/srptest.c
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/srp'
making links in crypto/cmac...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/cmac'
cmac.h => ../../include/openssl/cmac.h
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto/cmac'
make[1]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto'
making links in ssl...
make[1]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/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
srtp.h => ../include/openssl/srtp.h
ssltest.c => ../test/ssltest.c
heartbeat_test.c => ../test/heartbeat_test.c
clienthellotest.c => ../test/clienthellotest.c
sslv2conftest.c => ../test/sslv2conftest.c
dtlstest.c => ../test/dtlstest.c
bad_dtls_test.c => ../test/bad_dtls_test.c
fatalerrtest.c => ../test/fatalerrtest.c
make[1]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/ssl'
making links in engines...
make[1]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/engines'
making links in engines/ccgost...
make[2]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/engines/ccgost'
make[2]: Nothing to be done for 'links'.
make[2]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/engines/ccgost'
make[1]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/engines'
making links in apps...
make[1]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/apps'
make[1]: Nothing to be done for 'links'.
make[1]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/apps'
making links in test...
make[1]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/test'
make[1]: Nothing to be done for 'links'.
make[1]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/test'
making links in tools...
make[1]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/tools'
make[1]: Nothing to be done for 'links'.
make[1]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/tools'
generating dummy tests (if needed)...
make[1]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/test'
md2test.c => dummytest.c
rc5test.c => dummytest.c
jpaketest.c => dummytest.c
make[1]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/test'

Configured for linux-x86_64.

*** Because of configuration changes, you MUST do the following before
*** building:

        make depend
making depend in crypto...
make[1]: Entering directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto'
clang-15: error: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now: 'linker' input unused [-Werror,-Wunused-command-line-argument]
make[1]: *** [Makefile:139: local_depend] Error 1
make[1]: Leaving directory '/home/joseph/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto'
make: *** [Makefile:483: depend] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: openssl-1.0

nns commented on 2023-01-05 09:36 (UTC)

@nni, thanks. I've updated the PKGBUILD and added some other build dependencies as well. Most people have these already, but it's better to be sure. I've verified that the package builds in a clean chroot with just the base group installed.

nni commented on 2023-01-05 08:48 (UTC)

After putting the last version I got an error during the make depend phase:

make[1]: Leaving directory '/home/user/.cache/yay/openssl-1.0/src/openssl-1.0.2u/test'

Configured for linux-x86_64.

*** Because of configuration changes, you MUST do the following before
*** building:

    make depend
making depend in crypto...
make[1]: Entering directory '/home/user/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto'
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from cryptlib.h:62,
                 from cryptlib.c:117:
/usr/include/features.h:490:12: fatal error: sys/cdefs.h: No such file or directory
  490 | #  include <sys/cdefs.h>
      |            ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from mem.c:59:
/usr/include/features.h:490:12: fatal error: sys/cdefs.h: No such file or directory
  490 | #  include <sys/cdefs.h>
      |            ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from mem_clr.c:60:
/usr/include/features.h:490:12: fatal error: sys/cdefs.h: No such file or directory
  490 | #  include <sys/cdefs.h>
      |            ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from mem_dbg.c:112:
/usr/include/features.h:490:12: fatal error: sys/cdefs.h: No such file or directory
  490 | #  include <sys/cdefs.h>
      |            ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from cryptlib.h:62,
                 from cversion.c:59:
/usr/include/features.h:490:12: fatal error: sys/cdefs.h: No such file or directory
  490 | #  include <sys/cdefs.h>
      |            ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from cryptlib.h:62,
                 from ex_data.c:141:
/usr/include/features.h:490:12: fatal error: sys/cdefs.h: No such file or directory
  490 | #  include <sys/cdefs.h>
      |            ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from cpt_err.c:62:
/usr/include/features.h:490:12: fatal error: sys/cdefs.h: No such file or directory
  490 | #  include <sys/cdefs.h>
      |            ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from ../include/openssl/crypto.h:120,
                 from uid.c:56:
/usr/include/features.h:490:12: fatal error: sys/cdefs.h: No such file or directory
  490 | #  include <sys/cdefs.h>
      |            ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from o_time.c:65:
/usr/include/features.h:490:12: fatal error: sys/cdefs.h: No such file or directory
  490 | #  include <sys/cdefs.h>
      |            ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/ctype.h:25,
                 from o_str.c:60:
/usr/include/features.h:490:12: fatal error: sys/cdefs.h: No such file or directory
  490 | #  include <sys/cdefs.h>
      |            ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/errno.h:25,
                 from o_dir.c:60:
/usr/include/features.h:490:12: fatal error: sys/cdefs.h: No such file or directory
  490 | #  include <sys/cdefs.h>
      |            ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from cryptlib.h:62,
                 from o_fips.c:59:
/usr/include/features.h:490:12: fatal error: sys/cdefs.h: No such file or directory
  490 | #  include <sys/cdefs.h>
      |            ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/unistd.h:25,
                 from ../e_os.h:468,
                 from o_init.c:56:
/usr/include/features.h:490:12: fatal error: sys/cdefs.h: No such file or directory
  490 | #  include <sys/cdefs.h>
      |            ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from getenv.c:14:
/usr/include/features.h:490:12: fatal error: sys/cdefs.h: No such file or directory
  490 | #  include <sys/cdefs.h>
      |            ^~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:139: local_depend] Error 1
make[1]: Leaving directory '/home/user/.cache/yay/openssl-1.0/src/openssl-1.0.2u/crypto'
make: *** [Makefile:483: depend] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: openssl-1.0

In order to fix it I had to install glibc:

$pkgfile /usr/include/sys/cdefs.h
core/glibc
$yay -S glibc

maybe consider adding glibc as dependency for the openssl package

nns commented on 2023-01-01 13:13 (UTC)

@mk.arch, I don't expect this package getting any updates in the near future.

mk.arch commented on 2022-12-29 15:56 (UTC)

@nnns, thanks I've cloned the repo and it's building. This is very painful. I hope I don't need to do this again.

nns commented on 2022-12-27 08:29 (UTC)

@mk.arch, looks like an issue with your AUR helper. The only officially supported method of installing packages is by cloning the git repository and issuing makepkg -si.

mk.arch commented on 2022-12-26 14:39 (UTC) (edited on 2022-12-26 14:40 (UTC) by mk.arch)

I'm getting this build problem - any idea how to fix it?

Warning: Building packages as dynamic user
Warning: Setting build directory to /var/cache/pamac
Preparing...
Synchronizing package databases...
Refreshing AUR...                                                               
Cloning openssl-1.0 build files...                                              
Running as unit: run-u101.service
fatal: not a git repository (or any parent up to mount point /var/cache/private)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Finished with result: exit-code
Main processes terminated with: code=exited/status=128
Service runtime: 9ms
CPU time consumed: 8ms
Running as unit: run-u102.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 53ms
CPU time consumed: 10ms
Running as unit: run-u103.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.605s
CPU time consumed: 115ms
Generating openssl-1.0 information...
Running as unit: run-u104.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.051s
CPU time consumed: 1.176s
Checking openssl-1.0 dependencies...
The PGP key 8657ABB260F056B1E5190839D9C4D26D0E604491 is needed to verify openssl-1.0 source files.
Trust Matt Caswell <matt@openssl.org> and import the PGP key ? [y/N] y
gpg: key D9C4D26D0E604491: public key "Matt Caswell <matt@openssl.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1

The PGP key 7953AC1FBC3DC8B3B292393ED5E9E43F7DF9EE8C is needed to verify openssl-1.0 source files.
Trust Richard Levitte <richard@levitte.org> and import the PGP key ? [y/N] y
gpg: key D5E9E43F7DF9EE8C: 1 duplicate signature removed
gpg: key D5E9E43F7DF9EE8C: public key "Richard Levitte <richard@levitte.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1

Cloning pip-tools build files...
Running as unit: run-u105.service
fatal: not a git repository (or any parent up to mount point /var/cache/private)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Finished with result: exit-code
Main processes terminated with: code=exited/status=128
Service runtime: 12ms
CPU time consumed: 11ms
Running as unit: run-u106.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 11ms
CPU time consumed: 11ms
Running as unit: run-u107.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 623ms
CPU time consumed: 126ms
Generating pip-tools information...
Running as unit: run-u108.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.076s
CPU time consumed: 1.208s
Checking pip-tools dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (2):
  openssl-1.0  1.0.2.u-3  (1.0.2.u-1)  AUR
  pip-tools    6.12.1-1   (6.12.0-1)   AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] y


Building openssl-1.0...
Running as unit: run-u109.service
Press ^] three times within 1s to disconnect TTY.
==> Making package: openssl-1.0 1.0.2.u-3 (Mon 26 Dec 2022 14:08:46 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading openssl-1.0.2u.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5229k  100 5229k    0     0  3073k      0  0:00:01  0:00:01 --:--:-- 3072k
  -> Downloading openssl-1.0.2u.tar.gz.asc...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   488  100   488    0     0   1123      0 --:--:-- --:--:-- --:--:--  1127
  -> Found no-rpath.patch
  -> Found ssl3-test-failure.patch
  -> Found openssl-1.0-versioned-symbols.patch
==> Validating source files with sha256sums...
    openssl-1.0.2u.tar.gz ... Passed
    openssl-1.0.2u.tar.gz.asc ... Skipped
    no-rpath.patch ... Passed
    ssl3-test-failure.patch ... Passed
    openssl-1.0-versioned-symbols.patch ... Passed
==> Verifying source file signatures with gpg...
    openssl-1.0.2u.tar.gz ... cat: write error: Broken pipe
FAILED
==> ERROR: One or more PGP signatures could not be verified!
Finished with result: exit-code
Main processes terminated with: code=exited/status=1
Service runtime: 3.246s
CPU time consumed: 1.464s
Error: Failed to build openssl-1.0