Project

General

Profile

Actions

Bug #14708

closed

gmake download can't handle Permanent Redirect

Added by Bruno Verachten about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

Hi,

As I was trying to rebuild the Jenkins package (to update its dependency to JDK 11), I launched the

gmake download
and faced an error:

download developer/indent
download developer/java-commons-logging
download developer/jenkins
download developer/jenkins-core-lts
Source /export/home/gounthar/oi-userland/archives/jenkins-lts-2.332.3.war... not found, skipping file copy
Source http://mirrors.jenkins-ci.org/war-stable/2.332.3/jenkins.war...
    downloading... I/O Error: Can't open url http://mirrors.jenkins-ci.org/war-stable/2.332.3/jenkins.war:
HTTP Error 308: Permanent Redirect
failed
Source http://dlc.openindiana.org/oi-userland/source-archives/jenkins-lts-2.332.3.war...
    downloading... I/O Error: Can't open url http://dlc.openindiana.org/oi-userland/source-archives/jenkins-lts-2.332.3.war:
HTTP Error 404: Not Found
failed
gmake[1]: *** [/export/home/gounthar/oi-userland/make-rules/prep-download.mk:80 : /export/home/gounthar/oi-userland/archives/jenkins-lts-2.332.3.war] Erreur 1
gmake: *** [Makefile:183 : developer/jenkins-core-lts.nosetup] Erreur 2

Could it be that this process can't handle the permanent redirect?
I tried to access the jenkins URL, and it does work with curl or my browser.

Thanks.

Actions #1

Updated by Bruno Verachten about 1 month ago

The Jenkins file redirection is now correclty handled, thank you.

There is now another download I have a problem with:

WARN: Removing the corrupt downloaded file
Source http://dlc.openindiana.org/oi-userland/source-archives/rrdtool-1.7.2.tar.gz...
    downloading... I/O Error: Can't open url http://dlc.openindiana.org/oi-userland/source-archives/rrdtool-1.7.2.tar.gz:
HTTP Error 404: Not Found
failed
gmake[1]: *** [/export/home/gounthar/oi-userland/make-rules/prep-download.mk:80 : /export/home/gounthar/oi-userland/archives/rrdtool-1.7.2.tar.gz] Erreur 1
gmake: *** [Makefile:183 : image/rrdtool.nosetup] Erreur 2
gounthar@openindiana:~/oi-userland/components$ gmake download
Actions #2

Updated by Andreas Wacknitz about 1 month ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF