Bug 151160 - app-editors/jext-3.2_pre3 fails to compile
Bug#: 151160 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Other Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: java@gentoo.org Reported By: bugs@dev.gentooexperimental.org
Component: Ebuilds
URL: 
Summary: app-editors/jext-3.2_pre3 fails to compile
Keywords:  
Status Whiteboard: 
Opened: 2006-10-13 05:30 0000
Description:   Opened: 2006-10-13 05:30 0000
>>> Compiling source in /var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3 ...
Could not find package jython
Buildfile: build.xml

prepare:
    [mkdir] Created dir:
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/build

copybeforecompile:
     [copy] Copying 172 files to
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/build

testjava:

compile:
    [javac] Compiling 433 source files to
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/build
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/Jext.java:58:
package org.python.util does not exist
    [javac] import org.python.util.PythonInterpreter;
    [javac]                        ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/PythonAction.java:29:
package org.python.util does not exist
    [javac] import org.python.util.PythonInterpreter;
    [javac]                        ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/PythonEditAction.java:29:
package org.python.util does not exist
    [javac] import org.python.util.PythonInterpreter;
    [javac]                        ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/console/commands/EvalCommand.java:30:
package org.python.util does not exist
    [javac] import org.python.util.PythonInterpreter;
    [javac]                        ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/scripting/python/Run.java:30:
package org.python.core does not exist
    [javac] import org.python.core.*;
    [javac] ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/scripting/python/Run.java:31:
package org.python.util does not exist
    [javac] import org.python.util.PythonInterpreter;
    [javac]                        ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/scripting/python/Run.java:35:
cannot resolve symbol
    [javac] symbol  : class PythonInterpreter 
    [javac] location: class org.jext.scripting.python.Run
    [javac]   private static PythonInterpreter parser;
    [javac]                  ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/scripting/python/Run.java:42:
cannot resolve symbol
    [javac] symbol  : class PythonInterpreter 
    [javac] location: class org.jext.scripting.python.Run
    [javac]   public static PythonInterpreter getPythonInterpreter(JextFrame
parent)
    [javac]                 ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/scripting/python/Run.java:87:
cannot resolve symbol
    [javac] symbol  : class PyObject 
    [javac] location: class org.jext.scripting.python.Run
    [javac]   public static PyObject eval(String code, String mapName, Object[]
map, JextFrame parent)
    [javac]                 ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/Jext.java:908:
cannot resolve symbol
    [javac] symbol  : variable PythonInterpreter 
    [javac] location: class org.jext.Jext
    [javac]     PythonInterpreter.initialize(System.getProperties(), pyProps,
new String[0]);
    [javac]     ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/PythonAction.java:60:
cannot resolve symbol
    [javac] symbol  : class PythonInterpreter 
    [javac] location: class org.jext.PythonAction
    [javac]         PythonInterpreter parser =
Run.getPythonInterpreter(getJextParent(evt));
    [javac]         ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/console/commands/EvalCommand.java:60:
cannot resolve symbol
    [javac] symbol  : class PythonInterpreter 
    [javac] location: class org.jext.console.commands.EvalCommand
    [javac]           PythonInterpreter parser =
Run.getPythonInterpreter(console.getParentFrame());
    [javac]           ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/scripting/python/Run.java:46:
cannot resolve symbol
    [javac] symbol  : class PythonInterpreter 
    [javac] location: class org.jext.scripting.python.Run
    [javac]       parser =  new PythonInterpreter();
    [javac]                     ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/scripting/python/Run.java:47:
cannot resolve symbol
    [javac] symbol  : class PyModule 
    [javac] location: class org.jext.scripting.python.Run
    [javac]       PyModule mod = imp.addModule("__main__");
    [javac]       ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/scripting/python/Run.java:47:
cannot resolve symbol
    [javac] symbol  : variable imp 
    [javac] location: class org.jext.scripting.python.Run
    [javac]       PyModule mod = imp.addModule("__main__");
    [javac]                      ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/scripting/python/Run.java:54:
cannot resolve symbol
    [javac] symbol  : class PySystemState 
    [javac] location: class org.jext.scripting.python.Run
    [javac]                             PySystemState sys =
Py.getSystemState();
    [javac]                                 ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/scripting/python/Run.java:54:
cannot resolve symbol
    [javac] symbol  : variable Py 
    [javac] location: class org.jext.scripting.python.Run
    [javac]                             PySystemState sys =
Py.getSystemState();
    [javac]                                                     ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/scripting/python/Run.java:91:
cannot resolve symbol
    [javac] symbol  : class PythonInterpreter 
    [javac] location: class org.jext.scripting.python.Run
    [javac]       PythonInterpreter parser = getPythonInterpreter(parent);
    [javac]       ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/scripting/python/Run.java:120:
cannot resolve symbol
    [javac] symbol  : class PythonInterpreter 
    [javac] location: class org.jext.scripting.python.Run
    [javac]       PythonInterpreter parser = getPythonInterpreter(parent);
    [javac]       ^
    [javac]
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/lib/org/jext/scripting/python/Run.java:143:
cannot resolve symbol
    [javac] symbol  : class PythonInterpreter 
    [javac] location: class org.jext.scripting.python.Run
    [javac]       PythonInterpreter parser = getPythonInterpreter(parent);
    [javac]       ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 20 errors

BUILD FAILED
/var/tmp/portage/app-editors/jext-3.2_pre3/work/jext-sources-3.2pre3/src/build.xml:110:
Compile failed; see the compiler error output for details.

Total time: 3 seconds

!!! ERROR: app-editors/jext-3.2_pre3 failed.

------- Comment #1 From Evil Compile Person 2006-10-13 05:30:59 0000 -------
Gentoo Base System version 1.12.5
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1.2_pre2-r7 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3,
2.6.16.16 x86_64)
=================================================================
System uname: 2.6.16.16 x86_64 AMD Athlon(tm) 64 Processor 3200+
Last Sync: Tue, 10 Oct 2006 17:50:02 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer sandbox
sfperms strict"
GENTOO_MIRRORS="http://85.25.128.62
ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync12.de.gentoo.org/gentoo-portage"
USE="x86 X berkdb bitmap-fonts cli crypt cups dlloader dri elibc_glibc fortran
gdbm gpm input_devices_evdev input_devices_keyboard input_devices_mouse ipv6
isdnlog kernel_linux libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd
python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev
unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati
video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy
video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740
video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic
video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3
video_cards_s3virge video_cards_savage video_cards_siliconmotion
video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga
video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa
video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg
zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Vlastimil Babka (Caster) 2006-10-13 07:46:39 0000 -------
The problem was that jython was only in RDEPEND but not in DEPEND. Looks like
new portage now makes a difference and doesn't strictly merge all RDEPENDs
before the depending package. There was also RDEPEND being set to (empty)
${RDEPEND}. Maybe you could make some check for unitialized variables usage,
bonsaikitten? :) Anyway, thanks for reporting.