^ /var/tmp/portage/net-nds/openldap-2.4.45/work/openldap-2.4.45/libraries/libldap/tls_o.c: At top level: /var/tmp/portage/net-nds/openldap-2.4.45/work/openldap-2.4.45/libraries/libldap/tls_o.c:826:8: error: redefinition of ‘struct bio_method_st’ struct bio_method_st { ^~~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:67:0, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: plasma-systemd_libressl_20170609-232249 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback)
Created attachment 477618 [details] emerge-info.txt
Created attachment 477620 [details] emerge-history.txt
Created attachment 477622 [details] environment
Created attachment 477624 [details] etc.portage.tbz2
Created attachment 477626 [details] logs.tbz2
Created attachment 477628 [details] net-nds:openldap-2.4.45:20170622-012450.log
Created attachment 477630 [details] temp.tbz2
This bug is not related to GCC-6. It happens for me when building against libressl, using gcc-5.4.0 or gcc-6.3.0.
The LibreSSL patch was landed in main tree a few days ago. See https://gitweb.gentoo.org/repo/gentoo.git/commit/net-nds/openldap/openldap-2.4.45.ebuild?id=d8579d0f043e8eefe774b8aec6a21316e0a6c527 Does this bug still apply?
works now