Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134913 - pdftk does not complile with gcc-3.4.5. works with gcc-3.3.6
Summary: pdftk does not complile with gcc-3.4.5. works with gcc-3.3.6
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-30 06:40 UTC by Michael Elbaum
Modified: 2006-05-30 07:13 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 Michael Elbaum 2006-05-30 06:40:40 UTC
First it complains that I don't have gcj. I added the USE flag and got gcj-3.4.5 and gcjh-3.4.5 in /usr/bin. Still didn't find gcj and gcjh, so I just symlinked those by hand. The compile started, but crashed later with a pile of errors that ran off the terminal. The highest one I can scroll up to is:

../java_libs/com/lowagie/text/pdf/PdfStamperImp.h:65: error: virtual outside
   class declaration

I tried re-emerging gcc-3.3.6, which was also installed, with gcj. The gcj symlink was made automatically but not the gcjh. And presto... pdftk compiled all the way.

There is some similarity to bug #109445, but that's already classified under PPC.




emerge --info
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/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/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.intergenia.de http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d acpi alsa apache2 arts audiofile avi berkdb bidi bindist bitmap-fonts bonobo bzip2 bzlib cairo cdr cli crypt cscope cups curl dbus dga directfb divx4linux dri dv dvd eds emboss encode esd exif expat f77 fam ffmpeg fftw flac flash foomaticdb fortran ftp gdbm gif gimpprint ginac glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal idn ieee1394 imagemagick imlib ipv6 isdnlog java jpeg junit lcms ldap libg++ libwww mad mikmod ming mmx mng motif mozilla mp3 mpeg mplayer ncurses nls nptl ogg oggvorbis openal opengl oss pam pcmcia pcre pdflib perl plotutils png pnp ppds pppd python quicktime radeon readline recode reflection samba sdl session slang spell spl sse sse2 ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts trusted type1-fonts udev unicode usb vorbis wmf xine xinerama xml xml2 xmms xorg xv xvid zeo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-30 06:51:41 UTC
Change to an old gcc profile via gcc-config, then change back and see `gcjh --version` output. Should show 3.4.5. Manually symlinking something is a bad idea.
Comment 2 Michael Elbaum 2006-05-30 07:11:21 UTC
That works. Thanks. I agree about the symlinking. 

I just tried after gcc-config and "source /etc/profile". 
Now pdftk compiles with 3.4.5.
my fault. sorry for the bother...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-05-30 07:13:31 UTC
Thanks for reporting back, closing this.