From owner-freebsd-java@FreeBSD.ORG Sun Dec 30 10:50:46 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1463616A418 for ; Sun, 30 Dec 2007 10:50:46 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from tydfam.jp (ns.tydfam.jp [61.197.228.42]) by mx1.freebsd.org (Postfix) with ESMTP id AB1C713C448 for ; Sun, 30 Dec 2007 10:50:45 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from localhost (tyd3.sub.tydfam.jp [192.168.1.3]) by tydfam.jp (8.14.2/8.14.2) with ESMTP id lBUAFHYi052696 for ; Sun, 30 Dec 2007 19:15:18 +0900 (JST) (envelope-from ken@tydfam.jp) Date: Sun, 30 Dec 2007 19:15:17 +0900 (JST) Message-Id: <20071230.191517.13775668.ken@tydfam.jp> To: freebsd-java@freebsd.org From: ken X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5288/Sun Dec 30 08:26:55 2007 on daemon.sub.tydfam.jp X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=8.0 tests=ALL_TRUSTED autolearn=failed version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on daemon.sub.tydfam.jp Subject: glassfish compilation on -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2007 10:50:46 -0000 Hi! I tried to compile glassfish following Homer Yau's instruction(http://blogs.sun.com/hyau/entry/glassfish_on_freebsd_too) on FreeBSD-current(FreeBSD 8.0-CURRENT #15: Sun Dec 30 00:15:00 JST 2007 i386, jdk1.5.0_13-p7, maven 1.0.2, ant 1.7.0), and having the following errors. Am I mssing something? Does anyone succeed to compile under -current? # maven checkout # maven bootstrap-all # maven build : : : [java] Buildfile: /home/users/root/workspace/glassfish/bootstrap/../../glassfish/bootstrap/../../glassfish/jacc-api/build.xml [java] [java] init: [java] [echo] Building component jacc-api [java] [java] compile: [java] [java] assemble: [java] [java] all: [java] [java] BUILD SUCCESSFUL [java] Total time: 1 second invoke-ant: [delete] Deleting: /home/users/root/workspace/glassfish/bootstrap/common-util.log [java] Buildfile: /home/users/root/workspace/glassfish/bootstrap/../../glassfish/bootstrap/../../glassfish/common-util/build.xml [java] [java] compile-init: [java] [echo] Building component common-util [java] [java] compile: [java] [echo] src/java [java] [javac] Compiling 54 source files to /home/users/root/workspace/glassfish/common-util/build [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/jar/JarHandler.java:3: package org.jvnet.hk2.annotations does not exist [java] [javac] import org.jvnet.hk2.annotations.Service; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/jar/JarHandler.java:4: package org.jvnet.glassfish.api.deployment.archive does not exist [java] [javac] import org.jvnet.glassfish.api.deployment.archive.ArchiveHandler; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/jar/JarHandler.java:5: package org.jvnet.glassfish.api.deployment.archive does not exist [java] [javac] import org.jvnet.glassfish.api.deployment.archive.ReadableArchive; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/AbstractArchiveHandler.java:3: package org.jvnet.glassfish.api.deployment.archive does not exist [java] [javac] import org.jvnet.glassfish.api.deployment.archive.ReadableArchive; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/AbstractArchiveHandler.java:4: package org.jvnet.glassfish.api.deployment.archive does not exist [java] [javac] import org.jvnet.glassfish.api.deployment.archive.WritableArchive; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/jar/JarHandler.java:20: cannot find symbol [java] [javac] symbol: class ArchiveHandler [java] [javac] public class JarHandler extends AbstractArchiveHandler implements ArchiveHandler { [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/jar/JarHandler.java:25: cannot find symbol [java] [javac] symbol : class ReadableArchive [java] [javac] location: class com.sun.enterprise.deploy.jar.JarHandler [java] [javac] public boolean handles(ReadableArchive archive) { [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/jar/JarHandler.java:39: cannot find symbol [java] [javac] symbol : class ReadableArchive [java] [javac] location: class com.sun.enterprise.deploy.jar.JarHandler [java] [javac] public ClassLoader getClassLoader(ClassLoader parent, ReadableArchive archive) { [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/AbstractArchiveHandler.java:29: cannot find symbol [java] [javac] symbol : class ReadableArchive [java] [javac] location: class com.sun.enterprise.deploy.shared.AbstractArchiveHandler [java] [javac] public void expand(ReadableArchive source, WritableArchive target) throws IOException { [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/AbstractArchiveHandler.java:29: cannot find symbol [java] [javac] symbol : class WritableArchive [java] [javac] location: class com.sun.enterprise.deploy.shared.AbstractArchiveHandler [java] [javac] public void expand(ReadableArchive source, WritableArchive target) throws IOException { [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:27: package org.jvnet.glassfish.api does not exist [java] [javac] import org.jvnet.glassfish.api.ContractProvider; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:28: package org.jvnet.glassfish.api.deployment.archive does not exist [java] [javac] import org.jvnet.glassfish.api.deployment.archive.ReadableArchive; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:29: package org.jvnet.glassfish.api.deployment.archive does not exist [java] [javac] import org.jvnet.glassfish.api.deployment.archive.WritableArchive; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:30: package org.jvnet.hk2.annotations does not exist [java] [javac] import org.jvnet.hk2.annotations.Inject; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:31: package org.jvnet.hk2.annotations does not exist [java] [javac] import org.jvnet.hk2.annotations.Scoped; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:32: package org.jvnet.hk2.annotations does not exist [java] [javac] import org.jvnet.hk2.annotations.Service; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:33: package org.jvnet.hk2.component does not exist [java] [javac] import org.jvnet.hk2.component.ComponentException; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:34: package org.jvnet.hk2.component does not exist [java] [javac] import org.jvnet.hk2.component.Habitat; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:35: package org.jvnet.hk2.component does not exist [java] [javac] import org.jvnet.hk2.component.Singleton; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:53: cannot find symbol [java] [javac] symbol: class ContractProvider [java] [javac] public class ArchiveFactory implements ContractProvider { [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:56: cannot find symbol [java] [javac] symbol : class Habitat [java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory [java] [javac] Habitat habitat; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:60: cannot find symbol [java] [javac] symbol : class WritableArchive [java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory [java] [javac] public WritableArchive createArchive(File path) throws java.io.IOException { [java] [java] [javac] ^ [java] BUILD FAILED [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:72: cannot find symbol [java] [javac] symbol : class ReadableArchive [java] /home/users/root/workspace/glassfish/common-util/build.xml:74: Compile failed; see the compiler error output for details. [java] [java] Total time: 4 seconds [java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory [java] [javac] public ReadableArchive openArchive(File path) throws java.io.IOException { [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:86: cannot find symbol [java] [javac] symbol : class WritableArchive [java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory [java] [javac] public WritableArchive createArchive(URI path) throws IOException { [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:111: cannot find symbol [java] [javac] symbol : class ReadableArchive [java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory [java] [javac] public ReadableArchive openArchive(URI path) throws IOException { [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:27: package org.jvnet.glassfish.api.deployment.archive does not exist [java] [javac] import org.jvnet.glassfish.api.deployment.archive.ReadableArchive; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:28: package org.jvnet.glassfish.api.deployment.archive does not exist [java] [javac] import org.jvnet.glassfish.api.deployment.archive.WritableArchive; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:29: package org.jvnet.hk2.annotations does not exist [java] [javac] import org.jvnet.hk2.annotations.Inject; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:30: package org.jvnet.hk2.annotations does not exist [java] [javac] import org.jvnet.hk2.annotations.Service; [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:48: cannot find symbol [java] [javac] symbol: class ReadableArchive [java] [javac] public class FileArchive implements ReadableArchive, WritableArchive { [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:48: cannot find symbol [java] [javac] symbol: class WritableArchive [java] [javac] public class FileArchive implements ReadableArchive, WritableArchive { [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:103: cannot find symbol [java] [javac] symbol : class WritableArchive [java] [javac] location: class com.sun.enterprise.deploy.shared.FileArchive [java] [javac] public void closeEntry(WritableArchive subArchive) throws IOException { [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:183: cannot find symbol [java] [javac] symbol : class ReadableArchive [java] [javac] location: class com.sun.enterprise.deploy.shared.FileArchive [java] [javac] public ReadableArchive getSubArchive(String name) throws IOException { [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:196: cannot find symbol [java] [javac] symbol : class WritableArchive [java] [javac] location: class com.sun.enterprise.deploy.shared.FileArchive [java] [javac] public WritableArchive createSubArchive(String name) throws IOException { [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/jar/JarHandler.java:19: cannot find symbol [java] [javac] symbol: class Service [java] [javac] @Service [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:51: cannot find symbol [java] [javac] symbol: class Service [java] [javac] @Service [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:52: cannot find symbol [java] [javac] symbol: class Scoped [java] [javac] @Scoped(Singleton.class) [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:55: cannot find symbol [java] [javac] symbol : class Inject [java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory [java] [javac] @Inject [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:47: cannot find symbol [java] [javac] symbol: class Service [java] [javac] @Service(name="file") [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:50: cannot find symbol [java] [javac] symbol : class Inject [java] [javac] location: class com.sun.enterprise.deploy.shared.FileArchive [java] [javac] @Inject [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:90: cannot find symbol [java] [javac] symbol : class WritableArchive [java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory [java] [javac] WritableArchive archive = habitat.getComponent(WritableArchive.class, protocol); [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:90: cannot find symbol [java] [javac] symbol : class WritableArchive [java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory [java] [javac] WritableArchive archive = habitat.getComponent(WritableArchive.class, protocol); [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:98: cannot find symbol [java] [javac] symbol : class ComponentException [java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory [java] [javac] } catch (ComponentException e) { [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:115: cannot find symbol [java] [javac] symbol : class ReadableArchive [java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory [java] [javac] ReadableArchive archive = habitat.getComponent(ReadableArchive.class, protocol); [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:115: cannot find symbol [java] [javac] symbol : class ReadableArchive [java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory [java] [javac] ReadableArchive archive = habitat.getComponent(ReadableArchive.class, protocol); [java] [javac] ^ [java] [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:122: cannot find symbol [java] [javac] symbol : class ComponentException [java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory [java] [javac] } catch (ComponentException e) { [java] [javac] ^ [java] [javac] Note: Some input files use unchecked or unsafe operations. [java] [javac] Note: Recompile with -Xlint:unchecked for details. [java] [javac] 46 errors [java] [ERROR] Java Result: 1 BUILD FAILED File...... /home/users/root/workspace/glassfish/bootstrap/maven.xml Element... maven:reactor Line...... 264 Column.... 40 Unable to obtain goal [build-pe] -- /home/users/root/workspace/glassfish/bootstrap/../../glassfish/bootstrap/maven.xml:642:28: No message Total time: 34 seconds Finished at: Sun Dec 30 18:55:02 JST 2007