Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 109445

Summary: app-text/pdftk has confusing gcc dependency to check for gcj
Product: Gentoo Linux Reporter: Dirk Schoenberger <dirk.schoenberger>
Component: Current packagesAssignee: Printing Team <printing>
Status: RESOLVED WORKSFORME    
Severity: normal CC: java, joh3
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dirk Schoenberger 2005-10-16 04:19:43 UTC
while trying to emerge app-text/pdftk-1.12 I ran into the following problem

The package declares a dependency on gcc-3.3, but in fact it needs gcj (the Java compiler)
This is not found on my gcc3

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51.22-r3 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0 Power 
Macintosh)
===============================================================
==
System uname: 8.2.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin8"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.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="ppc aalib emboss gdbm gif imagemagick libwww nls ogg opengl png ppc-macos qt sdl slang tiff 
vorbis userland_Darwin kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Joe Lovick 2006-10-03 11:10:56 UTC
Also Applies to x86.

gives error 

 * It seems that your system doesn't provides a Java compiler.
 * Re-emerge sys-devel/gcc with "gcj" enabled.

can ebuild be made to check if correct use flag for gcc is present when built?

Comment 2 Fabian Groffen gentoo-dev 2006-10-03 12:03:39 UTC
Joe, please file a new bug.  It should be "trivial" using $(build_with_use ...).  This bug is for OSX.  Thanks.
Comment 3 Fabian Groffen gentoo-dev 2008-02-07 20:42:54 UTC
recycling this bug.  The owners of this package should consider changing the dependency and making a more proper check for the existence of gcj.

Not much OSX can do here.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2008-04-05 13:17:28 UTC
The check looks correct to me. gcc-3 in portage offers gcj. An alternative is to look in the java-gcj overlay for a better gcj :-)