Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196361 - app-text/pdftk-1.41: fails to compile on ppc64
Summary: app-text/pdftk-1.41: fails to compile on ppc64
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on: 251796
Blocks:
  Show dependency tree
 
Reported: 2007-10-19 07:06 UTC by Thomas
Modified: 2010-07-09 09:26 UTC (History)
2 users (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 Thomas 2007-10-19 07:06:35 UTC
emerge pdftk fails on ppc

Reproducible: Always

Steps to Reproduce:
1. emerge pdftk
2.
3.

Actual Results:  
Emerging (2 of 8) app-text/pdftk-1.41 to /
 * pdftk-1.41.tar.gz RMD160 ;-) ...                                       [ ok ]
 * pdftk-1.41.tar.gz SHA1 ;-) ...                                         [ ok ]
 * pdftk-1.41.tar.gz SHA256 ;-) ...                                       [ ok ]
 * pdftk-1.41.tar.gz size ;-) ...                                         [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking pdftk-1.41.tar.gz ;-) ...                                     [ 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 -O2 -pipe -maltivec -mabi=altivec -mcpu=G5 --encoding=UTF-8 --classpath="/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs" -c Engine.java -o Engine.o
ar rs security.a  Engine.o;
ar: creating security.a
gcj -O2 -pipe -maltivec -mabi=altivec -mcpu=G5 --encoding=UTF-8 --classpath="/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs" -C Engine.java
gcjh --classpath="." Engine;
/usr/powerpc-unknown-linux-gnu/gcc-bin/4.2.2/gcjh: unrecognized option `-m32'
Try 'gcjh --help' for more information.
make[2]: *** [Engine.h] Error 1
rm Engine.class
make[2]: Leaving directory `/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security'
make[1]: *** [libgcj_local] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs'
make: *** [java_libs] Error 2
 * 
 * ERROR: app-text/pdftk-1.41 failed.
 * Call stack:
 *           ebuild.sh, line 1695:  Called dyn_compile
 *           ebuild.sh, line 1033:  Called qa_call 'src_compile'
 *           ebuild.sh, line   44:  Called src_compile
 *   pdftk-1.41.ebuild, line   37:  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.41/temp/build.log'.
 * 

 * Messages for package app-text/pdftk-1.41:

 * 
 * ERROR: app-text/pdftk-1.41 failed.
 * Call stack:
 *           ebuild.sh, line 1695:  Called dyn_compile
 *           ebuild.sh, line 1033:  Called qa_call 'src_compile'
 *           ebuild.sh, line   44:  Called src_compile
 *   pdftk-1.41.ebuild, line   37:  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.41/temp/build.log'.
 * 
 * GNU info directory index is up-to-date.



Portage 2.1.3.15 (default-linux/ppc/ppc64/2007.0/32bit-userland, gcc-4.2.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 ppc64)
=================================================================
System uname: 2.6.22-gentoo-r8 ppc64 PPC970, altivec supported
Timestamp of tree: Fri, 19 Oct 2007 06:20:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r1
sys-devel/autoconf:  2.13, 2.61-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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="ppc ~ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -maltivec -mabi=altivec -mcpu=G5"
CHOST="powerpc-unknown-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/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bitmap-fonts cdr cli cracklib crypt cups dri dvd fortran freetype gcc64 gcj gdbm gnome gpm gtk hal iconv ipv6 isdnlog java jpeg midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl png ppc pppd python readline reflection session sound spell spl ssl tcpd threads toolkit-scroll-bars truetype-fonts type1-fonts unicode xft xorg xpm zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev mach64 mga nv r128 radeon sisusb v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 nixnut (RETIRED) gentoo-dev 2007-12-26 19:13:29 UTC
System uname: 2.6.22-gentoo-r8 ppc64 PPC970, altivec supported

/usr/powerpc-unknown-linux-gnu/gcc-bin/4.2.2/gcjh: unrecognized option `-m32'

looks like a ppc64 problem so reassigning.
Comment 2 Brent Baude (RETIRED) gentoo-dev 2008-01-03 21:24:32 UTC
I took a quick look at this and do admit little exeperience with gcj or gcjh.  This problem applies to both ppc64 64 and 32 ULs.   In the case of the 32 it passed -m32 and for 64 it passes -m64. This is evidently bad in the case of gchj.  The good news it that outside of portage it seems to compile fine so it looks we just need to figure out the issue.

cc'ing the java and printing herds in the hope that take pity on us...
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-12-26 21:58:51 UTC
I don't see -m32 passed in the output so I have no idea where it comes from :/ maybe dump the whole env in src_compile and see? I don't have any ppc64 to test.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-05-10 19:32:45 UTC
For what it's worth, ppc64 doesn't really need pdftk, no reverse dependencies. Dekeyword it and move to move pressing issues. :)
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-07-09 09:26:14 UTC
ppc64 dropped, broken for 3 years, if someone really cared, a patch would have been provided by now

+  09 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> pdftk-1.41-r1.ebuild:
+  Drop ppc64 wrt #196361. Comment #4