Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jul 2009 09:52:23 +0300
From:      Ion-Mihai Tetcu <itetcu@FreeBSD.org>
To:        Li-Wen Hsu <lwhsu@FreeBSD.org>
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
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <lwhsu@FreeBSD.org> 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--



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