Opened 7 years ago

Closed 7 years ago

#6320 closed enhancement (fixed)

libpeas-1.14.0

Reported by: bdubbs@… Owned by: Fernando de Oliveira
Priority: normal Milestone: 7.8
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

New minor version

Attachments (1)

libpeas-make-check.log (26.5 KB ) - added by bdubbs@… 7 years ago.
Results from libpeas-1.14 checks

Download all attachments as: .zip

Change History (12)

comment:1 by Fernando de Oliveira, 7 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

comment:2 by Fernando de Oliveira, 7 years ago

Test has one fail, apparently at the end.

I'm very preoccupied, because it is similar error I got with gvfs #6332 (will put there).

  /extension/python/multiple-threads/callbacks:                        OK
PASS: extension-python
TEST: extension-python3... (pid=22482)
  /extension/python3/garbage-collect:                                  
(/tmp/porg-build-2015.03.28-17h17m21s/libpeas-1.14.0/tests/libpeas/.libs/lt-extension-python3:22482): libpeas-WARNING **: Error initializing Python Plugin Loader: PyGObject initialization failed
ImportError: could not import gobject (error was: ImportError('/usr/lib/python2.7/site-packages/gi/_gi.so: undefined symbol: _Py_ZeroStruct',))

(/tmp/porg-build-2015.03.28-17h17m21s/libpeas-1.14.0/tests/libpeas/.libs/lt-extension-python3:22482): libpeas-WARNING **: Please check the installation of all the Python related packages required by libpeas and try again

(/tmp/porg-build-2015.03.28-17h17m21s/libpeas-1.14.0/tests/libpeas/.libs/lt-extension-python3:22482): libpeas-WARNING **: Loader 'python3' is not a valid PeasPluginLoader instance
**
libpeas:ERROR:testing-extension.c:74:test_runner: assertion failed: (peas_engine_load_plugin (fixture->engine, fixture->info))
FAIL
GTester: last random seed: R02S21fd60941fc0eee0294e444fe53461e0
/bin/sh: line 1: 22358 Terminado               G_SLICE=debug-blocks gtester --verbose engine extension-c extension-set plugin-info extension-python extension-python3

It is concerning me very much, because it is similar error I got with gvfs #6332 (will put there). It is concerning me very much, because it is similar error I got with gvfs #6332 (will put there).

comment:3 by Pierre Labastie, 7 years ago

It is a python 3 test and the Error talks about importing something from /usr/lib/python2.7. There might be some error (either in the book or in your scripts) for PyGobject3...

by bdubbs@…, 7 years ago

Attachment: libpeas-make-check.log added

Results from libpeas-1.14 checks

comment:4 by bdubbs@…, 7 years ago

I didn't get any errors when running the checks. Log is attached.

One thing I did when building 7.7 was when I got to the first package that needed a python module, I built all of the modules in the book. Same for perl modules.

comment:5 by Fernando de Oliveira, 7 years ago

Thank you very much for the comments, Pierre and Bruce.

That is my worry: somehow python 2 and 3 are mixed in my system. I think that it is particularly pygobject3 with some python2 stuff mixed in.

I have modified the script, split in two, made manual installs.

My system cannot stay like that. If I don't find a solution tommorow, will give back to the book the tickets.

Meanwhile, please someone run the checks for gvfs and probably fix the book, I may have made a wrong judgment.

I'm stopping for today, now.

comment:6 by Douglas R. Reno, 7 years ago

I will gladly take a look at the tests for gvfs, I will report back soon.

comment:7 by Douglas R. Reno, 7 years ago

I can say that I actually got the test suite to run, however the end result was not pretty. Out of 32 tests, 8 failed and 12 were skipped. I had to install the following on my system to bypass the first initial checks:

OPENSSH PYTHON 3 PYCAIRO-1.10.0 PYGOBJECT-3.16.0 PYTHON 3 BINDINGS ONLY

All tests that required Samba failed as I do not have Samba installed on this machine. Some tests were skipped as a result of gvfs not being in its testbed. All of the ftp:// tests failed as a result of a missing daemon called twistd (which I believe is in the optional dependencies, but it is not in the book).

All of the archive:// tests passed. When the tests got to the dav:// section, those were skipped as I do not have Apache installed on this system.

On a side note, I wonder why the folks at Gnome didn't take the time to put together a document that details exactly what dependencies are needed for full coverage of the test suite. I searched for a little while and I couldn't find anything on it.

Back to Fernando, I think that your Python Module installations might be screwed up. Those tests are supposed to look for the Python3 versions of that module (e.g. PYGOBJECT-3.16.0 with the PYTHON 3 binding.

comment:8 by bdubbs@…, 7 years ago

Resolution: fixed
Status: assignedclosed

This is not the place to discuss gvfs tests. Lets start a thread on -dev.

comment:9 by Fernando de Oliveira, 7 years ago

I think I solved. It was not package mis installed. I had PYTHONPATH defined to /usr/lib/python2.7/site-packages (copied /etc/profile from LFS71 just to make an experiment, and forgot)

in reply to:  8 comment:10 by Fernando de Oliveira, 7 years ago

Resolution: fixed
Status: closedreopened

Replying to bdubbs@…:

This is not the place to discuss gvfs tests. Lets start a thread on -dev.

You are right.

But I need to reopen the ticket to commit, tomorrow.

comment:11 by Fernando de Oliveira, 7 years ago

Resolution: fixed
Status: reopenedclosed

sorry, just saw you did it.

Note: See TracTickets for help on using tickets.