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

Does not take checkdepends into account when building #71

Open
micwoj92 opened this issue Feb 6, 2023 · 2 comments
Open

Does not take checkdepends into account when building #71

micwoj92 opened this issue Feb 6, 2023 · 2 comments

Comments

@micwoj92
Copy link

micwoj92 commented Feb 6, 2023

I see somewhat related issue was already posted in #49
Example with perl-moose:

pkgbuilder --debug perl-moose
[INFO   ] :pkgbuilder: *** PKGBUILDer v4.3.2
[DEBUG  ] :pkgbuilder: *** debug output on.
[INFO   ] :pkgbuilder: Arguments parsed.  {'pkgnames': ['perl-moose'], 'pac': False, 'fetch': False, 'userfetch': None, 'info': False, 'search': False, 'upgrade': False, 'finst': False, 'runtx': False, 'clean': False, 'noclean': False, 'colors': False, 'nocolors': False, 'debug': True, 'nodebug': False, 'edit_pkgbuild': False, 'noedit_pkgbuild': False, 'depcheck': False, 'nodepcheck': False, 'vcsupgrade': False, 'novcsupgrade': False, 'validation': False, 'novalidation': False, 'pkginst': False, 'nopkginst': False, 'pgpcheck': False, 'nopgpcheck': False, 'confirm': False, 'noconfirm': False, 'shallowclone': False, 'deepclone': False, 'ignorelist': None, 'pacupd': False, 'nopac': False, 'nofetch': False}
[INFO   ] :pkgbuilder: Starting build...
[INFO   ] :pkgbuilder: Building perl-moose
[DEBUG  ] :urllib3.connectionpool: Starting new HTTPS connection (1): aur.archlinux.org:443
[DEBUG  ] :urllib3.connectionpool: https://aur.archlinux.org:443 "GET /rpc/?v=5&type=multiinfo&arg%5B%5D=perl-moose HTTP/1.1" 200 None
pb> Building perl-moose...
[INFO   ] :pkgbuilder: (fancy_msg           ) Building perl-moose...
  -> aur/perl-moose 2.2203-1 (81 votes)
  ->     A postmodern object system for Perl 5
pb> Cloning the git repository...
[INFO   ] :pkgbuilder: (fancy_msg           ) Cloning the git repository...
Cloning into 'perl-moose'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 4 (delta 0), pack-reused 0
Receiving objects: 100% (4/4), done.
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
pb> Checking dependencies...
[INFO   ] :pkgbuilder: (fancy_msg           ) Checking dependencies...
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
[DEBUG  ] :parse     : format '{:^}={:value}' -> ' *(.+?) +=(.*)'
pb-> perl-cpan-meta-check: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-cpan-meta-check: found in system
pb-> perl-class-load: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-class-load: found in system
pb-> perl-class-load-xs: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-class-load-xs: found in system
pb-> perl-data-optlist: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-data-optlist: found in system
pb-> perl-devel-globaldestruction: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-devel-globaldestruction: found in system
pb-> perl-devel-overloadinfo: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-devel-overloadinfo: found in system
pb-> perl-devel-stacktrace: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-devel-stacktrace: found in system
pb-> perl-dist-checkconflicts: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-dist-checkconflicts: found in system
pb-> perl-eval-closure: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-eval-closure: found in system
pb-> perl-mro-compat: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-mro-compat: found in system
pb-> perl-module-runtime: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-module-runtime: found in system
pb-> perl-module-runtime-conflicts: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-module-runtime-conflicts: found in system
pb-> perl-package-deprecationmanager: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-package-deprecationmanager: found in system
pb-> perl-package-stash: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-package-stash: found in system
pb-> perl-package-stash-xs: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-package-stash-xs: found in system
pb-> perl-params-util: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-params-util: found in system
pb-> perl-sub-exporter: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-sub-exporter: found in system
pb-> perl-try-tiny: found in system
[INFO   ] :pkgbuilder: (fancy_msg2          ) perl-try-tiny: found in system
[INFO   ] :pkgbuilder: Running makepkg: ['makepkg', '-sf']
==> Making package: perl-moose 2.2203-1 (Mon 06 Feb 2023 10:59:24 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
error: target not found: perl-test-cleannamespaces>=0.13
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> perl-test-cleannamespaces>=0.13
  -> perl-test-needs>=0
==> ERROR: Could not resolve all dependencies.
[INFO   ] :pkgbuilder: makepkg status: 8
[INFO   ] :pkgbuilder: Found package files: ([], [])
[ERROR  ] :pkgbuilder: (MakepkgError        ) 8
pb> ERROR: makepkg (or someone else) failed and returned 8.
[ERROR  ] :pkgbuilder: (fancy_error         ) makepkg (or someone else) failed and returned 8.
[INFO   ] :pkgbuilder: Quitting peacefully.
@Kwpolska
Copy link
Owner

Kwpolska commented Feb 6, 2023

It seems like the missing dependencies are checkdepends, and PKGBUILDer does not take these into account when building. This should be a simple fix — if you or anyone else wants to tackle it, go ahead; otherwise, I’ll try to take care of it sometime.

@micwoj92 micwoj92 changed the title Doesn't work with versioned AUR dependencies Does not take checkdepends into account when building Feb 6, 2023
@micwoj92
Copy link
Author

micwoj92 commented Feb 6, 2023

Oh, that's true. I have changed the issue title

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

No branches or pull requests

2 participants