You are not logged in.

#1 2009-10-08 19:14:29

papabean
Member
From: Sacramento, CA
Registered: 2008-12-18
Posts: 26
Website

Package built in chroot doesn't install dependencies

I created a PKGBUILD for miro (GIT version) and built the package in a chroot per Building in a Clean chroot.

When I attempt to install the package with:

pacman -U miro-git-2_5-1-x86_64.pkg.tar.gz

I get the following errors:

error: failed to prepare transaction (could not satisfy dependencies)
:: miro-git: requires xine-lib>=1.1.16.3
:: miro-git: requires gnome-python-extras>=2.25.3
:: miro-git: requires pyrex

Should pacman be attempting to resolve those dependencies automatically?  Or have I done something wrong?


The world is full of tough guys.  It does not need me to be one, too.

Offline

#2 2009-10-08 20:30:22

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: Package built in chroot doesn't install dependencies

papabean wrote:

Should pacman be attempting to resolve those dependencies automatically?

No, that's not currently supported with -U.  You can install the deps manually with --asdeps, or you can create a local repo to install the package+deps via -S.

Last edited by tdy (2009-10-08 20:34:54)

Offline

#3 2009-10-08 22:50:34

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,425
Website

Re: Package built in chroot doesn't install dependencies

Note that this will be possible in the next major pacman release (3.4)

Offline

#4 2009-10-09 01:04:48

papabean
Member
From: Sacramento, CA
Registered: 2008-12-18
Posts: 26
Website

Re: Package built in chroot doesn't install dependencies

Thanks for the prompt responses.

makepkg -s would have installed the dependencies, correct?  That's how I normally build packages from the AUR or if I have need to custom-compile a package in the repos.

The difference between what I expected (dependencies to be in place or installed automatically) and what occurred (pacman informed me of missing dependencies) is more than likely to due to this being the first I've built in a chroot.


The world is full of tough guys.  It does not need me to be one, too.

Offline

Board footer

Powered by FluxBB