#58787 closed defect (fixed)
apache-ant-1.9 +source fails to install
Reported by: | chrstphrchvz (Christopher Chavez) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | ||
Port: | apache-ant apache-ant-1.9 |
Description
Default binary install works, but +source
install doesn't:
Error: Failed to destroot apache-ant-1.9: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_apache-ant-1.9/apache-ant-1.9/work/apache-ant-1.9.13/apache-ant": no such file or directory
I wonder if the build phase isn't doing anything (i.e. running ./build.sh).
Attachments (1)
Change History (9)
Changed 5 years ago by chrstphrchvz (Christopher Chavez)
comment:1 Changed 5 years ago by chrstphrchvz (Christopher Chavez)
comment:2 Changed 2 years ago by chrstphrchvz (Christopher Chavez)
Port: | apache-ant added |
---|
apache-ant (1.10.x) is also affected.
The +source
variants have been broken since [acdc5b35d465/macports-ports]: build.cmd true
(which the +source
variant overrides) was replaced with build {}
. So although fix is easy, I am in favor of removing the source variants since they have more specific JDK version requirements (e.g. ant 1.9 cannot be built using JDK 9 or later) and because no one else reported this issue or subscribed themselves to this ticket.
comment:3 Changed 2 years ago by chrstphrchvz (Christopher Chavez)
comment:4 Changed 2 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:5 Changed 2 years ago by mascguy (Christopher Nielsen)
Developers typically don't build pure-Java components like Ant from source - there's no benefit, as all optimization occurs at runtime via the JVM - so we might as well remove the source variant.
comment:6 Changed 2 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy removed |
---|---|
Owner: | set to mascguy |
Status: | new → assigned |
comment:7 Changed 2 years ago by chrstphrchvz (Christopher Chavez)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I have opened a PR to update to 1.9.14, but it does not address this issue: https://github.com/macports/macports-ports/pull/4934