x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -Wmissing-prototypes -O2 -pipe -march=native -I/usr/include -c -o tlswrap-tls.o `test -f 'tls.c' || echo './'`tls.c tls.c: In function ‘tls_init’: tls.c:76:61: error: operator '||' has no right operand #if (OPENSSL_VERSION_NUMBER < 0x10100000L) || OPENSSL_NO_EGD ^ tls.c: In function ‘tls_cert2’: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-systemd_20190110-191026 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-8.2.0 * Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) * [2] ruby25 (with Rubygems) [3] ruby26 (with Rubygems) Available Rust versions: [1] rust-bin-1.31.1 * emerge -qpvO net-ftp/tlswrap [ebuild N ] net-ftp/tlswrap-1.04-r3 USE="-libressl"
Created attachment 560916 [details] emerge-info.txt
Created attachment 560918 [details] emerge-history.txt
Created attachment 560920 [details] environment
Created attachment 560922 [details] etc.portage.tbz2
Created attachment 560924 [details] logs.tbz2
Created attachment 560926 [details] net-ftp:tlswrap-1.04-r3:20190113-212255.log
Created attachment 560928 [details] temp.tbz2
in my case it builds fine with that :/
got at the unstable amd64 chroot image 17.0-no-multilib-hardened_libressl-test_20190113-153406 this too
Created attachment 561600 [details] emerge-info.txt
Created attachment 561602 [details] emerge-history.txt
Created attachment 561604 [details] environment
Created attachment 561606 [details] etc.portage.tbz2
Created attachment 561608 [details] logs.tbz2
Created attachment 561610 [details] net-ftp:tlswrap-1.04-r3:20190116-195032.log
Created attachment 561612 [details] temp.tbz2
Changing line 8 of files/tlswrap-1.04-openssl11.patch from +#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || OPENSSL_NO_EGD to +#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || !defined(OPENSSL_NO_EGD) makes it compile on my systems, on which I hit this today when upgrading to openssl v1.1
Dear treecleaner@: I'm still able to reproduce this issue right now. Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=003db2626e8b775dc5884d488b4aadafa84f92d6 commit 003db2626e8b775dc5884d488b4aadafa84f92d6 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-12-18 10:05:23 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-12-18 10:17:02 +0000 package.mask: Last rite net-ftp/tlswrap Bug: https://bugs.gentoo.org/675364 Signed-off-by: Michał Górny <mgorny@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+)
This still compiles on my system with the previously suggested patch. It's a nice tool for integrating legacy business support systems supporting only FTP with FTPES servers for secure file transfers. But I can of course just put it in my local overlay.
This is not the first time this package is broken by new OpenSSL, and certainly not the last time either. Keeping it requires a dedicated maintainer (dev or proxied) who is going to fix it in the future whenever it happens.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed9d3833c1919f53c2e3fb9f71dd1e472a768cdf commit ed9d3833c1919f53c2e3fb9f71dd1e472a768cdf Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2021-01-19 08:40:01 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2021-01-19 08:40:01 +0000 net-ftp/tlswrap: Remove last-rited pkg Closes: https://bugs.gentoo.org/675364 Signed-off-by: Michał Górny <mgorny@gentoo.org> net-ftp/tlswrap/Manifest | 1 - .../files/fix-Wformat-security-warnings.patch | 67 ---------------------- .../tlswrap/files/modernize-am_init_automake.patch | 30 ---------- net-ftp/tlswrap/files/respect-cflags.patch | 66 --------------------- net-ftp/tlswrap/files/tlswrap-1.04-openssl11.patch | 60 ------------------- net-ftp/tlswrap/files/tlswrap.init | 19 ------ net-ftp/tlswrap/metadata.xml | 5 -- net-ftp/tlswrap/tlswrap-1.04-r3.ebuild | 39 ------------- profiles/package.mask | 6 -- 9 files changed, 293 deletions(-)