[pacman-dev] makepkg and version comparators
Actually makepkg seems to no handle version comparators, but there are official packages with deps like whatever>2.4, is this a known problem? -- Alessio 'mOLOk' Bolognino Arch Linux Trusted User http://www.archlinux.org
On Thu, 8 Mar 2007 20:56:25 +0100, Alessio 'mOLOk' Bolognino wrote
Actually makepkg seems to no handle version comparators, but there are official packages with deps like whatever>2.4, is this a known problem?
I'm not sure what you mean. Assume you have a package with depends=('foo>2.0') and you run makepkg. 1) Do you mean it says "dependency not satisfied: foo>2.0"? If so, this has been fixed in CVS. 2) Do you mean that makepkg succeeds even if you only have foo 1.0 installed? If so, this is news to me - I'll have to test it when I get home, to verify your result ;) -- Travis
On 15:00 Thu 08 Mar , Travis Willard wrote:
On Thu, 8 Mar 2007 20:56:25 +0100, Alessio 'mOLOk' Bolognino wrote
Actually makepkg seems to no handle version comparators, but there are official packages with deps like whatever>2.4, is this a known problem?
I'm not sure what you mean. Assume you have a package with
depends=('foo>2.0')
and you run makepkg.
1) Do you mean it says "dependency not satisfied: foo>2.0"?
$> makepkg ==> Entering fakeroot environment ==> Making package: tls 1.5.0-2 (Thu Mar 8 21:08:24 CET 2007) ==> Checking Runtime Dependencies... ==> Missing Dependencies: -> openssl>=0.9.8b ==> Checking Buildtime Dependencies... ==> ERROR: could not resolve all dependencies. $> pacman -Q openssl openssl 0.9.8e-1 Nice to hear that this is already fixed :) -- Alessio 'mOLOk' Bolognino Arch Linux Trusted User http://www.archlinux.org
On 3/8/07, Alessio 'mOLOk' Bolognino <themolok.ml@gmail.com> wrote:
Actually makepkg seems to no handle version comparators, but there are official packages with deps like whatever>2.4, is this a known problem?
Yeah and it's fixed in CVS, I believe... this should be fixed in the next release (you can run with ummm -d I think to skip dep checks for now)
On Thu, 08 Mar 2007 22:00:50 +0200, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On 3/8/07, Alessio 'mOLOk' Bolognino <themolok.ml@gmail.com> wrote:
Actually makepkg seems to no handle version comparators, but there are official packages with deps like whatever>2.4, is this a known problem?
Yeah and it's fixed in CVS, I believe... this should be fixed in the next release (you can run with ummm -d I think to skip dep checks for now)
I dont now if this its ok pacman -Qi pacman ... Architecture : i686 Build Date : Wed Mar 7 10:09:42 2007 UTC Build Type : Unknown Install Date : Wed Mar 7 10:11:08 2007 UTC makepkg -Ss ==> Entering fakeroot environment ==> Making package: audacious-plugins 1.3.0-1 (Wed Mar 7 21:02:36 EET 2007) ==> Checking Runtime Dependencies... ==> Checking Buildtime Dependencies... ==> Installing missing dependencies... ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored. resolving dependencies... done. looking for inter-conflicts... done. Targets: libmcs-0.4.1-1 Total Package Size: 0.10 MB Proceed with installation? [Y/n] n ==> Retrieving Sources... -> Downloading audacious-plugins-1.3.0.tgz --21:03:13-- http://static.audacious-media-player.org/release/audacious-plugins-1.3.0.tgz => `audacious-plugins-1.3.0.tgz' Resolving static.audacious-media-player.org... Proceed with installation? [Y/n] n .And continue to build without "makedepends". I think right it is "==> ERROR: could not resolve all dependencies." And i have a few more things about the pacman and makepkg but maybe in another mail. Thanks for Arch.Thanks for all your work its greath ! Sorry for the english.
On Thu, 08 Mar 2007 22:00:50 +0200, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On 3/8/07, Alessio 'mOLOk' Bolognino <themolok.ml@gmail.com> wrote:
Actually makepkg seems to no handle version comparators, but there are official packages with deps like whatever>2.4, is this a known problem?
Yeah and it's fixed in CVS, I believe... this should be fixed in the next release (you can run with ummm -d I think to skip dep checks for now)
$ makepkg ==> Entering fakeroot environment ==> Making package: kdedecor-crystal 1.0.2-1 (Thu Mar 8 14:19:26 EET 2007) ==> Checking Runtime Dependencies... ==> Missing Dependencies: -> kdebase ==> Checking Buildtime Dependencies... ==> ERROR: could not resolve all dependencies. $ pacman -Qs kdebase local/kdemod-kdebase 3.5.6-10 (kdemod) $ pacman -Qi kdemod-kdebase Name : kdemod-kdebase Version : 3.5.6-10 URL : http://www.kde.org License : None Groups : kdemod Provides : kdebase ... $ pacman -Qs amarok local/amarok-base 1.4.5-2 amaroK - a media player for KDE local/amarok-engine-xine 1.4.5-2 xine engine for amaroK $ pacman -Qi amarok-engine-xine Name : amarok-engine-xine Version : 1.4.5-2 URL : http://amarok.sourceforge.net/ License : None Groups : None Provides : amarok-engine Depends On : xine-lib>=1.1.3 kdelibs>=3.5.6 taglib>=1.4 tunepimp libxrender Removes : None Required By : None ... $ pacman -Qi amarok-base Name : amarok-base Version : 1.4.5-2 URL : http://amarok.sourceforge.net/ License : None Groups : None Provides : None Depends On : amarok-engine libmp4v2 libmysqlclient>=5.0.25 postgresql-libs ruby $ pacman -Qe amarok-engine-xine 1.4.5-2 ... pacman -S kde :: group kde: kdebindings :: Install whole content? [Y/n] n :: Install kdebindings from group kde? [Y/n] n :: group kde: arts gwenview kde-common kdeaccessibility kdeaddons kdeadmin kdeartwork kdebase kdebindings kdeedu kdegames kdegraphics kdelibs kdemultimedia kdenetwork kdepim kdesdk kdetoys kdeutils :: Install whole content? [Y/n] y resolving dependencies... done. looking for inter-conflicts... ... (13/21) installing kdebindings [####################################################################] 100% ... pacman -Qi kdebindings Name : kdebindings Version : 3.5.6-2 URL : http://www.kde.org License : None Groups : kde Provides : None Depends On : kdelibs>=3.5.6 ruby qscintilla Removes : None Required By : None ...
On 3/8/07, fancris3 <fancris3@aol.com> wrote:
On Thu, 08 Mar 2007 22:00:50 +0200, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On 3/8/07, Alessio 'mOLOk' Bolognino <themolok.ml@gmail.com> wrote:
Actually makepkg seems to no handle version comparators, but there are official packages with deps like whatever>2.4, is this a known problem?
Yeah and it's fixed in CVS, I believe... this should be fixed in the next release (you can run with ummm -d I think to skip dep checks for now)
$ makepkg ==> Entering fakeroot environment ==> Making package: kdedecor-crystal 1.0.2-1 (Thu Mar 8 14:19:26 EET 2007) ==> Checking Runtime Dependencies...
==> Missing Dependencies: -> kdebase ==> Checking Buildtime Dependencies... ==> ERROR: could not resolve all dependencies.
$ pacman -Qs kdebase local/kdemod-kdebase 3.5.6-10 (kdemod)
$ pacman -Qi kdemod-kdebase Name : kdemod-kdebase Version : 3.5.6-10 URL : http://www.kde.org License : None Groups : kdemod Provides : kdebase ...
$ pacman -Qs amarok local/amarok-base 1.4.5-2 amaroK - a media player for KDE local/amarok-engine-xine 1.4.5-2 xine engine for amaroK $ pacman -Qi amarok-engine-xine Name : amarok-engine-xine Version : 1.4.5-2 URL : http://amarok.sourceforge.net/ License : None Groups : None Provides : amarok-engine Depends On : xine-lib>=1.1.3 kdelibs>=3.5.6 taglib>=1.4 tunepimp libxrender Removes : None Required By : None ... $ pacman -Qi amarok-base Name : amarok-base Version : 1.4.5-2 URL : http://amarok.sourceforge.net/ License : None Groups : None Provides : None Depends On : amarok-engine libmp4v2 libmysqlclient>=5.0.25 postgresql-libs ruby
$ pacman -Qe amarok-engine-xine 1.4.5-2 ...
pacman -S kde :: group kde: kdebindings :: Install whole content? [Y/n] n :: Install kdebindings from group kde? [Y/n] n :: group kde: arts gwenview kde-common kdeaccessibility kdeaddons kdeadmin kdeartwork kdebase kdebindings kdeedu kdegames kdegraphics kdelibs kdemultimedia kdenetwork kdepim kdesdk kdetoys kdeutils :: Install whole content? [Y/n] y resolving dependencies... done. looking for inter-conflicts... ... (13/21) installing kdebindings [####################################################################] 100% ...
pacman -Qi kdebindings Name : kdebindings Version : 3.5.6-2 URL : http://www.kde.org License : None Groups : kde Provides : None Depends On : kdelibs>=3.5.6 ruby qscintilla Removes : None Required By : None ...
Unless you have both pacman/libalpm and makepkg from CVS, this isn't going to work. We have not released a new image yet. Did you build this yourself from CVS?
On Fri, 09 Mar 2007 01:26:32 +0200, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
Unless you have both pacman/libalpm and makepkg from CVS, this isn't going to work. We have not released a new image yet. Did you build this yourself from CVS?
Yes.I hope its correct. # $Id$ # Maintainer: judd <jvinet@zeroflux.org> pkgname=pacman pkgver=3.0.0 pkgrel=1 pkgdesc="A library-based package manager with dependency support" arch=('i686' 'x86_64') url="http://www.archlinux.org/pacman/" license=('GPL') makedepends=(doxygen) depends=(libarchive libdownload) replaces=(pacman-rc) backup=('etc/pacman.conf' 'etc/makepkg.conf' 'etc/abs/abs.conf' \ etc/pacman.d/{current,release,extra,unstable,community}) install=pacman.install source=(extrapkg.patch) #source=(http://www.archlinux.org/~dan/pacman/$pkgname-$pkgver.tar.gz) md5sums=() sha1sums=() _cvsmod="pacman-lib" _cvsroot=:pserver:anonymous:anonymous@cvs.archlinux.org:/home/cvs-pacman build() { cd $startdir/src/ msg "Connecting to cvs.archlinux.org CVS server..." cvs -z3 -d $_cvsroot co $_cvsmod cd $_cvsmod cp -r ../$_cvsmod ../$_cvsmod-build cd ../$_cvsmod-build ./autogen.sh ./configure --prefix=/usr --sysconfdir=/etc make || return 1 make DESTDIR=$startdir/pkg install || return 1 rm -r $startdir/src/$_cvsmod-build } pacman -Qi pacman Name : pacman Version : 3.0.0-1 URL : http://www.archlinux.org/pacman/ License : GPL Groups : None Provides : None Depends On : libarchive libdownload Removes : None Required By : srcpac Conflicts With : None Installed Size : 757 K Packager : Arch Linux (http://www.archlinux.org) Architecture : i686 Build Date : Wed Mar 7 10:09:42 2007 UTC Build Type : Unknown Install Date : Wed Mar 7 10:11:08 2007 UTC
Unless you have both pacman/libalpm and makepkg from CVS, this isn't going to work. We have not released a new image yet. Did you build this yourself from CVS? Ah I have pacmandb re-build whit pacman-cage.I don't now if it is important.And a lot of --install --remove pkg :).pacman -Q|wc -l = 1161 Sure my Arch is not very clean and i have only few and little "bugs" whit
pacman3 Tanks again for arch
participants (4)
-
Aaron Griffin
-
Alessio 'mOLOk' Bolognino
-
fancris3
-
Travis Willard