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
OIIO 1.8.6 fails to build from source (FTBFS) on arm{el,hf} in Debian #1804
Comments
FTR, Debian bug report #881679 has been opened for this issue. |
Is this the first time you've built a 1.8.x, or has something changed recently? Do you actually build and use iv intentionally? Is disabling it an option that would have any negative consequences for you on those platforms? |
"khronos_ssize_t" does not appear anywhere in our source code, so it must be that it's redundantly defined in system headers that we include (probably something from qt and from gl3.h itself?). Hard to know how to address that exactly since it's not in our code. To be honest, I've been meaning to explore whether there's any point in using OpenGL in iv -- it could be done just with straight-up Qt QPixmap widget, I guess. (Qt uses OpenGL underneath, when it helps, so I'm not sure there's a significant performance reason to use it ourself in this case, since we're not really doing any 3D, or anything challenging at all in 2D.) But I don't know how big a job that is. If you don't really need iv for this platform, I think the expedient thing is to just build with USE_OPENGL=0 to disable it for now. When I get around to that experiment of "iv without OpenGL" (which should be soon, I need to do something similar later this week for another project), then maybe we can re-enable it for all platforms? |
Hi Larry!
Well, no. I tested OIIO 1.8.6 on the experimental suite in Debian to check if reverse dependencies were actually building fine with it. And they did (with a little patch applied for Blender).
Probably no. Most users are amd64/i386 based. I could try ti disable iv compilation for arm{el,hf} (while leaving it for arm64) and see if someone complains ;-) |
Sure. Let's try. I'll keep you updated how it goes. |
OK, so disabling OpenGL helped, as you can see on buildd.
Let's hope to be able to re-add this feature again soon. |
Last night the bug report #881943 was filed against Qt5 library and it seems extremely related to the issue I faced. So probably, once this lack got fixed on the Debian package, I'll be able to re-add OpenGL support. |
Hi again, @lgritz!
Had you got the chance to check this? Today I got #883552 on Debian BTS about the missing "iv" tool, that was dropped when I disabled OpenGL support. I really hope you have some good news for me ;-) |
The good news is that I finished that other app, in which I needed to display images rapidly and did it with straight Qt pixmaps, no OpenGL (though underneath, I think Qt knows to use GL when and where appropriate). And it worked great. So I think there are no technical reasons we shouldn't do this for iv as well, and I know how to do it. The bad news is that I haven't yet done any of the work on the iv end, and it probably is quite a bit of work to excise the GL and replace it -- and be sure we haven't lost any features in the process. Also, it's such a big change that I don't want to predict the degree to which I'd be willing to backport it to a release branch, versus letting it stew in master for quite a while to be certain that it's the path forward. |
Hi Larry!
While building brand new 1.8.6 on Debian buildd infrastructure, armel and armhf builds fail due to some Qt5 conflicting declaration.
A snip of the first error in buildlog reports:
Both armel and armhf are facing the same errors.
I'm attaching both buildlogs for your convenience.
Thanks in advance.
oiio_1.8.6_on_armel.buildlog
oiio_1.8.6_on_armhf.buildlog
The text was updated successfully, but these errors were encountered: