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 Buildfile: /builddir/build/BUILD/389-admin-console-1.1.7/build.xml prepare_build: [mkdir] Created dir: /builddir/build/BUILD/389-admin-console-1.1.7/built/classes import_console: build: [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] ^ [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): 389-admin-console-1.1.7-2.fc15 Additional info: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=215991
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: com/netscape/management/client/security/CipherPreferenceDialog.class 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.
(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 > /usr/share/java/idm-console-mcc-1.7.7.jar: > > com/netscape/management/client/security/CipherPreferenceDialog.class > > 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: http://pkgs.fedoraproject.org/gitweb/?p=389-admin-console.git;a=blob;f=389-admin-console.spec;h=d901a1fb144c783c8d16fc9c1a8fb82691f68158;hb=refs/heads/f15 BuildRequires: idm-console-framework 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.