yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #14814
Re: Sporadic compilation error
-
To:
Yade developers <yade-dev@xxxxxxxxxxxxxxxxxxx>
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Sat, 8 Jun 2019 20:53:54 +0200
-
Face:
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUBAQEtLS1KSkpRUVFXV1dYWFhjY2Nzc3N3d3eHh4eKioqdnZ24uLjLy8vc3NxVIagyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AIVEzgS1fgQtQAAAjRJREFUOMtt1DFv00AUAOAzFQNbjigSyoQaRaBMhKgLUyKXpVNNeUpk9vyDqFJhQ1kiBuaqAwJCqvPtSLY7RlTn5+5IdnYkkt/AOyfxXVLe5vf53Z1875kd34tOEax8djmj6GyjhB5bxz50GdsVZr9fqRjZwAtKOJw5Wqs2MMZ16ALHsaDncF7xAHix1oEFHAB8f+pRjcO4gfZDykcYzbiucRolOLUJ6kjA0xtVt+A6TySlM0RajIpK6DzwKZ/nOYbF/gclHMo1ZOHYY/+Ha+AWuM+3oMS4eeqYzZ8FiCltgUqI8cd2wwAVpJk+8LWYjBtnJdQpHQqJMd4Oxt4bU9ESiFGc5hkqaH74asAX4iabP5I5gZ+qjgGlJCqZa3h3lxhoeVcSE1qLQC4sqKOK9MGW9E3izFqqHokoztLFEgXg31sbZEKnWi2T74A4NxfVQqlkjKtcAWD+zcArFEES01dR0E/nnV0IgugmDd/2L84sOAouRBBHEc7gtc8teDkRlE0iNQPo2w3Xhh/D4TCIQ4LRLoTvgwjj6RRgavdurxYGMaIuGOyAW/PpNlCcU9/93AHenAWYjPoAwa+G3e3to/MgFNTAEKvKDjzuCzHTnY3qqdXtx24VijzQfZ0yewZ5cwRFQaa+mIYr1uI0I76+3W4xhlvoVRwOA0Fdl64HlJnxP6T8YpX/Lga4Wv4A3ErrU5oTfN7Mu/llXMl8RXEPji/lQkN3H7qXqgC2By47EXeU/7PJ/wPxRKMnuZwIeAAAAABJRU5ErkJggg==
-
In-reply-to:
<CALF6qJ=nUV-O9KMpRSX-hn=oucpA6nwcPD6Q3sbY-m9gfz1xRw@mail.gmail.com>
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_listy@xxxxx>:
> >
> > 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@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~yade-dev
> > More help : https://help.launchpad.net/ListHelp
--
Janek Kozicki http://janek.kozicki.pl/ |
Follow ups
References