/blackdown-jdk-1.4.1/include/linux -I/include -I/usr/include/mysql -I/usr/include/postgresql/ pgsql -Wall -W -Os -march=athlon-xp -funroll-loops -mmmx -m3dnow -msse -fomit-frame-pointer - MT javasasl.lo -MD -MP -MF .deps/javasasl.Tpo -c javasasl.c -fPIC -DPIC -o javasasl.lo javasasl.c: In function `Java_CyrusSasl_GenericClient_jni_1sasl_1client_1start': javasasl.c:453: warning: unused variable `res2' javasasl.c: In function `Java_CyrusSasl_GenericCommon_jni_1sasl_1getSecurity': javasasl.c:922: warning: dereferencing type-punned pointer will break strict-aliasing rules /bin/sh ../../libtool --mode=link gcc -Wall -W -Os -march=athlon-xp -funroll-loops -mmmx -m3 dnow -msse -fomit-frame-pointer -o libjavasasl.la -rpath /usr/lib -export_dynamic -L../../l ib -lsasl2 -version-info 1:0:0 javasasl.lo -lresolv mkdir .libs (cd . && ln -s javasasl.lo javasasl.o) gcc -shared javasasl.lo -L../../lib -lsasl2 -lresolv -lc -Wl,-soname -Wl,libjavasasl.so.1 -o .libs/libjavasasl.so.1.0.0 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -l sasl2 collect2: ld returned 1 exit status make[4]: *** [libjavasasl.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.17/work/cyrus-sasl-2.1.17/java/Cy rusSasl' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.17/work/cyrus-sasl-2.1.17/java/Cy rusSasl' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.17/work/cyrus-sasl-2.1.17/java' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.17/work/cyrus-sasl-2.1.17' make: *** [all] Error 2 !!! ERROR: dev-libs/cyrus-sasl-2.1.17 failed. !!! Function src_compile, Line 96, Exitcode 2 !!! compile problem Reproducible: Always Steps to Reproduce: emerge info Portage 2.0.50_pre16 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.1) ================================================================= System uname: 2.6.1 i686 AMD Duron(tm) processor Gentoo Base System version 1.4.3.12 Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-Os -march=athlon-xp -funroll-loops -mmmx -m3dnow -msse -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-Os -march=athlon-xp -funroll-loops -mmmx -m3dnow -msse -fomit-frame-pointer -Wno-deprecated" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://noa.linux.ee/gentoo-portage" USE="3dnow X aalib acl acpi alsa apache2 apm arts avi berkdb bonobo cdr cjk crypt cups dga directfb dvd encode ethereal fam fbcon flac flash foomaticdb gb gd gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib jack java jikes jpeg lcms ldap lesstif libg++ libgda libwww mad maildir matrox mbox mcal mikmod mmx motif mozilla mpeg mysql nas ncurses nls odbc oggvorbis opengl oss pam pdflib perl plotutils png postgres ppds python quicktime readline ruby samba sasl scanner sdl slang snmp speex spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb videos wmf wxwindows x86 xml xml2 xmms xv zlib"
Veiko: as always, could you please verify that this is NOT a bug with your EE locale ?
i'm currently not using estonian locale. LANG is set to C.
Same problem in my server. Also using C locale.
which java do you have installed?
Hellas root # java-config -L [blackdown-jdk-1.4.1] "Blackdown JDK 1.4.1" (/etc/env.d/java/20blackdown-jdk-1.4.1) *
Any updates there? Need any more info?
Hopefully the java folks can help. This worked fine here with blackdown-1.4.1.
I get exactly the same problems with my computer. Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.2-rc1-mm3) ================================================================= System uname: 2.6.2-rc1-mm3 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz Gentoo Base System version 1.4.3.12 Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://212.219.247.10/sites/www.ibiblio.org/gentoo/ http://212.219.247.15/sites/www.ibiblio.org/gentoo/ http://212.219.247.13/sites/www.ibiblio.org/gentoo/ http://212.219.247.17/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acl acpi alsa apm arts avi berkdb bonobo cdr crypt cups curl dga directfb dvd emacs encode esd ethereal evo fam fastcgi fbcon flac flash foomaticdb freetds gb gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib innodb ipv6 java jpeg kde kerberos krb4 lcms ldap libg++ libgda libwww mad maildir mcal mikmod mmx motif mozilla mpeg mpi mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl plotutils png ppds prelude python qt quicktime readline samba sasl scanner sdl slang slp snmp socks5 speex spell sse ssl svga tcltk tcpd tiff truetype usb wmf wxwindows x86 xinerama xml2 xmms xosd xv zlib" java-config -L [blackdown-jdk-1.4.1] "Blackdown JDK 1.4.1" (/etc/env.d/java/20blackdown-jdk-1.4.1) *
same problem here too. Portage 2.0.50_pre21 (default-amd64-2004.0, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.1-gentoo-r1) ================================================================= System uname: 2.6.1-gentoo-r1 x86_64 4 Gentoo Base System version 1.4.3.12 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com http://mirror.tucdemonic.org/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apache2 apm avi berkdb cdr crypt cups dvd dvdr encode foomaticdb gdbm gif gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod motif mpeg ncurses nls noreiserfs oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sasl sdl slang slp spell ssl tcpd tetex tiff truetype usb xml2 xmms xv zlib"
As a workaround this has worked for me USE="-java" emerge cyrus-sasl
can someone please attach a full emerge log? thanks.
Created attachment 25650 [details] full emerge log
Same problem: Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.2-gentoo) ================================================================= System uname: 2.6.2-gentoo i686 Pentium II (Klamath) Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium2 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X acpi apache2 apm cups directfb ethereal foomaticdb gif imap java jpeg libwww maildir mbox mysql ncurses pam pcap php png samba sasl slp ssl x86"
Ok after looking at this bug for a little i tried to compile it. Calculating dependencies ...done! [ebuild N ] dev-libs/cyrus-sasl-2.1.17 +gdbm +java -kerberos -ldap +mysql +pam -postgres +ssl -static 1,464 kB Total size of downloads: 1,464 kB (Some minutes later...) >>> original instance of package unmerged safely. >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... [ ok ] >>> dev-libs/cyrus-sasl-2.1.17 merged. >>> Recording dev-libs/cyrus-sasl in "world" favorites file... >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. Im not saying that youre wrong but... Can everyone with this problem submit it java-config -L output ?
java-config -L: [blackdown-jdk-1.4.1] "Blackdown JDK 1.4.1" (/etc/env.d/java/20blackdown-jdk-1.4.1) * (obviously I have same problem)
I propose resolving the bug as WONTFIX, as after doing a clean install, problem waves.
which leads me to ask... is there a version java installed somewhere else that the compiler is picking up?
For what I see, no one reported an error with Sun's J2SDK... at least we know what does NOT cause the error.
I also had the same error. Upon investigating further, I found out that while compiling cyrus-sasl-2.1.17/work/cyrus-sasl-2.1.17/java/CyrusSasl directory, the libraries it is looking for are in a different place. So changing the library path to -L../../lib/.libs Changing cyrus-sasl-2.1.17/work/cyrus-sasl-2.1.17/java/CyrusSasl/Makefile.in with the following patch should do that. ---begin-patch --- Makefile.am.old 2004-03-02 14:24:55.674813304 -0500 +++ Makefile.am 2004-03-02 14:27:29.724394208 -0500 @@ -43,7 +43,7 @@ lib_LTLIBRARIES = libjavasasl.la libjavasasl_la_SOURCES = javasasl.h javasasl.c -libjavasasl_la_LDFLAGS = -export_dynamic -L../../lib -lsasl2 -version-info $(javasasl_version) $(wildcard ../lib/*.lo) +libjavasasl_la_LDFLAGS = -export_dynamic -L../../lib/.libs -lsasl2 -version-info $(javasasl_version) $(wildcard ../lib/*.lo) BUILT_SOURCES = javasasl.h $(CLASSES) $(srcdir)/javasasl.c: javasasl.h ---end-patch Perhaps I'm only treating the symptoms. But that's as far as I can handle. Sam
Created attachment 27129 [details, diff] Patch the java Makefile to add .libs dir to search path Is almost the same as posted above, just I feel saver adding .libs over replacing lib ;)
Created attachment 27130 [details, diff] Patch the ebuild to apply above patch if use java As well request Automake 1.7 as 1.7.9 was used by developers of the package.
This was applied upstream and will be in 2.0.18 which is due very soon now. Lets just wait -- I'll bump the ebuild as soon as it comes out. Thanks for your report.
Scratch that, new sasl was released on the 11th. It is now in portage and this bug should be fixed. I'm closing it. If it crops up again, please reopen.
11-M, let's remember the victims of terrorism.