Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110024 - dev-libs/cyrus-sasl-2.1.20 emerge fails at install
Summary: dev-libs/cyrus-sasl-2.1.20 emerge fails at install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-21 05:44 UTC by Paolo Pedroni
Modified: 2005-11-06 03:25 UTC (History)
0 users

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 Paolo Pedroni 2005-10-21 05:44:38 UTC
I get the following error whenever I try to recompile cyrus-sasl: 
 
make[6]: Entering directory 
`/var/tmp/portage/cyrus-sasl-2.1.20/work/cyrus-sasl-2.1.20/java/javax/security/auth/callback' 
make[6]: Nothing to be done for `install-exec-am'. 
/bin/sh ../../../../../config/mkinstalldirs /var/tmp/portage/cyrus-sasl-2.1.20/image//usr/lib/java/classes/sasl/javax/security/auth/callback 
mkdir -p 
-- /var/tmp/portage/cyrus-sasl-2.1.20/image//usr/lib/java/classes/sasl/javax/security/auth/callback 
for p in *.class; do \ 
  echo " /bin/install -c -m 644 
$p /var/tmp/portage/cyrus-sasl-2.1.20/image//usr/lib/java/classes/sasl/javax/security/auth/callback/$p"; 
\ 
  /bin/install -c -m 644 
$p /var/tmp/portage/cyrus-sasl-2.1.20/image//usr/lib/java/classes/sasl/javax/security/auth/callback/$p; 
\ 
done 
 /bin/install -c -m 644 
*.class /var/tmp/portage/cyrus-sasl-2.1.20/image//usr/lib/java/classes/sasl/javax/security/auth/callback/*.class 
/bin/install: impossibile fare stat di `*.class': No such file or directory 
make[6]: *** [install-javasaslJAVA] Error 1 
make[6]: Leaving directory 
`/var/tmp/portage/cyrus-sasl-2.1.20/work/cyrus-sasl-2.1.20/java/javax/security/auth/callback' 
make[5]: *** [install-am] Error 2 
make[5]: Leaving directory 
`/var/tmp/portage/cyrus-sasl-2.1.20/work/cyrus-sasl-2.1.20/java/javax/security/auth/callback' 
make[4]: *** [install-recursive] Error 1 
make[4]: Leaving directory 
`/var/tmp/portage/cyrus-sasl-2.1.20/work/cyrus-sasl-2.1.20/java/javax/security/auth' 
make[3]: *** [install-recursive] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/cyrus-sasl-2.1.20/work/cyrus-sasl-2.1.20/java/javax/security' 
make[2]: *** [install-recursive] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/cyrus-sasl-2.1.20/work/cyrus-sasl-2.1.20/java/javax' 
make[1]: *** [install-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/cyrus-sasl-2.1.20/work/cyrus-sasl-2.1.20/java' 
make: *** [install-recursive] Error 1 
 
I tried with MAKEOPTS="-j1" but there's no change 

Reproducible: Always
Steps to Reproduce:
1. emerge -1av cyrus-sasl 
Actual Results:  
I got the error above. 

Expected Results:  
Recompile and reinstall the program  

Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.13-gentoo-r3 x86_64) 
================================================================= 
System uname: 2.6.13-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3800+ 
Gentoo Base System version 1.6.13 
ccache version 2.3 [enabled] 
dev-lang/python:     2.4.2 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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/terminfo /etc/env.d" 
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache collision-protect distlocks sandbox sfperms strict 
userpriv usersandbox" 
GENTOO_MIRRORS="http://gentoo.mirror.solnet.ch http://gentoo.inode.at/ 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.du.se/pub/os/gentoo" 
LC_ALL="it_IT.utf8" 
LINGUAS="it" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="amd64 X Xaw3d aalib acpi alsa arts avi bash-completion berkdb bitmap-fonts 
bzip2 bzlib caps cdparanoia cdr crypt cups curl dga dio doc dvd dvdread eds 
emboss encode evo exif fbcon ffmpeg fftw flac foomaticdb fortran ftp gcj gd ggi 
gif gnutls gphoto2 gpm gstreamer gtk2 hal imagemagick java javascript joystick 
jpeg kde kdeenablefinal libcaca libwww lm_sensors lzw lzw-tiff mad maildir 
matroska mbox mng mozilla mp3 mpeg mpi ncurses nls nptl offensive ogg oggvorbis 
openal opengl oss pam pdflib perl png posix ppds python qt quicktime readline 
sasl scanner sdl sockets sox speex spell ssl svg symlink sysvipc tcltk tcpd 
tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb 
userlocales videos vorbis wmf xine xml2 xosd xpm xv xvid zlib linguas_it 
userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Tuan Van (RETIRED) gentoo-dev 2005-10-21 08:25:01 UTC
please disable ccache and try again. if it still fail, please post your `emerge
virtual/jdk -vp`
Comment 2 Paolo Pedroni 2005-10-21 08:36:42 UTC
# FEATURES="-ccache" MAKEOPTS="-j1" emerge -1av cyrus-sasl  
  
