Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234786 - pdftk-1.41 won't compile with gcj-4.3.1-r1
Summary: pdftk-1.41 won't compile with gcj-4.3.1-r1
Status: RESOLVED DUPLICATE of bug 225709
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-15 06:37 UTC by Artjom Simon
Modified: 2008-08-16 17:15 UTC (History)
1 user (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 Artjom Simon 2008-08-15 06:37:17 UTC
emerge pdftk
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-text/pdftk-1.41
 * pdftk-1.41.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                          [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking pdftk-1.41.tar.gz to /var/tmp/portage/app-text/pdftk-1.41/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/pdftk ...
make -C ../java_libs
make[1]: Entering directory `/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs'
make -C "/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security";
make[2]: Entering directory `/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security'
gcj -march=pentium-m -pipe --encoding=UTF-8 --classpath="/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs" -c Engine.java -o Engine.o
Engine.java:158: warning: Class is a raw type. References to generic type Class<T> should be parameterized
        Class clazz = null;
        ^^^^^
Engine.java:160: warning: Constructor is a raw type. References to generic type Constructor<T> should be parameterized
        Constructor constructor = null;
        ^^^^^^^^^^^
Engine.java:213: warning: Constructor is a raw type. References to generic type Constructor<T> should be parameterized
        private static Constructor getCompatibleConstructor(Class clazz,
                       ^^^^^^^^^^^
Engine.java:213: warning: Class is a raw type. References to generic type Class<T> should be parameterized
        private static Constructor getCompatibleConstructor(Class clazz,
                                                            ^^^^^
Engine.java:217: warning: Constructor is a raw type. References to generic type Constructor<T> should be parameterized
        Constructor[] c = clazz.getConstructors();
        ^^^^^^^^^^^
Engine.java:220: warning: Class is a raw type. References to generic type Class<T> should be parameterized
        Class[] argTypes = c[i].getParameterTypes();
        ^^^^^
Engine.java:226: warning: Type safety: The method isAssignableFrom(Class) belongs to the raw type Class. References to generic type Class<T> should be parameterized
        !argTypes[j].isAssignableFrom(initArgs[j].getClass()))
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 problems (7 warnings)
ar rs security.a  Engine.o;
ar: creating security.a
gcj -march=pentium-m -pipe --encoding=UTF-8 --classpath="/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs" -C Engine.java
Engine.java:158: warning: Class is a raw type. References to generic type Class<T> should be parameterized
        Class clazz = null;
        ^^^^^
Engine.java:160: warning: Constructor is a raw type. References to generic type Constructor<T> should be parameterized
        Constructor constructor = null;
        ^^^^^^^^^^^
Engine.java:213: warning: Constructor is a raw type. References to generic type Constructor<T> should be parameterized
        private static Constructor getCompatibleConstructor(Class clazz,
                       ^^^^^^^^^^^
Engine.java:213: warning: Class is a raw type. References to generic type Class<T> should be parameterized
        private static Constructor getCompatibleConstructor(Class clazz,
                                                            ^^^^^
Engine.java:217: warning: Constructor is a raw type. References to generic type Constructor<T> should be parameterized
        Constructor[] c = clazz.getConstructors();
        ^^^^^^^^^^^
Engine.java:220: warning: Class is a raw type. References to generic type Class<T> should be parameterized
        Class[] argTypes = c[i].getParameterTypes();
        ^^^^^
Engine.java:226: warning: Type safety: The method isAssignableFrom(Class) belongs to the raw type Class. References to generic type Class<T> should be parameterized
        !argTypes[j].isAssignableFrom(initArgs[j].getClass()))
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[...]

Stripped from here; tell me if you need the whole thing.





emerge --info

Portage 2.2_rc8 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-rc8-mm1 i686)
=================================================================
System uname: Linux-2.6.26-rc8-mm1-i686-Intel-R-_Pentium-R-_M_processor_1400MHz-with-glibc2.0
Timestamp of tree: Wed, 13 Aug 2008 23:45:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r4, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18.50.0.7
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -pipe"
CHOST="i686-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/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -pipe"
DISTDIR="/tmp/distfiles"
FEATURES="distcc distlocks parallel-fetch prelink preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.pw.edu.pl/ http://ftp.club-internet.fr/pub/mirrors/gentoo http://ftp.lug.ro/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -s"
LINGUAS="de fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac aalib accessibility acpi aiglx alsa apache2 autoipd avahi bash-completion berkdb bluetooth branding browserplugin bzip2 cairo cdparanoia cdr chardet cli cracklib crypt cups custom-cflags dbus dri dts dvd dvdread emboss encode evo exif fam firefox flac gdbm gif glib glitz gtk hal iconv imlib isdnlog ithreads jack java jpeg kde kdeenablefinal kdehiddenvisibility lcms libcaca libnotify libsamplerate logitech-mouse lua lzo mad matroska mdnsresponder-compat mikmod mmx mmxext modplug mozilla mp3 mp4 mpeg mudflap musepack musicbrainz mysql ncurses no-old-linux nptl nptlonly nsplugin ogg opengl openmp pam pch pcre pdf perl png ppds pppd profile python qt3 qt3support qt4 quicktime readline real reflection rtc samba sdl session smb sndfile speex spell spl sse sse2 ssl startup-notification svg symlink sysfs theora threads tiff truetype unicode urandom usb userlocales utempter vorbis win32codecs wma x264 x86 xcomposite xml xorg xv xvid zlib" 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" INITNG_PLUGINS="ctrlaltdel daemon_clean dbus_event lockfile netdev also bash_launcher chdir chroot conflict cpout critical cron daemon dev dllaunch envparser find fstat history idleprobe initctl interactive iparser last limit logfile netprobe ngc4 pause pidfile reload renice rlparser simple_launcher stcmd stdout suid syncron syslog unneeded provide" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Stephan Springer 2008-08-15 14:20:48 UTC
This is a duplicate of bug 225709 (see attachments there), but unfortunately I'm not allowed to change this bug.
Comment 2 Timo Gurr (RETIRED) gentoo-dev 2008-08-16 17:15:18 UTC

*** This bug has been marked as a duplicate of bug 225709 ***