Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82032 - KDE configure fails on Java check
Summary: KDE configure fails on Java check
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-14 12:37 UTC by Gian-Carlo Pascutto
Modified: 2005-03-07 09:27 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 Gian-Carlo Pascutto 2005-02-14 12:37:09 UTC
emerge -vdU world on amd64 system fails at kdebase-3.3.2-r2 with error

checking for kstat_open in -lkstat... no
checking libdevinfo.h usability... no
checking libdevinfo.h presence... no
checking for libdevinfo.h... no
checking for Java... configure: error: libhpi.so not found under . Use --without-java.
+ diefunc kde_src_compile 141 1 'died running ./configure, kde_src_compile:configure'
+ local funcname=kde_src_compile lineno=141 exitcode=1
+ shift 3
+ echo
+ echo '!!! ERROR: kde-base/kdebase-3.3.2-r2 failed.'
!!! ERROR: kde-base/kdebase-3.3.2-r2 failed.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
emerge fails

Expected Results:  
failing to find java (note that it's installed!) shouldn't cause everything to break

gentoo64 ~ # emerge info
Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 17:57:58)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=k8 -fno-inline-functions"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/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="-O3 -pipe -fomit-frame-pointer -march=k8 -fno-inline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa apache2 arts audiofile avantgo berkdb bitmap-fonts
bluetooth bonobo bzlib c++ ccache cdparanoia cdr chroot cjk clamav
clanJavaScript clanVoice codecs crypt cscope cups curl dcc dga directfb doc dts
dvd dvdr dvdread emacs emoticon erandom esd exif f77 faac faad fam fftw firefox
flac font-server foreign-package fortran freetts freetype ftp gcj gdbm gif gimp
gnokii gnomedb gnuplot gphoto2 gpm gprof gs gstreamer gtk gtkhtml hal iconv icq
idea imagemagick imlib ipv6 irmc j2ee java javacomm javadoc jce jikes jit jp2
jpeg junit kde koffice-plugin ldap libwww lua lzo lzw lzw-tiff mad maildir
matroska md5sum mikmod monkey motif mozcalendar mozilla mp3 mpeg4 msn multilib
mysql ncurses nls oggvorbis ooo-kde opengl oscar oss pam pcre pda pdf perl png
python pyzor qdbm qt radeon razor readline recode ruby samba sdl slang sox
spamassassin speex sqlite ssl tcltk tcpd tetex theora thunderbird tiff timidity
transcode truetype truetype-fonts type1-fonts usb userlocales vim vim-with-x vnc
wxwin wxwindows xinerama xml xml2 xmms xpm xrandr xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-14 14:37:26 UTC
> failing to find java (note that it's installed!)

mind to say what package and version?
Comment 2 Gian-Carlo Pascutto 2005-02-14 15:39:16 UTC
gentoo64 ~ # emerge -pe world | grep java
[ebuild  N f  ] dev-java/java-sdk-docs-1.4.2
[ebuild  N    ] dev-java/java-config-1.2.11
[ebuild  N    ] dev-java/ibm-jdk-bin-1.4.2
[ebuild  N    ] dev-java/bsh-2.0_beta1-r1
[ebuild  N    ] dev-java/ant-core-1.6.2
[ebuild  N    ] dev-java/jikes-1.22-r1
[ebuild  N    ] dev-java/junit-3.8.1-r1
[ebuild  N    ] dev-java/log4j-1.2.9
[ebuild  N    ] dev-java/avalon-logkit-bin-1.2.2
[ebuild  N    ] dev-java/commons-logging-1.0.4
[ebuild  N    ] dev-java/libreadline-java-0.8.0-r1
[ebuild  N    ] dev-java/jython-2.1-r5
[ebuild  N    ] dev-java/rhino-1.5.5-r1
[ebuild  N    ] dev-java/regexp-1.3-r1
[ebuild  N    ] dev-java/xalan-2.6.0
[ebuild  N    ] dev-java/xml-commons-1.0_beta2
[ebuild  N    ] dev-java/xml-commons-resolver-1.1
[ebuild  N    ] dev-java/xjavac-20041208
[ebuild  N    ] dev-java/xerces-2.6.2-r2
[ebuild  N    ] dev-java/oro-2.0.8
[ebuild  N    ] dev-java/commons-net-1.3.0
[ebuild  N    ] dev-java/jdepend-2.8.1
[ebuild  N    ] dev-java/jzlib-1.0.5
[ebuild  N    ] dev-java/jsch-0.1.18
[ebuild  N    ] dev-java/bcel-5.1
[ebuild  N    ] dev-java/antlr-2.7.4
[ebuild  N    ] dev-java/commons-collections-3.1
[ebuild  N    ] dev-java/commons-beanutils-1.7.0
[ebuild  N    ] dev-java/ant-tasks-1.6.2-r5
[ebuild  N    ] dev-java/ant-1.6.2-r6
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-15 08:34:29 UTC
Where is the file libhpi.so in the ibm-jdk-bin package?

For reference, the code that check for java can be found in kdebase-3.3.2/admin/acinclude.m4.in
Comment 4 Gian-Carlo Pascutto 2005-02-15 09:00:12 UTC
There is no libhpi.so present.
Comment 5 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-07 04:56:01 UTC
After a bit of investigation, it seems that the checks kdebase do with respect to java are really not needed (see http://bugs.kde.org/show_bug.cgi?id=100729 for reference).

I changed kdebase-3.4 accordingly, in the meantime you can compile kdebase-3.3.2 with USE="-java" and you will not lose any functionality.
Comment 6 Dan Armak (RETIRED) gentoo-dev 2005-03-07 09:27:33 UTC
Applying the same change for kdebase-derived packages in kde-meta.eclass.