java-lz4-1.4.0-r0: http refused for maven repository
java-lz4 fails to build because the repository it tried to contact refuses to serve content on http (501 HTTPS Required) without a redirect.
There is an existing patch that updates the maven2repo
. Switching that one the https does not solve the issue. There is a jar file (.ant/ivy-2.2.0.jar
) which still points to http.
-ivy-install:
[mkdir] Created dir: /home/buildozer/aports/community/java-lz4/src/lz4-java-1.4.0/.ant
[get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar
[get] To: /home/buildozer/aports/community/java-lz4/src/lz4-java-1.4.0/.ant/ivy-2.2.0.jar
[get] Error opening connection java.io.IOException: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar
[get] Error opening connection java.io.IOException: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar
[get] Error opening connection java.io.IOException: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar
[get] Can't get http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar to /home/buildozer/aports/community/java-lz4/src/lz4-java-1.4.0/.ant/ivy-2.2.0.jar
BUILD FAILED
See: https://build.alpinelinux.org/buildlogs/build-3-12-x86_64/community/java-lz4/java-lz4-1.4.0-r0.log