FS#5294 - makepkg problems with sourceforge mirrors
Attached to Project:
Pacman
Opened by Lone_Wolf (Lone_Wolf) - Sunday, 27 August 2006, 12:28 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 13 November 2006, 22:32 GMT
Opened by Lone_Wolf (Lone_Wolf) - Sunday, 27 August 2006, 12:28 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 13 November 2006, 22:32 GMT
|
Details
In the past months downloading sources from
http://dl.sourceforge.net
(f.e. in aur packages) gives a time-out.
When a specific mirror is used, like http://heanet.dl.sourceforge.net the download works. See http://bbs.archlinux.org/viewtopic.php?t=24465 for a discussion about this problem. Tomk has submitted a bug report to sourceforge , http://sourceforge.net/tracker/index.php?func=detail&aid=1547432&group_id=1&atid=200001 A possible solution by introducing a new environment variable sfmirror (to be set by the user) in /etc/makepkg.conf and patching makepkg to use this variable for sf mirrors can also be found in the forum thread. |
This task depends upon
Closed by Aaron Griffin (phrakture)
Monday, 13 November 2006, 22:57 GMT
Reason for closing: Won't implement
Monday, 13 November 2006, 22:57 GMT
Reason for closing: Won't implement
BTW: The link to your bugreport gives internal server error, guess Sourceforge is making up its reputation.
The main reason i made the forum thread and submitted this bugreport is that i feel arch uses SF mirrors for so many packages, we need a way to make sure it works for every user.
The reaction on the bug report on SF is that they will look into it, and we'll here more in 5 workdays. (should be sometime early next week).
I personally think the /etc/hosts solution is the best and most succinct, as it allows you to click the link and download it too. - i.e. if our web interface shows "dl.sourceforge.net" for the source, and we used the hackish $sfmirror, you would be unable to click the link. Adding it to /etc/hosts would allow you to do this.
I cannot think of any reason why the /etc/hosts solution is _not_ a good one.
The most I would be willing to do is provide a /etc/hosts line when makepkg detects a dl.sourceforge.net URL... but I think /etc/hosts is ideal.