Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229199 - dev-java/log4j-1.2.15-r1 fails to build !!!
Summary: dev-java/log4j-1.2.15-r1 fails to build !!!
Status: RESOLVED DUPLICATE of bug 229201
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-24 12:41 UTC by Arjen Pool
Modified: 2010-04-09 10:33 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 Arjen Pool 2008-06-24 12:41:35 UTC
dev-java/log4j-1.2.15-r1 fails to build !!!

with following error messages

>>> Compiling source in /var/tmp/portage/dev-java/log4j-1.2.15-r1/work/apache-log4j-1.2.15 ...
Changing ignoresystemclasses to true for available tasks
Rewriting /var/tmp/portage/dev-java/log4j-1.2.15-r1/work/apache-log4j-1.2.15/build.xml
/usr/lib/portage/pym/portage_dep.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_dep module was replaced by portage.dep
/usr/lib/portage/pym/portage_dep.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_dep module was replaced by portage.dep
Rewriting attributes
Rewriting ./src/ntdll/build.xml
Traceback (most recent call last):
  File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 240, in <module>
    outxml = processActions(options, f)
  File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 109, in processActions
    out_stream = doRewrite(rewriter, out_stream, rewriter.add_gentoo_classpath,classpath = newcp)
  File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 100, in doRewrite
    rewriter.write(out)
  File "/usr/lib/python2.5/site-packages/javatoolkit/xml/DomRewriter.py", line 81, in write
    from xml.dom.ext import PrettyPrint
ImportError: No module named ext
warning: Not importing directory 'site': missing __init__.py
 *
 * ERROR: dev-java/log4j-1.2.15-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3925:  Called java-pkg-2_src_compile
 *             environment, line 2123:  Called eant 'jar' '-f' 'build.xml' '-Djaxp-present=true'
 *             environment, line  804:  Called java-ant_bsfix
 *             environment, line 1964:  Called java-ant_bsfix_files './src/ntdll/build.xml' './tests/build.xml' './build.xml'
 *             environment, line 2049:  Called _bsfix_die 'xml-rewrite2 failed: ./build.xml'
 *             environment, line  288:  Called die
 * The specific snippet of code:
 *           die ${1};
 *  The die message:
 *   xml-rewrite2 failed: ./build.xml
 *
 * 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/dev-java/log4j-1.2.15-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/log4j-1.2.15-r1/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.06"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info



Reproducible: Always

Steps to Reproduce:
1.emerge -a log4j       
2.errror
3.

Actual Results:  
error

Expected Results:  
compile and merge 

Linux raptor 2.6.25-gentoo-r5 #1 SMP PREEMPT Fri Jun 20 19:51:25 CEST 2008 i686 Genuine Intel(R) CPU T2080 @ 1.73GHz GenuineIntel GNU/Linux

Gnu C                  4.1.2
Gnu make               3.81
binutils               2.18
util-linux             2.14
mount                  support
module-init-tools      3.4
e2fsprogs              1.40.11
reiserfsprogs          3.6.19
Linux C Library        2.8
Dynamic linker (ldd)   2.8
Procps                 3.2.7
Net-tools              1.60
Kbd                    1.14.1
Sh-utils               6.12
udev                   124
wireless-tools         29
Modules Loaded         ipv6 af_packet usbmouse usbhid hid joydev psmouse yenta_socket pcspkr serio_raw rsrc_nonstatic pcmcia_core sdhci snd_hda_intel ehci_hcd mmc_core uhci_hcd usbcore snd_pcm snd_timer nvidia video s
nd output battery soundcore container ac thermal snd_page_alloc processor intel_agp button agpgart evdev

=================================================================================


# /etc/make.conf
CFLAGS="-O2 -march=prescott -mno-tls-direct-seg-refs -mmmx -m32 -pipe"
CHOST="i686-pc-linux-gnu"
USE="kde qt3 qt4 X xorg ipv6 spell pcre
nvidia dbus hal wifi cdrom cdr dvd dvdr
dvdread bluetooth pcmcia usb perl python
jpeg mpg mpeg mp2 mp3 mp4 avi win32codecs gif
tiff pdf quicktime msn alsa arts cairo eds
emboss encode esd evo fam firefox gpm
ldap mad mikmod ogg opengl oss png qt3support
ssl sdl spell svg truetype vorbis unicode xml
xv cups crypt branding -fortran alsa
pam -pascal"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86"
LINGUAS="en"
MAKEOPTS="-j3"
PORTAGE_NICENESS="8"
FEATURES="parallel-fetch ccache confcache collision-protect"
CONFIG_PROTECT="/etc"
INPUT_DEVICES="keyboard mouse synaptics"
VIDEO_CARDS="nvidia"
AlSA_CARDS="hda-intel"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
PORTAGE_TMPFS="/dev/shm"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.ut$
# /etc/make.conf.
Comment 1 lordcris 2008-06-24 13:29:37 UTC
same here:

Changing ignoresystemclasses to true for available tasks
Rewriting /var/tmp/portage/dev-java/log4j-1.2.15-r1/work/apache-log4j-1.2.15/build.xml
/usr/lib/portage/pym/portage_dep.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_dep module was replaced by portage.dep
/usr/lib/portage/pym/portage_dep.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_dep module was replaced by portage.dep
Rewriting attributes
Rewriting ./build.xml
Traceback (most recent call last):
  File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 240, in <module>
    outxml = processActions(options, f)
  File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 109, in processActions
    out_stream = doRewrite(rewriter, out_stream, rewriter.add_gentoo_classpath,classpath = newcp)
  File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 100, in doRewrite
    rewriter.write(out)
  File "/usr/lib/python2.5/site-packages/javatoolkit/xml/DomRewriter.py", line 81, in write
    from xml.dom.ext import PrettyPrint
