#10377: BUG: JTidy-04aug2000r7 build failure --------------------------------------+------------------------------------- Reporter: jpaxton@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.2 Resolution: fixed | Keywords: Port: jtidy | --------------------------------------+------------------------------------- Changes (by jmr@…): * cc: jmr@… (added) * status: new => closed * resolution: => fixed Old description:
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.
New description: 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. }}} -- Comment: r52064 -- Ticket URL: <http://trac.macports.org/ticket/10377#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS