app-crypt/openssl-tpm-engine-0.4.2 fails with openssl-1.1.1. >>> Compiling source in /var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/work/openssl_tpm_engine-0.4.2 ... make -j1 Making all in . make[1]: Entering directory '/var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/work/openssl_tpm_engine-0.4.2' x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"openssl-tpm-engine\" -DPACKAGE_TARNAME=\"openssl-tpm-engine\" -DPACKAGE_VERSION=\"0.4.2\" -DPACKAGE_STRING=\"openssl-tpm-engine\ 0.4.2\" -DPACKAGE_BUGREPORT=\"trousers-users@lists.sf.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"openssl-tpm-engine\" -DVERSION=\"0.4.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -Wall -c -o create_tpm_key.o create_tpm_key.c create_tpm_key.c: In function 'openssl_get_modulus_and_prime': create_tpm_key.c:119:30: error: dereferencing pointer to incomplete type 'RSA' {aka 'struct rsa_st'} if ((*size_n = BN_bn2bin(rsa->n, n)) <= 0) { ^~ make[1]: *** [Makefile:545: create_tpm_key.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/work/openssl_tpm_engine-0.4.2' make: *** [Makefile:577: all-recursive] Error 1 * ERROR: app-crypt/openssl-tpm-engine-0.4.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-crypt/openssl-tpm-engine-0.4.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-crypt/openssl-tpm-engine-0.4.2::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/temp/environment'. * Working directory: '/var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/work/openssl_tpm_engine-0.4.2' * S: '/var/tmp/portage/app-crypt/openssl-tpm-engine-0.4.2/work/openssl_tpm_engine-0.4.2'
Conrad Kostecki 2018-12-08 18:27:15 CET Portage 2.3.52 (python 3.7.0-final-0, default/linux/amd64/17.1, gcc-8.2.0, glibc-2.28-r2, 4.19.6-gentoo x86_64) ================================================================= System uname: Linux-4.19.6-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_C2758_@_2.40GHz-with-gentoo-2.6 KiB Swap: 34078716 total, 34078716 free Timestamp of repository gentoo: Sat, 08 Dec 2018 01:45:01 +0000 Head commit of repository gentoo: fe272e74d62b707e8083fecac8ca667760d0dc16 sh bash 4.4_p23 ld GNU ld (Gentoo 2.31.1 p3) 2.31.1 distcc 3.3 x86_64-pc-linux-gnu [disabled] ccache version 3.5 [enabled] app-shells/bash: 4.4_p23::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.15::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo, 3.7.0::gentoo dev-util/ccache: 3.5-r1::gentoo dev-util/cmake: 3.13.1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.40.1::gentoo sys-apps/sandbox: 2.14::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1-r1::gentoo sys-devel/gcc: 8.2.0-r5::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.28-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes sync-rsync-verify-metamanifest: yes crossdev location: /usr/local/crossdev masters: gentoo galactica location: /usr/local/portage masters: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/gnupg/qualified.txt /var/lib/unifi" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch protect-owned sandbox sfperms sign strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" INSTALL_MASK="/etc/systemd/* /etc/xinetd.d/* /usr/lib/systemd/*" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z,now" LINGUAS="de de_DE" MAKEOPTS="-j9 -l8" PKGDIR="/usr/portage/packages" PORTAGE_BUNZIP2_COMMAND="pbunzip2" PORTAGE_BZIP2_COMMAND="pbzip2" PORTAGE_COMPRESS="xz" PORTAGE_COMPRESS_FLAGS="-9e" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" 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="/var/tmp" USE="X aalib acl alsa amd64 berkdb bzip2 cairo calendar caps cddb cgi cjk cracklib crypt curl cvs cxx dbus dga djvu dri encode exif fbcon fbcpm ffmpeg fftw flac fontconfig fortran ftp gd gdbm gif git gmp gnutls gpm graphviz gsm iconv icu idn imap imlib inotify introspection ipv6 java javascript jbig jit joystick jpeg jpeg2k lcms ldap libass libcaca libnotify libsamplerate lm_sensors lua lzma lzo mad maildir mbox mhash mikmod milter modplug mp3 mysql mysqli ncurses nls nntp nptl nsplugin offensive ogg openal openexr opengl openmp orc oss pam pcre pdf perl pie png policykit posix postgres postscript pulseaudio python raw readline rtmp samba sasl sdl session slang slp smartcard sndfile snmp soap sockets sound sox speex spell sqlite ssl startup-notification subversion suid svg symlink syslog tcpd theora threads tiff truetype udev unicode usb v4l vaapi vdpau vim-syntax vorbis wavpack webp wmf x264 xattr xcb xface xft xml xmp xpm xscreensaver xv xvid zeroconf zlib zsh-completion" ABI_X86="32 64" COLLECTD_PLUGINS="apcups battery cgroups conntrack contextswitch cpu cpufreq cpusleep df disk dns entropy ethstat exec fhcount filecount hddtemp hugepages interface ipc ipmi iptables irq load lvm java mcelog md memory mysql netlink nfs nginx ntpd openldap openvpn ping postgresql processes protocols rrdcached sensors serial smart snmp swap syslog tcpconns thermal turbostat unixsock uptime users" CPU_FLAGS_X86="aes mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de de_DE" LCD_DEVICES="cfontzpacket crystalfontz glcd2usb hd44780 lcd2usb" NGINX_MODULES_HTTP="access auth_basic autoindex brotli browser charset fancyindex fastcgi geo geoip gunzip gzip headers_more limit_conn proxy realip referer rewrite sticky stub_status upstream_keepalive vhost_traffic_status" NGINX_MODULES_STREAM="access geo geoip limit_conn realip return ssl_preread" PHP_TARGETS="php7-2" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" USERLAND="GNU" VIDEO_CARDS="ast fbdev" Unset: CC, CPPFLAGS, CTARGET, CXX, PORTAGE_BINHOST
Some fixes exists in fork[1] too many for us to provide. Reported to usptream at [2]. [1] https://github.com/mgerstner/openssl_tpm_engine [2] https://sourceforge.net/p/trousers/bugs/228/
(In reply to Alon Bar-Lev from comment #2) > Some fixes exists in fork[1] too many for us to provide. > Reported to usptream at [2]. > > [1] https://github.com/mgerstner/openssl_tpm_engine > [2] https://sourceforge.net/p/trousers/bugs/228/ The pull request has been updated to only include the OpenSSL 1.1 fix - perhaps it can be merged now?
(In reply to Craig Andrews from comment #3) > (In reply to Alon Bar-Lev from comment #2) > > Some fixes exists in fork[1] too many for us to provide. > > Reported to usptream at [2]. > > > > [1] https://github.com/mgerstner/openssl_tpm_engine > > [2] https://sourceforge.net/p/trousers/bugs/228/ > > The pull request has been updated to only include the OpenSSL 1.1 fix - > perhaps it can be merged now? too complex and has not got the blessing of upstream, as you can see I've written upstream to have a look, if upstream is not responding, I will probably remove this package from tree.
(In reply to Alon Bar-Lev from comment #4) > (In reply to Craig Andrews from comment #3) > > (In reply to Alon Bar-Lev from comment #2) > > > Some fixes exists in fork[1] too many for us to provide. > > > Reported to usptream at [2]. > > > > > > [1] https://github.com/mgerstner/openssl_tpm_engine > > > [2] https://sourceforge.net/p/trousers/bugs/228/ > > > > The pull request has been updated to only include the OpenSSL 1.1 fix - > > perhaps it can be merged now? > > too complex and has not got the blessing of upstream, as you can see I've > written upstream to have a look, if upstream is not responding, I will > probably remove this package from tree. Upstream sure looks dead... last rite is probably the way to go :-/
(In reply to Craig Andrews from comment #5) > Upstream sure looks dead... last rite is probably the way to go :-/ yes...
app-crypt/openssl-tpm-engine mask for removal in 30 days Upstream is dead. Package does not support openssl-1.1, significant change to package. Removal in 30 days.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08fd5dd933f5030531f16a1a5d9c383fe5950822 commit 08fd5dd933f5030531f16a1a5d9c383fe5950822 Author: Alon Bar-Lev <alonbl@gentoo.org> AuthorDate: 2018-12-30 18:09:16 +0000 Commit: Alon Bar-Lev <alonbl@gentoo.org> CommitDate: 2018-12-30 18:10:17 +0000 package.mask: mask app-crypt/openssl-tpm-engine Bug: https://bugs.gentoo.org/show_bug.cgi?id=672758 Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c88eb7717ea8cbbf90823692f303b7a746cc13 commit c0c88eb7717ea8cbbf90823692f303b7a746cc13 Author: Alon Bar-Lev <alonbl@gentoo.org> AuthorDate: 2019-01-27 18:45:23 +0000 Commit: Alon Bar-Lev <alonbl@gentoo.org> CommitDate: 2019-01-27 18:45:50 +0000 app-crypt/openssl-tpm-engine: remove from tree Bug: https://bugs.gentoo.org/show_bug.cgi?id=672758 Bug: https://bugs.gentoo.org/show_bug.cgi?id=593256 Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org> app-crypt/openssl-tpm-engine/Manifest | 1 - .../files/openssl-tpm-engine-0.4.2-build.patch | 10 ------ app-crypt/openssl-tpm-engine/metadata.xml | 11 ------ .../openssl-tpm-engine-0.4.2.ebuild | 42 ---------------------- profiles/package.mask | 6 ---- 5 files changed, 70 deletions(-)
Removed from tree.