Red Hat Bugzilla – Bug 704359
389-admin-console-1.1.7-2.fc15 cannot be rebuilt on F-15
Last modified: 2012-01-09 10:53:36 EST
Description of problem:
The build aborts with an unknown symbol error:
+ ant -Dconsole.location=/usr/share/java -Dbuilt.dir=/builddir/build/BUILD/389-admin-console-1.1.7/built
[mkdir] Created dir: /builddir/build/BUILD/389-admin-console-1.1.7/built/classes
[javac] /builddir/build/BUILD/389-admin-console-1.1.7/build.xml:102: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 63 source files to /builddir/build/BUILD/389-admin-console-1.1.7/built/classes
[javac] /builddir/build/BUILD/389-admin-console-1.1.7/src/com/netscape/management/admserv/panel/TurnOnSSL.java:178: cannot find symbol
[javac] symbol : constructor CipherPreferenceDialog(<nulltype>,boolean,boolean,boolean,boolean,boolean,boolean)
[javac] location: class com.netscape.management.client.security.CipherPreferenceDialog
[javac] CipherPreferenceDialog cipherPref = new CipherPreferenceDialog(null, true, true, true, domestic, false, true);
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
If there was a API change somewhere, the N-V-Rs of the offending buildrequirements need to be adjusted.
Version-Release number of selected component (if applicable):
You have to install idm-console-framework first. The last contains compiled class CipherPreferenceDialog.class (CipherPreferenceDialog is defined there) in /usr/share/java/idm-console-mcc-1.7.7.jar:
This problem has been corrected in official Fedora package release (Fedora 15) by adding the correct BuildRequires declaration in the spec file:
Because Google often points to this page I think it's good idea to add an answer as comment.
(In reply to comment #1)
> You have to install idm-console-framework first. The last contains compiled
> class CipherPreferenceDialog.class (CipherPreferenceDialog is defined there) in
> This problem has been corrected in official Fedora package release (Fedora 15)
> by adding the correct BuildRequires declaration in the spec file:
> BiuldRequires: idm-console-framework
> Because Google often points to this page I think it's good idea to add an
> answer as comment.
I don't think that's it. 389-admin-console.spec has always (afaik) had this:
I think the build problem was a transient problem caused by a change in the CipherPreferenceDialog API. The version of idm-console-framework available for builds had not yet been updated to use the new API.