From mboxrd@z Thu Jan 1 00:00:00 1970 From: John J Foerch Subject: Re: [PATCH] gnu: Add ola. Date: Tue, 23 Aug 2016 22:03:18 -0400 Message-ID: <87lgzmsz2x.fsf@hecubus.retroj.net> References: <87oa505q4e.fsf@hecubus.retroj.net> <87r39gsjiv.fsf@hecubus.retroj.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcNXV-0004kM-VW for guix-devel@gnu.org; Tue, 23 Aug 2016 22:03:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcNXR-0002UU-Oo for guix-devel@gnu.org; Tue, 23 Aug 2016 22:03:36 -0400 Received: from [195.159.176.226] (port=60889 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcNXR-0002Tp-HY for guix-devel@gnu.org; Tue, 23 Aug 2016 22:03:33 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bcNXK-0003i8-4K for guix-devel@gnu.org; Wed, 24 Aug 2016 04:03:26 +0200 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: guix-devel@gnu.org Hi all, I have made some progress with the ola package, but have run into difficulty related to python used in its test phase. Relevant code and logs can be found here: The package definition: http://retroj.net/scratch/ola-guix/ola.scm The build log: http://retroj.net/scratch/ola-guix/ola-guix-build.log OLA's config.log: http://retroj.net/scratch/ola-guix/config.log Log of the test suite errors: http://retroj.net/scratch/ola-guix/test-suite.log The ./configure argument --enable-rdm-tests turns on some tests that use python. These tests require the python-protobuf package. Config.log shows that protobuf was found, by whatever means autoconf uses to find it, but the tests fail with this: File "/tmp/guix-build-ola-0.10.2.drv-0/ola-0.10.2/python/ola/PidStore.py", line 27, in from google.protobuf import text_format ImportError: No module named 'google' ... File "/tmp/guix-build-ola-0.10.2.drv-0/ola-0.10.2/python/ola/rpc/SimpleRpcController.py", line 18, in from google.protobuf import service ImportError: No module named 'google' (For the complete messages, see links above.) My best guess is that when the rdm tests run, PYTHONPATH does not include whatever directory the google.protobuf module is in. Anybody know what's going on here? Thank you, -- John Foerch