Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518976 - app-misc/freemind-1.0.1 fails w/ >=dev-java/jibx-1.2.6: .../work/freemind/build.xml:99: JiBXException in JiBX binding compilation
Summary: app-misc/freemind-1.0.1 fails w/ >=dev-java/jibx-1.2.6: .../work/freemind/bui...
Status: RESOLVED FIXED
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-08-03 20:50 UTC by tman
Modified: 2017-07-07 23:45 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/app-misc/freemind-1.0.1/temp/build.log (build.log,12.06 KB, text/plain)
2014-08-03 20:51 UTC, tman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2014-08-03 20:50:41 UTC
emoved ‘/var/tmp/portage/app-misc/freemind-1.0.1/work/freemind/plugins/script/groovy-all-1.5.6.jar’
cElementTree rewriter
 * Using following ANT_TASKS:  jibx
     [echo] FreeMind Version = 1.0.1, build 6.
     [echo] Checking for duplicate Resource strings
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.4
    [javac] warning: [options] source value 1.4 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.4 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] 4 warnings
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.4
    [javac] warning: [options] source value 1.4 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.4 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] 4 warnings
     [echo] Running binding compiler...
     [bind] Failed setting classpath from Ant task
     [bind] java.lang.IllegalStateException: Internal error: instance signatures not found for class java.lang.String
     [bind]     at org.jibx.binding.model.ClassWrapper.getInstanceSigs(Unknown Source)
     [bind]     at org.jibx.binding.model.ClassUtils.getSignatureVariants(Unknown Source)
     [bind]     at org.jibx.binding.model.StringAttributes.prevalidate(Unknown Source)
     [bind]     at org.jibx.binding.model.FormatElement.prevalidate(Unknown Source)
     [bind]     at org.jibx.binding.model.ValidationContext$PrevalidationVisitor.visit(Unknown Source)
     [bind]     at org.jibx.binding.model.ModelVisitor.visit(Unknown Source)
     [bind]     at org.jibx.binding.model.TreeContext.tourTree(Unknown Source)
     [bind]     at org.jibx.binding.model.TreeContext.tourTree(Unknown Source)
     [bind]     at org.jibx.binding.model.TreeContext.tourTree(Unknown Source)
     [bind]     at org.jibx.binding.model.ValidationContext.prevalidate(Unknown Source)
     [bind]     at org.jibx.binding.model.BindingElement.runValidation(Unknown Source)
     [bind]     at org.jibx.binding.model.BindingElement.validateBinding(Unknown Source)
     [bind]     at org.jibx.binding.Utility.validateBinding(Unknown Source)
     [bind]     at org.jibx.binding.Utility.loadBinding(Unknown Source)
     [bind]     at org.jibx.binding.Utility.loadFileBinding(Unknown Source)
     [bind]     at org.jibx.binding.Compile.compile(Unknown Source)
     [bind]     at org.jibx.binding.ant.CompileTask.execute(Unknown Source)
     [bind]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
     [bind]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [bind]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [bind]     at java.lang.reflect.Method.invoke(Method.java:483)
     [bind]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [bind]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [bind]     at org.apache.tools.ant.Target.execute(Target.java:435)
     [bind]     at org.apache.tools.ant.Target.performTasks(Target.java:456)
     [bind]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
     [bind]     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
     [bind]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [bind]     at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
     [bind]     at org.apache.tools.ant.Main.runBuild(Main.java:851)
     [bind]     at org.apache.tools.ant.Main.startAnt(Main.java:235)
     [bind]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
     [bind]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
     [bind] Error running binding compiler
     [bind] org.jibx.runtime.JiBXException: Binding binding.xml is unusable because of validation errors
     [bind]     at org.jibx.binding.Utility.loadBinding(Unknown Source)
     [bind]     at org.jibx.binding.Utility.loadFileBinding(Unknown Source)
     [bind]     at org.jibx.binding.Compile.compile(Unknown Source)
     [bind]     at org.jibx.binding.ant.CompileTask.execute(Unknown Source)
     [bind]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
     [bind]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [bind]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [bind]     at java.lang.reflect.Method.invoke(Method.java:483)
     [bind]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [bind]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [bind]     at org.apache.tools.ant.Target.execute(Target.java:435)
     [bind]     at org.apache.tools.ant.Target.performTasks(Target.java:456)
     [bind]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
     [bind]     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
     [bind]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [bind]     at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
     [bind]     at org.apache.tools.ant.Main.runBuild(Main.java:851)
     [bind]     at org.apache.tools.ant.Main.startAnt(Main.java:235)


