← Back to team overview

yade-dev team mailing list archive

Re: Sporadic compilation error

 

> Maybe investigating the difference between the "regular" setup and
> "deb-packages" compilation would give some insight.

Basically the same [1]

[1] https://gitlab.com/yade-dev/trunk/blob/feature/dailypackages/scripts/ppa_ci/debian/rules#L18

Anton

Am Sa., 8. Juni 2019 um 21:01 Uhr schrieb Janek Kozicki <janek_listy@xxxxx>:
>
> Also it is interesting that this error did not occur in hundreds of
> pipeline compilations after each `git push` to gitlab. Maybe
> investigating the difference between the "regular" setup and
> "deb-packages" compilation would give some insight.
>
>
>
> Janek Kozicki said:     (by the date of Sat, 8 Jun 2019 20:53:54 +0200)
>
> > 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)
> > > >
> >  [...]
> > > >
> > > >
> > > > --
> > > > 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/  |
> >
> > _______________________________________________
> > 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/  |
>
> _______________________________________________
> 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


Follow ups

References