From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Changing python-wrapper to handle lib/ etc. Date: Sun, 2 Nov 2014 22:32:57 +0100 Message-ID: <20141102213257.GA11661@debian> References: <87bnoyk6g9.fsf@gnu.org> <87wq7kh70n.fsf@gnu.org> <20141029222347.GE29707@debian> <87tx2lu2ed.fsf_-_@gnu.org> <20141102174450.GC6865@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xl2lx-0007I9-5b for guix-devel@gnu.org; Sun, 02 Nov 2014 16:33:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xl2lr-0000m5-90 for guix-devel@gnu.org; Sun, 02 Nov 2014 16:33:17 -0500 Content-Disposition: inline In-Reply-To: <20141102174450.GC6865@debian> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?iso-8859-15?Q?Court=E8s?= Cc: Guix-devel , Federico Beffa The first problem occurs. Swig does not compile any more: http://hydra.gnu.org/build/134889/log/raw There are lots of error messages of the form: checking testcase namespace_nested under python namespace_enum_wrap.cxx:154:21: fatal error: Python.h: No such file or directory # include If one compares with the version in master: http://hydra.gnu.org/build/131472/log/raw one realises that there python was simply not found, so the tests were probably not executed: checking for Python header files... checking for Python library... Not found checking for python3... no With the new python wrapper, something is found: checking for python3-config... python3-config checking for Python 3.x prefix... /gnu/store/r6614z0w2inxn78wzaa7ic5sai8s7l9f-python-3.3.5 checking for Python 3.x exec-prefix... /gnu/store/r6614z0w2inxn78wzaa7ic5sai8s7l9f-python-3.3.5 checking for Python 3.x version... python3.3 checking for Python 3.x lib dir... lib checking for Python 3.x header files... -I/gnu/store/r6614z0w2inxn78wzaa7ic5sai8s7l9f-python-3.3.5/include/python3.3m -I/gnu/store/r6614z0w2inxn78wzaa7ic5sai8s7l9f-python-3.3.5/include/python3.3m checking for Python 3.x library... Not found Whatever this means! The header files are correctly located in the python3.3m subdirectory of the include directory. However, the CPATH includes only the include/ directory itself (logic!). And apparently the tests do not use the correct include path. Could maybe a swig specialist have a look? Andreas