cvs commit: ports/mail/py-spambayes Makefile ports/mail/py-spambayes/files pyspamd.in

Ion-Mihai Tetcu itetcu at FreeBSD.org
Thu Jul 2 06:52:04 UTC 2009


On Thu, 2 Jul 2009 09:41:28 +0800
Li-Wen Hsu <lwhsu at FreeBSD.org> wrote:

> On Thu, Jul 02, 2009 at 01:23:47 +0000, QAT at 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 at FreeBSD.org, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20090702/380d1bc8/signature.pgp


More information about the cvs-all mailing list