Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401803 - dev-libs/beecrypt - ./include/beecrypt/api.h:75:18: fatal error: jni.h: No such file or directory
Summary: dev-libs/beecrypt - ./include/beecrypt/api.h:75:18: fatal error: jni.h: No su...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-01 14:20 UTC by DrSlony
Modified: 2013-09-17 17:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,22.53 KB, text/plain)
2012-02-01 14:21 UTC, DrSlony
Details
build.log for failed emerge. (build.log,18.89 KB, text/x-log)
2013-06-12 06:16 UTC, Jeremy Murphy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DrSlony 2012-02-01 14:20:05 UTC
emerge -pqv =dev-libs/beecrypt-4.2.1
[ebuild  N    ] dev-libs/beecrypt-4.2.1  USE="cxx java python threads -doc"

emerge --info =dev-libs/beecrypt-4.2.1
Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.1.6-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.6-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_820_@_1.73GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 01 Feb 2012 12:45:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-portage x11 ikelos pentoo spring kde
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.virginmedia.com/ http://gentoo.modulix.net/gentoo/"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/x11 /var/lib/layman/ikelos /var/lib/layman/pentoo /var/lib/layman/Spring /var/lib/layman/kde"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl custom-optimization cxx d3d dbus declarative dhcpcd dirac dri dts dvd dvdr emboss enca encode exif expoblending fam ffmpeg firefox flac fontconfig fortran frei0r ftp gallium gd gdbm gdu geoip gif gpm gpu gsm hbci iconv icu iproute2 iptc ipv6 jabber java jpeg kde kipi lcms ldap lensfun libnotify mad mmx mng modules mp3 mp4 mpeg mpi msn mudflap multilib mysql ncurses networkmanager nls nptl nptlonly nsplugin nvidia ofx ogg okteta opencl opengl openmp openvpn otr pam pango pcre pdf phonon php plasma png policykit ppds pppd privacy python qt3support qt4 rar raster readline romio scanner schroedinger sdl semantic-desktop session sid sip smp sms spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff tordns truetype udev unicode usb v4l v4l2 vdpau vnc vorbis wav webpresence wifi x264 xattr xcb xcomposite xinerama xml xmp xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 DrSlony 2012-02-01 14:21:21 UTC
Created attachment 300645 [details]
build.log
Comment 2 DrSlony 2012-02-01 14:21:50 UTC
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
Comment 3 DrSlony 2012-02-19 20:20:16 UTC
Bump.
Comment 4 DrSlony 2012-02-19 20:22:50 UTC
I worked around by switching Java VMs:
eselect java-vm set 64bit icedtea-bin-6

It was sun-jre-bin-1.6
Comment 5 Pacho Ramos gentoo-dev 2012-02-20 20:46:18 UTC
(In reply to comment #4)
> I worked around by switching Java VMs:
> eselect java-vm set 64bit icedtea-bin-6
> 
> It was sun-jre-bin-1.6

What does occur when you switch back to sun-jre-bin-1.6? If still failing, does sun-jdk work? (maybe it needs development kit)
Comment 6 DrSlony 2012-02-20 21:06:43 UTC
Switched back, re-emerge, fail, same as before.
I have virtual/jdk-1.6.0 installed.
Comment 7 Pacho Ramos gentoo-dev 2012-02-25 12:47:56 UTC
Will CC java maintainers as I have no idea why sun-jdk doesn't provide it :-(
Comment 8 Ralph Sennhauser (RETIRED) gentoo-dev 2012-02-27 10:45:14 UTC
javac and jni.h are provided by any jdk but not by a jre.

The ebuild overrides java-pkg-opt-2_pkg_setup which prevents setting up the build environment and forcing a jdk as specified in DEPEND.

If a jre is selected as the system vm the build will therefore fail.
Comment 9 Pacho Ramos gentoo-dev 2012-02-27 19:57:19 UTC
Will try to look at this then when I am able, if any other can provide a patch for ebuild, even better :)

