Skip to content
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

build for all architectures #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

christian-rauch
Copy link
Collaborator

test building for all architectures

@flathubbot
Copy link
Contributor

Started test build 69045

@flathubbot
Copy link
Contributor

Build 69045 failed

@flathubbot
Copy link
Contributor

Started test build 69066

@flathubbot
Copy link
Contributor

Build 69066 failed

@flathubbot
Copy link
Contributor

Started test build 69071

@flathubbot
Copy link
Contributor

Build 69071 failed

@flathubbot
Copy link
Contributor

Started test build 69073

@flathubbot
Copy link
Contributor

Build 69073 failed

@flathubbot
Copy link
Contributor

Started test build 69365

@flathubbot
Copy link
Contributor

Build 69365 failed

@flathubbot
Copy link
Contributor

Started test build 85893

@christian-rauch
Copy link
Collaborator Author

The KDE flatpak runtime does not support full OpenGL on arm64 (yet). It only supports OpenGL ES by building Qt on aarch64 with -opengl es2. See https://invent.kde.org/packaging/flatpak-kde-runtime/-/issues/19 for details.

@flathubbot
Copy link
Contributor

Build 85893 failed

@christian-rauch
Copy link
Collaborator Author

Excerpt of OpenGL errors:

[36/719] Building CXX object libs/CCFbo/CMakeFiles/CC_FBO_LIB.dir/src/ccFrameBufferObject.cpp.o
FAILED: libs/CCFbo/CMakeFiles/CC_FBO_LIB.dir/src/ccFrameBufferObject.cpp.o 
/usr/bin/ccache /usr/bin/c++ -DCCFBO_LIBRARY_BUILD -DCC_FBO_LIB_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLEXTENSIONS_LIB -DQT_OPENGL_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -I/run/build/CloudCompare/_flatpak_build/libs/CCFbo/CC_FBO_LIB_autogen/include -I/run/build/CloudCompare/libs/CCFbo/include -isystem /usr/include/QtOpenGL -isystem /usr/include/QtWidgets -isystem /usr/include/QtGui -isystem /usr/include/QtCore -isystem /usr/lib/mkspecs/linux-g++ -isystem /usr/include/QtOpenGLExtensions -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fopenmp -O3 -DNDEBUG -fPIC -fPIC -std=c++14 -MD -MT libs/CCFbo/CMakeFiles/CC_FBO_LIB.dir/src/ccFrameBufferObject.cpp.o -MF libs/CCFbo/CMakeFiles/CC_FBO_LIB.dir/src/ccFrameBufferObject.cpp.o.d -o libs/CCFbo/CMakeFiles/CC_FBO_LIB.dir/src/ccFrameBufferObject.cpp.o -c /run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp
In file included from /run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:18:
/run/build/CloudCompare/libs/CCFbo/include/ccFrameBufferObject.h:105:9: error: ‘QOpenGLFunctions_2_1’ does not name a type
  105 |         QOpenGLFunctions_2_1 m_glFunc;
      |         ^~~~~~~~~~~~~~~~~~~~
/run/build/CloudCompare/libs/CCFbo/include/ccFrameBufferObject.h:106:9: error: ‘QOpenGLExtension_ARB_framebuffer_object’ does not name a type; did you mean ‘QOpenGLExtension_ANGLE_framebuffer_blit’?
  106 |         QOpenGLExtension_ARB_framebuffer_object m_glExtFunc;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         QOpenGLExtension_ANGLE_framebuffer_blit
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp: In member function ‘void ccFrameBufferObject::reset()’:
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:51:17: error: ‘m_glExtFunc’ was not declared in this scope
   51 |                 m_glExtFunc.glDeleteFramebuffers(1, &m_fboId);
      |                 ^~~~~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp: In member function ‘bool ccFrameBufferObject::init(unsigned int, unsigned int)’:
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:62:22: error: ‘m_glFunc’ was not declared in this scope
   62 |                 if (!m_glFunc.initializeOpenGLFunctions())
      |                      ^~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:67:22: error: ‘m_glExtFunc’ was not declared in this scope
   67 |                 if (!m_glExtFunc.initializeOpenGLFunctions())
      |                      ^~~~~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:82:9: error: ‘m_glExtFunc’ was not declared in this scope
   82 |         m_glExtFunc.glGenFramebuffers(1, &m_fboId);
      |         ^~~~~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp: In member function ‘bool ccFrameBufferObject::start()’:
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:93:17: error: ‘m_glExtFunc’ was not declared in this scope
   93 |                 m_glExtFunc.glBindFramebuffer(GL_FRAMEBUFFER_EXT, m_fboId);
      |                 ^~~~~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:93:47: error: ‘GL_FRAMEBUFFER_EXT’ was not declared in this scope; did you mean ‘GL_DRAW_BUFFER_EXT’?
   93 |                 m_glExtFunc.glBindFramebuffer(GL_FRAMEBUFFER_EXT, m_fboId);
      |                                               ^~~~~~~~~~~~~~~~~~
      |                                               GL_DRAW_BUFFER_EXT
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp: In member function ‘void ccFrameBufferObject::stop()’:
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:106:17: error: ‘m_glExtFunc’ was not declared in this scope
  106 |                 m_glExtFunc.glBindFramebuffer(GL_FRAMEBUFFER_EXT, 0);
      |                 ^~~~~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:106:47: error: ‘GL_FRAMEBUFFER_EXT’ was not declared in this scope; did you mean ‘GL_DRAW_BUFFER_EXT’?
  106 |                 m_glExtFunc.glBindFramebuffer(GL_FRAMEBUFFER_EXT, 0);
      |                                               ^~~~~~~~~~~~~~~~~~
      |                                               GL_DRAW_BUFFER_EXT
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp: In member function ‘void ccFrameBufferObject::deleteColorTexture()’:
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:112:47: error: ‘m_glFunc’ was not declared in this scope
  112 |         if (m_isValid && m_ownColorTexture && m_glFunc.glIsTexture(m_colorTexture))
      |                                               ^~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp: In member function ‘void ccFrameBufferObject::deleteDepthTexture()’:
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:122:47: error: ‘m_glFunc’ was not declared in this scope
  122 |         if (m_isValid && m_ownDepthTexture && m_glFunc.glIsTexture(m_depthTexture))
      |                                               ^~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp: In member function ‘bool ccFrameBufferObject::initColor(GLint, GLenum, GLenum, GLint, GLenum)’:
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:143:9: error: ‘m_glFunc’ was not declared in this scope
  143 |         m_glFunc.glPushAttrib(GL_ENABLE_BIT);
      |         ^~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:143:31: error: ‘GL_ENABLE_BIT’ was not declared in this scope
  143 |         m_glFunc.glPushAttrib(GL_ENABLE_BIT);
      |                               ^~~~~~~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp: In member function ‘bool ccFrameBufferObject::attachColor(GLuint, bool, GLenum)’:
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:179:14: error: ‘m_glFunc’ was not declared in this scope
  179 |         if (!m_glFunc.glIsTexture(texID))
      |              ^~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:191:9: error: ‘m_glExtFunc’ was not declared in this scope
  191 |         m_glExtFunc.glFramebufferTexture2D(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT, target, texID, 0);
      |         ^~~~~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:191:44: error: ‘GL_FRAMEBUFFER_EXT’ was not declared in this scope; did you mean ‘GL_DRAW_BUFFER_EXT’?
  191 |         m_glExtFunc.glFramebufferTexture2D(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT, target, texID, 0);
      |                                            ^~~~~~~~~~~~~~~~~~
      |                                            GL_DRAW_BUFFER_EXT
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:199:14: error: ‘GL_FRAMEBUFFER_COMPLETE_EXT’ was not declared in this scope; did you mean ‘GL_FRAMEBUFFER_COMPLETE’?
  199 |         case GL_FRAMEBUFFER_COMPLETE_EXT:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |              GL_FRAMEBUFFER_COMPLETE
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp: In member function ‘bool ccFrameBufferObject::initDepth(GLint, GLenum, GLint, GLenum)’:
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:233:9: error: ‘m_glFunc’ was not declared in this scope
  233 |         m_glFunc.glPushAttrib(GL_ENABLE_BIT);
      |         ^~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:233:31: error: ‘GL_ENABLE_BIT’ was not declared in this scope
  233 |         m_glFunc.glPushAttrib(GL_ENABLE_BIT);
      |                               ^~~~~~~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:241:42: error: ‘GL_DEPTH_TEXTURE_MODE’ was not declared in this scope; did you mean ‘GL_DEPTH_STENCIL_TEXTURE_MODE’?
  241 |         m_glFunc.glTexParameteri(target, GL_DEPTH_TEXTURE_MODE, GL_LUMINANCE);
      |                                          ^~~~~~~~~~~~~~~~~~~~~
      |                                          GL_DEPTH_STENCIL_TEXTURE_MODE
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp: In member function ‘bool ccFrameBufferObject::attachDepth(GLuint, bool, GLenum)’:
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:271:14: error: ‘m_glFunc’ was not declared in this scope
  271 |         if (!m_glFunc.glIsTexture(texID))
      |              ^~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:283:9: error: ‘m_glExtFunc’ was not declared in this scope
  283 |         m_glExtFunc.glFramebufferTexture2D(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, target, texID, 0);
      |         ^~~~~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:283:44: error: ‘GL_FRAMEBUFFER_EXT’ was not declared in this scope; did you mean ‘GL_DRAW_BUFFER_EXT’?
  283 |         m_glExtFunc.glFramebufferTexture2D(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, target, texID, 0);
      |                                            ^~~~~~~~~~~~~~~~~~
      |                                            GL_DRAW_BUFFER_EXT
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:283:64: error: ‘GL_DEPTH_ATTACHMENT_EXT’ was not declared in this scope; did you mean ‘GL_DEPTH_ATTACHMENT’?
  283 |         m_glExtFunc.glFramebufferTexture2D(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, target, texID, 0);
      |                                                                ^~~~~~~~~~~~~~~~~~~~~~~
      |                                                                GL_DEPTH_ATTACHMENT
/run/build/CloudCompare/libs/CCFbo/src/ccFrameBufferObject.cpp:291:14: error: ‘GL_FRAMEBUFFER_COMPLETE_EXT’ was not declared in this scope; did you mean ‘GL_FRAMEBUFFER_COMPLETE’?
  291 |         case GL_FRAMEBUFFER_COMPLETE_EXT:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |              GL_FRAMEBUFFER_COMPLETE
[74/719] Building CXX object libs/CCFbo/CMakeFiles/CC_FBO_LIB.dir/src/ccBilateralFilter.cpp.o
FAILED: libs/CCFbo/CMakeFiles/CC_FBO_LIB.dir/src/ccBilateralFilter.cpp.o 
/usr/bin/ccache /usr/bin/c++ -DCCFBO_LIBRARY_BUILD -DCC_FBO_LIB_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLEXTENSIONS_LIB -DQT_OPENGL_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -I/run/build/CloudCompare/_flatpak_build/libs/CCFbo/CC_FBO_LIB_autogen/include -I/run/build/CloudCompare/libs/CCFbo/include -isystem /usr/include/QtOpenGL -isystem /usr/include/QtWidgets -isystem /usr/include/QtGui -isystem /usr/include/QtCore -isystem /usr/lib/mkspecs/linux-g++ -isystem /usr/include/QtOpenGLExtensions -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fopenmp -O3 -DNDEBUG -fPIC -fPIC -std=c++14 -MD -MT libs/CCFbo/CMakeFiles/CC_FBO_LIB.dir/src/ccBilateralFilter.cpp.o -MF libs/CCFbo/CMakeFiles/CC_FBO_LIB.dir/src/ccBilateralFilter.cpp.o.d -o libs/CCFbo/CMakeFiles/CC_FBO_LIB.dir/src/ccBilateralFilter.cpp.o -c /run/build/CloudCompare/libs/CCFbo/src/ccBilateralFilter.cpp
In file included from /run/build/CloudCompare/libs/CCFbo/include/ccBilateralFilter.h:36,
                 from /run/build/CloudCompare/libs/CCFbo/src/ccBilateralFilter.cpp:18:
/run/build/CloudCompare/libs/CCFbo/include/ccFrameBufferObject.h:105:9: error: ‘QOpenGLFunctions_2_1’ does not name a type
  105 |         QOpenGLFunctions_2_1 m_glFunc;
      |         ^~~~~~~~~~~~~~~~~~~~
/run/build/CloudCompare/libs/CCFbo/include/ccFrameBufferObject.h:106:9: error: ‘QOpenGLExtension_ARB_framebuffer_object’ does not name a type; did you mean ‘QOpenGLExtension_ANGLE_framebuffer_blit’?
  106 |         QOpenGLExtension_ARB_framebuffer_object m_glExtFunc;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         QOpenGLExtension_ANGLE_framebuffer_blit
