vcs packages installation without git/svn/hg/.. installed fails #253
Comments
This issue happens because pacaur extracts the package (source pull) first with makepkg -o before continuing with normal build and installatio (including installation of makedeps) if necessary. A few possible way to handle this:
|
Fixed in f3771d8 (option 3). Situations where the VCS software has been removed prior to an update aren't taken into account, but I guess those won't happen often. If the need arise, the more complex solution (option 2) could be implemented instead. The simpler makepkg -so fix (option 1) has many drawbacks regarding conflict issues, and thus isn't worth implementing. |
See also this makepkg patch. This might be relevant here, since makepkg will simply stop if the software isn't installed yet. |
Reopening, since this is partially fixed only. I'm actually not sure if the above patches will fix it the issue or will prevent makepkg to continue. In case it doesn't, it might be possible to use this new |
This is now implemented in 7f798a7 (option 2). Also note that only supported protocols can update |
The temporary check has now been removed in e2d4f6a, as this is correctly handled by pacman/makepkg 4.2.0-2 (see also this bug report). |
From the forums:
If packages rely on VCS code and the corresponding client isn't installed yet, building will fail even if the client is stated as makedep as the packages from the repos are only installed after pacaur tries to fetch the VCS code:
Installation of the very same packages works smoothly if git was installed before. Problem does not affect building packages by 'makepkg -s'.
The text was updated successfully, but these errors were encountered: