Error making plone 2.04 on 5.3-Stable

Filippo Natali filippo.natali at widestore.net
Fri Dec 10 02:51:07 PST 2004


on 09.12.2004 21:07 Jason Larion wrote:
> All,
> 
> 	I am experience the following error while making the plone-2.04 port on freebsd 5.3-stable.  I've attached the relevant details here.  I've looked throught the ports archives, and have been unable to find anything similar/topical/etc.
> 
> 	Any help would be greatly appreciated.
> 
> Regards,
> Jason
> 
> 
> 
> [root at nemesis plone]# uname -a
> FreeBSD nemesis.xanathas.com 5.3-STABLE FreeBSD 5.3-STABLE #7: Tue Nov 23 17:34:39 EST 2004     root at www.xanathas.com:/usr/obj/usr/src/sys/NEMESIS  i386
> [root at nemesis plone]# pwd
> /usr/ports/www/plone
> [root at nemesis ports]# which python
> /usr/local/bin/python
> [root at nemesis ports]# python
> Python 2.4 (#2, Dec  1 2004, 12:27:06)
> [GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
> Type "help", "copyright", "credits" or "license" for more information.
> 
> [root at nemesis plone]# make clean > /dev/null
> [root at nemesis plone]# make

[snip]

> Compiling /usr/ports/www/plone/work/Plone-2.0.4/PlacelessTranslationService/tests/test_PlacelessExports.py ...
>   File "/usr/ports/www/plone/work/Plone-2.0.4/PlacelessTranslationService/tests/test_PlacelessExports.py", line 20
>     return printed
> SyntaxError: 'return' outside function
> 
> Compiling /usr/ports/www/plone/work/Plone-2.0.4/PlacelessTranslationService/utils.py ...
> Listing /usr/ports/www/plone/work/Plone-2.0.4/PlacelessTranslationService/www ...
> *** Error code 1 (ignored)

Hi,

these errors are harmless and are ignored, as you can see :)

while I'm here...since the import of python 2.4 as default version, all
Zope products (which usually have "USE_ZOPE=yes" and "USE_PYTHON="yes"
defined in Makefile) depend both from python 2.3 and 2.4.

I've submitted a little patch for bsd.python.mk on freebsd-python@
(instead of modify every single Zope-related port):

http://lists.freebsd.org/pipermail/freebsd-python/2004-December/000165.html

In the weekend I'll test it better and eventually submit a pr.

bye
Filippo


More information about the freebsd-ports mailing list