From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Woodcroft Subject: Re: help build a python package (odoo) Date: Sat, 11 Jun 2016 10:03:27 +1000 Message-ID: <575B554F.1050008@uq.edu.au> References: <20160610103648.052182dc@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBWOr-0000g1-Et for guix-devel@gnu.org; Fri, 10 Jun 2016 20:03:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBWOn-0003jS-8K for guix-devel@gnu.org; Fri, 10 Jun 2016 20:03:40 -0400 Received: from mailhub1.soe.uq.edu.au ([130.102.132.208]:54159 helo=newmailhub.uq.edu.au) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBWOm-0003j2-LA for guix-devel@gnu.org; Fri, 10 Jun 2016 20:03:37 -0400 In-Reply-To: <20160610103648.052182dc@riseup.net> 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" To: "Jovany Leandro G.C" , guix-devel@gnu.org On 11/06/16 01:36, Jovany Leandro G.C wrote: > Hi, > > i started building package definition: Hi there. [..] > Processing dependencies for odoo==9.0rc20160610 > Searching for xlwt > Reading https://pypi.python.org/simple/xlwt/ > Download error on https://pypi.python.org/simple/xlwt/: [Errno -2] Name > or service not known -- Some packages may not be found! This appears to be the problem here. This means that you'll need to add "python2-xlwt" as an input of some kind (input/native-input/propagated-input) into the package definition. Unfortunately, xlwt has not yet been packaged for Guix, so that also needs to be added. [..] > but if i do manually > ~~~ > $ guix environment -L$PWD odoo > $ cd odoo-src > $ python setup.py build > $ python setup.py check > ~~~ > > everything works, and download all requirements well *xlwt/simple* This works because the environment has access to the internet and so can download it, or it is otherwise available on your system via PYTHONPATH or otherwise. I imagine running the same command with "--container" would not work. All packages are built without access to the system or the internet. Hope that helps. Good luck. ben