yields the same error.  
  
# emerge virtual/jdk -vp 
 
gives: 
 
These are the packages that I would merge, in order: 
 
Calculating dependencies ...done! 
[ebuild   Rf  ] dev-java/sun-jdk-1.5.0.05  +browserplugin +doc +jce +mozilla 
-nsplugin 0 kB 
 
Total size of downloads: 0 kB 
 
Do you think it's a problem with sun-jdk-1.5? I don't, because it was emerged 
with the same jdk the first time around. 
 
Any ideas? 
Comment 3 Tuan Van (RETIRED) gentoo-dev 2005-10-21 08:49:45 UTC
(In reply to comment #2)

> Do you think it's a problem with sun-jdk-1.5?
yes, sun-jdk-1.5 has problem, that why it is in package.mask

> I don't, because it was emerged 
> with the same jdk the first time around. 
>  
> Any ideas? 

emerge one of the virtual/jdk that is not in package.mask, set it current with
java-config, then try again.
Comment 4 Paolo Pedroni 2005-10-22 05:43:10 UTC
It seems strange, because I've never had any other jdk on this machine, and 
cyrus-sasl emerged fine the first time around. 
 
Anyway I will try your suggestion tomorrow or next monday. I don't have time 
today. 
 
Thanks for now.  
Comment 5 Paolo Pedroni 2005-10-23 13:42:57 UTC
Tried again with blackdown-jdk-1.4.2.02. I got a new error. Here it is: 
 
make[3]: Leaving directory 
`/var/tmp/portage/cyrus-sasl-2.1.20/work/cyrus-sasl-2.1.20/java/CyrusSasl' 
make[3]: Entering directory 
`/var/tmp/portage/cyrus-sasl-2.1.20/work/cyrus-sasl-2.1.20/java/CyrusSasl' 
CLASSPATH=..:./..:$CLASSPATH javac -d ..   Sasl.java GenericClient.java 
ClientFactory.java GenericCommon.java SaslClient.java SaslClientFactory.java 
SaslException.java SaslInputStream.java SaslOutputStream.java SaslUtils.java 
ServerFactory.java SaslServerFactory.java SaslServer.java GenericServer.java 
GenericClient.java:108: cannot access 
javax.security.auth.callback.RealmCallback 
bad class 
file: /usr/share/cyrus-sasl-2/lib/cyrus-sasl.jar(javax/security/auth/callback/RealmCallback.class) 
class file has wrong version 49.0, should be 48.0 
Please remove or make sure it appears in the correct subdirectory of the 
classpath. 
        RealmCallback rc = null; 
        ^ 
1 error 
make[3]: *** [classjavasasl.stamp] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/cyrus-sasl-2.1.20/work/cyrus-sasl-2.1.20/java/CyrusSasl' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/cyrus-sasl-2.1.20/work/cyrus-sasl-2.1.20/java' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/cyrus-sasl-2.1.20/work/cyrus-sasl-2.1.20' 
make: *** [all] Error 2 
 
Comment 6 Paolo Pedroni 2005-10-23 14:02:25 UTC
On a hunch I tried something more: I unmerged the package and emerged it again,  
instead of simply re-emerging. Surprise, surprise, it emerged fine with both  
VMs (Sun 1.5 and Blackdown 1.4.2). The problem is now solved for me. I just  
wonder why it gave problems in the first place 
Comment 7 Fernando J. Pereda (RETIRED) gentoo-dev 2005-11-06 03:25:01 UTC
Then we can call this a ->FIXED

Cheers,
Ferdy