Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600060 - [java-overlay] dev-java/icedtea-3.3.0_pre00 USE=-sctp - configure: error: Could not find SCTP library; install SCTP or build with --disable-system-sctp to use the in-tree copy.
Summary: [java-overlay] dev-java/icedtea-3.3.0_pre00 USE=-sctp - configure: error: Cou...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-17 00:31 UTC by jospezial
Modified: 2017-03-04 22:32 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2016-11-17 00:31:22 UTC
emerge -va1 icedtea

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    *] dev-java/icedtea-3.3.0_pre00:8::java  USE="alsa cups gtk jbootstrap libressl pulseaudio source sunec (-cacao) -doc -examples -headless-awt -infinality (-jamvm) -nsplugin -pax_kernel -sctp (-selinux) -shenandoah -smartcard {-test} -webstart -zero" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB


checking for sctp_bindx in -lsctp... no
configure: error: Could not find SCTP library; install SCTP or build with --disable-system-sctp to use the in-tree copy.


/var/tmp/portage/dev-java/icedtea-3.3.0_pre00/work/icedtea-3.3.0/config.log:

configure:13328: checking for sctp_bindx in -lsctp
configure:13353: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed conftest.c -lsctp  -lgif -ljpeg  >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsctp
collect2: error: ld returned 1 exit status
configure:13353: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "icedtea"
| #define PACKAGE_TARNAME "icedtea"
| #define PACKAGE_VERSION "3.3.0pre00"
| #define PACKAGE_STRING "icedtea 3.3.0pre00"
| #define PACKAGE_BUGREPORT "distro-pkg-dev@openjdk.java.net"
| #define PACKAGE_URL ""
| #define PACKAGE "icedtea"
| #define VERSION "3.3.0pre00"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CUPS_CUPS_H 1
| #define HAVE_CUPS_PPD_H 1
| #define HAVE_X11_X_H 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBGIF 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char sctp_bindx ();
| int
| main ()
| {
| return sctp_bindx ();
|   ;
|   return 0;
| }
configure:13362: result: no
configure:13372: error: Could not find SCTP library; install SCTP or build with --disable-system-sctp to use the in-tree copy.


USE=sctp emerge -vat1 icedtea

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    *] dev-java/icedtea-3.3.0_pre00:8::java  USE="alsa cups gtk jbootstrap libressl pulseaudio sctp source sunec (-cacao) -doc -examples -headless-awt -infinality (-jamvm) -nsplugin -pax_kernel (-selinux) -shenandoah -smartcard {-test} -webstart -zero" 0 KiB
[ebuild  N     ]  net-misc/lksctp-tools-1.0.17::gentoo  USE="-static-libs" 0 KiB

Total: 2 packages (2 new), Size of downloads: 0 KiB
Comment 1 James Le Cuirot gentoo-dev 2016-11-18 23:18:36 UTC
Looks like Andrew just needs to update this ebuild with the changes that went into 3.2.0.