Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241512 - dev-java/jdictrayapi-0.9.1-r3 - [exec] Tray.c:714: error: 'LIBARCH' undeclared (first use in this function)
Summary: dev-java/jdictrayapi-0.9.1-r3 - [exec] Tray.c:714: error: 'LIBARCH' undeclare...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-12 07:17 UTC by Zhang Weiwu
Modified: 2014-01-08 21:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
A complete build log (build.log,3.82 KB, text/plain)
2008-10-12 07:17 UTC, Zhang Weiwu
Details
The ebuild environment (environment,153.25 KB, text/plain)
2008-10-12 07:18 UTC, Zhang Weiwu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zhang Weiwu 2008-10-12 07:17:02 UTC
~$ sudo emerge borg
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> starting parallel fetching pid 7413

>>> Emerging (1 of 11) dev-java/jdictrayapi-0.9.1-r3 to /
 * jdic-0.9.1-src.zip RMD160 SHA1 SHA256 size ;-) ...                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                     [ ok ]
 * checking auxfile checksums ;-) ...                                                                    [ ok ]
 * checking miscfile checksums ;-) ...                                                                   [ ok ]
 * checking jdic-0.9.1-src.zip ;-) ...                                                                   [ ok ]
 * Using: ibm-jdk-bin-1.5
>>> Unpacking source...
>>> Unpacking jdic-0.9.1-src.zip to /home/tmp/portage/dev-java/jdictrayapi-0.9.1-r3/work
 * Applying 0.8.7-gentoo.patch ...                                                                       [ ok ]
 * Applying fix-ctray-libarch.patch ...                                                                  [ ok ]
>>> Source unpacked.
>>> Compiling source in /home/tmp/portage/dev-java/jdictrayapi-0.9.1-r3/work/jdic-0.9.1-src/jdic ...
 * Disabling all optional ANT_TASKS
Buildfile: build.xml

init:
    [mkdir] Created dir: /home/tmp/portage/dev-java/jdictrayapi-0.9.1-r3/work/jdic-0.9.1-src/jdic/dist/linux
     [echo] ++++++++++++++++++++++++++++++++++++++++++++++++++++
     [echo] + JDIC API build version 0.9 release 1
     [echo] + The distribution directory is: ./dist/linux/
     [echo] ++++++++++++++++++++++++++++++++++++++++++++++++++++

buildunixjar:
    [javac] Compiling 54 source files to /home/tmp/portage/dev-java/jdictrayapi-0.9.1-r3/work/jdic-0.9.1-src/jdic/dist/linux
    [javac] Note: /home/tmp/portage/dev-java/jdictrayapi-0.9.1-r3/work/jdic-0.9.1-src/jdic/src/unix/classes/org/jdesktop/jdic/tray/internal/impl/GnomeTrayAppletService.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
      [jar] Building jar: /home/tmp/portage/dev-java/jdictrayapi-0.9.1-r3/work/jdic-0.9.1-src/jdic/dist/linux/jdic.jar
     [copy] Copying 1 file to /home/tmp/portage/dev-java/jdictrayapi-0.9.1-r3/work/jdic-0.9.1-src/jdic/dist/linux

init:
     [echo] ++++++++++++++++++++++++++++++++++++++++++++++++++++
     [echo] + JDIC API build version 0.9 release 1
     [echo] + The distribution directory is: ./dist/linux/
     [echo] ++++++++++++++++++++++++++++++++++++++++++++++++++++

buildunixjni_tray:
     [exec] rm -f *.so
     [exec] rm -f *.o
     [exec] rm -f ../../../share/native/utils/*.o
     [exec] gcc -I/opt/ibm-jdk-bin-1.5.0.7/include -I/opt/ibm-jdk-bin-1.5.0.7/include/linux -shared -fPIC -ldl -lrt -lpthread -ldl -L/usr/X11R6/lib -lXt -lX11 Tray.c -o libtray.so
     [exec] Tray.c: In function 'Java_org_jdesktop_jdic_tray_internal_impl_GnomeTrayAppletService_getWidget':
     [exec] Tray.c:688: warning: cast from pointer to integer of different size
     [exec] Tray.c: In function 'Java_org_jdesktop_jdic_tray_internal_impl_GnomeSystemTrayService_initNative':
     [exec] Tray.c:714: error: 'LIBARCH' undeclared (first use in this function)
     [exec] Tray.c:714: error: (Each undeclared identifier is reported only once
     [exec] Tray.c:714: error: for each function it appears in.)
     [exec] make: *** [libtray.so] Error 1

BUILD FAILED
/home/tmp/portage/dev-java/jdictrayapi-0.9.1-r3/work/jdic-0.9.1-src/jdic/build.xml:586: exec returned: 2

Total time: 42 seconds
 * 
 * ERROR: dev-java/jdictrayapi-0.9.1-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3976:  Called eant 'src_compile' 'src_compile'
 *             environment, line  878:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 *  The die message:
 *   eant failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/home/tmp/portage/dev-java/jdictrayapi-0.9.1-r3/temp/build.log'.
 * The ebuild environment file is located at '/home/tmp/portage/dev-java/jdictrayapi-0.9.1-r3/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=ibm-jdk-bin-1.5  CLASSPATH="" JAVA_HOME="/opt/ibm-jdk-bin-1.5.0.7"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="javac"
and of course, the output of emerge --info

 * Messages for package dev-java/jdictrayapi-0.9.1-r3:

 * 
 * ERROR: dev-java/jdictrayapi-0.9.1-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3976:  Called eant 'src_compile' 'src_compile'
 *             environment, line  878:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 *  The die message:
 *   eant failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/home/tmp/portage/dev-java/jdictrayapi-0.9.1-r3/temp/build.log'.
 * The ebuild environment file is located at '/home/tmp/portage/dev-java/jdictrayapi-0.9.1-r3/temp/environment'.
 *
Comment 1 Zhang Weiwu 2008-10-12 07:17:45 UTC
Created attachment 168126 [details]
A complete build log
Comment 2 Zhang Weiwu 2008-10-12 07:18:20 UTC
Created attachment 168128 [details]
The ebuild environment
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-13 15:37:29 UTC
Please post your `emerge --info' too.
Comment 4 Zhang Weiwu 2008-10-14 00:00:29 UTC
$ sudo emerge --info
Portage 2.1.4.5 (default-linux/ppc/ppc32/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r1 ppc)
=================================================================
System uname: 2.6.26-gentoo-r1 ppc 750FX
Timestamp of tree: Sat, 11 Oct 2008 13:04:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r6, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
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.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G3 -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=G3 -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="de en_US"
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="/home/tmp/"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pcre perl ppc pppd python readline reflection session spl ssl tcpd unicode xorg zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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" INPUT_DEVICES="joystick synaptics keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en_US" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2014-01-08 21:44:21 UTC
dev-java/jdictrayapi is gone