Reproducible: Always




Portage 2.2.11 (python 3.4.1-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.3, glibc-2.19-r1, 3.15.8-gentoo x86_64)
=================================================================
System uname: Linux-3.15.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24627216 total,  21435152 free
KiB Swap:   25461756 total,  25461756 free
Timestamp of tree: Sun, 03 Aug 2014 20:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.15 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo bitcoin steam-overlay bumblebee printer-drivers lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/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=corei7 -O2 -pipe"
DISTDIR="/mnt/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/mnt/portage/packages"
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="/mnt/portage"

##################


java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
Comment 1 tman 2014-08-03 20:51:14 UTC
Created attachment 382174 [details]
/var/tmp/portage/app-misc/freemind-1.0.1/temp/build.log
Comment 2 tman 2015-01-20 13:31:08 UTC
solution insight? 

its since 9/2014 reported.

thanks alot
Comment 3 Remy Blank 2015-06-28 09:31:05 UTC
Same issue here. My system VM is normally oracle-jdk-bin-1.8. Switching it temporarily to icedtea-bin-7 allows emerging freemind to succeed.

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

# emerge --info
Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.8.4, glibc-2.20-r2, 3.18.7-gentoo x86_64)
=================================================================
System uname: Linux-3.18.7-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.2
KiB Mem:     8211780 total,   1532992 free
KiB Swap:    4202236 total,   4186664 free
Timestamp of repository gentoo: Sun, 28 Jun 2015 01:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.16.4::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://morpheus.sec.r-space.ch/gentoo-portage
    priority: -1000

c-space
    location: /var/lib/layman/c-space
    masters: gentoo
    priority: 0

r-space
    location: /var/lib/layman/r-space
    masters: gentoo
    priority: 1

crossdev
    location: /usr/local/portage
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://morpheus.sec.r-space.ch/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
USE="X a52 aac acl acpi akode alsa amd64 audiofile avahi bash-completion bazaar berkdb bluetooth btrfs bzip2 cairo caps cdb cdda cddb cdparanoia cdr cli consolekit cracklib crypt cryptsetup css cups curl cvs cxx dbus declarative device-mapper dga divx4linux djvu dri dv dvb dvd dvdread dvi encode exif expat fam ffmpeg firefox firmware flac fontconfig fortran ftp fuse gd gdbm gif gimp git glamor gmp gpg gstreamer gtk gtk2 guile iconv icu id3 idn ieee1394 imagemagick imap imlib ipv6 java java5 java6 jbig jikes joystick jpeg jpeg2k junit jython kde kdehiddenvisibility keymap lame latex lcms logrotate lua lzma lzo mad maildir mbox mercurial mikmod mmap mmx mmx2 mmxext mng modules motif mp3 mp4 mpeg mplayer multilib ncurses netlink nfs nls nntp nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp openssl openvg opus oss pam pcmcia pcre pda pdf perl plotutils png policykit pthreads python qt qt3support qt4 quicktime rdesktop readline real rle rtc samba sasl scanner sdl semantic-desktop session slang smp snmp speex spell sqlite sqlite3 sse sse2 sse3 ssl ssse3 static-libs subversion svg tcl tcltk tcpd tetex theora threads tiff tk truetype udev unicode usb utempter v4l v4l2 vaapi vcd vim-syntax vnc vorbis vpx webkit webp wifi win32codecs wmf wxwidgets wxwindows x264 xattr xcomposite xine xinerama xml xmp xosd xscreensaver xulrunner xv xvid xvmc zeroconf zlib" 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_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi 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" APACHE2_MPMS="prefork" 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="mmx mmxext sse sse2 sse3 sse4_1 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" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev intel 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 3.4"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Patrice Clement gentoo-dev 2015-06-28 09:53:54 UTC
I'm hitting the same problem too when switching to jdk-1.8. HOWEVER, here (Gentoo bugzilla) isn't the best place to ask for help. Maybe if someone filed a bug upstream, we'd have more chances to get this problem fixed.
Comment 5 Robert G. Siebeck 2015-10-24 11:25:36 UTC
Same problem here when using oracle-jdk-bin-1.8.

