Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529436 - net-misc/openssh-6.7_p1[sctp]: configure: error: *** Can not use SCTP - maybe libsctp-dev is missing ***
Summary: net-misc/openssh-6.7_p1[sctp]: configure: error: *** Can not use SCTP - maybe...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
: 529488 529592 (view as bug list)
Depends on:
Reported: 2014-11-16 09:10 UTC by Michał Górny
Modified: 2014-11-23 22:29 UTC (History)
5 users (show)

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

virtual/sctp-0 ebuild (sctp-0.ebuild,446 bytes, text/plain)
2014-11-18 07:56 UTC, Joshua Kinard

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-11-16 09:10:22 UTC
checking for sctp_recvmsg... no
checking for sctp_recvmsg in -lsctp... no
configure: error: *** Can not use SCTP - maybe libsctp-dev is missing ***

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-misc/openssh-6.7_p1/work/openssh-6.7p1/config.log

Looks like a missing dep on net-misc/lksctp-tools.
Comment 1 SpanKY gentoo-dev 2014-11-16 17:30:35 UTC
*** Bug 529488 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2014-11-16 17:58:58 UTC
Commit message: Add arm/arm64/hppa/ia64/m68k/s390/sh love
Comment 3 SpanKY gentoo-dev 2014-11-16 18:00:13 UTC
Commit message: Pull in lksctp-tools for USE=sctp
Comment 4 SpanKY gentoo-dev 2014-11-16 18:01:31 UTC
i've added the dep now and fixes all the main systems.  however, lksctp-tools isn't keyworded on bsd systems, and i don't know how SCTP works for them, so over to them to figure out the right answer.
Comment 5 SpanKY gentoo-dev 2014-11-17 05:47:22 UTC
*** Bug 529592 has been marked as a duplicate of this bug. ***
Comment 6 Joshua Kinard gentoo-dev 2014-11-18 07:56:33 UTC
Created attachment 389612 [details]
virtual/sctp-0 ebuild
Comment 7 Joshua Kinard gentoo-dev 2014-11-18 07:58:08 UTC
My virtual/sctp ebuild solves this (attached).  I was going to add that along with SCTP support to OpenSSL, but then Heartbleed happened, so I held off until the turmoil died down.

Mainly, for at least Gentoo/FreeBSD, it pulls in the sys-freebsd/freebsd-lib package, while Linux pulls in lksctp-tools.  I imagine the OpenBSD and NetBSD ports (if we even have those) would need similar.
Comment 8 SpanKY gentoo-dev 2014-11-18 19:24:35 UTC
(In reply to Joshua Kinard from comment #6)

if the goal of the virtual is to provide a library, then it should be named "libsctp" instead