Thanks a lot
Comment 10 Pacho Ramos gentoo-dev 2012-03-03 12:09:41 UTC
+  03 Mar 2012; Pacho Ramos <pacho@gentoo.org> beecrypt-4.2.1.ebuild:
+  Run java-pkg-opt-2_pkg_setup to use jdk when compiling, bug #401803 by DrSlony
+  and fix by Ralph Sennhauser.
+
Comment 11 Jeremy Murphy 2013-06-06 14:09:21 UTC
Hmmm, I just hit this bug and I can't seem to resolve it.  I checked that I have a JVM selected and all my java-config output looks sane.  I have icedtea-bin 6 and 7 installed, 6 is selected.  Any ideas?
Comment 12 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-06-06 14:33:47 UTC
(In reply to Jeremy Murphy from comment #11)
> Hmmm, I just hit this bug and I can't seem to resolve it.  I checked that I
> have a JVM selected and all my java-config output looks sane.  I have
> icedtea-bin 6 and 7 installed, 6 is selected.  Any ideas?

What are your USE flags? Can we also see your build log?

Please respond with the output of `emerge -pqv =dev-libs/beecrypt-4.2.1-r1` and `emerge --info =dev-libs/beecrypt-4.2.1-r1` and `emerge -j1 =dev-libs/beecrypt-4.2.1-r1`.

Thank you in advance.

(The bug is still marked as FIXED, but I will keep track of mail for it)
Comment 13 Jeremy Murphy 2013-06-12 06:13:20 UTC
(In reply to Tom Wijsman (TomWij) from comment #12)
> (In reply to Jeremy Murphy from comment #11)
> > Hmmm, I just hit this bug and I can't seem to resolve it.  I checked that I
> > have a JVM selected and all my java-config output looks sane.  I have
> > icedtea-bin 6 and 7 installed, 6 is selected.  Any ideas?
> 
> What are your USE flags? Can we also see your build log?
> 
> Please respond with the output of `emerge -pqv =dev-libs/beecrypt-4.2.1-r1`

[ebuild     U ] dev-libs/beecrypt-4.2.1-r1 [4.2.1] USE="cxx java* threads -doc -python -static-libs" 

> and `emerge --info =dev-libs/beecrypt-4.2.1-r1` 

Portage 2.1.12.2 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.4, glibc-2.15-r3, 3.8.13-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_580_@_2.67GHz-with-gentoo-2.2
KiB Mem:     7954528 total,    309272 free
KiB Swap:    4095996 total,   3116672 free
Timestamp of tree: Wed, 12 Jun 2013 00:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.4, 4.7.3, 4.8.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x11 seden sunrise science dmol kde lisp scarabeus floppym mv zugaina java local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x skype-eula Google-TOS google-talkplugin skype-4.0.0.7-copyright google-chrome Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -w -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -w -march=native"
DISTDIR="/var/tmp/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo http://ftp.iinet.net.au/pub/Gentoo"
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/var/tmp/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/seden /var/lib/layman/sunrise /var/lib/layman/science /var/lib/layman/dmol /var/lib/layman/kde /var/lib/layman/lisp /var/lib/layman/scarabeus /var/lib/layman/floppym /var/lib/layman/mv /var/lib/layman/zugaina /var/lib/layman/java /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 amd64codecs ao avahi bash-completion berkdb blas bluetooth branding bzip2 c++0x cairo caps cdda cddb cli consolekit cracklib crypt css cups curl cxx dbus declarative djvu dri dts dvd dvdr emboss encode exif expat fam ffmpeg fftw flac fontconfig fortran gd gdbm geoip gif gmp gnuplot gnutls gphoto2 gpm graphviz gsl gsm gtk iconv icu idn imagemagick imlib ipod ipv6 java java6 javascript jpeg jpeg2k kde kipi ladspa lame lapack laptop latex lcms ldap libnotify libsamplerate lzma lzo mad matroska mmap mmx mng modules mp3 mp4 mpeg mtp mudflap multilib mysql mysqli ncurses nls nptl nsplugin ntfs offensive ogg openal openexr opengl openmp pam pango pch pcre pdf phonon php plasma plotutils png policykit postscript ppds qt3support qt4 readline samba scanner sdl semantic-desktop session sharedmem smp sndfile sox speex spell sqlite sqlite3 sse sse2 sse3 ssl startup-notification subversion svg syslog szip taglib tcpd theora threads tiff truetype udev udisks unicode upnp upower usb vcd vorbis wavpack wifi wmf wxwidgets x264 xcb xcomposite xinerama xml xpm xscreensaver xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_AU en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

> and `emerge -j1 =dev-libs/beecrypt-4.2.1-r1`.

I'll attach it.
Comment 14 Jeremy Murphy 2013-06-12 06:16:06 UTC
Created attachment 350802 [details]
build.log for failed emerge.

build.log that corresponds to my previous information.
Comment 15 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-17 17:40:09 UTC
> GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
> JAVACFLAGS="" COMPILER=""

Can you run `java-check-environment`? Can you try to select the system VM again?

https://wiki.gentoo.org/wiki/Java

Builds fine here, I do not have JAVA_HOME="" set though; maybe that's it?