gnomoku-1.4 dependency failure

Joe Marcus Clarke marcus at FreeBSD.org
Sun Aug 3 18:37:42 PDT 2003


On Sun, 2003-08-03 at 20:41, Kris Kennaway wrote:
> http://bento.freebsd.org/errorlogs/i386-5-latest/gnomoku-1.4.log
> 
> This port depends on both libxml and libxml2, but the dependency
> checking seems to think that libxml is an older version of libxml2, so
> it doesn't install it.  Later on, the explicit add of libxml then
> fails for the same reason.

This looks like a bug in pkg_addo.  libxml and libxml2 should only
conflict if their origins are the same.  However, it is clear they are
not.  I even downloaded the packages from bento, and:

libxml2-2.5.8_1:
@comment ORIGIN:textproc/libxml2

libxml-1.8.17_1:
@comment ORIGIN:textproc/libxml

I think this problem was introduced by bmilekic with rev 1.14 to
pkg_install/lib/match.c.  Using strncmp() in this case will definitely
produce the behavior we see here.  This commit should most likely be
reverted.

Joe

> 
> pkg_add: warning: package 'gnomelibs-1.4.2_1' requires 'libxml-1.8.17_1', but 'libxml2-2.5.8_1' is installed
> ...
> pkg_add libxml-1.8.17_1.tbz
> pkg_add: package 'libxml-1.8.17_1' or its older version already installed
> error in dependency libxml-1.8.17_1.tbz, exiting
> 
> Kris
-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030803/27bc54cc/attachment.bin


More information about the freebsd-gnome mailing list