It seems this is another example of an application broken due after upgrade to openssl-1.1.0f x86_64-pc-linux-gnu-gcc -O2 -pipe -march=sandybridge -mtune=native -ftree-vectorize -DHAVE_CONFIG_H -DHAVE_AESNI -DNO_AVX2 -DVERSION=\"1.99.6\" -D__COMPILER__="\"x86_64-pc-linux-gnu-gcc (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) 5.4.0\"" -DID=\"\" -fPIC -o aes_ossl.po -c aes_ossl.c aes_ossl.c: In function ‘AES_OSSL_Bits_EKey_Expand’: aes_ossl.c:21:2: warning: implicit declaration of function ‘EVP_CIPHER_CTX_init’ [-Wimplicit-function-declaration] EVP_CIPHER_CTX_init(evpctx); ^ aes_ossl.c: In function ‘AES_OSSL_Release’: aes_ossl.c:144:2: warning: implicit declaration of function ‘EVP_CIPHER_CTX_cleanup’ [-Wimplicit-function-declaration] EVP_CIPHER_CTX_cleanup(evpctx); ^ aes_ossl.c: In function ‘AES_OSSL_128_ECB_Encrypt’: aes_ossl.c:55:16: error: dereferencing pointer to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’ memcpy(evpctx->oiv, iv, 16); memcpy(evpctx->iv, iv, 16); \ ^ aes_ossl.c:151:1: note: in expansion of macro ‘AES_OSSL_CRYPT’ AES_OSSL_CRYPT(128_ECB, 0, 1); ^ aes_ossl.c: In function ‘AES_OSSL_128_ECB_Decrypt’: aes_ossl.c:104:18: error: storage size of ‘ctx2’ isn’t known EVP_CIPHER_CTX ctx2; \ ^ aes_ossl.c:151:1: note: in expansion of macro ‘AES_OSSL_CRYPT’ AES_OSSL_CRYPT(128_ECB, 0, 1); ^ aes_ossl.c: In function ‘AES_OSSL_128_CBC_Decrypt’: aes_ossl.c:104:18: error: storage size of ‘ctx2’ isn’t known EVP_CIPHER_CTX ctx2; \ ^ aes_ossl.c:152:1: note: in expansion of macro ‘AES_OSSL_CRYPT’ AES_OSSL_CRYPT(128_CBC, 1, 1); ^ aes_ossl.c: In function ‘AES_OSSL_128_CTR_Decrypt’: aes_ossl.c:104:18: error: storage size of ‘ctx2’ isn’t known EVP_CIPHER_CTX ctx2; \ ^ aes_ossl.c:153:1: note: in expansion of macro ‘AES_OSSL_CRYPT’ AES_OSSL_CRYPT(128_CTR, 1, 0); ^ aes_ossl.c: In function ‘AES_OSSL_192_ECB_Decrypt’: aes_ossl.c:104:18: error: storage size of ‘ctx2’ isn’t known EVP_CIPHER_CTX ctx2; \ ^ aes_ossl.c:159:1: note: in expansion of macro ‘AES_OSSL_CRYPT’ AES_OSSL_CRYPT(192_ECB, 0, 1); ^ aes_ossl.c: In function ‘AES_OSSL_192_CBC_Decrypt’: aes_ossl.c:104:18: error: storage size of ‘ctx2’ isn’t known EVP_CIPHER_CTX ctx2; \ ^ aes_ossl.c:160:1: note: in expansion of macro ‘AES_OSSL_CRYPT’ AES_OSSL_CRYPT(192_CBC, 1, 1); ^ aes_ossl.c: In function ‘AES_OSSL_192_CTR_Decrypt’: aes_ossl.c:104:18: error: storage size of ‘ctx2’ isn’t known EVP_CIPHER_CTX ctx2; \ ^ aes_ossl.c:161:1: note: in expansion of macro ‘AES_OSSL_CRYPT’ AES_OSSL_CRYPT(192_CTR, 1, 0); ^ aes_ossl.c: In function ‘AES_OSSL_256_ECB_Decrypt’: aes_ossl.c:104:18: error: storage size of ‘ctx2’ isn’t known EVP_CIPHER_CTX ctx2; \ ^ aes_ossl.c:167:1: note: in expansion of macro ‘AES_OSSL_CRYPT’ AES_OSSL_CRYPT(256_ECB, 0, 1); ^ aes_ossl.c: In function ‘AES_OSSL_256_CBC_Decrypt’: aes_ossl.c:104:18: error: storage size of ‘ctx2’ isn’t known EVP_CIPHER_CTX ctx2; \ ^ aes_ossl.c:168:1: note: in expansion of macro ‘AES_OSSL_CRYPT’ AES_OSSL_CRYPT(256_CBC, 1, 1); ^ aes_ossl.c: In function ‘AES_OSSL_256_CTR_Decrypt’: aes_ossl.c:104:18: error: storage size of ‘ctx2’ isn’t known EVP_CIPHER_CTX ctx2; \ ^ aes_ossl.c:169:1: note: in expansion of macro ‘AES_OSSL_CRYPT’ AES_OSSL_CRYPT(256_CTR, 1, 0); ^ aes_ossl.c: In function ‘AES_OSSL_Bits_EKey_ExpandX2’: aes_ossl.c:193:2: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ EVP_CIPHER_CTX_init(evpctx+1); ^ aes_ossl.c:194:2: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ EVP_EncryptInit_ex(evpctx+1, cipher, NULL, usrkey2, NULL); ^ aes_ossl.c: In function ‘AES_OSSL_Bits_DKey_ExpandX2’: aes_ossl.c:211:2: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ EVP_CIPHER_CTX_init(evpctx+1); ^ aes_ossl.c:212:2: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ EVP_DecryptInit_ex(evpctx+1, cipher, NULL, usrkey2, NULL); ^ aes_ossl.c: In function ‘AES_OSSL_ReleaseX2’: aes_ossl.c:338:2: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ EVP_CIPHER_CTX_cleanup(evpctx+1); ^ aes_ossl.c: In function ‘AES_OSSL_128_ECB_EncryptX2’: aes_ossl.c:345:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ AES_OSSL_CRYPT2(128_ECB, 0); ^ aes_ossl.c:345:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:345:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:345:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:345:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:345:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c: In function ‘AES_OSSL_128_ECB_DecryptX2’: aes_ossl.c:345:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:345:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:345:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:345:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:345:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:345:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:301:18: error: storage size of ‘ctx2’ isn’t known EVP_CIPHER_CTX ctx2; \ ^ aes_ossl.c:345:1: note: in expansion of macro ‘AES_OSSL_CRYPT2’ AES_OSSL_CRYPT2(128_ECB, 0); ^ aes_ossl.c: In function ‘AES_OSSL_192_ECB_EncryptX2’: aes_ossl.c:353:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ AES_OSSL_CRYPT2(192_ECB, 0); ^ aes_ossl.c:353:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:353:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:353:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:353:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:353:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c: In function ‘AES_OSSL_192_ECB_DecryptX2’: aes_ossl.c:353:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:353:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:353:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:353:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:353:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:353:1: error: invalid use of undefined type ‘struct evp_cipher_ctx_st’ aes_ossl.c:301:18: error: storage size of ‘ctx2’ isn’t known EVP_CIPHER_CTX ctx2; \ ^ aes_ossl.c:353:1: note: in expansion of macro ‘AES_OSSL_CRYPT2’ AES_OSSL_CRYPT2(192_ECB, 0); ^ # emerge -pv openssl [ebuild R #] dev-libs/openssl-1.1.0f:0/1.1::gentoo USE="asm bindist sctp zlib -rfc3779 -static-libs {-test} -tls-heartbeat -vanilla" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="(sse2)" 0 KiB
# emerge --info '=sys-fs/dd-rescue-1.99.6::gentoo' Portage 2.3.11 (python 3.4.6-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.25-r7, 4.13.6 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.13.6-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.4.1 KiB Mem: 16387480 total, 2488256 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 14 Oct 2017 08:30:01 +0000 Head commit of repository gentoo: 3d87a84e9efadd125720c7caf8b5045948353547 sh bash 4.4_p12 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.26.9999::gentoo dev-lang/python: 2.7.14::gentoo, 3.4.6::gentoo, 3.6.3::gentoo dev-util/cmake: 3.9.4::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.33::gentoo sys-apps/sandbox: 2.12::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15.1-r1::gentoo sys-devel/binutils: 2.25.1-r1::gentoo, 2.27::gentoo, 2.28-r2::gentoo, 2.29.1::gentoo sys-devel/gcc: 4.2.4-r1::gentoo, 4.3.6-r1::gentoo, 4.4.7::gentoo, 4.7.4::gentoo, 4.8.5::gentoo, 4.9.4::gentoo, 5.4.0-r3::gentoo, 6.3.0::gentoo, 6.4.0::gentoo sys-devel/gcc-config: 1.9.0::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.25-r7::gentoo Repositories: gentoo location: /scratch/usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: x-portage location: /scratch/usr/local/portage masters: gentoo priority: 0 x-layman location: /scratch/var/lib/layman masters: gentoo priority: 1 haskell location: /var/lib/layman/haskell masters: gentoo priority: 50 science location: /var/lib/layman/science masters: gentoo priority: 50 vmware location: /var/lib/layman/vmware masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE IBM-J1.6 skype-eula Nero-EULA-US AdobeFlash-10.3 skype-4.0.0.7-copyright AdobeFlash-11.x OPERA-2014 RAR" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=sandybridge -mtune=native -ftree-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=sandybridge -mtune=native -ftree-vectorize" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/ rsync://gentoo.mirror.dkm.cz/gentoo/ ftp://gentoo.mirror.web4u.cz/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/scratch/var/tmp" USE="X acpi alsa amd64 amr apache apache2 asm avx avx2 berkdb bindist bluetooth boost bzip2 cairo cgi cli coin consolekit cracklib crypt cryptlib cryptsetup cups cxx dbus device-mapper dhcp directfb drm dvd emboss encode fax fbcon ffmpeg flac fontconfig fortran gbm gcrypt gd gdbm geoip gimp glpk gmp gnutls gpm gtk hal hpijs hwdb iconv id3tag imaging innodb inotify java javafx javascript jce jpeg jpg js jscript keymap ladspa lapack laptop lcms libnotify lm_sensors mad matroska mmx modemmanager modules multilib mysql ncurses nfs nls nptl nptlonly nscd nss ntfsprogs objc ocr ogg opengl openmp openssl pam parport pcre pcre16 pdf perl php png policykit polkit ppds pppd python qt3support qt4 qt5 readline rendering resolvconf romio scanner sctp seccomp server session slideshow sndfile sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification suexec svg syslog tcl tcpd threads tiff tk truetype udev unicode usb v4l v4l2 vim-syntax vnc wavpack wifi x11 xattr xcb xml xorg xrandr xv xvid xvmc zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="alias authz_host auth_basic auth_digest cgi cgid deflate dir env filter include info mem_cache mime mime_magic negotiation remoteip setenvif status userdir vhost_alias rewrite usertrack cache file_cache disk_cache charset_lite log_config log_forensic" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en-US en en-GB cs" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en_GB en cs" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="vesa vmware fbdev intel i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= sys-fs/dd-rescue-1.99.6::gentoo was built with the following: USE="xattr -lzo -static" ABI_X86="(64)" CPU_FLAGS_X86="sse4_2 -avx2"
*** This bug has been marked as a duplicate of bug 592594 ***