Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775875 - dev-libs/cyrus-sasl-2.1.27-r4 slibtool: error: option [--version-info] requires a value when using slibtool
Summary: dev-libs/cyrus-sasl-2.1.27-r4 slibtool: error: option [--version-info] requir...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-13 22:04 UTC by Alessandro Barbieri
Modified: 2021-03-16 22:14 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cyrus-sasl-2.1.27-r4:20210313-123711.log (cyrus-sasl-2.1.27-r4:20210313-123711.log,33.26 KB, text/plain)
2021-03-13 22:04 UTC, Alessandro Barbieri
Details
https://github.com/cyrusimap/cyrus-sasl/pull/623 (cyrus-sasl-version-info.patch,666 bytes, patch)
2021-03-16 18:38 UTC, orbea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-03-13 22:04:03 UTC
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
Comment 1 Alessandro Barbieri 2021-03-13 22:04:19 UTC
Created attachment 691242 [details]
cyrus-sasl-2.1.27-r4:20210313-123711.log

buildlog
Comment 2 orbea 2021-03-14 00:04:28 UTC
The fix is here.

https://github.com/cyrusimap/cyrus-sasl/pull/623
Comment 4 Larry the Git Cow gentoo-dev 2021-03-16 22:14:22 UTC
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(+)