Opened 9 years ago
Last modified 9 years ago
#49756 new defect
commons-cli: Build failed due to jar file that look likes to be in real an html file
Reported by: | mauro.mazzoleni@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | haspatch | Cc: | lcopps@…, jianguohsiang82@… |
Port: | commons-cli |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
:info:build [javac] error: error reading /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_commons-cli/commons-cli/work/commons-cli-1.1-src/target/lib/junit-3.8.1.jar; error in opening zip file
If I try to unzip with jar, I get an exception:
jar -tvf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_commons-cli/commons-cli/work/commons-cli-1.1-src/target/lib/junit-3.8.1.jar java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:220) at java.util.zip.ZipFile.<init>(ZipFile.java:150) at java.util.zip.ZipFile.<init>(ZipFile.java:121) at sun.tools.jar.Main.list(Main.java:1060) at sun.tools.jar.Main.run(Main.java:291) at sun.tools.jar.Main.main(Main.java:1233)
I tried to open the file with Aquaemacs and it seems to be html:
<html> <head> <title>Directory Browsing Disabled</title> <style type="text/css"> html, body { height: 100%; } body { margin: 0; padding: 0; background-color: #fff; } #top { position: absolute; } h1, p { margin: 0; padding: 0.4em 0.5em; } #container { min-height: 100%; margin-bottom: -46px; } * html #container { height: 100%; } #footer-spacer { height: 46px; } #footer { border-top: 1px solid #AAA; padding-top: 10px; height: 35px; text-align: center; } </style> </head> <body> <div id="top"></div> <div id="container"> <p>Browsing for this directory has been disabled.</p> <p><a href="http://search.maven.org/#browse">View</a> this directory's contents on <a href="http://search.maven.org/#browse">http://search.maven.org</a> instead.</p> <div id="footer-spacer"></div> </div> <div id="footer"> <a href="/terms.html">Terms of Service</a> </div> </body> </html>
Attachments (2)
Change History (6)
Changed 9 years ago by mauro.mazzoleni@…
Changed 9 years ago by mauro.mazzoleni@…
Attachment: | junit-3.8.1.jar added |
---|
Junit.jar is an html file
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Milestone: | MacPorts Future |
Summary: | Build failed due to jar file that look likes to be in real an html file → commons-cli: Build failed due to jar file that look likes to be in real an html file |
comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | lcopps@… added |
---|
Has duplicate #49904.
comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jianguohsiang82@… added |
---|
comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|
Note: See
TracTickets for help on using
tickets.
Log file