Package: src:openimageio Version: 1.8.15~dfsg0-1 Severity: important I've been doing a full rebuild of the Debian archive, building all source packages targeting armel and armhf using arm64 hardware. We are planning in future to move all of our 32-bit armel/armhf builds to using arm64 machines, so this rebuild is to identify packages that might have problems with this configuration.
I've tried to build openimageio like this, and it's failing its build partway through. I *can* build it successfully for arm64-on-arm64 and amd64-on-am64. I'm guessing there is something in the package configuration that is picking up on the build machine and making wrong assumptions. The failure shows up as: ... In file included from /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/include/OpenImageIO/simd.h:57, from /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/include/OpenImageIO/fmath.h:65, from /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/include/OpenImageIO/hash.h:51, from /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/include/OpenImageIO/strutil.h:52, from /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/include/OpenImageIO/ustring.h: 137, from /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/include/OpenImageIO/paramlist.h:46, from /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/include/OpenImageIO/imageio.h:61, from /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/iv/imageviewer.h:59, from /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/iv/ivgl.cpp:31: /usr/include/OpenEXR/ImathMatrix.h:429:26: note: 'Imath_2_2::M44f' {aka 'class Imath_2_2::Matrix44<float>'} declared here template <class T> class Matrix44 ^~~~~~~~ /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/iv/ivgl.cpp: In member function 'virtual void IvGL::initializeGL()': /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/iv/ivgl.cpp:117:5: error: 'glLoadIdentity' was not declared in this scope glLoadIdentity(); ^~~~~~~~~~~~~~ /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/iv/ivgl.cpp:122:5: error: 'glScalef' was not declared in this scope glScalef (dpr, dpr, 1.0f); ^~~~~~~~ /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/iv/ivgl.cpp:122:5: note: suggested alternative: 'locale' glScalef (dpr, dpr, 1.0f); ^~~~~~~~ locale /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/iv/ivgl.cpp: In member function 'virtual void IvGL::create_textures()': /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/iv/ivgl.cpp:176:60: error: 'GL_CLAMP' was not declared in this scope glTexParameteri (GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP); ^~~~~~~~ /home/steve/debian/build/openimageio/openimageio-1.8.15~dfsg0/src/iv/ivgl.cpp:176:60: note: suggested alternative: 'GL_ALWAYS' glTexParameteri (GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP); ^~~~~~~~ GL_ALWAYS ... (Maybe it's trying to use the wrong GL here - we target GLES with armel.) Full log is online at https://www.einval.com/debian/arm/rebuild-logs/armel/FAIL/openimageio_1.8.15~dfsg0-1_armel.log -- System Information: Debian Release: 9.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)