Workaround: switch to another JDK, e.g. by selecting icedtea-bin-6 with eselect java-vm before emerging freemind.
Comment 6 Thomas Capricelli 2016-05-23 10:15:49 UTC
same problem here, my system vm is "icedtea-bin-7". Fails as well with oracle-jdk-bin-1.7 and oracle-jdk-bin-1.8. It doesn't seem changing the VM helps in my case.
Comment 7 Joan Ibanez 2016-12-09 06:34:47 UTC
Hi, I hit the same problem.
I was able to emerge Freemind masking =dev-java/jibx-1.2.6 and using dev-java/jibx-1.1.5-r2 instead.
Hope this helps, cheers.
Comment 8 Michael Weber (RETIRED) gentoo-dev 2017-01-23 09:12:27 UTC
(In reply to Joan Ibanez from comment #7)
> I was able to emerge Freemind masking =dev-java/jibx-1.2.6 and using
> dev-java/jibx-1.1.5-r2 instead.
I can confirm this fix.
Comment 9 Francisco Ares 2017-04-12 16:50:57 UTC
(In reply to Michael Weber from comment #8)
> (In reply to Joan Ibanez from comment #7)
> > I was able to emerge Freemind masking =dev-java/jibx-1.2.6 and using
> > dev-java/jibx-1.1.5-r2 instead.
> I can confirm this fix.

Me too, using dev-java/jibx-1.1.5-r1 it works.
Comment 10 giskard 2017-05-01 12:00:34 UTC
me too! before the build failed, my pre-installed freemind also failed to open, after switch to dev-java/jibx-1.1.5-r1, freemind come back to life and it build well.
Comment 11 Patrice Clement gentoo-dev 2017-05-02 13:41:36 UTC
Hi dear users

There's a bug with jibx and this package that I haven't got round to looking into yet. I will though as soon as possible.

Cheers
Comment 12 Patrice Clement gentoo-dev 2017-07-07 16:20:18 UTC
This has been dealt with in https://github.com/gentoo/gentoo/pull/5064. Feel free to reopen if you still encounter the issue.
Comment 13 tt_1 2017-07-07 16:57:08 UTC
Well, the use of slots works around the problem that freemind pulls in the latest jibx-1.2.6 , which leads to a compile failure. But this does not solve or patch the underlaying issue, which is that freemind cannot be linked/compiled against jibx-1.2.6. If this is not a hard dependency intended by upstream for whatever reason, please reopen till properly solved.
Comment 14 Patrice Clement gentoo-dev 2017-07-07 23:45:16 UTC
(In reply to tt_1 from comment #13)
> Well, the use of slots works around the problem that freemind pulls in the
> latest jibx-1.2.6 , which leads to a compile failure. But this does not
> solve or patch the underlaying issue, which is that freemind cannot be
> linked/compiled against jibx-1.2.6. If this is not a hard dependency
> intended by upstream for whatever reason, please reopen till properly solved.

I agree with everything you've written except the fact we should reopen this bug because freemind doesn't compile against jibx-1.2.6. There's not much we can do about the failure except adding a slot to jibx to get it to compile against a working version. We haven't got in touch with upstream so far about this issue. As far as I'm concerned, I won't because I don't have a vested interest in freemind. But please, be me guest and go ahead.