ImportError: No module named ext
warning: Not importing directory 'site': missing __init__.py
 *
 * ERROR: dev-java/log4j-1.2.15-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3911:  Called java-pkg-2_src_compile
 *             environment, line 2109:  Called eant 'jar' '-f' 'build.xml' '-Djaxp-present=true'
 *             environment, line  790:  Called java-ant_bsfix
 *             environment, line 1950:  Called java-ant_bsfix_files './build.xml' './tests/build.xml' './src/ntdll/build.xml'
 *             environment, line 2035:  Called _bsfix_die 'xml-rewrite2 failed: ./src/ntdll/build.xml'
 *             environment, line  274:  Called die
 * The specific snippet of code:
 *           die ${1};
 *  The die message:
 *   xml-rewrite2 failed: ./src/ntdll/build.xml
 *
 * 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/dev-java/log4j-1.2.15-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/log4j-1.2.15-r1/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.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info



###
emerge --info
Portage 2.2_rc1 (default-linux/ppc/ppc32/2007.0/G4, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r5 ppc)
=================================================================
System uname: Linux-2.6.25-gentoo-r5-ppc-7447A,_altivec_supported-with-glibc2.0
Timestamp of tree: Tue, 24 Jun 2008 09:15:01 +0000
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="ppc ~ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-Os -pipe -mcpu=7450 -maltivec -mabi=altivec"
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -pipe -mcpu=7450 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache distcc distlocks fixpackages parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://mirrors.ludost.net/gentoo/ http://distfiles.gentoo.bg/ http://ftp.gentoo.bg/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
MAKEOPTS="-j7"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl aiglx alsa altivec asf audiofile bash-completion berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo cdda cddb cdparanoia cdr cli cpudetection cracklib crypt css cups dbus dga dhcp divx divx4linux dmix dri dts dvb dvd dvdr dvdread encode faac faad fbcon fbdev ffmpeg firefox flac fortran gdbm gif glitz gmedia gphoto2 gpm gtk2 iconv icq imlib ipv6 isdnlog ithreads java javacomm jpeg kde kdexdeltas kickoff live mad matroska midi mikmod mozbranding mozdevelop mp2 mp3 mpeg mudflap musepack musicbrainz nas ncurses network nls nptl nptlonly nsplugin nsplugins nxclient obex offensive ogg oggvorbis openal opengl openmp openntpd oscar oss parse-clocks pci pcre pdf perl png ppc pppd python qdbusxml2cpp qt3 qt3support qt4 quicktime readline reflection rtc samba session sheep softmmu spl ssl stream svg symlink tcpd truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd vorbis wavpack wifi wma wmp wxwindows x264 xanim xcomposite xml xorg xv xvid zlib" ALSA_CARDS="powermac" 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" 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="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon ati"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 2 Alistair Bush (RETIRED) gentoo-dev 2008-06-26 09:55:46 UTC
Thanks for the bug report.  Same cause as duplicate bug.  in cvs will be hitting mirrors in hour or so.

*** This bug has been marked as a duplicate of bug 229201 ***
Comment 3 Dan Coats 2008-06-26 14:42:09 UTC
what exactly was fixed and what are we waiting for? src or ebuild of what?
Comment 4 Alistair Bush (RETIRED) gentoo-dev 2008-06-27 07:11:22 UTC
java-config was missing a dependency.  it was bumped to fix it.
Comment 5 lordcris 2008-06-27 10:11:07 UTC
i still have this problem.

>>> Unpacking apache-log4j-1.2.15.tar.gz to /var/tmp/portage/dev-java/log4j-1.2.15-r1/work
tar: A lone zero block at 28567
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-java/log4j-1.2.15-r1/work/apache-log4j-1.2.15 ...
Changing ignoresystemclasses to true for available tasks
Rewriting /var/tmp/portage/dev-java/log4j-1.2.15-r1/work/apache-log4j-1.2.15/build.xml
/usr/lib/portage/pym/portage_dep.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_dep module was replaced by portage.dep
/usr/lib/portage/pym/portage_dep.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_dep module was replaced by portage.dep
Rewriting attributes
Rewriting ./build.xml
Traceback (most recent call last):
  File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 240, in <module>
    outxml = processActions(options, f)
  File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 109, in processActions
    out_stream = doRewrite(rewriter, out_stream, rewriter.add_gentoo_classpath,classpath = newcp)
  File "/usr/lib/javatoolkit/bin/xml-rewrite-3.py", line 100, in doRewrite
    rewriter.write(out)
  File "/usr/lib/python2.5/site-packages/javatoolkit/xml/DomRewriter.py", line 81, in write
    from xml.dom.ext import PrettyPrint
ImportError: No module named ext
warning: Not importing directory 'site': missing __init__.py
Comment 6 Alistair Bush (RETIRED) gentoo-dev 2008-06-27 10:22:53 UTC
Have you updated javatoolkit?
Comment 7 lordcris 2008-06-27 10:31:34 UTC
thanks.
that did it!
Comment 8 Arjen Pool 2008-06-27 11:07:58 UTC
(In reply to comment #6)
> Have you updated javatoolkit?
> 
Everything works fine now thanks!!!!
Comment 9 Trent Payne 2010-04-09 10:33:02 UTC
(In reply to comment #6)
> Have you updated javatoolkit?
> 

Thanks, that sorted my issue as well...