Open skypher opened 13 years ago
Is the suggestion that we add gcc, fakeroot and make to our PKGBUILD dependencies or ensure the makedepends on other PKGBUILDs are installed when going through install-aur-package. Because I thought we already do the latter...
These are dependencies that makepkg itself requires -- and apparently without demanding them. So install-aur-package or run-makepkg should take care of this issue by prompting the user to install gcc, fakeroot and make.
I'll work on this over the next two days if I can but we should file an Arch bug suggesting that makepkg be split out of the pacman package and given these deps or these deps should be added to pacman.
There's a band aid patch for this in my master commit 363bea7. After getting this quick bugfix release out a more serious approach may be pursued.
The outstanding issues are thus: 1) Is my band-aid sufficient or do we want to provide restarts, be more interactive, etc? 2) Do we let this be a special case or try to cover any makepkg deps due to missing deps with a condition, etc?
I haven't commented on this yet as the commit seems to be clean but the behavior might need some adjustments -- and in this regard I'm working on a per-release basis right now. Once you put out a new release I'm going to build it and use it in my daily packaging needs. Then I see how well it works. :)
If this is too slow I would consider checking out the latest bleeding edge every once in a while to test-drive it. Just let me know.
David Rivers reports:
We should be smarter about that.