FS#72327 - makepkg --nobuild flag should imply--nodeps
Attached to Project:
Pacman
Opened by ratijas (ratijas) - Saturday, 02 October 2021, 17:54 GMT
Last edited by morganamilo (morganamilo) - Saturday, 02 October 2021, 17:59 GMT
Opened by ratijas (ratijas) - Saturday, 02 October 2021, 17:54 GMT
Last edited by morganamilo (morganamilo) - Saturday, 02 October 2021, 17:59 GMT
|
Details
Summary and Info:
For downloading packages only, with --nobuild flag, makepkg shouldn't fail on missing dependencies -- even those specified in makedepends=() array. It kinda doesn't make sense to bail out of downloading. I mean, is it even possible that those dependencies might be strictly required to fetch source? Steps to Reproduce: 1. asp checkout pacman 2. makepkg -o 3. ...error? ❯ LC_ALL=C makepkg -o ==> Making package: pacman 6.0.1-2 (Sat Oct 2 20:51:08 2021) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Missing dependencies: -> asciidoc -> fakechroot ==> ERROR: Could not resolve all dependencies. ❯ LC_ALL=C makepkg -od ==> Making package: pacman 6.0.1-2 (Sat Oct 2 20:53:30 2021) ==> WARNING: Skipping dependency checks. ==> Retrieving sources... -> Found pacman-6.0.1.tar.xz -> Found pacman-6.0.1.tar.xz.sig -> Found pacman.conf -> Found makepkg.conf ==> Validating source files with sha256sums... pacman-6.0.1.tar.xz ... Passed pacman-6.0.1.tar.xz.sig ... Skipped pacman.conf ... Passed makepkg.conf ... Passed ==> Verifying source file signatures with gpg... pacman-6.0.1.tar.xz ... Passed ==> Extracting sources... -> Extracting pacman-6.0.1.tar.xz with bsdtar ==> Starting prepare()... ==> Sources are ready. |
This task depends upon
Closed by morganamilo (morganamilo)
Saturday, 02 October 2021, 17:59 GMT
Reason for closing: Won't implement
Additional comments about closing: Deps are needed to fetch sources (e.g. git) and to run prepare.
Saturday, 02 October 2021, 17:59 GMT
Reason for closing: Won't implement
Additional comments about closing: Deps are needed to fetch sources (e.g. git) and to run prepare.