Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Aug 2003 21:36:10 -0400
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Sergey Matveychuk <sem@ciam.ru>
Subject:   Re: gnomoku-1.4 dependency failure
Message-ID:  <1059960970.86142.23.camel@shumai.marcuscom.com>
In-Reply-To: <20030804004129.GA34426@rot13.obsecurity.org>
References:  <20030804004129.GA34426@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-ms9Iu8TIEpg3/CY8ewSR
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2003-08-03 at 20:41, Kris Kennaway wrote:
> http://bento.freebsd.org/errorlogs/i386-5-latest/gnomoku-1.4.log
>=20
> 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

>=20
> 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
>=20
> Kris
--=20
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

--=-ms9Iu8TIEpg3/CY8ewSR
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQA/LbiKb2iPiv4Uz4cRAjd1AKCgR7H38Pj2BIeMPJB/QJYMCts89QCdF8JC
lREMWN8jcH6yvMSXgAg2rvQ=
=ww6W
-----END PGP SIGNATURE-----

--=-ms9Iu8TIEpg3/CY8ewSR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1059960970.86142.23.camel>