Bug#947790: openscenegraph-3.4: osgPlugins-3.4.1/osgdb_png.so not build on ARM

2019-12-31 Thread Alberto Luaces Fernández
Hi, Gaetan:

This seems like something in the toolchain or the 3.4 version of OSG.  I
have checked in the 3.6 version of the package
(https://packages.debian.org/bullseye/armhf/libopenscenegraph160/filelist)
and the plugin is there.

I will try at least to make it build the plugin in stable as you did.

Regards,

Alberto


Bug#947790: openscenegraph-3.4: osgPlugins-3.4.1/osgdb_png.so not build on ARM

2019-12-30 Thread Gaetan Allaert
Package: openscenegraph-3.4
Version: 3.4.1+dfsg1-5
Severity: normal
Tags: patch

Dear Maintainer,

I'm using some components of FlightGear on a Raspberry Pi. FlightGear is using 
OSG to show 3D models
but when the texture of the model uses PNG files, the texture is missing. The 
osgPlugins-3.4.1/osgdb_png.so is
not compiled on ARM due to the flag OSG_CPP_EXCEPTIONS_AVAILABLE:BOOL=OFF. I 
have rebuild OSG
using pbuilder after changing OSG_CPP_EXCEPTIONS_AVAILABLE:BOOL=ON. I am using 
the rebuild OSG without any issue.

What is the reason the remove all plugins containing std::exception from the 
ARM build? Raspbian uses 
a standard GCC 8.3. Is there some kind of incompatibilities between OpenGLES, 
ARM and std::exception?

-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: armhf

Kernel: Linux 4.19.0-6-armhf (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages openscenegraph-3.4 depends on:
ii  freeglut3  2.8.1-3
ii  libc6  2.28-10
ii  libgcc11:8.3.0-6
ii  libgl1 1.1.0-1
ii  libopenscenegraph-3.4-131  3.4.1+dfsg1-5
ii  libopenthreads20   3.2.3+dfsg1-3
ii  libqt5core5a   5.11.3+dfsg1-1+deb10u1
ii  libqt5gui5 5.11.3+dfsg1-1+deb10u1
ii  libqt5widgets5 5.11.3+dfsg1-1+deb10u1
ii  libstdc++6 8.3.0-6

openscenegraph-3.4 recommends no packages.

openscenegraph-3.4 suggests no packages.

-- no debconf information