From owner-freebsd-ports@FreeBSD.ORG Fri Dec 10 10:51:07 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66ECE16A4CE for ; Fri, 10 Dec 2004 10:51:07 +0000 (GMT) Received: from w1001.widhost.net (w1001.widhost.net [209.235.192.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id D784D43D3F for ; Fri, 10 Dec 2004 10:51:06 +0000 (GMT) (envelope-from filippo.natali@widestore.net) Received: from mx0.hq.widestore.net (mx0.hq.widestore.net [212.97.46.42]) by w1001.widhost.net (Postfix) with ESMTP id EE5CF21D7E for ; Fri, 10 Dec 2004 05:51:05 -0500 (EST) Received: from [192.168.1.1] (cagnina.hq.widestore.net [192.168.1.1]) by mx0.hq.widestore.net (Postfix) with ESMTP id 9485661; Fri, 10 Dec 2004 11:50:36 +0100 (CET) Message-ID: <41B97F7C.5030803@widestore.net> Date: Fri, 10 Dec 2004 11:50:36 +0100 From: Filippo Natali Organization: Widestore.Net User-Agent: Mozilla Thunderbird 1.0 (X11/20041209) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jason Larion References: <41B8B091.5030906@theopalgroup.com> In-Reply-To: <41B8B091.5030906@theopalgroup.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit cc: freebsd-ports@freebsd.org Subject: Re: Error making plone 2.04 on 5.3-Stable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 10:51:07 -0000 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@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@www.xanathas.com:/usr/obj/usr/src/sys/NEMESIS i386 > [root@nemesis plone]# pwd > /usr/ports/www/plone > [root@nemesis ports]# which python > /usr/local/bin/python > [root@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@nemesis plone]# make clean > /dev/null > [root@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