Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518092 - dev-java/swt-3.7.2-r1: xml-rewrite-2.py command not found
Summary: dev-java/swt-3.7.2-r1: xml-rewrite-2.py command not found
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-25 13:05 UTC by Kobboi
Modified: 2015-02-02 01:02 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 Kobboi 2014-07-25 13:05:43 UTC
* Package:    dev-java/swt-3.7.2-r1
 * Repository: gentoo
 * Maintainer: java@gentoo.org
 * USE:        abi_x86_64 amd64 cairo elibc_glibc gnome kernel_linux opengl userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Using: icedtea-bin-6
>>> Unpacking source...
>>> Unpacking ./src.zip to /var/tmp/portage/dev-java/swt-3.7.2-r1/work
>>> Source unpacked in /var/tmp/portage/dev-java/swt-3.7.2-r1/work
>>> Preparing source in /var/tmp/portage/dev-java/swt-3.7.2-r1/work ...
 * Applying as-needed-and-flag-fixes-3.6.patch ...                                                                                      [ ok ]
 * Applying swt-3.7.2-gio_launch-URI.patch ...                                                                                          [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-java/swt-3.7.2-r1/work ...
Rewriting source attributes
/var/tmp/portage/dev-java/swt-3.7.2-r1/temp/environment: line 1718: xml-rewrite-2.py: command not found
 * ERROR: dev-java/swt-3.7.2-r1::gentoo failed (configure phase):
 *   xml-rewrite2 failed: ./build.xml
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 4119:  Called java-ant-2_src_configure
 *   environment, line 1654:  Called java-ant_bsfix
 *   environment, line 1676:  Called java-ant_bsfix_files './build.xml'
 *   environment, line 1718:  Called _bsfix_die 'xml-rewrite2 failed: ./build.xml'
 *   environment, line  298:  Called die
 * The specific snippet of code:
 *           die ${1};
 * 
 * If you need support, post the output of `emerge --info '=dev-java/swt-3.7.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/swt-3.7.2-r1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-6  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-6.1.13.3"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info =swt-3.7.2
 * The complete build log is located at '/var/tmp/portage/dev-java/swt-3.7.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/swt-3.7.2-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/swt-3.7.2-r1/work'
 * S: '/var/tmp/portage/dev-java/swt-3.7.2-r1/work'


Reproducible: Always
Comment 1 Ole Langbehn 2015-02-02 00:52:56 UTC
Can reproduce the original error with swt-3.7.2, and seeing the same with another java package, also using icedtea:

# zcat /var/log/portage/dev-java:tomcat-servlet-api-7.0.56:20150202-004356.log.gz
 * Package:    dev-java/tomcat-servlet-api-7.0.56
 * Repository: gentoo
 * Maintainer: java@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   compressdebug preserve-libs sandbox splitdebug userpriv usersandbox
 * Using: icedtea-7
>>> Unpacking source...
>>> Unpacking apache-tomcat-7.0.56-src.tar.gz to /var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work
>>> Source unpacked in /var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work
>>> Preparing source in /var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src ...
 * Removing bundled jars and classes
removed ‘/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src/webapps/examples/WEB-INF/lib/standard.jar’
removed ‘/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src/webapps/examples/WEB-INF/lib/jstl.jar’
removed ‘/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src/test/webapp-3.0-virtual-webapp/src/main/webapp/WEB-INF/lib/rsrc.jar’
removed ‘/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src/test/webapp-3.0-fragments-empty-absolute-ordering/WEB-INF/lib/resources.jar’
removed ‘/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src/test/webapp-3.0-fragments/WEB-INF/lib/resources2.jar’
removed ‘/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src/test/webapp-3.0-fragments/WEB-INF/lib/resources.jar’
removed ‘/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src/res/META-INF/tomcat7-websocket.jar/web-fragment.xml’
removed ‘/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src/res/META-INF/tomcat7-websocket.jar/services/javax.websocket.server.ServerEndpointConfig$Configurator’
removed ‘/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src/res/META-INF/tomcat7-websocket.jar/services/javax.websocket.ContainerProvider’
removed ‘/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src/res/META-INF/tomcat7-websocket.jar/services/javax.servlet.ServletContainerInitializer’
removed directory: ‘/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src/res/META-INF/tomcat7-websocket.jar/services’
removed directory: ‘/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src/res/META-INF/tomcat7-websocket.jar’
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src ...
Rewriting source attributes
/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/temp/environment: line 1605: xml-rewrite-2.py: command not found
 * ERROR: dev-java/tomcat-servlet-api-7.0.56::gentoo failed (configure phase):
 *   xml-rewrite2 failed: ./build.xml
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 3884:  Called java-ant-2_src_configure
 *   environment, line 1541:  Called java-ant_bsfix
 *   environment, line 1563:  Called java-ant_bsfix_files './build.xml'
 *   environment, line 1605:  Called _bsfix_die 'xml-rewrite2 failed: ./build.xml'
 *   environment, line  247:  Called die
 * The specific snippet of code:
 *           die ${1};
 * 
 * If you need support, post the output of `emerge --info '=dev-java/tomcat-servlet-api-7.0.56::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/tomcat-servlet-api-7.0.56::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-7  CLASSPATH="" JAVA_HOME="/usr/lib64/icedtea7"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info =tomcat-servlet-api-7.0.56
 * The complete build log is located at '/var/log/portage/dev-java:tomcat-servlet-api-7.0.56:20150202-004356.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src'
 * S: '/var/tmp/portage/dev-java/tomcat-servlet-api-7.0.56/work/apache-tomcat-7.0.56-src/'


# emerge --info '=dev-java/tomcat-servlet-api-7.0.56::gentoo'
Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.9.2, glibc-2.20-r1, 3.18.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-4800MQ_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    16407684 total,   4208960 free
KiB Swap:   16653308 total,  14475720 free
Timestamp of tree: Sun, 01 Feb 2015 11:45:01 +0000
sh bash 4.3_p33-r1
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.3_p33-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.4.2
dev-util/cmake:           3.1.0
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3-r1, 1.11.6-r1, 1.12.6, 1.13.4, 1.15
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.9.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.5
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: gentoo asux my_local_overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.2/conf /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core-avx2 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going -j --load-average 12.0 --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="gzip"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/asux /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 apache2 audiofile bash-completion berkdb bluetooth branding bsf bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups curl cvs cxx dbus dga directfb djvu dri dts dv dvd dvdr encode exif fbcon ffmpeg firefox flac fontconfig fortran ftp gd gdbm gif gimp glut gnome gnuplot gphoto2 gpm gstreamer gtk gtk3 gtkhtml gzip handbook iconv icq icu idn ieee1394 imagemagick imap imlib innodb ipod ipv6 jabber java java6 javascript jingle jpeg jpeg2k kde latex lcms ldap libnotify lm_sensors lzma lzo mad matroska mhash mime mmx mng modules mono motif mozilla mp3 mp4 mpeg mplayer multilib musicbrainz mysql mysqli ncurses nls nptl ocaml ocamlopt odbc ofx ogg openexr opengl openmp pam pcmcia pcre pdf pic plasma png policykit posix postgres ppds qt3support qt4 rdesktop readline recode rss ruby samba sasl sdl session sharedmem shorten smp sockets sound spell sqlite sqlite3 sse sse2 ssl startup-notification subversion svg syslog tcl tcpd theora threads tidy tiff truetype udev udisks unicode upower usb vaapi vhosts vim-syntax vnc vorbis wifi wmf wxwidgets x264 xcb xcomposite xft xine xinerama xml xmpp xosd xpm xscreensaver xsl xv xvid zlib zsh-completion" ABI_X86="64" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_default authn_file authz_core 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_connect proxy_http rewrite setenvif so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="intel i965 vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-java/tomcat-servlet-api-7.0.56 was built with the following:
USE="-source" ABI_X86="64"

# emerge -pqv '=dev-java/tomcat-servlet-api-7.0.56::gentoo'
[ebuild   R   ] dev-java/tomcat-servlet-api-7.0.56  USE="-source"
Comment 2 Ole Langbehn 2015-02-02 01:02:37 UTC
changing vms does not change the result:

# eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-6 
  [2]   icedtea-7  system-vm
  [3]   oracle-jdk-bin-1.7 
  [4]   oracle-jdk-bin-1.8 

# eselect java-vm set system 3
# emerge -1 =swt-3.7.2
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-java/swt-3.7.2::gentoo
>>> Failed to emerge dev-java/swt-3.7.2, Log file:
...