Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264412 - app-text/pdftk-1.12 - gcjh Engine; Exception in thread "main" java.io.IOException: can't find class file Engine.class in java.net.URLClassLoader{urls=[file:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/java/libgcj-4.3.2.jar]
Summary: app-text/pdftk-1.12 - gcjh Engine; Exception in thread "main" java.io.IOExcep...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-31 16:12 UTC by Andreas K. Hüttel
Modified: 2009-11-15 23:32 UTC (History)
8 users (show)

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


Attachments
Build Log (app-text:pdftk-1.12:20090411-084618.log,5.44 KB, text/plain)
2009-04-11 09:00 UTC, Dan Johansson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2009-03-31 16:12:39 UTC
After upgrading on amd64 gcc from 4.1.? to sys-devel/gcc-4.3.2-r3, app-text/pdftk-1.12 fails to build.

gcc upgrade has been performed exactly following the documentation on gentoo.org.

---------
[...]
gcjh Engine;
Exception in thread "main" java.io.IOException: can't find class file Engine.class in java.net.URLClassLoader{urls=[file:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/java/libgcj-4.3.2.jar], parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}
   at gnu.classpath.tools.javah.Main.getClass(libgcj-tools.so.9)
   at gnu.classpath.tools.javah.Main.run(libgcj-tools.so.9)
   at gnu.classpath.tools.javah.GcjhMain.main(libgcj-tools.so.9)
make[2]: *** [Engine.h] Fehler 1
rm Engine.class
make[2]: Leaving directory `/var/tmp/portage/app-text/pdftk-1.12/work/pdftk-1.12/java_libs/gnu_local/java/security'
make[1]: *** [libgcj_local] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/app-text/pdftk-1.12/work/pdftk-1.12/java_libs'
make: *** [java_libs] Fehler 2
 *
 * ERROR: app-text/pdftk-1.12 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2184:  Called die
 * The specific snippet of code:
 *       make -f Makefile.Generic || die "Compilation failed."
 *  The die message:
 *   Compilation failed.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-text/pdftk-1.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/pdftk-1.12/temp/environment'.
 *




grenadine ~ # emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-glibc2.2.5
Timestamp of tree: Mon, 30 Mar 2009 11:00:17 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en nl"
MAKEOPTS="-j3"
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/portage/local/layman/n4g /usr/portage/local/akh"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi ads alsa amd64 animgif apache2 arts audiofile bash-completion berkdb bzip2 cairo cdaudio cdda cddax cddb cdparanoia cdr cisco cli corefonts cracklib crypt css cups cupsddk curl cxx dbus dri dvd dvdr encode enscript exif ffmpeg fortran gcj gd gdbm gif glitz gnuplot gpm gps gtk hal iconv id3 id3tag imagemagick imap ipv6 isdnlog jpeg jpeg2k kde kontact lame latex ldap lm_sensors math mbox midi mime mmx mng mp3 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl php plotutils png pppd python qt3 quicktime rdesktop readline reflection samba session smp spl sqlite sse sse2 ssl ssse3 subversion svg sysfs syslog tcpd theora tiff truetype unicode usb vnc vorbis wmf x264 xcb xine xml xmp xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en nl" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-01 14:23:42 UTC

*** This bug has been marked as a duplicate of bug 264510 ***
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2009-04-01 15:49:48 UTC
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of bug 264510 ***
> 

Nope, not true. pdftk-1.41-r1 compiles fine here(!). Must be a different problem.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-07 13:58:53 UTC
Please attach build.log
Comment 4 Dan Johansson 2009-04-11 09:00:56 UTC
Created attachment 187959 [details]
Build Log
Comment 5 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2009-04-25 23:36:19 UTC
Same here on x86. Adding java as cc as it seems linked to a Java problem.
Comment 6 Serkan Kaba (RETIRED) gentoo-dev 2009-04-26 04:28:05 UTC

*** This bug has been marked as a duplicate of bug 225709 ***
Comment 7 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2009-04-26 11:15:30 UTC
This is not a duplicate; this is for the problem on version 1.12, #225709 is for 1.41 (different problem). Maybe 1.41 should be marked stable is this bug is hard to solve.
Comment 8 pille 2009-11-02 18:33:40 UTC
this should be the way to go, since nothing changed for the last half year.
emerge of current unstable app-text/pdftk-1.41-r1 went fine.
Comment 9 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2009-11-15 23:32:45 UTC
Closing as 1.41 is now stable.