Bug#1010140: aqsis: FTBFS on arm{el,hf}

2022-06-02 Thread Alexandre Ghiti
Package: aqsis
Version: 1.8.2+git20210815
Followup-For: Bug #1010140
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu kinetic ubuntu-patch
Control: tags -1 patch

Dear Maintainer,

In Ubuntu, we fixed this FTBFS with the following patch, it was
published successfully
(https://launchpad.net/ubuntu/+source/aqsis/1.8.2+git20210815-1ubuntu1)

Thanks for considering the patch.


-- System Information:
Debian Release: bookworm/sid
  APT prefers jammy-updates
  APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'), 
(100, 'jammy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-30-generic (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru aqsis-1.8.2+git20210815/debian/rules 
aqsis-1.8.2+git20210815/debian/rules
--- aqsis-1.8.2+git20210815/debian/rules2022-03-05 22:02:59.0 
+0100
+++ aqsis-1.8.2+git20210815/debian/rules2022-05-27 09:24:01.0 
+0200
@@ -17,10 +17,16 @@
 %:
dh $@ --buildsystem=cmake
 
+ifeq ($(DEB_HOST_ARCH), armhf)
+AQSIS_USE_QT=OFF
+else
+AQSIS_USE_QT=ON
+endif
+
 override_dh_auto_configure:
dh_auto_configure -- \
-DSYSCONFDIR=/etc/aqsis \
-   -DAQSIS_USE_QT:BOOL=ON \
+   -DAQSIS_USE_QT:BOOL=$(AQSIS_USE_QT) \
-DAQSIS_USE_EXTERNAL_TINYXML:BOOL=ON \
-DAQSIS_USE_PDIFF:BOOL=OFF \
-DAQSIS_USE_RPATH:BOOL=OFF


Bug#1010140: aqsis: FTBFS on arm{el,hf}

2022-04-25 Thread Sebastian Ramacher
Source: aqsis
Version: 1.8.2+git20210815-1
Severity: serious
Tags: ftbfs sid bookworm
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org

aqsis FTBFS on armel and armhf:

[ 34%] Building CXX object 
libs/tex/CMakeFiles/aqsis_tex.dir/filtering/occlusionsampler.cpp.o
cd /<>/obj-arm-linux-gnueabi/libs/tex && /usr/bin/c++ 
-DAQSIS_TEX_EXPORTS -DAQSIS_USE_PNG -DBOOST_ALL_NO_LIB 
-DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DUSE_OPENEXR 
-Daqsis_tex_EXPORTS -I/<>/include 
-I/<>/obj-arm-linux-gnueabi/include 
-I/<>/libs/tex/filtering -I/<>/libs/tex/io 
-I/<>/libs/tex/maketexture -I/usr/include/OpenEXR -g -O2 
-ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat 
-Werror=format-security -pipe -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time 
-D_FORTIFY_SOURCE=2 -fopenmp -fPIC -MD -MT 
libs/tex/CMakeFiles/aqsis_tex.dir/filtering/occlusionsampler.cpp.o -MF 
CMakeFiles/aqsis_tex.dir/filtering/occlusionsampler.cpp.o.d -o 
CMakeFiles/aqsis_tex.dir/filtering/occlusionsampler.cpp.o -c 
/<>/libs/tex/filtering/occlusionsampler.cpp
/<>/tools/ptview/ptview.cpp: In function ‘void 
Aqsis::glTranslate(const V3f&)’:
/<>/tools/ptview/ptview.cpp:66:5: error: ‘glTranslatef’ was not 
declared in this scope; did you mean ‘glTranslate’?
   66 | glTranslatef(v.x, v.y, v.z);
  | ^~~~
  | glTranslate
/<>/tools/ptview/ptview.cpp: In function ‘void 
Aqsis::glVertex(const V3f&)’:
/<>/tools/ptview/ptview.cpp:71:5: error: ‘glVertex3f’ was not 
declared in this scope; did you mean ‘glVertex’?
   71 | glVertex3f(v.x, v.y, v.z);
  | ^~
  | glVertex
/<>/tools/ptview/ptview.cpp: In function ‘void 
Aqsis::glVertex(const V2f&)’:
/<>/tools/ptview/ptview.cpp:76:5: error: ‘glVertex2f’ was not 
declared in this scope; did you mean ‘glVertex’?
   76 | glVertex2f(v.x, v.y);
  | ^~
  | glVertex
/<>/tools/ptview/ptview.cpp: In function ‘void 
Aqsis::glColor(const C3f&)’:
/<>/tools/ptview/ptview.cpp:81:5: error: ‘glColor3f’ was not 
declared in this scope; did you mean ‘glColor’?
   81 | glColor3f(c.x, c.y, c.z);
  | ^
  | glColor
/<>/tools/ptview/ptview.cpp: In function ‘void 
Aqsis::glLoadMatrix(const M44f&)’:
/<>/tools/ptview/ptview.cpp:86:5: error: ‘glLoadMatrixf’ was not 
declared in this scope; did you mean ‘glLoadMatrix’?
   86 | glLoadMatrixf((GLfloat*)m[0]);
  | ^
  | glLoadMatrix
/<>/tools/ptview/ptview.cpp: In function ‘void 
Aqsis::drawDisk(Imath_2_5::V3f, Imath_2_5::V3f, float)’:
/<>/tools/ptview/ptview.cpp:308:5: error: ‘glPushMatrix’ was not 
declared in this scope; did you mean ‘glLoadMatrix’?
  308 | glPushMatrix();
  | ^~~~
  | glLoadMatrix
/<>/tools/ptview/ptview.cpp:311:5: error: ‘glScalef’ was not 
declared in this scope
  311 | glScalef(r,r,r);
  | ^~~~
/<>/tools/ptview/ptview.cpp:319:5: error: ‘glRotatef’ was not 
declared in this scope
  319 | glRotatef(angle, v.x, v.y, v.z);
  | ^
/<>/tools/ptview/ptview.cpp:320:5: error: ‘glColor3f’ was not 
declared in this scope; did you mean ‘glColor’?
  320 | glColor3f(1, 0, 0);
  | ^
  | glColor
/<>/tools/ptview/ptview.cpp:321:5: error: ‘glBegin’ was not 
declared in this scope
  321 | glBegin(GL_LINE_LOOP);
  | ^~~
/<>/tools/ptview/ptview.cpp:328:13: error: ‘glVertex3f’ was not 
declared in this scope; did you mean ‘glVertex’?
  328 | glVertex3f(scale*cos(angle), scale*sin(angle), 0);
  | ^~
  | glVertex
/<>/tools/ptview/ptview.cpp:330:5: error: ‘glEnd’ was not declared 
in this scope
  330 | glEnd();
  | ^
/<>/tools/ptview/ptview.cpp:331:5: error: ‘glPopMatrix’ was not 
declared in this scope; did you mean ‘glLoadMatrix’?
  331 | glPopMatrix();
  | ^~~
  | glLoadMatrix
/<>/tools/ptview/ptview.cpp: In function ‘void 
Aqsis::drawCubeEnvFace(Imath_2_5::V2f, GLubyte*, int)’:
/<>/tools/ptview/ptview.cpp:436:55: error: ‘GL_CLAMP’ was not 
declared in this scope
  436 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP);
  |   ^~~~
/<>/tools/ptview/ptview.cpp:446:15: error: ‘GL_TEXTURE_ENV’ was 
not declared in this scope; did you mean ‘GL_TEXTURE_2D’?
  446 | glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);
  |   ^~
  |   GL_TEXTURE_2D
/<>/tools/ptview/ptview.cpp:446:31: error: ‘GL_TEXTURE_ENV_MODE’ 
was not declared in this scope; did you mean ‘GL_TEXTURE_MIN_LOD’?
  446 | glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);
  |   ^~~
  |   GL_TEXTURE_MIN_LOD
/<>/tools/ptview/ptview.cpp:446:5: error: ‘glTexEnvf’ was not 
declared in this scope
  446 |