libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -I/usr/include -I/usr/include/openssl -O2 -pipe -march=native -c crypt.cpp -fPIC -DPIC -o .libs/libboinc_crypt_la-crypt.o crypt.cpp: In function ‘void openssl_to_keys(RSA*, int, R_RSA_PRIVATE_KEY&, R_RSA_PUBLIC_KEY&)’: crypt.cpp:475:5: error: ‘RSA_get0_key’ was not declared in this scope RSA_get0_key(rp, &n, &e, &d); ^~~~~~~~~~~~ crypt.cpp:475:5: note: suggested alternative: ‘RSA_check_key’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-no-multilib_libressl_20171120-180701 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.2.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) * emerge -qpv sci-misc/boinc [ebuild N ] sci-misc/boinc-7.8.1 USE="-X -cuda -static-libs" CURL_SSL="libressl -gnutls -openssl"
Created attachment 505808 [details] emerge-info.txt
Created attachment 505810 [details] emerge-history.txt
Created attachment 505812 [details] environment
Created attachment 505814 [details] etc.portage.tbz2
Created attachment 505816 [details] logs.tbz2
Created attachment 505818 [details] sci-misc:boinc-7.8.1:20171122-195821.log
Created attachment 505820 [details] temp.tbz2
Hmm... I never had this one. I'll see what I can find out, but must ask for some patience. My laptop won't have internet until tomorrow, then I can sync and test.
OpenSSL changed how elements of RSA keys are accessed between version 1.0 and version 1.1, and Boinc uses the variable OPENSSL_VERSION_NUMBER to detect this. The problem is that LibreSSL defines itself as "OpenSSL 2.0", despite only being compatible with the OpenSSL 1.0 API.
Created attachment 508412 [details, diff] Patch to fix Boinc's detection of the current SSL version.
(In reply to Mark Wagner from comment #10) > Created attachment 508412 [details, diff] [details, diff] > Patch to fix Boinc's detection of the current SSL version. Inspired idea indeed. I'll test that tomorrow, this night I have an appointment.
Sorry for the long delay. Should be fixed by PR https://github.com/gentoo/gentoo/pull/7531
I am still waiting for the PR merge, or Feedback at least, sorry.
@asturm were there Closes: lines missing in the merge? Please have a look at the PR. Can we close this and other tickets?
Hm, you didn't add those Closes: references to this bug. Did they address this one? Please don't assign me to packages I don't maintain.
There were Closes: lines in the comment on https://github.com/gentoo/gentoo/pull/7531 But I do not know if they were dropped later intentionally or by accident. @asturm you merged it, so you know best, if other bugs are fixed, or not. BTW: This package is not m-n.
Then ffs assign it correctly. More than two years after proxy-merging some PR I'll have to do the same investigation as anyone else.
The bug has been fixed by https://github.com/gentoo/gentoo/pull/7531 - But I forgot that the "Closes:" statements must be in the commit messages, and not only in the PR description. Sorry everybody, I failed to check with the bugs! I am currently waiting for some other PR to merge. Going back into BOINC for some version bumping and review is on my list to do next.