From owner-freebsd-ports@FreeBSD.ORG Fri Feb 22 14:34:52 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9B2C2EDB for ; Fri, 22 Feb 2013 14:34:52 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 4618533B for ; Fri, 22 Feb 2013 14:34:51 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by kabab.cs.huji.ac.il with esmtp id 1U8ti6-000F1H-Jh for ports@freebsd.org; Fri, 22 Feb 2013 16:34:50 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: ports@freebsd.org Subject: devel/uwsgi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 22 Feb 2013 16:34:50 +0200 From: Daniel Braniss Message-ID: X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2013 14:34:52 -0000 hi, I'm having problems compiling devel/uwsgi it only works with: make -eCPUCOUNT=1 which is not the default whne CPUTYPE is > 1, it hangs, so my guess is there is somethingwrong in the the threading support. without the CPUCOUNT: rnd> make /usr/local/bin/python2.7 uwsgiconfig.py --build using profile: buildconf/default.ini detected include path: ['/usr/include/gcc/4.2', '/usr/include'] Exception in thread Thread-5: Traceback (most recent call last): File "/usr/local/lib/python2.7/threading.py", line 551, in __bootstrap_inner self.run() File "/usr/local/lib/python2.7/threading.py", line 504, in run self.__target(*self.__args, **self.__kwargs) File "uwsgiconfig.py", line 92, in thread_compiler (objfile, cmdline) = compile_queue.get() File "/usr/local/lib/python2.7/site-packages/gevent/queue.py", line 190, in get return waiter.get() File "/usr/local/lib/python2.7/site-packages/gevent/hub.py", line 321, in get return get_hub().switch() File "/usr/local/lib/python2.7/site-packages/gevent/hub.py", line 135, in get_hub raise NotImplementedError('gevent is only usable from a single thread') NotImplementedError: gevent is only usable from a single thread ... detected CPU cores: 16 and now it's stuck: ^T load: 0.02 cmd: python2.7 41862 [kqread] 472.56r 0.10u 0.14s 0% 6136k any ideas? thanks, danny