FS#7089 - makepkg should use /var/cache/pacman/src as default fallback if SRCDEST is not set

Attached to Project: Pacman
Opened by Jens Adam (byte) - Monday, 07 May 2007, 15:59 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 08 May 2007, 13:11 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Medium
Priority Normal
Reported Version 3.0.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

With pacman 2.x you could put source files into /var/cache/pacman/src and then run makepkg in any directory... the files were picked up.
With 3.x you have to set SRCDEST=/var/cache/pacman/src explicitly.
This task depends upon

Closed by  Dan McGee (toofishes)
Tuesday, 08 May 2007, 13:11 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Behavior can be simulated by setting SRCDEST in makepkg.conf.
Comment by Dan McGee (toofishes) - Monday, 07 May 2007, 16:08 GMT
Correct...by default that directory is not user-writable, so the behavior was changed to highly discourage building as root. If $SRCDEST is not defined, then the files are just downloaded to the local directory where makepkg was run.

I don't consider this a regression; setting up your makepkg.conf is your business.
Comment by Aaron Griffin (phrakture) - Monday, 07 May 2007, 16:10 GMT
I was unsure on how I felt about this until reading Dan's last line of his comment. He is right. Considering this a regression would be like saying that changing apache's configs to use "/srv/http" instead of "/home/httpd" is a regression. It is a configuration setting, and would work the same as it did originally if the configuration file were changed.
Comment by Jens Adam (byte) - Tuesday, 08 May 2007, 09:06 GMT
I get your point. Close?

Loading...