Bug#1014875: freecad: FTBFS on armel and armhf: error: ‘GL_PROJECTION’ was not declared in this scope;

Tobias Frost tobi at debian.org
Wed Jul 13 16:39:04 BST 2022


Package: freecad
Version: 0.20+dfsg1-2
Severity: serious
Tags: ftbfs
Justification: FTBFS

Freecad FTBFS on the buildds,
see https://buildd.debian.org/status/package.php?p=freecad

build logs indicate this error:

cd /<<PKGBUILDDIR>>/debian/build-py3/src/Mod/Fem/App && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DFC_USE_VTK -DFem_EXPORTS -DH5_BUILT_AS_DYNAMIC_LIB -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DMPICH_SKIP_MPICXX -DMPI_NO_CPPBIND -DOMPI_SKIP_MPICXX -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_XML_LIB -D_FILE_OFFSET_BITS=64 -D_MPICC_H -Dkiss_fft_scalar=double -I/<<PKGBUILDDIR>>/debian/build-py3/src/Mod/Fem/App/Fem_autogen/include -I/<<PKGBUILDDIR>>/debian/build-py3 -I/<<PKGBUILDDIR>>/debian/build-py3/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/debian/build-py3/src/Mod/Fem/App -I/usr/include/opencascade -I/<<PKGBUILDDIR>>/src/3rdParty/salomesmesh/inc -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -isystem /usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -isystem /usr/include/arm-linux-gnueabihf/qt5/QtXml -isystem /usr/include/vtk-9.1 -isystem /usr/include/jsoncpp -isystem /usr/lib/arm-linux-gnueabihf/openmpi/include -isystem /usr/lib/arm-linux-gnueabihf/openmpi/include/openmpi -isystem /usr/include/hdf5/serial -isystem /usr/include/freetype2 -Wall -Wextra -Wno-write-strings -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fpermissive -I/usr/include/python3.10 -flto -Wno-overloaded-virtual -O2 -g -DNDEBUG -fPIC -pthread -I/usr/include/hdf5/openmpi -I/usr/lib/arm-linux-gnueabihf/openmpi/include -I/usr/lib/arm-linux-gnueabihf/openmpi/include/openmpi -Wno-pedantic -fPIC -fopenmp -std=gnu++17 -MD -MT src/Mod/Fem/App/CMakeFiles/Fem.dir/FemSetElementsObject.cpp.o -MF CMakeFiles/Fem.dir/FemSetElementsObject.cpp.o.d -o CMakeFiles/Fem.dir/FemSetElementsObject.cpp.o -c /<<PKGBUILDDIR>>/src/Mod/Fem/App/FemSetElementsObject.cpp
/<<PKGBUILDDIR>>/src/Gui/Quarter/QuarterWidget.cpp: In member function ‘virtual void SIM::Coin3D::Quarter::QuarterWidget::paintEvent(QPaintEvent*)’:
/<<PKGBUILDDIR>>/src/Gui/Quarter/QuarterWidget.cpp:869:18: error: ‘GL_PROJECTION’ was not declared in this scope; did you mean ‘GL_LOCATION’?
  869 |     glMatrixMode(GL_PROJECTION);
      |                  ^~~~~~~~~~~~~
      |                  GL_LOCATION
/<<PKGBUILDDIR>>/src/Gui/Quarter/QuarterWidget.cpp:869:5: error: ‘glMatrixMode’ was not declared in this scope
  869 |     glMatrixMode(GL_PROJECTION);
      |     ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/Gui/Quarter/QuarterWidget.cpp:910:5: error: ‘glPushAttrib’ was not declared in this scope
  910 |     glPushAttrib(GL_MULTISAMPLE_BIT_EXT);
      |     ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/Gui/Quarter/QuarterWidget.cpp:912:5: error: ‘glPopAttrib’ was not declared in this scope
  912 |     glPopAttrib();
      |     ^~~~~~~~~~~

-- 
tobi


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages freecad depends on:
ii  freecad-python3  0.20+dfsg1-2

Versions of packages freecad recommends:
ii  calculix-ccx  2.19-1
ii  graphviz      2.42.2-7

Versions of packages freecad suggests:
pn  povray  <none>

-- no debconf information


More information about the debian-science-maintainers mailing list