Skip to content
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

Check dependecies are not installed #638

Closed
Snarpix opened this issue Oct 2, 2020 · 6 comments · Fixed by #647
Closed

Check dependecies are not installed #638

Snarpix opened this issue Oct 2, 2020 · 6 comments · Fixed by #647

Comments

@Snarpix
Copy link

Snarpix commented Oct 2, 2020

If I execute aura -Ai glib2-static
I get following output:

Repository  : aur
Name        : glib2-static
Version     : 2.66.0-1
AUR Status  : Up to Date
Maintainer  : nightuser
Project URL : https://wiki.gnome.org/Projects/GLib
AUR URL     : https://aur.archlinux.org/packages/glib2-static
License     : LGPL2.1
Depends On  : 
Build Deps  : gettext zlib libffi shared-mime-info python libelf git util-linux meson dbus
Votes       : 12
Popularity  : 1.06
Description : Low level core library: Static library

But on AUR site there is one more dependecy - desktop-file-utils (desktop-file-utils-git) (check)
https://aur.archlinux.org/packages/glib2-static/
Maybe AURA should either install check dependecies or pass --nocheck to makepkg?
Because currently aura fails on this package

@Snarpix Snarpix changed the title Check dependecies are detected Check dependecies are not installed Oct 2, 2020
@fosskers
Copy link
Owner

fosskers commented Oct 3, 2020

Reasonable - I will add an option for --nocheck. We already support a number of such makepkg flags, so adding this one will be simple.

@fosskers fosskers linked a pull request Oct 7, 2020 that will close this issue
@fosskers
Copy link
Owner

fosskers commented Oct 7, 2020

This will be included in the next release.

@rtentser
Copy link

rtentser commented Dec 18, 2020

Can still reproduce the problem with 3.2.2 and 3.2.2.r18.g87415b1-1.

$ sudo aura -Ax python-restrictedpython
[sudo] password for rtentser: 
aura >>= Determining dependencies...
aura >>= AUR Packages:
python-restrictedpython
aura >>= Continue? [Y/n] y
aura >>= Building python-restrictedpython...
==> Making package: python-restrictedpython 5.1-1 (Fri 18 Dec 2020 09:57:13 PM +07)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
  -> python-pytest
  -> python-pytest-mock
==> ERROR: Could not resolve all dependencies.
aura >>= There was a makepkg failure.
aura >>= Would you like to continue anyway? [Y/n] y
aura >>= Every package failed to build.

And after missing dependencies was installed aura & makepkg run pytest.

@fosskers
Copy link
Owner

Make sure to pass --nocheck when you're building.

@rtentser
Copy link

rtentser commented Dec 18, 2020

Yes, it works, thank you. For some reason i was thinking it should be default behavior.

@fosskers
Copy link
Owner

Thanks for following up. Let me know if you have any more issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants