Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Build fails against qt-5.9 and python 3.6 #1
Comments
|
Can we put it on hold for now? I'm currently working on porting in Qt 5.9 although I'm using ubuntu 16.04 (and not 17.10). I didn't had any issues with python but I have a set of patches for compiling it against Qt 5.9. I haven't finalized this yet, but I can publish it if you want. |
khurshid-alam
commented
Aug 20, 2017
|
Alright. I can wait. And yes you can publish those patches..I will test. Thanks. |
|
see attached the debian directory containing all the required patches for Qt 5.9. Notice that:
|
khurshid-alam
commented
Aug 22, 2017
|
Thanks. It seems there are some issues with gsettings-qt which needs to be compiled first against 5.9. I am trying that now. |
|
That worked for me out-of-the-box. Which code are you using? If you use the 0.1+16.04.20160329-0yunit0+ubuntu+16.04 tag you should be fine |
|
Oh! BTW: I understand that you are currently working in 17.10 right? If that's the case I would appreciate if you could commit any additional patches you used. That would save us duplicated effort :) |
|
Also, if you are trying to build the whole yunit stack in 17.10 (which I'm guessing you are trying to do) you would probably need some additional patches, namely for qtubuntu (ported already but haven't committed to github yet) and of course yunit which is somewhat tricky (I have it in a working state already but I still need to wok with some failing uitests). In any case I guess I'll try in the next couple of days to commit anything that I have done so far. I'll keep you posted.... |
khurshid-alam
commented
Aug 22, 2017
|
Thanks. And yes, since I have decided to do it, let's do it properly. I have asked for subscription for devel mailing list. |
khurshid-alam
commented
Aug 25, 2017
•
|
@jsalatas Thanks for the patch. It compiles successfully. https://code.launchpad.net/~khurshid-alam/+recipe/ubuntu-ui-toolkit-daily I dropped +16.04 as ppa already adds ~ubuntu-17.10. Instead I am using {debupstream}-0yunit0+{time} For the time being I am compiling in experimental ppa. But I have also created Yunit ppa (but it would be better if you people do that as I talked in mailing list)...one qt-5.9 lands I will upload it Yunit ppa. Do you have any idea what order other packages can be compiled? I believe Online-accounts and accounts-plugins should also compile just fine.....but I could be wrong. |
This is rather tricky, as there are some packages with circular dependencies that need bootstraping. I'm planning for a long time now to create a wiki page about it but neve had time to do so :( In any case you will notice that some of these packages (like the ubuntu-system-settings) require two builds: one initial with reduced functionality (DEB_BUILD_PROFILES=stage1) and then after building all the other dependencies come back and have a normal full build of the package. Yunit's github repos contain all the required definitions in debian/control and debian/rules for this. Please let me know if you have any issues. I'll reply to your mailing list message a little bit later today. Thanks for your help and feedback! |
khurshid-alam
commented
Aug 26, 2017
•
|
Thanks for the notes...No it does make lots of sense to me. Thanks. But I may have replied too soon for toolkit ....i am experiencing some issue....it is failing a unit test
which is odd because qmake should take care of that
Same thing happens if I run locally
|
Which repo is this? Regarding the "No such file or directory " this was my mistake: in my initial commit I didn't notice that there were some needed empty dirs (which git cannot handle) but I believe I fixed it when I noticed it. |
khurshid-alam
commented
Aug 27, 2017
|
Source: 064bb03 Problemetic unit test: (search for string So for the time being I disabled unit test for |
You're right! I have fixed it in upstream branch but apparently it didn't make it to the debian package. My bad! Sorry :(
I believe this is due to this bug which will be eventually fixed in Qt 5.9.2 and which cause many tests to be unstable (including the test in question) https://bugreports.qt.io/browse/QTBUG-61741 In the backport to 16.04 in which I'm currently working applying this patch seems to solve this issues. I guess if you run the test in question several times you will notice that sometimes it passes while other times it fails. So yeah, I guess it is better to ignore/disable it for knoe and wait for Qt 5.9.2 to be released. As a final note in the zip I sent you there is the |
khurshid-alam commentedAug 20, 2017
•
Edited 1 time
-
khurshid-alam
Aug 20, 2017
I am getting following error:
ubuntu-ui-toolkit-1.3.2190+17.04.20170327ubuntu1/tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_qquicklistview.py:179:9: E722 do not use bare except
ubuntu-ui-toolkit-1.3.2190+17.04.20170327ubuntu1/tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_uclistitem.py:52:9: E722 do not use bare except
It seems to be related with latest pycodestyle version 2.3.0 (2017-01-30) which was added the new E722 check: Add E722 warning for bare except clauses
The related launchpad bug is here:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1710926