Summary: | app-misc/freemind-1.0.1-r1 !!! ERROR: Package fop was not found! | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tman <cornicx> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mlspamcb, t-mo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
tman
2015-06-27 06:32:43 UTC
I can confirm this bug for app-misc/freemind-1.0.1-r1. It appeared when deinstalled dev-java/fop-0.95 by emerge --depclean. Before freemind worked properly. USE="-pdf -svg" emerge -1 app-misc/freemind will success. emerge -1 app-misc/freemind Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-misc/freemind-1.0.1-r1::gentoo >>> Failed to emerge app-misc/freemind-1.0.1-r1, Log file: >>> '/var/tmp/portage/app-misc/freemind-1.0.1-r1/temp/build.log' >>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.88, 0.48, 0.45 * Package: app-misc/freemind-1.0.1-r1 * Repository: gentoo * Maintainer: java@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux latex pdf svg userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Using: icedtea-bin-7 >>> Unpacking source... >>> Unpacking freemind-src-1.0.1.tar.gz to /var/tmp/portage/app-misc/freemind-1.0.1-r1/work >>> Source unpacked in /var/tmp/portage/app-misc/freemind-1.0.1-r1/work >>> Preparing source in /var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind ... removed ‘/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/lib/SimplyHTML/SimplyHTML.jar’ removed ‘/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/lib/SimplyHTML/gnu-regexp-1.1.4.jar’ ..... removed ‘/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/plugins/collaboration/jabber/muse.jar’ removed ‘/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/plugins/collaboration/jabber/jaxp-1.1.jar’ >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind ... cElementTree rewriter >>> Source configured. >>> Compiling source in /var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind ... * Using following ANT_TASKS: jibx !!! ERROR: Package fop was not found! * ERROR: app-misc/freemind-1.0.1-r1::gentoo failed (compile phase): * java-config --classpath=batik-1.8,fop failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3944: Called java-pkg-2_src_compile * environment, line 1846: Called eant 'dist' '-f' 'build.xml' * environment, line 630: Called java-pkg_getjars 'batik-1.8,fop' * environment, line 2556: Called die * The specific snippet of code: * [[ $? != 0 ]] && die "java-config --classpath=${pkgs} failed"; * * If you need support, post the output of `emerge --info '=app-misc/freemind-1.0.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/freemind-1.0.1-r1::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea-bin-7 CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-7.2.5.5" JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="javac" and of course, the output of emerge --info =freemind-1.0.1 * The complete build log is located at '/var/tmp/portage/app-misc/freemind-1.0.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/freemind-1.0.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind' * S: '/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind' * Messages for package app-misc/freemind-1.0.1-r1: * ERROR: app-misc/freemind-1.0.1-r1::gentoo failed (compile phase): * java-config --classpath=batik-1.8,fop failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3944: Called java-pkg-2_src_compile * environment, line 1846: Called eant 'dist' '-f' 'build.xml' * environment, line 630: Called java-pkg_getjars 'batik-1.8,fop' * environment, line 2556: Called die * The specific snippet of code: * [[ $? != 0 ]] && die "java-config --classpath=${pkgs} failed"; * * If you need support, post the output of `emerge --info '=app-misc/freemind-1.0.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/freemind-1.0.1-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-misc/freemind-1.0.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/freemind-1.0.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind' * S: '/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind' I have the same. It happened to build on a system that had BOTH fop-0.95 and fop-2.0 installed. (not sure why both packages were there). currently fop-0.95 is not available anymore. It is not sufficient to symlink fop-2 to fop Index: freemind-1.0.1-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-misc/freemind/freemind-1.0.1-r1.ebuild,v retrieving revision 1.3 diff -u -B -r1.3 freemind-1.0.1-r1.ebuild --- freemind-1.0.1-r1.ebuild 27 Jun 2015 17:53:31 -0000 1.3 +++ freemind-1.0.1-r1.ebuild 29 Jun 2015 07:42:00 -0000 @@ -72,7 +72,7 @@ src_compile() { local svg_deps svg_build_deps if use pdf || use svg; then - svg_deps="batik-1.8,fop" + svg_deps="batik-1.8,fop-2" svg_build_deps=":$(java-pkg_getjars --build-only avalon-framework-4.2)" fi EANT_GENTOO_CLASSPATH=" + 29 Jun 2015; Patrice Clement <monsieurp@gentoo.org> freemind-1.0.1-r1.ebuild: + Correct classpath by adjusting fop SLOT. Fix bug 553394. + This ebuild is really messy and I didn't catch the error the 1st time. It could do with a clean up and a complete rewrite but I don't have time right now. Please give it another try and let me know if it still doesn't work. The build still fails. removed â/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/lib/xml-apis.jarâ removed â/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/lib/junit.jarâ removed â/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/lib/forms-1.0.5-src.zipâ removed â/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/lib/xalan.jarâ removed â/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/lib/serializer.jarâ removed â/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/lib/xercesImpl.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.6 [javac] Note: /var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/de/foltin/CompileXsdStart.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning [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:497) [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:497) [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] BUILD FAILED /var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/build.xml:99: JiBXException in JiBX binding compilation Total time: 4 seconds * ERROR: app-misc/freemind-1.0.1-r1::gentoo failed (compile phase): * eant failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3964: Called java-pkg-2_src_compile * environment, line 1872: Called eant 'dist' '-f' 'build.xml' * environment, line 665: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * It's a different issue. See bug 518976. Try compiling with jdk-1.7 instead of 1.8 and it should go through. after selecting 1.7 it worked. |