Hello here the code use to build taurus
override_dh_auto_build:
dh_auto_build -- --no-doc --with-extra-widgets
xvfb-run -a python setup.py build_doc
the xvfb-run is used to simulate a working X11 during the build.
This way the icones can be generated with the QPixmap.
I attach the .build log which shows the problem.
It seems that during the build process of the documentation taurus try to find the tangorc file.
It would be great if this could be avoid or at least taken into account during the build process.
Cheers
Frederic
Hi,
I tried to reproduce this warning by running the build_doc in a machine without $HOME and could not reproduce with the current develop branch.
I cannot see any mention to the tangorc in the log you provided.
Instead, the log seems to imply that trying to import taurus.qt.qtgui.editor fails if $HOME is not set (which may be the case in your build environment).
but I just tried the following and it works for me:
However, I have seen a similar issue in my Travis continuous integration builds when the USER env var is not set (it can be reproduced as follows):
In this last case, the problem is in the spyder module (which relies on env vars, which AFAIK is not allowed in debian). As a workaround, I just set the USER env var in my continuous integration node.
Can you please try again and confirm if this bug is still present in develop (e.g. with commit [4044b5])
Related
Commit: [4044b5]