Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87751 - jabref-1.7 fails to compile
Summary: jabref-1.7 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-03 01:51 UTC by Sebastian Spaeth
Modified: 2005-04-03 03:12 UTC (History)
0 users

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 Sebastian Spaeth 2005-04-03 01:51:50 UTC
[javac] /var/tmp/portage/jabref-1.7/work/jabref-1.7/src/java/net/sf/jabref/ExternalTab.java:9: package com.jgoodies.forms.layout does not exist
    [javac] import com.jgoodies.forms.layout.*;
    [javac] ^
    [javac] 

Subsequently A LOT of could not resolve symbols, all related to Forms...
e.g.
/var/tmp/portage/jabref-1.7/work/jabref-1.7/src/java/net/sf/jabref/groups/GroupDialog.java:224: cannot resolve symbol
    [javac] symbol  : class DefaultFormBuilder
    [javac] location: class net.sf.jabref.groups.GroupDialog
    [javac]         builder = new DefaultFormBuilder(layout);
    [javac]                           ^
    [javac] 54 errors

BUILD FAILED
/var/tmp/portage/jabref-1.7/work/jabref-1.7/build.xml:88: Compile failed; see the compiler error output for details.

jgoodies-forms-1.0.5 is installed on the machine. I had the problem on both an x86 and an amd64 box and have not yet succeeded in compiling it.
Both machines have blackdown-java 1.4.2-r2 installed

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sebastian Spaeth 2005-04-03 03:04:17 UTC
The problem is of course that the classpath is not set to find jgoodies-forms. If I use the classpath as defined in /usr/share/jgoodies-forms/package.env it does not complain. Does something need to be moved to /etc/env.d?   

However, when setting the correct classpath it fails when preparing the compilation:

   [unjar] Expanding: /var/tmp/portage/jabref-1.7/work/jabref-1.7/lib/forms.jar into /var/tmp/portage/jabref-1.7/work/jabref-1.7/build/tmp

BUILD FAILED
/var/tmp/portage/jabref-1.7/work/jabref-1.7/build.xml:231: Error while expanding /var/tmp/portage/jabref-1.7/work/jabref-1.7/lib/forms.jar

Comment 2 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-03 03:12:16 UTC
fixed in cvs