[Neurodebian-devel] Testing OpenSesame on build farm

Sebastiaan Mathot s.mathot at vu.nl
Sat Aug 11 14:15:58 UTC 2012


Hi Michael en Yaroslav,

Per your suggestions I set up a build farm using the script provided on the
website <http://neuro.debian.net/blog/2012/2012-04-14_ndtools.html>. Using
this, I tested the Debian packaging for OpenSesame (0.27-pre2), using the
scripts made by Michael, slightly modified based on the instructions from
mentors.debian.net <
https://github.com/smathot/OpenSesame/tree/playground/debian>. I also
uploaded the packaging to mentors.debian.net <
http://mentors.debian.net/package/opensesame>.

In general, it works encouragingly well and it was not nearly as difficult
as I imagined. Still, the build farm indicates failure for two
distributions:

[From summary.build]

opensesame_0.27~pre2-1_amd64.build OK 3:41.90 real, 26.24 user, 10.07 sys,
918016 out
opensesame_0.27~pre2-1~nd60+1_amd64.build FAILED 0:00.02 real, 0.00 user,
0.01 sys, 0 out
opensesame_0.27~pre2-1~nd70+1_amd64.build OK 2:43.49 real, 25.47 user, 9.24
sys, 873744 out
opensesame_0.27~pre2-1~nd+1_amd64.build OK 2:49.33 real, 25.01 user, 9.34
sys, 881024 out
opensesame_0.27~pre2-1~nd10.04+1_amd64.build OK 2:30.26 real, 31.98 user,
113.39 sys, 469768 out
opensesame_0.27~pre2-1~nd10.10+1_amd64.build OK 4:03.16 real, 18.50 user,
17.33 sys, 565504 out
opensesame_0.27~pre2-1~nd11.04+1_amd64.build FAILED 4:35.01 real, 25.46
user, 14.37 sys, 619256 out
opensesame_0.27~pre2-1~nd11.10+1_amd64.build OK 2:48.55 real, 25.24 user,
15.69 sys, 801536 out
opensesame_0.27~pre2-1~nd12.04+1_amd64.build OK 2:44.52 real, 23.71 user,
14.83 sys, 734120 out

For nd60, it is difficult to say what goes wrong, because there is
no .build file to check for errors (it's apparently not generated). For
nd11.04, there is a .build file, and it indicates that the build fails,
because PyQt4.Qsci isn't available (from python-qscintilla2). This is
strange, because it is. I can see in the .build that it gets installed, and
it's also listed as a dependency in debian/control. I figured there might
be a problem with the python-qscintilla2 package in Ubuntu 11.04, so I
tried to install the package in a Virtual Machine running Ubuntu 11.04 and
import the python module. This works perfectly well.

(... See attachment for full file ... (
Traceback (most recent call last):
  File "setup.py", line 29, in <module>
    import libqtopensesame.qtopensesame
  File "/tmp/buildd/opensesame-0.27~pre2/libqtopensesame/__init__.py", line
25, in <module>
    from libqtopensesame.items import qtplugin
  File
"/tmp/buildd/opensesame-0.27~pre2/libqtopensesame/items/qtplugin.py", line
24, in <module>
    from libqtopensesame.items import qtitem
  File "/tmp/buildd/opensesame-0.27~pre2/libqtopensesame/items/qtitem.py",
line 27, in <module>
    from libqtopensesame.widgets import inline_editor, header_widget
  File
"/tmp/buildd/opensesame-0.27~pre2/libqtopensesame/widgets/inline_editor.py",
line 22, in <module>
    from PyQt4.Qsci import QsciScintilla, QsciScintillaBase, QsciLexerPython
ImportError: No module named Qsci
(...)

Do you guys have any clue what the problem(s) might be? Thanks for all your
help!

Cheers,
Sebastiaan

-- 
Vrije Universiteit, Amsterdam
Dept. of Cognitive Psychology
http://www.cogsci.nl/smathot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/neurodebian-devel/attachments/20120811/781935cf/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.build
Type: application/octet-stream
Size: 842 bytes
Desc: summary.build
URL: <http://lists.alioth.debian.org/pipermail/neurodebian-devel/attachments/20120811/781935cf/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensesame_0.27~pre2-1~nd11.04+1_amd64.build
Type: application/octet-stream
Size: 28489 bytes
Desc: opensesame_0.27~pre2-1~nd11.04+1_amd64.build
URL: <http://lists.alioth.debian.org/pipermail/neurodebian-devel/attachments/20120811/781935cf/attachment-0003.obj>


More information about the Neurodebian-devel mailing list