-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue in base/types building #131
Comments
This is probably caused by an incompatibility of Qt4's moc parser and C++11. I can't reproduce it here .... are you building a custom branch maybe ? Can you send the result of |
This is the output I get
|
OK ... so not that. I really am at a loss here. I'm building without problem, on 18.04 too. |
You may have different boost-versions installed or perhaps you are using different Qt-versions. A workaround could be to guard any boost-includes by something like:
We had to do this, e.g., here: |
I have encountered that bug as well. This is serious because a base/types build error breaks everything else. |
I agree. Now, it happens that we can't reproduce the problem both on 18.04 and 20.04. The latter has a fairly recent boost version (so, my guess is "not boost"). Without more info, there's really nothing we can do from where we sit. |
I have found something here: But that sounds like a rather complicated patch |
Before we start chasing fixes, I'd like to understand the actual problem - and in particular why it happens seemingly rarely. Again, the package builds fine on most machines with the boost version from both 18.04 and 20.04 (1.71.1). We need someone to start looking at why it happens on your particular machine(s). A.k.a. you at least need to tell us what's different between your build and the vanilla rock-core build. Also, it would be helpful that you do a vanilla build (a plain install using rock-core's buildconf) and see whether it happens there. |
My boost is version 1.65 More precise: |
Qt4 is Qt version 4.8.7 |
My guess would be that there is something fishy on the systems where this bug happens. Maybe some patches lying around, maybe some self-installed versions of boost or qt4 that mess up with the build (have you ever done a A vanilla 18.04 builds rock-core fine. So are a lot of non-vanilla (i.e. in-use for years) 18.04. And some 16.04 and some 20.04 (mine). I'm happy to help you track the problem, but based on the information I have so far, I believe the most likely source is your system, not
|
I tried the vanilla installation today. Unfortunately the bug remains:
|
See also this bug report. I am preparing a patch to this issue. |
By "vanilla", I meant: rock-core from scratch within a vanilla 18.04 (a.k.a. a virtual machine in my case). Is that what you did ? |
Nope. By "vanilla" I meant a basic rock installation (bootstrap from website). EDIT: By the way, if that pull request solves problems for some and does not introduce any problems for others, why can't we just accept it? |
Hi!,
Im using Ubuntu18.04 with ruby version 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]
Base/types build process fails saying:
As a workarround I have change base/types/viz/CMakelist.txt to avoid using moc tool to that file, but is it compiled. Patch applied:
There are also many, like the one below, warnings but those ones do not affect to the build process.
Josemi.
The text was updated successfully, but these errors were encountered: