-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aurto doesn't install makedeps when updating vcs packages #93
Comments
I can't reproduce, this package starts building with cargo fine for me. Perhaps ensure aurutils is up to date and try to reproduce using it directly:
|
The initial build went also fine here, and aurutils are uptodate. Running your above command leads to
Here's the complete output when /usr/lib/aurto/check-vcs exists:
|
Look suspicious. The vcs update goes
Yours seems to be failing somewhere along the way. What do you get if you run the first step? |
I've switched my buildsystem back to aurutils alone, but I'll try to reproduce the issue within a aurto docker container. But btw, the same issue exists when using https://github.com/aurutils/aurutils/blob/master/examples/vercmp-devel within standalone aurutils. |
Could be a issue with aur-vercmp then? If you can reproduce it with aurutils you can try reporting it upstream. |
Not sure if it's doing something undesirable that I haven't noticed.. but changing the below from # Note that valid PKGBUILDs cannot contain \n in pkgname.
get_latest_revision() {
grep -Fxf - <(printf '%s\n' *) | xargs -r aur srcver
} to # Note that valid PKGBUILDs cannot contain \n in pkgname.
get_latest_revision() {
grep -Fxf - <(printf '%s\n' *) | xargs -r aur srcver --no-prepare
} seems to fix the issue? |
Starting v0.14.0 the new $ sudo sed -i 's/aur srcver /aur srcver --no-prepare /' /usr/lib/aurto/sync-devel diff --git a/lib/aurto/sync-devel b/lib/aurto/sync-devel
index 686591e..dfede7f 100644
--- a/lib/aurto/sync-devel
+++ b/lib/aurto/sync-devel
@@ -49,7 +49,7 @@ done <"$tmp"/fetch_results
# Update `epoch:pkgver-pkgrel` for each target with `aur-srcver`.
# This runs `makepkg`, cloning upstream to the latest revision. The
# output is then compared with the contents of the local repository.
-aur vercmp -p <(aur srcver "${targets[@]}") <"$tmp"/db | awk '{print $1}' >"$tmp"/ood
+aur vercmp -p <(aur srcver --no-prepare "${targets[@]}") <"$tmp"/db | awk '{print $1}' >"$tmp"/ood
if [[ -s $tmp/ood ]]; then
aur build -a "$tmp"/ood "${build_args[@]}" When doing this, it's worth to consider pinning the file and to scan for [options]
NoUpgrade = usr/lib/aurto/sync-devel $ sudo DIFFSEARCHPATH=/usr pacdiff --find |
cargo
is in makedeps.The text was updated successfully, but these errors were encountered: