[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add ola.
From: |
John J Foerch |
Subject: |
Re: [PATCH] gnu: Add ola. |
Date: |
Tue, 23 Aug 2016 22:03:18 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
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 <module> 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 <module> 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