Skip to content

Instantly share code, notes, and snippets.

@ac130kz

ac130kz/crashlog Secret

Created July 13, 2018 16:45
Show Gist options
  • Save ac130kz/09368f4f13665396c5516b07872dd910 to your computer and use it in GitHub Desktop.
Save ac130kz/09368f4f13665396c5516b07872dd910 to your computer and use it in GitHub Desktop.
--2018-07-13 22:34:00-- http://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz
Resolving www.oberhumer.com (www.oberhumer.com)... 193.170.194.40
Connecting to www.oberhumer.com (www.oberhumer.com)|193.170.194.40|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 600622 (587K) [application/x-gzip]
Saving to: ‘/home/ac130kz/Files/openvpn-build/generic/sources/lzo-2.10.tar.gz’
lzo-2.10.tar.gz 100%[===================>] 586.54K 534KB/s in 1.1s
2018-07-13 22:34:01 (534 KB/s) - ‘/home/ac130kz/Files/openvpn-build/generic/sources/lzo-2.10.tar.gz’ saved [600622/600622]
--2018-07-13 22:34:01-- https://www.openssl.org/source/openssl-1.1.0h.tar.gz
Resolving www.openssl.org (www.openssl.org)... 104.88.197.54, 2a02:26f0:18:482::c1e, 2a02:26f0:18:486::c1e
Connecting to www.openssl.org (www.openssl.org)|104.88.197.54|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5422717 (5.2M) [application/x-gzip]
Saving to: ‘/home/ac130kz/Files/openvpn-build/generic/sources/openssl-1.1.0h.tar.gz’
openssl-1.1.0h.tar. 100%[===================>] 5.17M 2.53MB/s in 2.0s
2018-07-13 22:34:05 (2.53 MB/s) - ‘/home/ac130kz/Files/openvpn-build/generic/sources/openssl-1.1.0h.tar.gz’ saved [5422717/5422717]
--2018-07-13 22:34:05-- https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-1.22/pkcs11-helper-1.22.tar.bz2
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/6738820/c9d9fb24-f0b8-11e6-8b4c-6ec1e0ba0c2b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180713%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180713T163406Z&X-Amz-Expires=300&X-Amz-Signature=580010e48ad10a4e4775b392cc9e286f39952b350fa6efd3135879f277a0ae6d&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dpkcs11-helper-1.22.tar.bz2&response-content-type=application%2Foctet-stream [following]
--2018-07-13 22:34:06-- https://github-production-release-asset-2e65be.s3.amazonaws.com/6738820/c9d9fb24-f0b8-11e6-8b4c-6ec1e0ba0c2b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180713%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180713T163406Z&X-Amz-Expires=300&X-Amz-Signature=580010e48ad10a4e4775b392cc9e286f39952b350fa6efd3135879f277a0ae6d&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dpkcs11-helper-1.22.tar.bz2&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.20.99
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.20.99|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 417494 (408K) [application/octet-stream]
Saving to: ‘/home/ac130kz/Files/openvpn-build/generic/sources/pkcs11-helper-1.22.tar.bz2’
pkcs11-helper-1.22. 100%[===================>] 407.71K 427KB/s in 1.0s
2018-07-13 22:34:08 (427 KB/s) - ‘/home/ac130kz/Files/openvpn-build/generic/sources/pkcs11-helper-1.22.tar.bz2’ saved [417494/417494]
--2018-07-13 22:34:08-- http://build.openvpn.net/downloads/releases/tap-windows-9.22.1.zip
Resolving build.openvpn.net (build.openvpn.net)... 52.52.118.245, 2600:1f1c:702:ae00:f27c:d805:3b80:a45d
Connecting to build.openvpn.net (build.openvpn.net)|52.52.118.245|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 107521 (105K) [application/zip]
Saving to: ‘/home/ac130kz/Files/openvpn-build/generic/sources/tap-windows-9.22.1.zip’
tap-windows-9.22.1. 100%[===================>] 105.00K 123KB/s in 0.9s
2018-07-13 22:34:09 (123 KB/s) - ‘/home/ac130kz/Files/openvpn-build/generic/sources/tap-windows-9.22.1.zip’ saved [107521/107521]
--2018-07-13 22:34:09-- http://build.openvpn.net/downloads/snapshots/openvpn-2.4.6.tar.gz
Resolving build.openvpn.net (build.openvpn.net)... 52.52.118.245, 2600:1f1c:702:ae00:f27c:d805:3b80:a45d
Connecting to build.openvpn.net (build.openvpn.net)|52.52.118.245|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1431971 (1.4M) [application/octet-stream]
Saving to: ‘/home/ac130kz/Files/openvpn-build/generic/sources/openvpn-2.4.6.tar.gz’
openvpn-2.4.6.tar.g 100%[===================>] 1.37M 279KB/s in 5.6s
2018-07-13 22:34:15 (250 KB/s) - ‘/home/ac130kz/Files/openvpn-build/generic/sources/openvpn-2.4.6.tar.gz’ saved [1431971/1431971]
--2018-07-13 22:34:15-- http://build.openvpn.net/downloads/releases/openvpn-gui-11.tar.gz
Resolving build.openvpn.net (build.openvpn.net)... 52.52.118.245, 2600:1f1c:702:ae00:f27c:d805:3b80:a45d
Connecting to build.openvpn.net (build.openvpn.net)|52.52.118.245|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 305211 (298K) [application/octet-stream]
Saving to: ‘/home/ac130kz/Files/openvpn-build/generic/sources/openvpn-gui-11.tar.gz’
openvpn-gui-11.tar. 100%[===================>] 298.06K 210KB/s in 1.4s
2018-07-13 22:34:17 (210 KB/s) - ‘/home/ac130kz/Files/openvpn-build/generic/sources/openvpn-gui-11.tar.gz’ saved [305211/305211]
Extract '/home/ac130kz/Files/openvpn-build/generic/sources/lzo-2.10.tar.gz'
Extract '/home/ac130kz/Files/openvpn-build/generic/sources/openssl-1.1.0h.tar.gz'
Extract '/home/ac130kz/Files/openvpn-build/generic/sources/openvpn-2.4.6.tar.gz'
Extract '/home/ac130kz/Files/openvpn-build/generic/sources/openvpn-gui-11.tar.gz'
Extract '/home/ac130kz/Files/openvpn-build/generic/sources/pkcs11-helper-1.22.tar.bz2'
Extract '/home/ac130kz/Files/openvpn-build/generic/sources/tap-windows-9.22.1.zip'
Archive: /home/ac130kz/Files/openvpn-build/generic/sources/tap-windows-9.22.1.zip
creating: tap-windows-9.22.1/
creating: tap-windows-9.22.1/amd64/
inflating: tap-windows-9.22.1/amd64/tapinstall.exe
inflating: tap-windows-9.22.1/amd64/OemVista.inf
inflating: tap-windows-9.22.1/amd64/tap0901.sys
inflating: tap-windows-9.22.1/amd64/tap0901.cat
creating: tap-windows-9.22.1/include/
inflating: tap-windows-9.22.1/include/tap-windows.h
creating: tap-windows-9.22.1/i386/
inflating: tap-windows-9.22.1/i386/tapinstall.exe
inflating: tap-windows-9.22.1/i386/OemVista.inf
inflating: tap-windows-9.22.1/i386/tap0901.sys
inflating: tap-windows-9.22.1/i386/tap0901.cat
Patch: '/home/ac130kz/Files/openvpn-build/generic/patches/pkcs11-helper-001-RFC7512.patch'
patching file lib/pkcs11h-serialization.c
patching file lib/pkcs11h-util.c
Build openssl
Configuring OpenSSL version 1.1.0h (0x1010008fL)
no-asan [default] OPENSSL_NO_ASAN
no-capieng [option] OPENSSL_NO_CAPIENG
no-crypto-mdebug [default] OPENSSL_NO_CRYPTO_MDEBUG
no-crypto-mdebug-backtrace [default] OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128
no-egd [default] OPENSSL_NO_EGD
no-fuzz-afl [default] OPENSSL_NO_FUZZ_AFL
no-fuzz-libfuzzer [default] OPENSSL_NO_FUZZ_LIBFUZZER
no-heartbeats [default] OPENSSL_NO_HEARTBEATS
no-md2 [default] OPENSSL_NO_MD2 (skip dir)
no-msan [default] OPENSSL_NO_MSAN
no-rc5 [default] OPENSSL_NO_RC5 (skip dir)
no-sctp [default] OPENSSL_NO_SCTP
no-ssl-trace [default] OPENSSL_NO_SSL_TRACE
no-ssl3 [default] OPENSSL_NO_SSL3
no-ssl3-method [default] OPENSSL_NO_SSL3_METHOD
no-ubsan [default] OPENSSL_NO_UBSAN
no-unit-test [default] OPENSSL_NO_UNIT_TEST
no-weak-ssl-ciphers [default] OPENSSL_NO_WEAK_SSL_CIPHERS
no-zlib [default]
no-zlib-dynamic [default]
Configuring for linux-x86_64
CC =x86_64-w64-mingw32-gcc
CFLAG =-Wall -O3 -pthread -m64 -DL_ENDIAN -static-libgcc
SHARED_CFLAG =-fPIC -DOPENSSL_USE_NODELETE
DEFINES =DSO_DLFCN HAVE_DLFCN_H NDEBUG OPENSSL_THREADS OPENSSL_NO_STATIC_ENGINE OPENSSL_PIC OPENSSL_IA32_SSE2 OPENSSL_BN_ASM_MONT OPENSSL_BN_ASM_MONT5 OPENSSL_BN_ASM_GF2m SHA1_ASM SHA256_ASM SHA512_ASM RC4_ASM MD5_ASM AES_ASM VPAES_ASM BSAES_ASM GHASH_ASM ECP_NISTZ256_ASM PADLOCK_ASM POLY1305_ASM
LFLAG =
PLIB_LFLAG =
EX_LIBS =-ldl -pthread -Wl,--dynamicbase,--nxcompat
APPS_OBJ =
CPUID_OBJ =x86_64cpuid.o
UPLINK_OBJ =
BN_ASM =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
PADLOCK_OBJ =e_padlock-x86_64.o
CHACHA_ENC =chacha-x86_64.o
POLY1305_OBJ =poly1305-x86_64.o
BLAKE2_OBJ =
PROCESSOR =
RANLIB =x86_64-w64-mingw32-ranlib
ARFLAGS =
PERL =/usr/bin/perl
SIXTY_FOUR_BIT_LONG mode
Configured for linux-x86_64.
LIBSSL: No new symbols added
LIBCRYPTO: No new symbols added
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" crypto/include/internal/bn_conf.h.in > crypto/include/internal/bn_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" crypto/include/internal/dso_conf.h.in > crypto/include/internal/dso_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" include/openssl/opensslconf.h.in > include/openssl/opensslconf.h
make depend && make _all
make[1]: Entering directory '/home/ac130kz/Files/openvpn-build/generic/tmp/openssl-1.1.0h'
make[1]: Leaving directory '/home/ac130kz/Files/openvpn-build/generic/tmp/openssl-1.1.0h'
make[1]: Entering directory '/home/ac130kz/Files/openvpn-build/generic/tmp/openssl-1.1.0h'
CC="x86_64-w64-mingw32-gcc" /usr/bin/perl crypto/aes/asm/aes-x86_64.pl elf crypto/aes/aes-x86_64.s
x86_64-w64-mingw32-gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/lib/engines-1.1\"" -Wall -O3 -pthread -m64 -DL_ENDIAN -static-libgcc -fPIC -DOPENSSL_USE_NODELETE -c -o crypto/aes/aes-x86_64.o crypto/aes/aes-x86_64.s
crypto/aes/aes-x86_64.s: Assembler messages:
crypto/aes/aes-x86_64.s:2: Warning: .type pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:2: Error: junk at end of line, first unrecognized character is `_'
crypto/aes/aes-x86_64.s:154: Warning: .size pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:154: Error: junk at end of line, first unrecognized character is `_'
crypto/aes/aes-x86_64.s:155: Warning: .type pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:155: Error: junk at end of line, first unrecognized character is `_'
crypto/aes/aes-x86_64.s:327: Warning: .size pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:327: Error: junk at end of line, first unrecognized character is `_'
crypto/aes/aes-x86_64.s:329: Warning: .type pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:329: Error: junk at end of line, first unrecognized character is `A'
crypto/aes/aes-x86_64.s:332: Error: unknown pseudo-op: `.hidden'
crypto/aes/aes-x86_64.s:394: Warning: .size pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:394: Error: junk at end of line, first unrecognized character is `A'
crypto/aes/aes-x86_64.s:395: Warning: .type pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:395: Error: junk at end of line, first unrecognized character is `_'
crypto/aes/aes-x86_64.s:549: Warning: .size pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:549: Error: junk at end of line, first unrecognized character is `_'
crypto/aes/aes-x86_64.s:550: Warning: .type pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:550: Error: junk at end of line, first unrecognized character is `_'
crypto/aes/aes-x86_64.s:774: Warning: .size pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:774: Error: junk at end of line, first unrecognized character is `_'
crypto/aes/aes-x86_64.s:776: Warning: .type pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:776: Error: junk at end of line, first unrecognized character is `A'
crypto/aes/aes-x86_64.s:779: Error: unknown pseudo-op: `.hidden'
crypto/aes/aes-x86_64.s:843: Warning: .size pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:843: Error: junk at end of line, first unrecognized character is `A'
crypto/aes/aes-x86_64.s:845: Warning: .type pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:845: Error: junk at end of line, first unrecognized character is `A'
crypto/aes/aes-x86_64.s:864: Warning: .size pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:864: Error: junk at end of line, first unrecognized character is `A'
crypto/aes/aes-x86_64.s:866: Warning: .type pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:866: Error: junk at end of line, first unrecognized character is `_'
crypto/aes/aes-x86_64.s:1104: Warning: .size pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:1104: Error: junk at end of line, first unrecognized character is `_'
crypto/aes/aes-x86_64.s:1106: Warning: .type pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:1106: Error: junk at end of line, first unrecognized character is `A'
crypto/aes/aes-x86_64.s:1291: Warning: .size pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:1291: Error: junk at end of line, first unrecognized character is `A'
crypto/aes/aes-x86_64.s:1293: Warning: .type pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:1293: Error: junk at end of line, first unrecognized character is `A'
crypto/aes/aes-x86_64.s:1297: Error: unknown pseudo-op: `.hidden'
crypto/aes/aes-x86_64.s:1748: Warning: .size pseudo-op used outside of .def/.endef: ignored.
crypto/aes/aes-x86_64.s:1748: Error: junk at end of line, first unrecognized character is `A'
Makefile:660: recipe for target 'crypto/aes/aes-x86_64.o' failed
make[1]: *** [crypto/aes/aes-x86_64.o] Error 1
make[1]: Leaving directory '/home/ac130kz/Files/openvpn-build/generic/tmp/openssl-1.1.0h'
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
FATAL: make openssl
@selvanair
Copy link

Something is wrong with the way you are building: openssl is not getting correctly configured -- did you source build.vars ? Looks like CHOST is not defined but CC is somehow set to x86_64-w64-mingw32-gcc. Use a clean shell, source the edited build.vars and try again

From the logs:

line118: Configuring for linux-x86_64 <-- should be mingw64

line 166: CC="x86_64-w64-mingw32-gcc" /usr/bin/perl crypto/aes/asm/aes-x86_64.pl elf crypto/aes/aes-x86_64.s
(instead of elf it should be mingw64)
etc..

@chipitsine
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment