skypher / paktahn

yaourt-style package manager/install helper for ArchLinux
http://bbs.archlinux.org/viewtopic.php?pid=600126
44 stars 10 forks source link

Missing makepkg dependencies #29

Open skypher opened 13 years ago

skypher commented 13 years ago

David Rivers reports:

Installation of paktahn didn’t resolve a few dependencies. I had to infer what I needed from paktahn’s error messages, during my first attempt at using it. I was missing: fakeroot, gcc, make. <<

We should be smarter about that.

kingcons commented 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...

skypher commented 13 years ago

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.

kingcons commented 13 years ago

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.

kingcons commented 13 years ago

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.

kingcons commented 13 years ago

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?

skypher commented 13 years ago

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.