[pacman-dev] [PATCH 1/2] makepkg: respect package depends for dep checks

Dave Reisner d at falconindy.com
Mon Dec 29 14:01:05 UTC 2014


On Mon, Dec 29, 2014 at 01:21:20PM +1000, Allan McRae wrote:
> On 29/12/14 03:31, Dave Reisner wrote:
> > Include package-specific and arch-specific dependencies when checking
> > dependencies prior to the build.
> > 
> > Fixes: https://bugs.archlinux.org/task/42191
> 
> Thinking more about this...
> 
> Requiring all dependencies installed will cause bootstrapping issues.
> 
> e.g.
> pkgname=('gcc' 'gcc-ada')
> pkgver=4.9.1
> 
> package_gcc-ada() {
>   depends=("gcc=$pkgver")
> }
> 
> 
> Allan

As we discussed on IRC, I think the way to solve this is:

1) make --assume-installed work for pacman -T
2) pass provisions of the PKGBUILD as --assume-installed

I already have preliminary patches to do this. Need tests,
documentation, etc.

dR


More information about the pacman-dev mailing list