Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 553394 - app-misc/freemind-1.0.1-r1 !!! ERROR: Package fop was not found!
Summary: app-misc/freemind-1.0.1-r1 !!! ERROR: Package fop was not found!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-27 06:32 UTC by tman
Modified: 2015-07-23 16:31 UTC (History)
2 users (show)

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 tman 2015-06-27 06:32:43 UTC
removed ‘/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/plugins/collaboration/database/hsqldb.jar’
removed ‘/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/plugins/latex/HotEqn.jar’
removed ‘/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/plugins/map/JMapViewer.jar’
removed ‘/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/plugins/map/JMapViewer_src.jar’
removed ‘/var/tmp/portage/app-misc/freemind-1.0.1-r1/work/freemind/plugins/script/groovy-all-1.5.6.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 3962:  Called java-pkg-2_src_compile
 *   environment, line 1864:  Called eant 'dist' '-f' 'build.xml'
 *   environment, line  648:  Called java-pkg_getjars 'batik-1.8,fop'
 *   environment, line 2574:  Called die
 * The specific snippet of code:
 *       [[ $? != 0 ]] && die "java-config --classpath=${pkgs} failed";
 * 

 ~ $ eix fop -I
[I] dev-java/fop
     Available versions:  
     (0)    0.95^t (~)1.1^t
     (2)    (~)2.0^t
       {doc examples hyphenation jai jimi source test ELIBC="FreeBSD"}
     Installed versions:  2.0(2)^t(08:27:15 27.06.2015)(-doc -examples -hyphenation -jai -source -test ELIBC="-FreeBSD")
     Homepage:            http://xmlgraphics.apache.org/fop/
     Description:         Formatting Objects Processor is a print formatter driven by XSL



Reproducible: Always




!!! Repository 'bitcoin' has sync-uri attribute, but is missing sync-type attribute
Portage 2.2.20 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.2, glibc-2.20-r2, 4.1.0-gentoo x86_64)
=================================================================
System uname: Linux-4.1.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24625932 total,  21031116 free
KiB Swap:   25461756 total,  25461756 free
Timestamp of repository gentoo: Sat, 27 Jun 2015 06:00:02 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /mnt/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

lokal
    location: /mnt/portage/local/local-overlay
    masters: gentoo
    priority: 0

bitcoin
    location: /mnt/portage/local/layman/bitcoin
    sync-uri: https://gitlab.com/bitcoin/gentoo.git
    masters: gentoo
    priority: 50

brother-overlay
    location: /mnt/portage/local/layman/brother-overlay
    masters: gentoo
    priority: 50

bumblebee
    location: /mnt/portage/local/layman/bumblebee
    masters: gentoo
    priority: 50

dotnet
    location: /mnt/portage/local/layman/dotnet
    masters: gentoo
    priority: 50

dr
    location: /mnt/portage/local/layman/dr
    masters: gentoo
    priority: 50

media-overlay
    location: /mnt/portage/local/layman/media-overlay
    masters: gentoo
    priority: 50

steam-overlay
    location: /mnt/portage/local/layman/steam-overlay
    masters: gentoo
    priority: 50

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/lib64/libreoffice/program/sofficerc /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.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=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="/"
Comment 1 Kai Wüstermann 2015-06-28 09:48:11 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'
Comment 2 Nico Baggus 2015-06-28 22:17:42 UTC
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).
Comment 3 Nico Baggus 2015-06-28 22:23:06 UTC
currently fop-0.95 is not available anymore.
Comment 4 Nico Baggus 2015-06-28 22:23:51 UTC
It is not sufficient to symlink fop-2 to fop
Comment 5 Patrice Clement gentoo-dev 2015-06-29 08:01:27 UTC
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.
Comment 6 Nico Baggus 2015-06-29 22:44:47 UTC
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"
 *
Comment 7 Patrice Clement gentoo-dev 2015-06-30 07:54:54 UTC
It's a different issue. See bug 518976. Try compiling with jdk-1.7 instead of 1.8 and it should go through.
Comment 8 Nico Baggus 2015-07-01 08:13:11 UTC
after selecting 1.7 it worked.