[pacman-dev] Bug #5775

Roman Kyrylych roman.kyrylych at gmail.com
Fri Feb 9 05:23:07 EST 2007


I found the reason!
The problem is that xorg-res-utils-1.0.0-1.pkg.tar.gz contained wrong
.PKGINFO all time until 1.0.3-1 update!

# Generated by makepkg 2.9.8
# Sat Feb 18 10:39:05 UTC 2006
pkgname = xorg-res-utils
pkgver = 1.0.0-1
pkgdesc = X.Org X11 resource utilities
url = http://xorg.freedesktop.org/
builddate = Sat Feb 18 10:39:05 2006
packager = Arch Linux (http://www.archlinux.org)
size = 146504
arch = i686
depend = mesa
depend = libxxf86dga
depend = libxi
depend = libxxf86misc
depend = libxtst
depend = libxinerama
depend = libxv
depend = libdmx
depend = libxft
depend = libxaw

While PKGBUILD always contained depends=(libxaw) and thus gensync
generated the following xorg-res-utils-1.0.0-1/depends in our Current
repo:
%DEPENDS%
libxaw

When pacman (any version) installed xorg-res-utils-1.0.0-1 it
generated the following
/var/lib/pacman/local/xorg-res-utils-1.0.0-1/depends:
%DEPENDS%
mesa
libxxf86dga
libxi
libxxf86misc
libxtst
libxinerama
libxv
libdmx
libxft
libxaw

%REQUIREDBY%
xorg-clients

So, pacman and gensync did everything correctly.
I think .PKGINFO and current.db mismatch was due to PKGBUILD's depends
array was modified on dev's machine after building a package, but new
package wasn't rebuilt.

-- 
Roman Kyrylych (Роман Кирилич)


More information about the pacman-dev mailing list