Opened 18 years ago

Last modified 15 years ago

#10377 closed defect

BUG: JTidy-04aug2000r7 build failure — at Version 5

Reported by: jpaxton@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port: jtidy

Description (last modified by jmroot (Joshua Root))

Attempt to build JTidy on Mac OS X 10.4.7 (J2RE version 1.5.0_06) fails.

Here is the compiler output

---> Building jtidy with target jar javadoc Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_java_jtidy/work/jtidy-04aug2000r7-dev" && ant jar javadoc" returned error 1 Command output: Buildfile: build.xml

init:

compile:

[javac] Compiling 80 source files to /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_java_jtidy/work/jtidy-04aug2000r7-dev/build [javac] This version of java does not support the classic compiler; upgrading to modern [javac] /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_java_jtidy/work/jtidy-04aug2000r7-dev/src/org/w3c/tidy/Configuration.java:126: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.4 or lower to use 'enum' as an identifier) [javac] Enumeration enum = p.propertyNames(); [javac] [javac] /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_java_jtidy/work/jtidy-04aug2000r7-dev/src/org/w3c/tidy/Configuration.java:127: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.4 or lower to use 'enum' as an identifier) [javac] while (enum.hasMoreElements()) [javac] [javac] /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_java_jtidy/work/jtidy-04aug2000r7-dev/src/org/w3c/tidy/Configuration.java:129: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.4 or lower to use 'enum' as an identifier) [javac] String key = (String) enum.nextElement(); [javac] [javac] 3 errors

BUILD FAILED /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_java_jtidy/work/jtidy-04aug2000r7-dev/build.xml:63: Compile failed; see the compiler error output for details.

Change History (5)

comment:1 Changed 18 years ago by markd@…

Summary: JTidy fails to buildBUG: JTidy fails to build

comment:2 Changed 18 years ago by markd@…

Summary: BUG: JTidy fails to buildBUG: JTidy-04aug2000r7 build failure

comment:3 Changed 17 years ago by pipping@…

Milestone: Port Bugs

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Cc: mww@… removed
Description: modified (diff)
Port: jtidy added
Note: See TracTickets for help on using tickets.