In file included from /usr/include/sys/types.h:25, from ../config.h:644, from /var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r4/work/cyrus-sasl-2.1.27/common/crypto-compat.h:4, from /var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r4/work/cyrus-sasl-2.1.27/common/crypto-compat.c:10: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ slibtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -W -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fno-strict-aliasing -version-info -no-undefined -Wl,-O1 -Wl,--as-needed -o libcrypto_compat.la crypto-compat.lo -lresolv slibtool: error: option [--version-info] requires a value make[2]: *** [Makefile:487: libcrypto_compat.la] Error 2 make[2]: *** Waiting for unfinished jobs.... slibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r4/work/cyrus-sasl-2.1.27/common -I.. -fPIC -I/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r4/work/cyrus-sasl-2.1.27/include -I../include -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -I/usr/include -I/usr/lib64 -Wall -W -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fno-strict-aliasing -c /var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r4/work/cyrus-sasl-2.1.27/common/plugin_common.c -o plugin_common.o In file included from /usr/include/sys/types.h:25, from ../config.h:644, from /var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r4/work/cyrus-sasl-2.1.27/common/plugin_common.c:45: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[2]: Leaving directory '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r4/work/cyrus-sasl-2.1.27-abi_x86_64.amd64/common' make[1]: *** [Makefile:688: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r4/work/cyrus-sasl-2.1.27-abi_x86_64.amd64' make: *** [Makefile:556: all] Error 2 * ERROR: dev-libs/cyrus-sasl-2.1.27-r4::gentoo failed (compile phase): * emake failed
Created attachment 691242 [details] cyrus-sasl-2.1.27-r4:20210313-123711.log buildlog
The fix is here. https://github.com/cyrusimap/cyrus-sasl/pull/623
Created attachment 691866 [details, diff] https://github.com/cyrusimap/cyrus-sasl/pull/623
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac8b393cb1ff7ca80be582820d2fd63c320c43c4 commit ac8b393cb1ff7ca80be582820d2fd63c320c43c4 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-16 22:13:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-16 22:13:48 +0000 dev-libs/cyrus-sasl: fix build with slibtool Thanks-to: orbea <orbea@riseup.net> Closes: https://bugs.gentoo.org/775875 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r4.ebuild | 1 + .../cyrus-sasl/files/cyrus-sasl-2.1.27-slibtool.patch | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+)