Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217766 - xom-1.0-r6 fails to compile : OSError: [Errno 2] No such file or directory: "'."
Summary: xom-1.0-r6 fails to compile : OSError: [Errno 2] No such file or directory: "'."
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-15 08:43 UTC by Marcello Magaldi
Modified: 2008-04-15 13:55 UTC (History)
1 user (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 Marcello Magaldi 2008-04-15 08:43:49 UTC
When I emerge last stable xom (1.0-r6) I get this error :>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-java/xom-1.0-r6/work/XOM ...
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: "'."
 * If the output above contains:
 * ImportError:
 * /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so:
 * undefined symbol: PyUnicodeUCS2_DecodeUTF8
 * Try re-emerging dev-python/pyxml
 * 
 * ERROR: dev-java/xom-1.0-r6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3904:  Called eant 'src_compile' 'src_compile'
 *             environment, line  805:  Called java-ant_bsfix
 *             environment, line 1960:  Called java-ant_bsfix_files 'jar'
 *             environment, line 1997:  Called java-ant_xml-rewrite '-Ddebug=off' './build.xml' '-f' ''./build.xml'' '-c' '-e' 'javadoc' '-e' 'javac' '-e' 'xjavac' '-e' 'javac.preset' '-a' 'source'
 *             environment, line 2095:  Called _bsfix_die '-v' '1.4' 'xml-rewrite2 failed : -f' ''./build.xml'' '-c' '-e' 'javadoc' '-e' 'javac' '-e' 'xjavac' '-e' 'javac.preset' '-a' 'source'
 *             environment, line  287:  Called die
 * The specific snippet of code:
 *           die ${1} " Look at the eerror message above";
 *  The die message:
 *   xml-rewrite2 failed : -f  Look at the eerror message above
 * 
 * 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/xom-1.0-r6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/xom-1.0-r6/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.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

 * Messages for package dev-java/xom-1.0-r6:

 * If the output above contains:
 * ImportError:
 * /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so:
 * undefined symbol: PyUnicodeUCS2_DecodeUTF8
 * Try re-emerging dev-python/pyxml
 * 
 * ERROR: dev-java/xom-1.0-r6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3904:  Called eant 'src_compile' 'src_compile'
 *             environment, line  805:  Called java-ant_bsfix
 *             environment, line 1960:  Called java-ant_bsfix_files 'jar'
 *             environment, line 1997:  Called java-ant_xml-rewrite '-Ddebug=off' './build.xml' '-f' ''./build.xml'' '-c' '-e' 'javadoc' '-e' 'javac' '-e' 'xjavac' '-e' 'javac.preset' '-a' 'source'
 *             environment, line 2095:  Called _bsfix_die '-v' '1.4' 'xml-rewrite2 failed : -f' ''./build.xml'' '-c' '-e' 'javadoc' '-e' 'javac' '-e' 'xjavac' '-e' 'javac.preset' '-a' 'source'
 *             environment, line  287:  Called die
 * The specific snippet of code:
 *           die ${1} " Look at the eerror message above";
 *  The die message:
 *   xml-rewrite2 failed : -f  Look at the eerror message above
 * 
 * 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/xom-1.0-r6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/xom-1.0-r6/temp/environment'.
 * 


Reproducible: Always

Steps to Reproduce:
1.emerge --oneshot xom
2.
3.

Actual Results:  
it fails with the above error message

Expected Results:  
it should merge fine

 emerge --info 
Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 i686)
=================================================================
System uname: 2.6.24-gentoo-r4 i686 AMD Athlon(tm) XP 2600+
Timestamp of tree: Tue, 15 Apr 2008 07:35:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
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
dev-util/ccache:     2.4-r7
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.7.9-r1, 1.8.5-r3, 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="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
FEATURES="ccache distcc metadata-transfer parallell-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.muntinternet.net/pub/gentoo/ http://mirror.ing.unibo.it/gentoo/ ftp://mirror.ing.unibo.it/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j8"
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/layman/sunrise /usr/portage/local/layman/enlightenment /usr/portage/local/layman/initng /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/mpd /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac acl acpi aiglx alsa amrnb amrwb apache2 arts aspnet aspnetedit automount avahi bash-completion beagle berkdb bidi boo branding bzip2 c++ cairo cdda cdio cdr cli cracklib crypt css cups cxx dbus devhelp divx4linux dri dts dvd dvdr dvdread eds emboss emovix encode esd evo exif fam fbcondecor ffmpeg firefox flac fortran freetype galago gcj gdbm gif gimp gimpprint glade glitz gnome gnutls gpm gstreamer gtk gtk2 guile hal httpd iconv id3tag ipv6 isdnlog jack java joystick jpeg kde kerberos latex ldap libnotify live lm_sensors mad matroska midi mikmod mjpeg mmx mono mp3 mpeg msn mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia objc odbc offensive ogg oggvorbis opengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session sourceview spell spl sqlite sqlite3 sse ssl startup-notification stream subversion svg svga swat syslog tcltk tcpd theora thunderbird tiff tk totem tracker trasparency truetype unicode usb v4l valgrind vcd vlm vorbis win32codecs wma wxwindows x86 xcomposite xml xorg xv xvid zlib" ALSA_CARDS="emu10k1 usb-audio" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alistair Bush (RETIRED) gentoo-dev 2008-04-15 09:35:38 UTC
Please retest in a souple of hours.

Reverted change to eclass that broke this and everything else java.
Comment 2 Marcello Magaldi 2008-04-15 13:55:08 UTC
(In reply to comment #1)
> Please retest in a souple of hours.
> 
> Reverted change to eclass that broke this and everything else java.
> 

I synced and now it works again.