I replaced the saxon-bin package by saxon-8.4b. When I now run java -jar /usr/share/saxon/lib/saxon8.jar I get the error message Failed to load Main-Class manifest attribute from /usr/share/saxon/lib/saxon8.jar Reproducible: Always Steps to Reproduce: 1. Emerge dev-java/saxon-8.4b 2. java -jar /usr/share/saxon/lib/saxon8.jar 3. Actual Results: Failed to load Main-Class manifest attribute from /usr/share/saxon/lib/saxon8.jar Expected Results: Usage message from Saxon, as the command does not have sufficient arguments. Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.16-gentoo-r9 x86_64) ================================================================= System uname: 2.6.16-gentoo-r9 x86_64 Intel(R) Xeon(TM) CPU 2.80GHz Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 13 Apr 2007 05:00:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.3.5-r3, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 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.16.1-r3 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 apache2 arts berkdb bitmap-fonts bzip2 cairo cdr cli crypt dbus dri dvd dvdr eds emboss encode esd expat fam firefox fortran gdbm gif gnome gstreamer gtk2 hal iconv isdnlog java jpeg kde libg++ mad mhash midi mikmod mp3 mysql ncurses nptl nptlonly ogg opengl oss pam pcre perl php png ppds pppd python qt3 qt4 quicktime readline reflection ruby sdl session spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis xml xorg xv 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Fixed in 8.4b-r3. Thanks for reporting. Now installs /usr/bin/saxon8 and java -jar should work too. Arches please test the wrapper script with all your xslt foo you can through at it so that we can get it stable. This is a regressions over saxon-bin that is currently under package.mask and dev-java/saxon is supposed to be a replacement.
amd64 done
x86 done
ppc: I would like to remove saxon-bin from the tree but before that I would like to get this bug fixed.
(In reply to comment #4) > ppc: I would like to remove saxon-bin from the tree but before that I would > like to get this bug fixed. > mabi stumbled onto needing a generation 1 vm for this because of icu4j so please do bug 176634 first if you want to avoid that.
ppc done. Thanks Caster for the test case: saxon8 samples/data/books.xml samples/styles/books-csv.xsl (need to unpack saxon distfile, the samples are not installed)