sancho refuse to start throwing a strange error : org.eclipse.swt.SWTException: Unsupported or unrecognized format & exit Reproducible: Always Steps to Reproduce: 1.emerge sancho-bin 2.sancho-bin 3. Actual Results: Unhandled Java exception: org.eclipse.swt.SWTException: Unsupported or unrecognized format at org.eclipse.swt.SWT.error(sancho-bin) at org.eclipse.swt.SWT.error(sancho-bin) at org.eclipse.swt.SWT.error(sancho-bin) at org.eclipse.swt.internal.image.FileFormat.load(sancho-bin) at org.eclipse.swt.graphics.ImageLoader.load(sancho-bin) at org.eclipse.swt.graphics.ImageDataLoader.load(sancho-bin) at org.eclipse.swt.graphics.ImageData.<init>(sancho-bin) at org.eclipse.jface.resource.FileImageDescriptor.getImageData(sancho-bin) at org.eclipse.jface.resource.ImageDescriptor.createImage(sancho-bin) at org.eclipse.jface.resource.ImageDescriptor.createResource(sancho-bin) at org.eclipse.jface.resource.DeviceResourceManager.allocate(sancho-bin) at org.eclipse.jface.resource.AbstractResourceManager.create(sancho-bin) at org.eclipse.jface.resource.ResourceManager.createImageWithDefault(sancho-bin) at org.eclipse.jface.resource.ImageRegistry.get(sancho-bin) at org.eclipse.jface.resource.JFaceResources.getImage(sancho-bin) at org.eclipse.jface.dialogs.TitleAreaDialog.createTitleArea(sancho-bin) at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(sancho-bin) at org.eclipse.jface.wizard.WizardDialog.createContents(sancho-bin) at org.eclipse.jface.window.Window.create(sancho-bin) at org.eclipse.jface.dialogs.Dialog.create(sancho-bin) at sancho.core.CoreFactory$2.run(sancho-bin) at org.eclipse.swt.widgets.Synchronizer.syncExec(sancho-bin) at org.eclipse.swt.widgets.Display.syncExec(sancho-bin) at sancho.core.CoreFactory.setupWizard(sancho-bin) at sancho.core.CoreFactory.checkIfInitialized(sancho-bin) at sancho.core.CoreFactory.interactiveConnect(sancho-bin) at sancho.core.Sancho.interactiveLaunch(sancho-bin) at sancho.core.Sancho.main(sancho-bin) Expected Results: start. i tried rm ~/.sancho, same i also tried as root (as /root/.sancho) didn't exist as i never use it root, same emerge --info Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo-r3 i686) ================================================================= System uname: 2.6.20-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 20 Mar 2007 10:00:03 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 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.17 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -msse -mfpmath=sse -mmmx -msse2" 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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -msse -mfpmath=sse -mmmx -msse2" DISTDIR="/mnt/faramir/distfiles" FEATURES="autoconfig distcc distlocks metadata-transfer nodoc sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.mirror.sdv.fr/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LINGUAS="fr fr_FR" MAKEOPTS="-j8" 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="X a52 aac aalib acpi alsa amarok aoss asf audacious berkdb bitmap-fonts branding cdr cli cracklib crypt cups dbase dbus divx dmi dri dvd dvdread exif fbsplash ffmpeg firefox flac fortran ftp gaim gdbm gmedia gnome gpm gstreamer gtk2 hal hddtemp iconv imap ipv6 isdnlog java javascript jpeg jpeg2k lame libcaca libg++ live lm_sensors logrotate lzo lzw maildir matroska midi mjpeg mmx mng mod modplug moznomail moznoxft mp3 mp4 mp4live mpeg mpeg2 mplayer msn musepack ncurses network nfs nls nptl nptlonly nsplugin ntfs nvidia ogg openal opengl pam pcre perl png ppds pppd python readline reflection sdl-image sensord session skins smp spl sse sse2 ssl startup-notification stream subtitles svg tcpd tga theora thunderbird tiff timidity truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vlm vorbis win32codecs wma wmf wxwindows x86 xchattext xcomposite xine xinerama xorg xosd xv xvid zip zlib" ALSA_CARDS="intel8x0" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY (as the error refer to java...) java-config -L The following VMs are available for generation-2: *) Sun JDK 1.6.0 [sun-jdk-1.6] setting severity to minor as it seems i'm the only one affect for now & as i could use the web interface to do the same, it just that sancho was more flexible & friendly than the web interface. If anyone (sancho maintainer) have a clue, i'll be really glad to try it, else just close the bug.
Same problem here. # java-config -L The following VMs are available for generation-2: 1) Sun JDK 1.4.2.13 [sun-jdk-1.4] *) Sun JDK 1.5.0.11 [sun-jdk-1.5] 3) Sun JRE 1.4.2.13 [sun-jre-bin-1.4] 4) Sun JRE 1.5.0.10 [sun-jre-bin-1.5] # emerge --info Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.16-gentoo-r9 i686) ================================================================= System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(TM) XP2400+ Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 06 Apr 2007 15:00:08 +0000 dev-java/java-config: 1.3.7, 2.0.31 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.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.4.19-r1, 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="es" 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="3dnow 3dnowext GAPING_SECURITY_HOLE X a52 aac acl acpi alsa amr aotuv apm aqua_theme asf asm async atm audacious background bash-completion batch bcmath bdf bigpatch bitmap-fonts bittorrent bl bluetooth bonjour buttons bzip2 c++ cacheemu carbone_theme ccache cdda cddb cdio cdparanoia cdrom cg clanVoice cli cracklib crypt cscope css csv cups curlwrappers cvs cvsgraph dbus delays dga doc dri dts dv dvd dvdr dvdread edl effects encode escreen etwin exif expat fame fbcon ffmpeg flac flash foomaticdb fortran fping fpx freetext gd gdbm geoip gif gimp gimpprint gkrellm glade glut glx gnokii gnutls gphoto2 gpm gps gstreamer gtalk gtk gtk2 gtkspell gvim h323 hdf5 hpn http iconv icp idn imagemagick imlib inkjar ipv6 isdnlog jabber java jikes jit john joystick jpeg jpeg2k jumpplay kqemu lame latin1 lcms libdsk libg++ libwww logitech-mouse lzo mad mbrola midi mikmod mips16 mjpeg mmx mmxext mng mod motif mozdevelop mozilla moznoirc mp3 mp4live mpeg mpeg2 mplayer msn msnextras mythtv ncurses net network new-login nextaw nls nptl nsplugin ntlm nvidia offensive ogg openal opengl oss pam pcre pdf perl pge plotutils png ppds pppd python quicktime readline real reflection rtc samba scanner sdk sdl sdlslang seamonkey session slang slp speex spell spl sse ssl svg svga syslog tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vim-with-x vlm vme vorbis win32codecs wxwindows x264 x86 xanim xml xml2 xorg xosd xrandr xv xvid xvmc zlib" ALSA_CARDS="emu10k1" 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="evdev keyboard mouse wacom joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="nvidia v4l vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Sancho doesn't use java. It uses gcj to build, but the package itself is a bin, hence why -bin.
Created attachment 115732 [details] sancho-bin-0.9.4.58-r1.ebuild Ebuild for amd64, ppc and x86 (java-vm and gcj) sancho-bin.
amd64 and ppc need java-vm, so USE="java" must be used for this ARCHs.
Created attachment 115734 [details] sancho-bin-0.9.4.58-r2.ebuild This version checks java USE flag for amd64 and ppc ARCHs.
Created attachment 115744 [details] sancho-bin-0.9.4.58-r3.ebuild Sorry, I forgot $ in ${PN} on pkg_setup function. Ebuild has been tested on x86 and ppc. gcj compiled bin still doesn't work, but now you can choose a java-vm bin and it's avaible for other ARCHs like ppc and amd64. I don't know if java-vm bin for amd64 need emul-linux-x86-baselibs and /emul-linux-x86-gtklibs, if it don't need it lines 44 and 45 should be like this: amd64? ( !java= ( >=app-emulation/emul-linux-x86-baselibs-1.0 >=app-emulation/emul-linux-x86-gtklibs-1.0 ) )
hello? is some one at home?
can't help you on amd64 or ppc, only have x86 arch, but i will try to test your latest ebuild (even i'm pretty sure your fix is not for my arch)
I'm not going to put that ebuild... Anyway, that ebuild doesn't have anything to do with this bug.
Do what ever you want, like always... But compiled version with gcj doesn't work until java version yes. And if you visit the webpage you can find java vm compiled version for other archs, since actually ebuild only let you to install on x86. Thanks you very much for your affection. I won't go on with this, due to your behaviour.
Feel free to open a bug requesting to add that version on the tree. Just don't use this bug, this bug is related to the gcj version failing, it doesn't have anything to do with using a java-based version. That's not a solution to this bug.
ok, here is it if anybody would try it or add more options http://bugs.gentoo.org/show_bug.cgi?id=177519
Hi, same problem here. So, I downloaded "sancho-0.9.4-58-linux-gtk-java.sh" from the webpage and extracted it in a temporary directory with --target option. This file works properly in my environment and uses even the old .sancho preferences. Perhaps this helps, investigating the problem. Timo Meinen timomeinen@gmail.com http://sancho-gui.sourceforge.net/files/13vqnjemzmeu2/sancho-0.9.4-58-linux-gtk-java.sh
Same problem here. The original package (comment #13) works. java-config -L The following VMs are available for generation-2: *) Sun JDK 1.5.0.12 [sun-jdk-1.5] 2) Sun JRE 1.6.0.02 [sun-jre-bin-1.6] emerge --info Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r1 i686) ================================================================= System uname: 2.6.22-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 27 Jul 2007 21:50:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch" GENTOO_MIRRORS="ftp://mirror.ing.unibo.it/gentoo/" LANG="it_IT@euro" LC_ALL="it_IT@euro" LINGUAS="it" MAKEOPTS="-j2" 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.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa bash-completion berkdb bitmap-fonts branding bzip2 cairo cdr cli cracklib crypt cups curl dbus dvd dvdr dvdread eds emboss encode evo exif fbcon firefox flac fortran ftp gd gdbm gif gnome gpm gstreamer gtk hal iconv isdnlog java javascript jpeg kde ladspa libg++ logrotate mad midi mikmod mmx mp3 mpeg mudflap ncurses nfs nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png posix pppd python qt3 qt3support qt4 quicktime readline real reflection samba sdl session sockets spell spl sse sse2 ssl svg syslog tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb vim-syntax vorbis win32codecs wxwindows x86 xml xorg xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Can this bug be closed? Seems like abandoned.
Perhaps... does portage's sancho-bin version works? This one does and lend you switch the binary you want to install (compiled with gcj for x86 or with javac for x86 and ppc). You are right, this bug seems abandoned without fix and anybody matters. Just another perfect work once again!