From owner-freebsd-python@FreeBSD.ORG Thu Feb 16 03:24:39 2012 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CFDC106566C for ; Thu, 16 Feb 2012 03:24:39 +0000 (UTC) (envelope-from johnny@interpro.com.hk) Received: from nt2000.interpro.com.hk (nt2000.interpro.com.hk [202.82.148.130]) by mx1.freebsd.org (Postfix) with ESMTP id C1EE58FC1B for ; Thu, 16 Feb 2012 03:24:38 +0000 (UTC) Received: from mail.interpro.com.hk (unknown [10.1.170.47]) by mercury.interpro.com.hk (Postfix) with ESMTP id 7235B39957 for ; Thu, 16 Feb 2012 10:59:40 +0800 (HKT) Received: (qmail 17301 invoked by uid 89); 16 Feb 2012 02:59:38 -0000 Received: from 10.1.170.148 by mail1 (envelope-from , uid 89) with qmail-scanner-1.25 (clamdscan: 0.96.4/12283. Clear:RC:1(10.1.170.148):. Processed in 0.052412 secs); 16 Feb 2012 02:59:38 -0000 Received: from unknown (HELO ?10.1.170.148?) (johnny@interpro.com.hk@10.1.170.148) by mail1 with ESMTPA; 16 Feb 2012 02:59:38 -0000 Message-ID: <4F3C7118.10601@interpro.com.hk> Date: Thu, 16 Feb 2012 10:59:36 +0800 From: Johnny Sun User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: python@FreeBSD.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Ports-tree lang/python27 won't compile (After upgrade 8.2-RELEASE-i386->9.0-RELEASE-i386) X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2012 03:24:39 -0000 Hi, Ports-tree lang/python27 won't compile properly. Errors with undefined reference to _sem_timedwait, etc. ========================================================= cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG -O2 -pipe -fno-strict-aliasing -I. -IInclude -I./../Include -fPIC -DPy_BUILD_CORE -o Modules/python.o ./../Modules/python.c cc -pthread -Wl,--export-dynamic -o python Modules/python.o -L. -lpython2.7 -lutil -lm ./libpython2.7.so: undefined reference to `_sem_timedwait' ./libpython2.7.so: undefined reference to `_sem_getvalue' ./libpython2.7.so: undefined reference to `_sem_destroy' ./libpython2.7.so: undefined reference to `_sem_wait' ./libpython2.7.so: undefined reference to `_sem_init' ./libpython2.7.so: undefined reference to `_sem_post' ./libpython2.7.so: undefined reference to `_sem_trywait' *** Error code 1 Stop in /usr/ports/lang/python27/work/Python-2.7.2/portbld.shared. *** Error code 1 Stop in /usr/ports/lang/python27. *** Error code 1 Stop in /usr/ports/lang/python27. ========================================================= Used *portsnap* to update to latest ports-tree. make rmconfig & make clean does not solve the problem. Compiled NOT okay 9.0-RELEASE-i386 version (upgraded from 8.2 using freebsd-update), using P3/P4 era celeron CPU Fresh Install 8.2-i386 (without any ports), then immediately upgrade to 9.0 using freebsd-update Compile Okay: Fresh install 9.0-RELEASE-386 8.2->9.0-AMD64 Any idea? Thank you in advance. -- Best Regards, Johnny Sun Email: johnny@interpro.com.hk