dev-libs/cyrus-sasl-2.1.14 does not compile on Alpha with Compaq JDK. Here is the error message: From /opt/compaq-jdk-1.3.1/include/jni.h: /* Compaq Java: Add following error to ensure that UNIX users specify threading options */ #if (defined(__alpha) && defined(__unix__) && !defined(_REENTRANT)) #ifdef __linux__ #error "Modules that interface with Java must be compiled with the -D_REENTRANT option" #else #error "Modules that interface with Java must be compiled and linked with the -pthread option" #endif #endif Temporarily adding "-D_REENTRANT" to my CFLAGS in /etc/make.conf allowed it to compile. Whether it works or not I don't know because I don't use cyrus-sasl. Java config: mint dev-java # java-config --java-version java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition Classic VM (build 1.3.1-1, native threads, jit) mint dev-java # java-config --java /opt/compaq-jdk-1.3.1/bin/java mint dev-java # Reproducible: Always Steps to Reproduce: 1. Install dev-java/compaq-jdk-1.3.1 (no other options for alpha) 2. emerge dev-libs/cyrus-sasl Actual Results: make[3]: Entering directory `/var/tmp/portage/cyrus-sasl-2.1.14/work/cyrus-sasl-2.1.14/java/CyrusSasl' /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/opt/compaq-jdk-1.3.1/include -I/opt/compaq-jdk-1.3.1/include/linux -I/include -Wall -W -Wall -mcpu=ev56 -O3 -pipe -c javasasl.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/opt/compaq-jdk-1.3.1/include -I/opt/compaq-jdk-1.3.1/include/linux -I/include -Wall -W -Wall -mcpu=ev56 -O3 -pipe -Wp,-MD,.deps/javasasl.pp -c javasasl.c -fPIC -DPIC -o javasasl.lo In file included from javasasl.h:2, from javasasl.c:38: /opt/compaq-jdk-1.3.1/include/jni.h:36:2: #error "Modules that interface with Java must be compiled with the -D_REENTRANT option" . . . make[3]: *** [javasasl.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.14/work/cyrus-sasl-2.1.14/java/CyrusSasl' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.14/work/cyrus-sasl-2.1.14/java' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.14/work/cyrus-sasl-2.1.14' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-libs/cyrus-sasl-2.1.14 failed. !!! Function src_compile, Line 105, Exitcode 2 !!! compile problem Expected Results: Compiled successfully. Portage 2.0.48-r5 (default-alpha-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-alpha-r2 alpha EV56 GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="alpha cups encode foomaticdb gif gnome kde libg++ mikmod nls oggvorbis oss qt quicktime sdl truetype xmms xv berkdb X gpm esd opengl -motif crypt ethereal gd gdbm gtk gtkhtml guile imlib java jikes jpeg kerberos ldap libwww mbox ncurses pam pdflib perl pic png postgres python readline e sasl slang snmp Ad spell ssl tcltk tcpd tetex xml xml2 zlib opie" COMPILER="gcc3" CHOST="alphaev56-unknown-linux-gnu" CFLAGS="-mcpu=ev56 -O3 -pipe " CXXFLAGS="-mcpu=ev56 -O3 -pipe " ACCEPT_KEYWORDS="alpha ~alpha ppc ~ppc sparc ~sparc" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache sandbox userpriv usersandbox fixpackages" I know, I'm playing with fire in my ACCEPT keywords. How else can I test packages on alpha?
cyrus-sasl-2.1.15 has been added to portage. I don't think this problem will be fixed with this new ebuild... just a heads up :)
Thanks, i did a little testing and it seems okay. I'll mark it ~alpha and see what happens.