Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133247 - cyrus-sasl-2.1.21-r2 fails on cyrus-sasl.jar missing
Summary: cyrus-sasl-2.1.21-r2 fails on cyrus-sasl.jar missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 150760 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-13 17:30 UTC by ivo welch
Modified: 2006-10-10 10:37 UTC (History)
4 users (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 ivo welch 2006-05-13 17:30:35 UTC
/bin/install -c -m 644 ./saslauthd.8 /var/tmp/portage/cyrus-sasl-2.1.21-r2/image//usr/share/man/cat8/saslauthd.8
make[2]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.21-r2/work/cyrus-sasl-2.1.21/saslauthd'
make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.21-r2/work/cyrus-sasl-2.1.21/saslauthd'
make[1]: Entering directory `/var/tmp/portage/cyrus-sasl-2.1.21-r2/work/cyrus-sasl-2.1.21'
make[2]: Entering directory `/var/tmp/portage/cyrus-sasl-2.1.21-r2/work/cyrus-sasl-2.1.21'
********************************************************
* WARNING:
* Plugins are being installed into /usr/lib/sasl2,
* but the library will look for them in /usr/lib64/sasl2.
* You need to make sure that the plugins will eventually
* be in /usr/lib64/sasl2 -- the easiest way is to make a
* symbolic link from /usr/lib64/sasl2 to /usr/lib/sasl2,
* but this may not be appropriate for your site, so this
* installation procedure won't do it for you.
*
* If you don't want to do this for some reason, you can
* set the location where the library will look for plugins
* by setting the environment variable SASL_PATH to the path
* the library should use.
********************************************************
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.21-r2/work/cyrus-sasl-2.1.21'
make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.21-r2/work/cyrus-sasl-2.1.21'
install: cannot stat `cyrus-sasl.jar': No such file or directory

!!! ERROR: dev-libs/cyrus-sasl-2.1.21-r2 failed.
!!! Function java-pkg_dojar, Line 180, Exitcode 1
!!! cyrus-sasl.jar not found
!!! If you need support, post the topmost build error, NOT this status message.




Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.17-rc2 x86_64)
=================================================================
System uname: 2.6.17-rc2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
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/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="POSIX"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 atlas audiofile avi berkdb bitmap-fonts blas bzip2 bzlib cdr cli crypt cups curl dri dvd dvdr eds emboss encode esd exif expat f77 fam fbcon ffmpeg flac foomaticdb fortran g77 gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 isdnlog java jpeg kde lcms libwww lzw lzw-tiff mad mng mono motif mozilla mp3 mpeg ncurses nls nptl nsplugin ogg openal opengl pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml xml2 xmms xorg xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 1 Tuan Van (RETIRED) gentoo-dev 2006-05-13 20:49:40 UTC
please post your:
# emerge cyrus-sasl -vp
# java-config -L

AMD64, please confirm/deny this bug.
Comment 2 ivo welch 2006-05-14 05:44:08 UTC
[ebuild     U ] dev-libs/cyrus-sasl-2.1.21-r2 [2.1.20] -authdaemond +berkdb +crypt +gdbm +java -kerberos -ldap -mysql -ntlm_unsupported_patch +pam -postgres -sample -srp +ssl -urandom 0 kB

java-config -L
  > nothing

maybe there are some missing java dependencies?

Comment 3 Tuan Van (RETIRED) gentoo-dev 2006-05-14 11:04:40 UTC
virtual/jdk is set in the ebuild. what is `emerge virtual/jdk -vp` ?
Comment 4 ivo welch 2006-05-14 11:48:06 UTC
# emerge virtual/jdk -vp

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-java/blackdown-jdk-1.4.2.03  +X +alsa -browserplugin -doc +mozilla +nsplugin 0 kB

Comment 5 Tuan Van (RETIRED) gentoo-dev 2006-05-14 17:46:27 UTC
(In reply to comment #4)
> # emerge virtual/jdk -vp
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies ...done!
> [ebuild   R   ] dev-java/blackdown-jdk-1.4.2.03  +X +alsa -browserplugin -doc
> +mozilla +nsplugin 0 kB
> 

I don't know why you have virtual/jdk but `java-config -L` shows nothing. Reassign to java herd to investigate.
Comment 6 Tim Boundy 2006-05-23 04:47:23 UTC
I had the same issue, and resolved it by unmerging blackdown-jdk and emerged sun-jdk-1.5.0.06-r2.
Comment 7 Graeme Boyd 2006-05-25 15:54:22 UTC
Had a similar problem on a X86 system, track it down to not having the /usr/lib/python2.4/site-packages/java_config directory (not sure why not) as well as not having a java compiler in my path (emerging sun-jdk did not add it to the  /etc/env.d/ directory, but added it to the /etc/env.d/java directory which is not looked at by env_update when creating /etc/profile.env).
Comment 8 eXcon 2006-06-02 19:16:57 UTC
The solution is as Tim Boundy has described.
Remove blackdown and install j2sdk, I used j2sdk-<version>-linux-i586.bin.
I used j2sdk-1_4_2_10-linux-i586.bin.
env-update && source etc-profile to update the new environment.

Note: The j2sdk-<version>-linux-i586.bin should be manually downloaded, 
and placed into /usr/portage/distfiles, so that emerge can find it.
To install the downloaded j2sdk package, emerge sun-jdk._

To the assignee, this bug appears to be fixed, with full credit to Tim Boundy.

Thanks.
Comment 9 Tuan Van (RETIRED) gentoo-dev 2006-08-03 17:30:22 UTC
I think cyrus-sasl-2.1.21-r3.ebuild fix this issue. please confirm. it should be ok with any jdk satified virtual/jdk-1.4
Comment 10 Mark D. 2006-08-17 15:15:38 UTC
Stable x86 box, testing out dev-libs/cyrus-sasl-2.1.21-r3, which according to comment #8 should fix this problem.

Result: 
!!! ERROR: dev-libs/cyrus-sasl-2.1.21-r3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_install
  ebuild.sh, line 1013:   Called src_install
  cyrus-sasl-2.1.21-r3.ebuild, line 217:   Called java-pkg_dojar 'cyrus-sasl.jar'
  java-pkg.eclass, line 267:   Called die

!!! cyrus-sasl.jar not found
Comment 11 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-08-17 17:25:15 UTC
(In reply to comment #10)
> Stable x86 box, testing out dev-libs/cyrus-sasl-2.1.21-r3, which according to
> comment #8 should fix this problem.
> 
> Result: 
> !!! ERROR: dev-libs/cyrus-sasl-2.1.21-r3 failed.
> Call stack:
>   ebuild.sh, line 1539:   Called dyn_install
>   ebuild.sh, line 1013:   Called src_install
>   cyrus-sasl-2.1.21-r3.ebuild, line 217:   Called java-pkg_dojar
> 'cyrus-sasl.jar'
>   java-pkg.eclass, line 267:   Called die
> 
> !!! cyrus-sasl.jar not found
> 

java-config -L gives you what? is any VM selected? what's in your $JAVA_HOME ?
Comment 12 Mark D. 2006-08-18 09:48:44 UTC
Traceback (most recent call last):
  File "/usr/bin/java-config", line 14, in ?
    from java_config import jc_options
ImportError: No module named java_config


# echo $JAVA_HOME
/opt/blackdown-jdk-1.4.2.02
Comment 13 Josh Nichols (RETIRED) gentoo-dev 2006-08-19 04:59:39 UTC
(In reply to comment #12)
> Traceback (most recent call last):
>   File "/usr/bin/java-config", line 14, in ?
>     from java_config import jc_options
> ImportError: No module named java_config

Likely, you updated python.Use python-updater to remerge your python packages.
Comment 14 Mark D. 2006-08-22 11:47:48 UTC
Following the java migration guide fixes all problems:
http://www.gentoo.org/proj/en/java/java-upgrade.xml
Comment 15 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-10 15:08:44 UTC
Seems like everyone has it fixed.
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2006-10-03 14:58:36 UTC
*** Bug 150011 has been marked as a duplicate of this bug. ***
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2006-10-10 10:37:58 UTC
*** Bug 150760 has been marked as a duplicate of this bug. ***