Opened 8 years ago
Closed 4 years ago
#53939 closed defect (fixed)
commons-collections @3.2.1: remove(Object,Object) in MultiHashMap cannot implement remove(Object,Object) in Map
Reported by: | nlpcall | Owned by: | chrstphrchvz (Christopher Chavez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | doushichao (doushichao), chrstphrchvz (Christopher Chavez) | |
Port: | commons-collections |
Description
I am trying to install tomcat6
, and the commons-collections dependency fails to install. There seem to be multiple problems.
The first error was:
Error: Failed to build commons-collections: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_commons-collections/commons-collections/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port tomcat6 failed
...and a look in the log revealed that it was trying to use lbzip2
, which I had not installed, and which was not listed as a dependency of tomcat6. So, I installed lbzip2
manually, and then tried to install again. This time, the error has something to do with java errors. See attached log.
I have run port selfupdate
and port upgrade outdated
.
Attachments (1)
Change History (11)
Changed 8 years ago by nlpcall
comment:1 Changed 8 years ago by nlpcall
comment:2 Changed 8 years ago by mf2k (Frank Schima)
Cc: | blair removed |
---|---|
Owner: | set to blair |
Status: | new → assigned |
comment:4 Changed 8 years ago by rodaddy (Rico)
I am also having this issue. It's killing my ability to do an upgrade outdated
comment:5 follow-up: 9 Changed 8 years ago by kencu (Ken)
Java ports are not my thing, but a quick search
shows a number of reports regarding errors with common collections 3.2.1 not building with newer versions of jdk like jdk8.
See: <https://issues.apache.org/jira/browse/COLLECTIONS-527>
<https://bugs.gentoo.org/show_bug.cgi?id=508056>
<https://forums.gentoo.org/viewtopic-t-988970-start-0.html>
comment:6 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | doushichao added |
---|---|
Summary: | commons-collections 3.2.1: cannot install → commons-collections @3.2.1: remove(Object,Object) in MultiHashMap cannot implement remove(Object,Object) in Map |
Has duplicate #54582.
comment:7 Changed 5 years ago by mf2k (Frank Schima)
Owner: | blair deleted |
---|
comment:8 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
comment:9 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
This port (and likely others) either needs to incorporate a third-party patch for Java 8+ compilation, be rewritten to use the binary distribution, or be removed entirely. This port was mainly needed by tomcat5
, tomcat6
, and struts
, which have all been removed.
comment:10 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
Owner: | set to chrstphrchvz |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
I tried installing this on a colleague's computer, and received the same errors.