Bug 86840

Summary: Error compiling azureus
Product: Ports & Packages Reporter: Joe Kelsey <joe>
Component: Individual Port(s)Assignee: Mario Sergio Fujikawa Ferreira <lioux>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Joe Kelsey 2005-10-02 19:10:16 UTC
	Error compiling azureus.  seda.jar incorrect version.

How-To-Repeat: 
===>  Extracting for azureus-2.3.0.4_1
=> Checksum OK for Azureus_2.3.0.4_source.zip.
===>   azureus-2.3.0.4_1 depends on executable: unzip - found
===>  Patching for azureus-2.3.0.4_1
===>   azureus-2.3.0.4_1 depends on file: /usr/local/share/java/classes/log4j.jar - found
===>   azureus-2.3.0.4_1 depends on file: /usr/local/eclipse/plugins/org.eclipse.swt_3.1.0.jar - found
===>   azureus-2.3.0.4_1 depends on file: /usr/local/eclipse/plugins/org.eclipse.swt.gtk.freebsd.x86_3.1.0.jar - found
===>   azureus-2.3.0.4_1 depends on file: /usr/local/share/java/classes/commons-cli.jar - found
===>   azureus-2.3.0.4_1 depends on file: /usr/local/share/java/classes/seda.jar - found
===>   azureus-2.3.0.4_1 depends on file: /usr/local/jdk1.4.2/bin/java - found
===>   azureus-2.3.0.4_1 depends on file: /usr/local/bin/ant - found
===>  Configuring for azureus-2.3.0.4_1
/usr/bin/sed -e "s+%%PREFIX%%+/usr/local+" -e "s+%%LOCALBASE%%+/usr/local+"  -e "s|%%DATADIR%%|/usr/local/share/azureus|"  -e "s|%%JAVAJARDIR%%|/usr/local/share/java/classes|"  -e "s|%%JAVA%%|/usr/local/bin/java|"  -e "s|%%JAVA_VERSION%%|1.4|"  -e "s|%%JAVA_OS%%|native|"  -e "s|%%JARFILE%%|azureus.jar|"  /usr/ports/net/azureus/files/azureus > /usr/ports/net/azureus/work/azureus
===>  Building for azureus-2.3.0.4_1
Buildfile: build.xml

init:
    [mkdir] Created dir: /usr/ports/net/azureus/work/build

compile:
    [javac] Compiling 1953 source files to /usr/ports/net/azureus/work/build
    [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/web2/UI.java:23: cannot access seda.sandStorm.main.Sandstorm
    [javac] bad class file: /usr/local/share/java/classes/seda.jar(seda/sandStorm/main/Sandstorm.class)
    [javac] class file has wrong version 49.0, should be 48.0
    [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
    [javac] import seda.sandStorm.main.Sandstorm;
    [javac]                            ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 1 error

BUILD FAILED
/usr/ports/net/azureus/work/build.xml:22: Compile failed; see the compiler error output for details.

Total time: 36 seconds
*** Error code 1

Stop in /usr/ports/net/azureus.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall2757.0 make** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! net/azureus   (unknown build error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
zircon#
Comment 1 Marcus Alves Grando freebsd_committer freebsd_triage 2005-10-02 23:33:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lioux

Over to maintainer.
Comment 2 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2005-10-10 04:24:55 UTC
Hi,

	Could you try something?

# pkg_delete 'seda*'
# cd /usr/ports/net/azureus
# make install clean

	Let me if that works. I did not change the port net/seda
but it's working allright for me so I am not sure what might be
happening in your system.

	Regards,

-- 
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
feature, n: a documented bug | bug, n: an undocumented feature
Comment 3 Joe Kelsey 2005-10-10 13:23:46 UTC
On Mon, 2005-10-10 at 00:24 -0300, Mario Sergio Fujikawa Ferreira wrote:
> Hi,
> 
> 	Could you try something?
> 
> # pkg_delete 'seda*'
> # cd /usr/ports/net/azureus
> # make install clean

That works just fine.

Thank you.

> 	Let me if that works. I did not change the port net/seda
> but it's working allright for me so I am not sure what might be
> happening in your system.

Does azureus work with jdk-1.5?

/Joe
Comment 4 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2005-10-10 17:34:58 UTC
> On Mon, 2005-10-10 at 00:24 -0300, Mario Sergio Fujikawa Ferreira wrote:
> > Hi,
> > 
> > 	Could you try something?
> > 
> > # pkg_delete 'seda*'
> > # cd /usr/ports/net/azureus
> > # make install clean
> 
> That works just fine.
> 
> Thank you.

	No problem. It must have been some corruption.

> > 	Let me if that works. I did not change the port net/seda
> > but it's working allright for me so I am not sure what might be
> > happening in your system.
> 
> Does azureus work with jdk-1.5?

	Not yet. There are problems compiling from the source
code with jdk 1.5. I am working on it.

	Regards,

-- 
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
feature, n: a documented bug | bug, n: an undocumented feature
Comment 5 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2005-10-10 17:36:06 UTC
State Changed
From-To: open->closed

Submitter no longer has the problem.