Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 529436

Summary: net-misc/openssh-6.7_p1[sctp]: configure: error: *** Can not use SCTP - maybe libsctp-dev is missing ***
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: [OLD] Core systemAssignee: Patrick McLean <chutzpah>
Status: CONFIRMED ---    
Severity: normal CC: alexxy, bsd+disabled, dschridde+gentoobugs, kumba, patrick
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=505942
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: virtual/sctp-0 ebuild

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
http://sources.gentoo.org/net-misc/lksctp-tools/lksctp-tools-1.0.16.ebuild?r1=1.2&r2=1.3
Comment 3 SpanKY gentoo-dev 2014-11-16 18:00:13 UTC
Commit message: Pull in lksctp-tools for USE=sctp
http://sources.gentoo.org/net-misc/openssh/openssh-6.7_p1.ebuild?r1=1.1&r2=1.2
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