Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71888 - jessie-1.0.0 couldn't be emerged with GNU Classpath
Summary: jessie-1.0.0 couldn't be emerged with GNU Classpath
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-20 14:15 UTC by Igor Golubev
Modified: 2004-12-18 13:40 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 Igor Golubev 2004-11-20 14:15:01 UTC
I couldn't install jessie-1.0.0 on my system due to its problematic dependencies. It's not possible to disable building of AWT callbacks as it's not supported by the package's ebuild. If you have AWT classes which came with GNU Classpath, as I do, you will fail to emerge jessie with the following error message:

checking If we are building AWT callbacks... yes
checking for java.awt.Dialog class... configure: error: could not find AWT Dialog; check your CLASSPATH

The root cause of this error is that all classes in GNU Classpath come in one ZIP archive, rather than in JAR. Even though glibj.zip package exists in the CLASSPATH variable, it won't be recognized by autoconf, employed in jessie's configuration, as the AC_CHECK_CLASS macros tests the existence of a given Java class either in a jar or in a '.class' file only. It doesn't support ZIP archives. http://www.gnu.org/software/ac-archive/htmldoc/ac_check_class.html


Reproducible: Always
Steps to Reproduce:
1.emerge blackdown-jdk
2.emerge gnu-classpath
3.ACCEPT_KEYWORDS=~x86 emerge jessie




Portage 2.0.51-r3 (hardened/x86, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.27-
hardened-r2 i686)
=================================================================
System uname: 2.4.27-hardened-r2 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /opt/resin/conf /usr/kde/2/share/config /usr/kde/3/share/c
onfig /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://mirror.gentoo.ru/pub/mirror/gentoo 
http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="aalib acl apache2 berkdb crypt dlloader fam gpm hardened java jikes ldap 
libwww mysql ncurses nls pam pdflib perl pic pie png python readline samba 
slang snmp ssl svga tcpd tiff x86 xml2 zlib"
Comment 1 Kurt Lieber (RETIRED) gentoo-dev 2004-11-20 14:17:48 UTC
no idea why this was assigned to security.  re-assigning to bug wranglers.
Comment 2 Igor Golubev 2004-11-20 14:50:40 UTC
One of possible workarounds for this propblem could be replacement of the:
        econf --with-java-target=1.4 || die
with thе:
        econf --with-java-target=1.4 --disable-awt || die
in the jessie-1.0.0.ebuild.
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-12-18 13:40:36 UTC
Workaround applied.