Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2005 17:04:41 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Cc:        ports@freebsd.org
Subject:   Re: package-depend oddity (was: Re: [ports-i386@pointyhat.freebsd.org: dspampd-2.00.r2 failed on i386 5] )
Message-ID:  <20051019210440.GA44472@xor.obsecurity.org>
In-Reply-To: <20051019233015.3de4a212@it.buh.tecnik93.com>
References:  <20051019175832.GL93128@xor.obsecurity.org> <20051019211509.1ea7d219@it.buh.tecnik93.com> <20051019184035.GA10401@xor.obsecurity.org> <20051019222617.1684bc7d@it.buh.tecnik93.com> <20051019193949.GB27229@xor.obsecurity.org> <20051019233015.3de4a212@it.buh.tecnik93.com>

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

--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 19, 2005 at 11:30:15PM +0300, Ion-Mihai Tetcu wrote:
>=20
>  [ moved on ports@ as I don't want to bother only Kris :) ]
>=20
> The story:
>=20
> On pointyhat mail/dspampd suddenly fails to package because it wants to
> depend on both clamav and clamav-devel.
>=20
>  I believe=20
> 20050207:  Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined.
> to be responsible (I was doing kinda the same thing in the Makefile).
>=20
> I have a patch that should/will (as everything it's the same for me -
> package is OK, package-depends-list is not) fix the problem, but,
> strangely on my 6 and 5.4 machines I don't see any error (but the port
> depends on both clamavs):

Because clamav-devel and clamav install the same files, so whichever
one installs first will satisfy the Makefile dependency check for
both.  i.e. you can't be sure which one is actually installed.

This is flagged as an error on PH because it installs dependencies by
pkg_add, which has conflict-checking and won't spam clamav with
clamav-devel (or vice-versa).

> > Maybe (if something it depends on was broken).  Alternatively, a
> > dependency must have changed the version of clamav it depends on,
> > which caused your port to suddenly depend on both (an impossibility).
>=20
> Now, I don't see any other package that depends on clamav*
> Could someone explain to me what's happening here ? Why does it fail on
> pontyhat, but not an any other machine ? I've tested on a 6 and a 5.4
> cvsup'ed a few minutes ago and a 5.4 cvsup'ed a few months ago. Why
> does it depend on both clamavs ?=20

=46rom some dependency..you'd have to trace through to see which one.

Kris

--5mCyUwZo2JvN/JJP
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFDVrToWry0BWjoQKURAk66AKC1O3W5boUS+Wh50iY78PzVcninAACgrmcJ
Y9y+kSXUV+ilsEJakSzmm0A=
=ukcS
-----END PGP SIGNATURE-----

--5mCyUwZo2JvN/JJP--



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