Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2010 23:54:29 +0100
From:      Torfinn Ingolfsen <tingox@gmail.com>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: mail/py-spambayes and Python 2.6 update
Message-ID:  <ef8c8a881001071454s5ac7c160t6a9269ce95450faf@mail.gmail.com>
In-Reply-To: <ef8c8a880907011441o476a2474h795ccc7738224f2e@mail.gmail.com>
References:  <ef8c8a880906280214s56b7b40cxbd87219388033b62@mail.gmail.com> <1e39c0a90906301443m3652eee3v4367d5896ebd85bf@mail.gmail.com> <ef8c8a880907010143y5a1cc297k31d9573993da8bda@mail.gmail.com> <ef8c8a880907010201r3502fd84k546de76c53ceafc2@mail.gmail.com> <20090701131732.GA70161@atarininja.org> <ef8c8a880907011129k4d583e25p4b6d08a0b87b4c57@mail.gmail.com> <1e39c0a90907011401j2c130ffahaaca1b8d34cfa0f1@mail.gmail.com> <ef8c8a880907011441o476a2474h795ccc7738224f2e@mail.gmail.com>

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

something is up with the spambayes port again.

I've recently upgraded my main workstation to FreeBSD 8.0-stable:
tingo@kg-v2$ uname -a
FreeBSD kg-v2.kg4.no 8.0-STABLE FreeBSD 8.0-STABLE #1: Wed Jan  6 21:21:40
CET 2010     root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64

I have python 2.6 installed (and only that):
tingo@kg-v2$ portversion -v | grep python
python26-2.6.4              =  up-to-date with port

I change to the spambayes directory, and try to install it (I select
python26 in the options dialog):
make
cd /usr/ports/mail/py-spambayes && make config;
===>  py25-spambayes-1.0.4_4 needs Python 2.6 at least. But you specified
2.5.
*** Error code 1

Stop in /usr/ports/mail/py-spambayes.
*** Error code 1

Stop in /usr/ports/mail/py-spambayes.

