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
[-- Attachment #1 --]
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:
> > === 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
>
> These should be removed after deinstall py25-bsddb.
>
> 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 !=26) is installed :
BUILD_DEPENDS=python25-2.5.4_1.tbz
RUN_DEPENDS=db41-4.1.25_4.tbz python26-2.6.2.tbz py26-bsddb-2.6.2_2.tbz python25-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
===> Installing for py25-spambayes-1.0.4_3
===> py25-spambayes-1.0.4_3 depends on file: /usr/local/lib/python2.5/site-packages/_bsddb.so - not found
===> Verifying install for /usr/local/lib/python2.5/site-packages/_bsddb.so in /usr/ports/databases/py-bsddb
=> Python-2.5.4.tgz doesn't seem to exist in /tmp/distfiles/python.
=> Attempting to fetch from file:///distcache/python/.
Python-2.5.4.tgz 11 MB 343 MBps
===> Extracting for py25-bsddb-2.5.4_2
=> MD5 Checksum OK for python/Python-2.5.4.tgz.
=> SHA256 Checksum OK for python/Python-2.5.4.tgz.
===> 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=${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb
after bsd.python.mk is included or something else.
--
IOnut - Un^d^dregistered ;) FreeBSD "user"
"Intellectual Property" is nowhere near as valuable as "Intellect"
FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
iEYEARECAAYFAkpMWS8ACgkQJ7GIuiH/oeVgggCgnm0RGT/VRMkTz15KCTeBwHXQ
8YAAmgNtkZvi8VoMl5Nsn1xnr3MGujbO
=nmss
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090702095223.7937d133>
