From owner-freebsd-ports@FreeBSD.ORG Thu Jul 2 06:52:03 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78C491065673; Thu, 2 Jul 2009 06:52:03 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) by mx1.freebsd.org (Postfix) with ESMTP id D90B78FC18; Thu, 2 Jul 2009 06:52:02 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from it.buh.tecnik93.com (localhost [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id E522E2C50CED; Thu, 2 Jul 2009 09:52:31 +0300 (EEST) Date: Thu, 2 Jul 2009 09:52:23 +0300 From: Ion-Mihai Tetcu To: Li-Wen Hsu Message-ID: <20090702095223.7937d133@it.buh.tecnik93.com> In-Reply-To: <20090702014128.GA72731@FreeBSD.cs.nctu.edu.tw> References: <200907020123.n621NkxI003589@repoman.freebsd.org> <20090702012348.3A7643982A@qat.tcbug.org> <20090702014128.GA72731@FreeBSD.cs.nctu.edu.tw> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/ODqq+pHKUI+IZP69.f4s4Hu"; protocol="application/pgp-signature" Cc: ports@FreeBSD.org, cvs-ports@FreeBSD.org, QAT@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/mail/py-spambayes Makefile ports/mail/py-spambayes/files pyspamd.in X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2009 06:52:04 -0000 --Sig_/ODqq+pHKUI+IZP69.f4s4Hu Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 2 Jul 2009 09:41:28 +0800 Li-Wen Hsu wrote: > On Thu, Jul 02, 2009 at 01:23:47 +0000, QAT@FreeBSD.org wrote: > > =3D=3D=3D Checking filesystem state > > list of extra files and directories in / (not present before this port = was installed but present after it was deinstalled) > > 1201322 4 -rw-r--r-- 1 root wheel 198 Jul 2 = 01:23 usr/local/lib/python2.5/site-packages/_bsddb-0.0.0-py2.5.egg-info > > 1201321 196 -rwxr-xr-x 1 root wheel 98405 Jul 2 = 01:23 usr/local/lib/python2.5/site-packages/_bsddb.so >=20 > These should be removed after deinstall py25-bsddb. >=20 > However, this port would depend on py25-bsddb-2.5.4_2.tbz, and looks > this package will not be built in official package build... any > thought? One thing that strikes me is that it seems to depend on 2 python versions if not python (or a version !=3D26) is installed : BUILD_DEPENDS=3Dpython25-2.5.4_1.tbz=20 RUN_DEPENDS=3Ddb41-4.1.25_4.tbz python26-2.6.2.tbz py26-bsddb-2.6.2_2.tbz p= ython25-2.5.4_1.tbz And what happens here seems to be a wrong dependency line: ...... pkg_add py26-bsddb-2.6.2_2.tbz pkg_add python25-2.5.4_1.tbz skipping python25-2.5.4_1, already added =3D=3D=3D> Installing for py25-spambayes-1.0.4_3 =3D=3D=3D> py25-spambayes-1.0.4_3 depends on file: /usr/local/lib/python2= .5/site-packages/_bsddb.so - not found =3D=3D=3D> Verifying install for /usr/local/lib/python2.5/site-packages/= _bsddb.so in /usr/ports/databases/py-bsddb =3D> Python-2.5.4.tgz doesn't seem to exist in /tmp/distfiles/python. =3D> Attempting to fetch from file:///distcache/python/. Python-2.5.4.tgz 11 MB 343 MBps =3D=3D=3D> Extracting for py25-bsddb-2.5.4_2 =3D> MD5 Checksum OK for python/Python-2.5.4.tgz. =3D> SHA256 Checksum OK for python/Python-2.5.4.tgz. =3D=3D=3D> Patching for py25-bsddb-2.5.4_2 ..... It's pulling py26-bsddb-2.6.2_2.tbz but it actually wants py25-bsddb-2.5_4.tbz and this is the reason for leftovers since tindy removes only py26-bsddb-2.6.2_2.tbz as it knows nothing about py25-bsddb-2.5_4.tbz I don't have time to investigate now if it's a problem in bsd.python.mk or you should try to write RUN_DEPENDS=3D${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb after bsd.python.mk is included or something else. --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B --Sig_/ODqq+pHKUI+IZP69.f4s4Hu Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkpMWS8ACgkQJ7GIuiH/oeVgggCgnm0RGT/VRMkTz15KCTeBwHXQ 8YAAmgNtkZvi8VoMl5Nsn1xnr3MGujbO =nmss -----END PGP SIGNATURE----- --Sig_/ODqq+pHKUI+IZP69.f4s4Hu--