Opened 11 years ago

Closed 9 years ago

#16649 closed defect (fixed)

pmd-3.9 Fails to build

Reported by: brianjlandau@… Owned by: landonf@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: haspatch Cc:
Port: pmd

Description

This is the output to the terminal when I first ran the command.I've also attached the results of sudo port install -d pmd > pmd.log 2>&1

--->  Building pmd with target dist
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_pmd/work/pmd-3.9/bin" && ant dist " returned error 1
Command output:     [javac]                        ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_pmd/work/pmd-3.9/regress/test/net/sourceforge/pmd/symboltable/TypeSetTest.java:14: cannot find symbol
    [javac] symbol: class TestCase
    [javac] public class TypeSetTest extends TestCase {
    [javac]                                  ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_pmd/work/pmd-3.9/regress/test/net/sourceforge/pmd/symboltable/VariableUsageFinderFunctionTest.java:3: package junit.framework does not exist
    [javac] import junit.framework.TestCase;
    [javac]                        ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_pmd/work/pmd-3.9/regress/test/net/sourceforge/pmd/symboltable/VariableUsageFinderFunctionTest.java:17: cannot find symbol
    [javac] symbol: class TestCase
    [javac] public class VariableUsageFinderFunctionTest extends TestCase {
    [javac]                                                      ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_pmd/work/pmd-3.9/regress/test/net/sourceforge/pmd/typeresolution/PMDASMClassLoaderTest.java:7: package junit.framework does not exist
    [javac] import junit.framework.TestCase;
    [javac]                        ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_pmd/work/pmd-3.9/regress/test/net/sourceforge/pmd/typeresolution/PMDASMClassLoaderTest.java:9: cannot find symbol
    [javac] symbol: class TestCase
    [javac] public class PMDASMClassLoaderTest extends TestCase {
    [javac]                                            ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_pmd/work/pmd-3.9/regress/test/net/sourceforge/pmd/util/ApplierTest.java:6: package junit.framework does not exist
    [javac] import junit.framework.TestCase;
    [javac]                        ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 100 errors

BUILD FAILED
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_pmd/work/pmd-3.9/bin/build.xml:33: Compile failed; see the compiler error output for details.

Total time: 10 seconds

Error: Status 1 encountered during processing.

Attachments (2)

pmd.log (41.3 KB) - added by brianjlandau@… 11 years ago.
result of sudo port -d install pmd > pmd.log 2>&1
Portfile-pmd.diff (565 bytes) - added by jmroot (Joshua Root) 10 years ago.
patch from #22399

Download all attachments as: .zip

Change History (7)

comment:1 Changed 11 years ago by brianjlandau@…

Cc: brianjlandau@… added

Cc Me!

Changed 11 years ago by brianjlandau@…

Attachment: pmd.log added

result of sudo port -d install pmd > pmd.log 2>&1

comment:2 Changed 11 years ago by jmroot (Joshua Root)

Cc: landonf@… openmaintainer@… brianjlandau@… removed
Owner: changed from macports-tickets@… to landonf@…

FYI, you don't need to cc yourself when you are the reporter, and mail to openmaintainer doesn't reach a human being.

comment:3 Changed 10 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Changed 10 years ago by jmroot (Joshua Root)

Attachment: Portfile-pmd.diff added

patch from #22399

comment:4 Changed 9 years ago by jmroot (Joshua Root)

Keywords: haspatch added; java pmd bug removed

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

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.