Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218283 - dev-java/xml-commons-external fails to build/install
Summary: dev-java/xml-commons-external fails to build/install
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-18 15:56 UTC by Kliakhandler Kosta
Modified: 2008-04-18 19:29 UTC (History)
0 users

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 Kliakhandler Kosta 2008-04-18 15:56:23 UTC
Both of the versions currently available in portage (1.3.04 and 1.3.02-r1) fail to build on my amd64 server. 1.3.04 builds fine on my x86 laptop.

Reproducible: Always

Steps to Reproduce:
1.
#emerge -1 dev-java/xml-commons-external
2.
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) dev-java/xml-commons-external-1.3.04 to /
 * xml-commons-external-1.3.04.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                [ ok ]
 * checking xml-commons-external-1.3.04.tar.bz2 ;-) ...                                                                                               [ ok ]
 * Using: sun-jdk-1.6
>>> Unpacking source...
>>> Unpacking xml-commons-external-1.3.04.tar.bz2 to /var/tmp/portage/dev-java/xml-commons-external-1.3.04/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-java/xml-commons-external-1.3.04/work/xml-commons-external-1.3.04 ...
Rewriting source attributes
Using Sax to rewrite the build.xml files
Rewriting './build.xml'
Traceback (most recent call last):
  File "/usr/bin/xml-rewrite-2.py", line 227, in ?
    os.chdir(os.path.dirname(file))
OSError: [Errno 2] No such file or directory: "'."
 *
 * ERROR: dev-java/xml-commons-external-1.3.04 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3884:  Called java-pkg-2_src_compile
 *             environment, line 2099:  Called eant 'src_compile' 'src_compile' 'jar'
 *             environment, line  787:  Called java-ant_bsfix
 *             environment, line 1942:  Called java-ant_bsfix_files '-f'
 *             environment, line 1979:  Called java-ant_xml-rewrite 'build.xml' './build.xml' '-f' ''./build.xml'' '-c' '-e' 'javadoc' '-e' 'javac' '-e' 'xjavac' '-e' 'javac.preset' '-a' 'source'
 *             environment, line 2077:  Called _bsfix_die '-v' '1.3' 'xml-rewrite2 failed : -f' ''./build.xml'' '-c' '-e' 'javadoc' '-e' 'javac' '-e' 'xjavac' '-e' 'javac.preset' '-a' 'source'
 *             environment, line  271:  Called die
 * The specific snippet of code:
 *           die ${1};
 *  The die message:
 *   xml-rewrite2 failed : -f
 *
 * 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/xml-commons-external-1.3.04/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/xml-commons-external-1.3.04/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.05"
JAVACFLAGS="-source 1.3 -target 1.3" COMPILER=""
and of course, the output of emerge --info

3. Profit?

Actual Results:  
# emerge --info
Portage 2.1.4.4 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.6.1-r0, 2.6.20-hardened-r10 x86_64)
=================================================================
System uname: 2.6.20-hardened-r10 x86_64 AMD Athlon(tm) 64 Processor 3700+
Timestamp of tree: Tue, 15 Apr 2008 08:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
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.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1
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="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/www"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans usefetch userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.muntinternet.net/pub/gentoo/ http://gentoo.tiscali.nl/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
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/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip acl amd64 apache2 bash-completion berkdb bzip2 chroot clamav cracklib crypt ctype curl dbx emacs fam fastcgi gd hardened iconv imap justify logrotate midi mysql mysqli ncurses nls nptl nptlonly pam pcre php pic prelude pwdb readline ruby sasl session simplexml slang spell sqlite sqlite3 ssl tcpd tidy unicode urandom vhosts webdav xattr xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alistair Bush (RETIRED) gentoo-dev 2008-04-18 19:29:51 UTC
Please sync and reopen if the error continues