Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#3265 - source mirror setting required for gcc

Attached to Project: Pacman
Opened by Daniel YC Lin (dlin) - Sunday, 02 October 2005, 15:39 GMT
Last edited by Judd Vinet (judd) - Sunday, 02 October 2005, 18:49 GMT
Task Type Feature Request
Category
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I found I can't download even one byte from
ftp://gcc.gnu.org/pub/gcc';
but very smoothly get the source from
ftp://ftp.nctu.edu.tw/computer-languages/C/gcc, that cause me can't compile gcc anymore. I must manual change the mirror each package. :(

I wish makepkg could get source from common mirror setting, that also occurs on sf.net, in most case dl.sourceforge select the wrong mirror site for me.

This task is very important for many other developer who live on different country. I think the task including change the makepkg's man page, tell package builder to change the download address to common used mirror site variable (wish thier name could be shorter).
This task depends upon

Closed by  James Rayner (iphitus)
Sunday, 15 October 2006, 10:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  doesnt seem relevant any more.
Comment by Jan de Groot (JGC) - Sunday, 02 October 2005, 21:59 GMT
Another macro/classes plan I think. I think this one is also nice for sourceforge, you just plug in sources=($sourceforge/project/$pkgname-$pkgver.tar.gz), where makepkg would fill in the required $sourceforge var as http://dl.sf.net/sourceforge. Every developer has his own favourite sf.net mirror, so this should a nice way to keep that setting on a central place.
Comment by Daniel YC Lin (dlin) - Sunday, 02 October 2005, 23:38 GMT
Or, may be we could do it smarter, whenever pacman/makepkg want to download some url, it will do pattern replacement automatic. So, every developer can keep the same PKGBUILD.
in /etc/pacman.d/mirror.conf, and its content like following format
--
dl.sf.net/sourceforge/project=mymirror.com/mirror/sf/sourceforge/project
gnu.org/pub=mymirror.com/mirror/gnu
--
then, we can let sed to do the matching.
Comment by Daniel YC Lin (dlin) - Friday, 14 October 2005, 01:17 GMT
please refer http://bbs.archlinux.org/viewtopic.php?t=15737, I've written a script for get file, if it could integrate into pacman, that will more useful.
Comment by Daniel YC Lin (dlin) - Friday, 14 October 2005, 07:54 GMT
Today, I found another feature we should added. Because we use brand new gcc, the new gcc still not cached in local mirror site.

We should get from the original source whenever th mirror site can't found such new file.

Loading...