In file included from /run/build/CloudCompare/libs/CCFbo/src/ccBilateralFilter.cpp:18:
/run/build/CloudCompare/libs/CCFbo/include/ccBilateralFilter.h:105:9: error: ‘QOpenGLFunctions_2_1’ does not name a type
  105 |         QOpenGLFunctions_2_1 m_glFunc;
      |         ^~~~~~~~~~~~~~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccBilateralFilter.cpp: In member function ‘virtual bool ccBilateralFilter::init(unsigned int, unsigned int, QString, QString&)’:
/run/build/CloudCompare/libs/CCFbo/src/ccBilateralFilter.cpp:79:22: error: ‘m_glFunc’ was not declared in this scope
   79 |                 if (!m_glFunc.initializeOpenGLFunctions())
      |                      ^~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccBilateralFilter.cpp: In member function ‘virtual void ccBilateralFilter::shade(GLuint, GLuint, ccGlFilter::ViewportParameters&)’:
/run/build/CloudCompare/libs/CCFbo/src/ccBilateralFilter.cpp:148:17: error: ‘m_glFunc’ was not declared in this scope
  148 |                 m_glFunc.glMatrixMode(GL_PROJECTION);
      |                 ^~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccBilateralFilter.cpp:148:39: error: ‘GL_PROJECTION’ was not declared in this scope; did you mean ‘GL_LOCATION’?
  148 |                 m_glFunc.glMatrixMode(GL_PROJECTION);
      |                                       ^~~~~~~~~~~~~
      |                                       GL_LOCATION
/run/build/CloudCompare/libs/CCFbo/src/ccBilateralFilter.cpp:152:39: error: ‘GL_MODELVIEW’ was not declared in this scope
  152 |                 m_glFunc.glMatrixMode(GL_MODELVIEW);
      |                                       ^~~~~~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccBilateralFilter.cpp:171:9: error: ‘m_glFunc’ was not declared in this scope
  171 |         m_glFunc.glActiveTexture(GL_TEXTURE1);
      |         ^~~~~~~~
/run/build/CloudCompare/libs/CCFbo/src/ccBilateralFilter.cpp:208:39: error: ‘GL_PROJECTION’ was not declared in this scope; did you mean ‘GL_LOCATION’?
  208 |                 m_glFunc.glMatrixMode(GL_PROJECTION);
      |                                       ^~~~~~~~~~~~~
      |                                       GL_LOCATION
/run/build/CloudCompare/libs/CCFbo/src/ccBilateralFilter.cpp:210:39: error: ‘GL_MODELVIEW’ was not declared in this scope
  210 |                 m_glFunc.glMatrixMode(GL_MODELVIEW);
      |                                       ^~~~~~~~~~~~

@flathubbot
Copy link
Contributor

Started test build 27878

@flathubbot
Copy link
Contributor

Build 27878 failed

@flathubbot
Copy link
Contributor

Started test build 108753

@flathubbot
Copy link
Contributor

Build 108753 failed

@flathubbot
Copy link
Contributor

Started test build 108781

@flathubbot
Copy link
Contributor

Build 108781 failed

@christian-rauch
Copy link
Collaborator Author

bot, build

@flathubbot
Copy link
Contributor

Queued test build for org.cloudcompare.CloudCompare.

@flathubbot
Copy link
Contributor

Started test build 109221

@flathubbot
Copy link
Contributor

Build 109221 failed

@christian-rauch
Copy link
Collaborator Author

bot, build

@flathubbot
Copy link
Contributor

Queued test build for org.cloudcompare.CloudCompare.

@flathubbot
Copy link
Contributor

Started test build 109827

@flathubbot
Copy link
Contributor

Build 109827 failed

@christian-rauch
Copy link
Collaborator Author

bot, build

@flathubbot
Copy link
Contributor

Queued test build for org.cloudcompare.CloudCompare.

@flathubbot
Copy link
Contributor

Started test build 110619

@flathubbot
Copy link
Contributor

Build 110619 failed

@flathubbot
Copy link
Contributor

Started test build 141345

@flathubbot
Copy link
Contributor

Started test build 141346

@flathubbot
Copy link
Contributor

Build 141345 failed

@flathubbot
Copy link
Contributor

Build 141346 failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants