Trying to update the packaging from 16.1.y to 16.2.y required changing the buildsystem at the debhelper level, which had some side effects, including:
make clean running (and failing): that was fixed;
make test running and failing: that's what that issue is about.
There are two main problems here:
- the
frida-tools test fails because it cannot find the frida Python module, even if PYTHONPATH points to it;
- the
frida-python test fails because of some Cancellable attribute that's supposedly not available.
Even if the first part was resolved, we would immediately stumble onto the second part, which happens as soon as import frida happens. It can be reproduced via the following at the top level:
PYTHONPATH=$(pwd)/subprojects/frida-python ipython3
It's better with the following though:
PYTHONPATH=$(pwd)/build/subprojects/frida-python/ ipython3
So maybe this might be about some issue with the test suite confusing the source and build directories? In any case, setting PYTHONPATH via the environment doesn't help as far as make test is concerned, inside or outside the Debian package build process, and the following fails just the same:
PYTHONPATH=$(pwd)/build/subprojects/frida-python/ make test
Trying to update the packaging from 16.1.y to 16.2.y required changing the buildsystem at the
debhelperlevel, which had some side effects, including:make cleanrunning (and failing): that was fixed;make testrunning and failing: that's what that issue is about.There are two main problems here:
frida-toolstest fails because it cannot find thefridaPython module, even ifPYTHONPATHpoints to it;frida-pythontest fails because of someCancellableattribute that's supposedly not available.Even if the first part was resolved, we would immediately stumble onto the second part, which happens as soon as
import fridahappens. It can be reproduced via the following at the top level:It's better with the following though:
So maybe this might be about some issue with the test suite confusing the source and build directories? In any case, setting
PYTHONPATHvia the environment doesn't help as far asmake testis concerned, inside or outside the Debian package build process, and the following fails just the same: