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

Bug 667512

Summary: net-misc/lksctp-tools-1.0.18 installs /usr/include/netinet/sctp.h.in
Product: Gentoo Linux Reporter: Matt Whitlock <gentoo>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: chewi, dschridde+gentoobugs, moonlapse81
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 667842    

Description Matt Whitlock 2018-10-01 21:05:38 UTC
net-misc/lksctp-tools-1.0.18 installs /usr/include/netinet/sctp.h.in rather than /usr/include/netinet/sctp.h. This causes compilation failures for packages depending on the latter, e.g., dev-lang/erlang-21.1.

This is a regression from net-misc/lksctp-tools-1.0.17, which installs the correct header file.
Comment 1 Nate Edel 2018-10-05 19:19:35 UTC
I've seen this bug as well, as the bad header file breaks building dev-java/icedtea-3.9.0

As noted, rolling back to 1.0.17 fixed the problem (manually renaming /usr/include/netinet/sctp.h.in back to /usr/include/netinet/sctp.h was sufficient to get icedtea to build, but this is not a desirable workaround.)
Comment 3 James Le Cuirot gentoo-dev 2018-10-10 12:20:20 UTC
(In reply to Oleg from comment #2)
> https://github.com/sctp/lksctp-tools/issues/28

Although that is a concern, it doesn't seem related to this issue?
Comment 5 Larry the Git Cow gentoo-dev 2018-10-10 13:14:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab36c5dacec3cd210440834fe2de5766ee32e8cf

commit ab36c5dacec3cd210440834fe2de5766ee32e8cf
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-10-10 13:13:48 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-10-10 13:13:48 +0000

    net-misc/lksctp-tools: fix installation of /usr/include/netinet/sctp.h
    
    Closes: https://bugs.gentoo.org/667512
    Package-Manager: Portage-2.3.50, Repoman-2.3.11
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 .../files/lksctp-tools-1.0.18-install-sctp.h.patch            | 11 +++++++++++
 ...sctp-tools-1.0.18.ebuild => lksctp-tools-1.0.18-r1.ebuild} |  2 ++
 2 files changed, 13 insertions(+)