That fails. However, when I try to run 'make' again, it works:
root@kg-v2# make
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for py25-spambayes-1.0.4_4
===>  Extracting for py26-spambayes-1.0.4_4
=> MD5 Checksum OK for spambayes-1.0.4.tar.gz.
=> SHA256 Checksum OK for spambayes-1.0.4.tar.gz.
===>  Patching for py26-spambayes-1.0.4_4
===>  Applying extra patch
/usr/ports/mail/py-spambayes/files/extra-patch-python26
===>  Applying FreeBSD patches for py26-spambayes-1.0.4_4
===>   py26-spambayes-1.0.4_4 depends on file: /usr/local/bin/python2.6 -
found
===>  Configuring for py26-spambayes-1.0.4_4
running config
===>  Building for py26-spambayes-1.0.4_4
running build
running build_py
creating build
creating build/lib
creating build/lib/spambayes
copying spambayes/cdb.py -> build/lib/spambayes
copying spambayes/cdb_classifier.py -> build/lib/spambayes
copying spambayes/chi2.py -> build/lib/spambayes
copying spambayes/classifier.py -> build/lib/spambayes
copying spambayes/compatcsv.py -> build/lib/spambayes
copying spambayes/compatheapq.py -> build/lib/spambayes
copying spambayes/compatsets.py -> build/lib/spambayes
copying spambayes/Corpus.py -> build/lib/spambayes
copying spambayes/CostCounter.py -> build/lib/spambayes
copying spambayes/dbmstorage.py -> build/lib/spambayes
copying spambayes/Dibbler.py -> build/lib/spambayes
copying spambayes/FileCorpus.py -> build/lib/spambayes
copying spambayes/hammie.py -> build/lib/spambayes
copying spambayes/hammiebulk.py -> build/lib/spambayes
copying spambayes/Histogram.py -> build/lib/spambayes
copying spambayes/ImapUI.py -> build/lib/spambayes
copying spambayes/mboxutils.py -> build/lib/spambayes
copying spambayes/message.py -> build/lib/spambayes
copying spambayes/msgs.py -> build/lib/spambayes
copying spambayes/oe_mailbox.py -> build/lib/spambayes
copying spambayes/optimize.py -> build/lib/spambayes
copying spambayes/Options.py -> build/lib/spambayes
copying spambayes/OptionsClass.py -> build/lib/spambayes
copying spambayes/ProxyUI.py -> build/lib/spambayes
copying spambayes/PyMeldLite.py -> build/lib/spambayes
copying spambayes/ServerUI.py -> build/lib/spambayes
copying spambayes/smtpproxy.py -> build/lib/spambayes
copying spambayes/Stats.py -> build/lib/spambayes
copying spambayes/storage.py -> build/lib/spambayes
copying spambayes/TestDriver.py -> build/lib/spambayes
copying spambayes/Tester.py -> build/lib/spambayes
copying spambayes/TestToolsUI.py -> build/lib/spambayes
copying spambayes/tokenizer.py -> build/lib/spambayes
copying spambayes/UserInterface.py -> build/lib/spambayes
copying spambayes/Version.py -> build/lib/spambayes
copying spambayes/__init__.py -> build/lib/spambayes
creating build/lib/spambayes/resources
copying spambayes/resources/classify_gif.py -> build/lib/spambayes/resources
copying spambayes/resources/config_gif.py -> build/lib/spambayes/resources
copying spambayes/resources/helmet_gif.py -> build/lib/spambayes/resources
copying spambayes/resources/help_gif.py -> build/lib/spambayes/resources
copying spambayes/resources/message_gif.py -> build/lib/spambayes/resources
copying spambayes/resources/query_gif.py -> build/lib/spambayes/resources
copying spambayes/resources/scanning__init__.py ->
build/lib/spambayes/resources
copying spambayes/resources/status_gif.py -> build/lib/spambayes/resources
copying spambayes/resources/train_gif.py -> build/lib/spambayes/resources
copying spambayes/resources/ui_html.py -> build/lib/spambayes/resources
copying spambayes/resources/ui_psp.py -> build/lib/spambayes/resources
copying spambayes/resources/__init__.py -> build/lib/spambayes/resources
running build_scripts
creating build/scripts-2.6
copying and adjusting scripts/sb_client.py -> build/scripts-2.6
copying and adjusting scripts/sb_dbexpimp.py -> build/scripts-2.6
copying and adjusting scripts/sb_evoscore.py -> build/scripts-2.6
copying and adjusting scripts/sb_filter.py -> build/scripts-2.6
copying and adjusting scripts/sb_bnfilter.py -> build/scripts-2.6
copying and adjusting scripts/sb_bnserver.py -> build/scripts-2.6
copying and adjusting scripts/sb_imapfilter.py -> build/scripts-2.6
copying and adjusting scripts/sb_mailsort.py -> build/scripts-2.6
copying and adjusting scripts/sb_mboxtrain.py -> build/scripts-2.6
copying and adjusting scripts/sb_notesfilter.py -> build/scripts-2.6
copying and adjusting scripts/sb_pop3dnd.py -> build/scripts-2.6
copying and adjusting scripts/sb_server.py -> build/scripts-2.6
copying and adjusting scripts/sb_unheader.py -> build/scripts-2.6
copying and adjusting scripts/sb_upload.py -> build/scripts-2.6
copying and adjusting scripts/sb_xmlrpcserver.py -> build/scripts-2.6
copying and adjusting scripts/sb_chkopts.py -> build/scripts-2.6
changing mode of build/scripts-2.6/sb_client.py from 644 to 755
changing mode of build/scripts-2.6/sb_dbexpimp.py from 644 to 755
changing mode of build/scripts-2.6/sb_evoscore.py from 644 to 755
changing mode of build/scripts-2.6/sb_filter.py from 644 to 755
changing mode of build/scripts-2.6/sb_bnfilter.py from 644 to 755
changing mode of build/scripts-2.6/sb_bnserver.py from 644 to 755
changing mode of build/scripts-2.6/sb_imapfilter.py from 644 to 755
changing mode of build/scripts-2.6/sb_mailsort.py from 644 to 755
changing mode of build/scripts-2.6/sb_mboxtrain.py from 644 to 755
changing mode of build/scripts-2.6/sb_notesfilter.py from 644 to 755
changing mode of build/scripts-2.6/sb_pop3dnd.py from 644 to 755
changing mode of build/scripts-2.6/sb_server.py from 644 to 755
changing mode of build/scripts-2.6/sb_unheader.py from 644 to 755
changing mode of build/scripts-2.6/sb_upload.py from 644 to 755
changing mode of build/scripts-2.6/sb_xmlrpcserver.py from 644 to 755
changing mode of build/scripts-2.6/sb_chkopts.py from 644 to 755


Very strange.
'make install' works normally.
-- 
regards,
Torfinn Ingolfsen



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