It happened locally for me, and it always was random :( In some other QT project which I had, I managed to fix this by making sure that mocs compilation always goes first, separately before the rest of the compilation.
I didn't investigate how to achieve this in CMakeLists.txt maybe this would solve it. Anton Gladky said: (by the date of Sat, 8 Jun 2019 20:48:45 +0200) > Hi Janek, > > > Previously the error was about py/pack/_packObb.cpp, now it has moved > > to py/_libVersions.cpp > > OK, I will try to reproduce it locally. But it is now a blocker for > deb-packages. > > > btw, did you notice: > > https://salsa.debian.org/science-team/libqglviewer/merge_requests/1 ? > > Thank you. Debian is frozen now due to release. But I will definitely > let it go after it. > > Regards > > Anton > > Am Sa., 8. Juni 2019 um 18:52 Uhr schrieb Janek Kozicki <janek_li...@wp.pl>: > > > > Hi Anton, > > > > We have spotted a very similar mocs compilation error even before I > > implemented > > libVersions: https://gitlab.com/yade-dev/trunk/issues/67 > > > > I seems that it randomly fails on the last py/*.cpp file. > > > > Previously the error was about py/pack/_packObb.cpp, now it has moved > > to py/_libVersions.cpp > > > > I don't know what is this. Maybe some missing include from QT libraries? > > > > btw, did you notice: > > https://salsa.debian.org/science-team/libqglviewer/merge_requests/1 ? > > > > best regards > > Janek > > > > Anton Gladky said: (by the date of Sat, 8 Jun 2019 18:34:49 +0200) > > > > > Hello all, > > > > > > there is an annoying error during the Yade compilation > > > for Deb-Packages, which appears often, but sporadically [1]: > > > > > > py/CMakeFiles/_utils.dir/build.make:89: recipe for target > > > 'py/CMakeFiles/_utils.dir/_utils_autogen/mocs_compilation.cpp.o' > > > failed > > > make[3]: Leaving directory > > > '/builds/yade-dev/deb_bionic/yadedaily/debian/build' > > > /builds/yade-dev/deb_bionic/yadedaily/debian/build/py/_libVersions_autogen/mocs_compilation.cpp:4:1: > > > error: 'othing' does not name a type > > > /builds/yade-dev/deb_bionic/yadedaily/debian/build/py/_libVersions_autogen/mocs_compilation.cpp:4:8: > > > error: expected declaration before '}' token > > > > > > @Janek Kozicki , do you have an idea, what can cause an error. > > > > > > [1] https://gitlab.com/yade-dev/trunk/-/jobs/227728534 > > > > > > -- > > Janek Kozicki http://janek.kozicki.pl/ | > > > > _______________________________________________ > > Mailing list: https://launchpad.net/~yade-dev > > Post to : yade-dev@lists.launchpad.net > > Unsubscribe : https://launchpad.net/~yade-dev > > More help : https://help.launchpad.net/ListHelp -- Janek Kozicki http://janek.kozicki.pl/ | _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp