haikuports: PhotoGrabber crashing on 64 bit

PhotoGrabber oackage from haikuDepot crashing on launch. Debugger report attached. Building from haikuports source recipe fails with error (see below).

Welcome to the Haiku shell.

~/haikuports> haikuporter -S -j4 --get-dependencies --no-source-packages photograbber        
Looking for stale dependency-infos ...
----------------------------------------------------------------------
haiku-apps::photograbber-2.3.3
        /boot/home/haikuports/haiku-apps/photograbber/photograbber-2.3.3.recipe
----------------------------------------------------------------------

Downloading: https://github.com/HaikuArchives/PhotoGrabber/archive/f4a061cb61e188f59a80b1080ccc7da3ea55b352.tar.gz ...
--2018-09-22 17:51:07--  https://github.com/HaikuArchives/PhotoGrabber/archive/f4a061cb61e188f59a80b1080ccc7da3ea55b352.tar.gz
Resolving github.com... 192.30.253.113, 192.30.253.112
Connecting to github.com|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/HaikuArchives/PhotoGrabber/tar.gz/f4a061cb61e188f59a80b1080ccc7da3ea55b352 [following]
--2018-09-22 17:51:07--  https://codeload.github.com/HaikuArchives/PhotoGrabber/tar.gz/f4a061cb61e188f59a80b1080ccc7da3ea55b352
Resolving codeload.github.com... 192.30.253.120, 192.30.253.121
Connecting to codeload.github.com|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘/boot/home/haikuports/haiku-apps/photograbber/download/f4a061cb61e188f59a80b1080ccc7da3ea55b352.tar.gz’
     0K .......... .......... .......... .......... ..........  281K
    50K .......... .......... .......... .......... ..........  653K
   100K .......... .......... .......... .......... .......... 3.65M
   150K .......... .......... .......... .......... ..........  599K
   200K .......... .......... .......... .......... ..........  597K
   250K .......... .......... .......... .......... ..........  600K
   300K .......... .......... .......... .......... ..........  602K
   350K .......... .......... .......... .......... ..........  646K
   400K .......... .......... .......... .......... .......... 3.62M
   450K .......... .......... .......... .......... ..........  600K
   500K .......... .......... .......... .......... ..........  586K
   550K .......... .......... .....                            21.3M=0.9s
2018-09-22 17:51:09 (667 KB/s) - ‘/boot/home/haikuports/haiku-apps/photograbber/download/f4a061cb61e188f59a80b1080ccc7da3ea55b352.tar.gz’ saved [588973]
Validating checksum of f4a061cb61e188f59a80b1080ccc7da3ea55b352.tar.gz
Unpacking source of f4a061cb61e188f59a80b1080ccc7da3ea55b352.tar.gz
Initialized empty Git repository in /boot/home/haikuports/haiku-apps/photograbber/work-2.3.3/sources/PhotoGrabber-f4a061cb61e188f59a80b1080ccc7da3ea55b352/.git/
Fetching package for devel:libiconv ...
chroot has these packages active:
        /boot/system/packages/bash-4.4.023-1-x86_64.hpkg
        /boot/system/packages/binutils-2.28.1_2017_08_05-2-x86_64.hpkg
        /boot/system/packages/bzip2-1.0.6-8-x86_64.hpkg
        /boot/system/packages/ca_root_certificates-2018_06_20-1-any.hpkg
        /boot/system/packages/coreutils-8.29-1-x86_64.hpkg
        /boot/system/packages/curl-7.61.1-2-x86_64.hpkg
        /boot/system/packages/expat-2.2.6-1-x86_64.hpkg
        /boot/system/packages/ffmpeg-4.0.2-1-x86_64.hpkg
        /boot/system/packages/fontconfig-2.12.6-2-x86_64.hpkg
        /boot/system/packages/freetype-2.9-1-x86_64.hpkg
        /boot/system/packages/gcc-7.3.0_2018_05_01-3-x86_64.hpkg
        /boot/system/packages/gcc_syslibs-7.3.0_2018_05_01-3-x86_64.hpkg
        /boot/system/packages/gettext_libintl-0.19.8.1-5-x86_64.hpkg
        /boot/system/packages/giflib-5.1.4-2-x86_64.hpkg
        /boot/system/packages/gmp-6.1.2-3-x86_64.hpkg
        /boot/system/packages/gnutls-3.6.3-1-x86_64.hpkg
        /boot/system/packages/grep-3.1-1-x86_64.hpkg
        /boot/system/packages/gutenprint-5.2.14-1-x86_64.hpkg
        /boot/system/packages/gzip-1.8-2-x86_64.hpkg
        /boot/system/packages/haiku-r1~beta1_hrev52357-1-x86_64.hpkg
        /boot/system/packages/haiku_devel-r1~beta1_hrev52357-1-x86_64.hpkg
        /boot/system/packages/icu-57.1-3-x86_64.hpkg
        /boot/system/packages/ilmbase-2.2.1-2-x86_64.hpkg
        /boot/system/packages/jasper-2.0.14-1-x86_64.hpkg
        /boot/system/packages/jpeg-9c-2-x86_64.hpkg
        /boot/system/packages/lcms-2.9-2-x86_64.hpkg
        /boot/system/packages/libexif-0.6.21-2-x86_64.hpkg
        /boot/system/packages/libexif_devel-0.6.21-2-x86_64.hpkg
        /boot/system/packages/libgcrypt-1.8.3-1-x86_64.hpkg
        /boot/system/packages/libgpg_error-1.32-1-x86_64.hpkg
        /boot/system/packages/libicns-0.8.1-8-x86_64.hpkg
        /boot/system/packages/libiconv-1.15-4-x86_64.hpkg
        /boot/system/packages/libiconv_devel-1.15-4-x86_64.hpkg
        /boot/system/packages/libidn2-2.0.4-1-x86_64.hpkg
        /boot/system/packages/libmodplug-0.8.9.0-1-x86_64.hpkg
        /boot/system/packages/libogg-1.3.3-2-x86_64.hpkg
        /boot/system/packages/libpng16-1.6.35-1-x86_64.hpkg
        /boot/system/packages/libsolv-0.3.0_haiku_2014_12_22-3-x86_64.hpkg
        /boot/system/packages/libtasn1-4.13-1-x86_64.hpkg
        /boot/system/packages/libtheora-1.1.1-7-x86_64.hpkg
        /boot/system/packages/libunistring-0.9.10-1-x86_64.hpkg
        /boot/system/packages/libvorbis-1.3.6-1-x86_64.hpkg
        /boot/system/packages/libvpx3-1.5.0-3-x86_64.hpkg
        /boot/system/packages/libwebp-1.0.0-1-x86_64.hpkg
        /boot/system/packages/libxml2-2.9.7-2-x86_64.hpkg
        /boot/system/packages/make-4.1-3-x86_64.hpkg
        /boot/system/packages/makefile_engine-r1~beta1_hrev52357-1-any.hpkg
        /boot/system/packages/mkdepend-1.7-5-x86_64.hpkg
        /boot/system/packages/mpc-1.1.0-1-x86_64.hpkg
        /boot/system/packages/mpfr-3.1.6-3-x86_64.hpkg
        /boot/system/packages/ncurses6-6.1-1-x86_64.hpkg
        /boot/system/packages/nettle-3.4-1-x86_64.hpkg
        /boot/system/packages/nghttp2-1.33.0-1-x86_64.hpkg
        /boot/system/packages/noto-20170920-3-any.hpkg
        /boot/system/packages/noto_sans_cjk_jp-1.004-2-any.hpkg
        /boot/system/packages/openexr-2.2.1-2-x86_64.hpkg
        /boot/system/packages/openjpeg-2.3.0-1-x86_64.hpkg
        /boot/system/packages/openssl-1.0.2p-1-x86_64.hpkg
        /boot/system/packages/readline-7.0.3-2-x86_64.hpkg
        /boot/system/packages/sed-4.4-3-x86_64.hpkg
        /boot/system/packages/speex-1.2.0-3-x86_64.hpkg
        /boot/system/packages/tar-1.30-1-x86_64.hpkg
        /boot/system/packages/tiff4-4.0.9-2-x86_64.hpkg
        /boot/system/packages/unzip-6.0-5-x86_64.hpkg
        /boot/system/packages/zlib-1.2.11-3-x86_64.hpkg
        /boot/system/packages/zstd-1.3.5-1-x86_64.hpkg
----- Package Info ----------------
header size:                     80
heap size:                      924
TOC size:                        41
package attributes size:       1132
total size:                    1004
-----------------------------------
waiting for build package photograbber-2.3.3-1 to be activated
Building ...
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./  -Icore_system/  -Iframework/extension_fw/  -Iframework/plugin_fw/  -Iinterface/  -Iobjects.x86_64-cc7-release/  -Iframework/extension_fw  -Iframework/plugin_fw  -Icore_system -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/IconView.d" interface/IconView.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./  -Icore_system/  -Iframework/extension_fw/  -Iframework/plugin_fw/  -Iinterface/  -Iobjects.x86_64-cc7-release/  -Iframework/extension_fw  -Iframework/plugin_fw  -Icore_system -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/StatusDock.d" interface/StatusDock.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./  -Icore_system/  -Iframework/extension_fw/  -Iframework/plugin_fw/  -Iinterface/  -Iobjects.x86_64-cc7-release/  -Iframework/extension_fw  -Iframework/plugin_fw  -Icore_system -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/GridView.d" interface/GridView.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./  -Icore_system/  -Iframework/extension_fw/  -Iframework/plugin_fw/  -Iinterface/  -Iobjects.x86_64-cc7-release/  -Iframework/extension_fw  -Iframework/plugin_fw  -Icore_system -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/MainWindow.d" interface/MainWindow.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./  -Icore_system/  -Iframework/extension_fw/  -Iframework/plugin_fw/  -Iinterface/  -Iobjects.x86_64-cc7-release/  -Iframework/extension_fw  -Iframework/plugin_fw  -Icore_system -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/PicItem.d" interface/PicItem.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./  -Icore_system/  -Iframework/extension_fw/  -Iframework/plugin_fw/  -Iinterface/  -Iobjects.x86_64-cc7-release/  -Iframework/extension_fw  -Iframework/plugin_fw  -Icore_system -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/ConfigWindow.d" interface/ConfigWindow.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./  -Icore_system/  -Iframework/extension_fw/  -Iframework/plugin_fw/  -Iinterface/  -Iobjects.x86_64-cc7-release/  -Iframework/extension_fw  -Iframework/plugin_fw  -Icore_system -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/AboutWindow.d" interface/AboutWindow.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./  -Icore_system/  -Iframework/extension_fw/  -Iframework/plugin_fw/  -Iinterface/  -Iobjects.x86_64-cc7-release/  -Iframework/extension_fw  -Iframework/plugin_fw  -Icore_system -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/logger.d" core_system/logger.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./  -Icore_system/  -Iframework/extension_fw/  -Iframework/plugin_fw/  -Iinterface/  -Iobjects.x86_64-cc7-release/  -Iframework/extension_fw  -Iframework/plugin_fw  -Icore_system -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/Camera.d" core_system/Camera.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./  -Icore_system/  -Iframework/extension_fw/  -Iframework/plugin_fw/  -Iinterface/  -Iobjects.x86_64-cc7-release/  -Iframework/extension_fw  -Iframework/plugin_fw  -Icore_system -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/core_system.d" core_system/core_system.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./  -Icore_system/  -Iframework/extension_fw/  -Iframework/plugin_fw/  -Iinterface/  -Iobjects.x86_64-cc7-release/  -Iframework/extension_fw  -Iframework/plugin_fw  -Icore_system -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/ExtensionInterface.d" framework/extension_fw/ExtensionInterface.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./  -Icore_system/  -Iframework/extension_fw/  -Iframework/plugin_fw/  -Iinterface/  -Iobjects.x86_64-cc7-release/  -Iframework/extension_fw  -Iframework/plugin_fw  -Icore_system -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/PluginInterface.d" framework/plugin_fw/PluginInterface.cpp
g++ -c framework/plugin_fw/PluginInterface.cpp -iquote./  -iquote./  -iquotecore_system/  -iquoteframework/extension_fw/  -iquoteframework/plugin_fw/  -iquoteinterface/  -iquoteobjects.x86_64-cc7-release/  -iquoteframework/extension_fw  -iquoteframework/plugin_fw  -iquotecore_system   -O3    -o "objects.x86_64-cc7-release/PluginInterface.o"
g++ -c framework/extension_fw/ExtensionInterface.cpp -iquote./  -iquote./  -iquotecore_system/  -iquoteframework/extension_fw/  -iquoteframework/plugin_fw/  -iquoteinterface/  -iquoteobjects.x86_64-cc7-release/  -iquoteframework/extension_fw  -iquoteframework/plugin_fw  -iquotecore_system   -O3    -o "objects.x86_64-cc7-release/ExtensionInterface.o"
g++ -c core_system/core_system.cpp -iquote./  -iquote./  -iquotecore_system/  -iquoteframework/extension_fw/  -iquoteframework/plugin_fw/  -iquoteinterface/  -iquoteobjects.x86_64-cc7-release/  -iquoteframework/extension_fw  -iquoteframework/plugin_fw  -iquotecore_system   -O3    -o "objects.x86_64-cc7-release/core_system.o"
g++ -c core_system/Camera.cpp -iquote./  -iquote./  -iquotecore_system/  -iquoteframework/extension_fw/  -iquoteframework/plugin_fw/  -iquoteinterface/  -iquoteobjects.x86_64-cc7-release/  -iquoteframework/extension_fw  -iquoteframework/plugin_fw  -iquotecore_system   -O3    -o "objects.x86_64-cc7-release/Camera.o"
g++ -c core_system/logger.cpp -iquote./  -iquote./  -iquotecore_system/  -iquoteframework/extension_fw/  -iquoteframework/plugin_fw/  -iquoteinterface/  -iquoteobjects.x86_64-cc7-release/  -iquoteframework/extension_fw  -iquoteframework/plugin_fw  -iquotecore_system   -O3    -o "objects.x86_64-cc7-release/logger.o"
g++ -c interface/AboutWindow.cpp -iquote./  -iquote./  -iquotecore_system/  -iquoteframework/extension_fw/  -iquoteframework/plugin_fw/  -iquoteinterface/  -iquoteobjects.x86_64-cc7-release/  -iquoteframework/extension_fw  -iquoteframework/plugin_fw  -iquotecore_system   -O3    -o "objects.x86_64-cc7-release/AboutWindow.o"
g++ -c interface/ConfigWindow.cpp -iquote./  -iquote./  -iquotecore_system/  -iquoteframework/extension_fw/  -iquoteframework/plugin_fw/  -iquoteinterface/  -iquoteobjects.x86_64-cc7-release/  -iquoteframework/extension_fw  -iquoteframework/plugin_fw  -iquotecore_system   -O3    -o "objects.x86_64-cc7-release/ConfigWindow.o"
g++ -c interface/PicItem.cpp -iquote./  -iquote./  -iquotecore_system/  -iquoteframework/extension_fw/  -iquoteframework/plugin_fw/  -iquoteinterface/  -iquoteobjects.x86_64-cc7-release/  -iquoteframework/extension_fw  -iquoteframework/plugin_fw  -iquotecore_system   -O3    -o "objects.x86_64-cc7-release/PicItem.o"
g++ -c interface/MainWindow.cpp -iquote./  -iquote./  -iquotecore_system/  -iquoteframework/extension_fw/  -iquoteframework/plugin_fw/  -iquoteinterface/  -iquoteobjects.x86_64-cc7-release/  -iquoteframework/extension_fw  -iquoteframework/plugin_fw  -iquotecore_system   -O3    -o "objects.x86_64-cc7-release/MainWindow.o"
g++ -c interface/GridView.cpp -iquote./  -iquote./  -iquotecore_system/  -iquoteframework/extension_fw/  -iquoteframework/plugin_fw/  -iquoteinterface/  -iquoteobjects.x86_64-cc7-release/  -iquoteframework/extension_fw  -iquoteframework/plugin_fw  -iquotecore_system   -O3    -o "objects.x86_64-cc7-release/GridView.o"
g++ -c interface/StatusDock.cpp -iquote./  -iquote./  -iquotecore_system/  -iquoteframework/extension_fw/  -iquoteframework/plugin_fw/  -iquoteinterface/  -iquoteobjects.x86_64-cc7-release/  -iquoteframework/extension_fw  -iquoteframework/plugin_fw  -iquotecore_system   -O3    -o "objects.x86_64-cc7-release/StatusDock.o"
g++ -c interface/IconView.cpp -iquote./  -iquote./  -iquotecore_system/  -iquoteframework/extension_fw/  -iquoteframework/plugin_fw/  -iquoteinterface/  -iquoteobjects.x86_64-cc7-release/  -iquoteframework/extension_fw  -iquoteframework/plugin_fw  -iquotecore_system   -O3    -o "objects.x86_64-cc7-release/IconView.o"
echo "resource app_signature \"application/x-vnd-Fishpond.PhotoGrabber\";" > PhotoGrabber-version.rdef
echo "resource app_version {" > PhotoGrabber-version.rdef
echo "     major = 2, middle = 3, minor = 3," >> PhotoGrabber-version.rdef
echo "     variety = B_APPV_ALPHA, internal = 3," >> PhotoGrabber-version.rdef
echo "     short_info=\"PhotoGrabber\"," >> PhotoGrabber-version.rdef
echo "     long_info=\"PhotoGrabber ©Fishpond 2017\"" >> PhotoGrabber-version.rdef
echo "};" >> PhotoGrabber-version.rdef
cat PhotoGrabber-version.rdef | cc -E -iquote./  -iquote./  -iquotecore_system/  -iquoteframework/extension_fw/  -iquoteframework/plugin_fw/  -iquoteinterface/  -iquoteobjects.x86_64-cc7-release/  -iquoteframework/extension_fw  -iquoteframework/plugin_fw  -iquotecore_system   -O3    - | grep -av '^#' | rc -I ./ -o "objects.x86_64-cc7-release/PhotoGrabber-version.rsrc" -
cc -o "/sources/PhotoGrabber-f4a061cb61e188f59a80b1080ccc7da3ea55b352/dist/PhotoGrabber"        objects.x86_64-cc7-release/PluginInterface.o objects.x86_64-cc7-release/ExtensionInterface.o objects.x86_64-cc7-release/core_system.o objects.x86_64-cc7-release/Camera.o objects.x86_64-cc7-release/logger.o objects.x86_64-cc7-release/AboutWindow.o objects.x86_64-cc7-release/ConfigWindow.o objects.x86_64-cc7-release/PicItem.o objects.x86_64-cc7-release/MainWindow.o objects.x86_64-cc7-release/GridView.o objects.x86_64-cc7-release/StatusDock.o objects.x86_64-cc7-release/IconView.o  -Xlinker -soname=_APP_  -L./  -Lcore_system/  -Lframework/extension_fw/  -Lframework/plugin_fw/  -Linterface/  -Lobjects.x86_64-cc7-release/    -lstdc++  -lsupc++  -lbe  -ltranslation 
xres -o /sources/PhotoGrabber-f4a061cb61e188f59a80b1080ccc7da3ea55b352/dist/PhotoGrabber core_system/PhotoGrabber.rsrc core_system/DataAction.rsrc      objects.x86_64-cc7-release/PhotoGrabber-version.rsrc
mimeset -f "/sources/PhotoGrabber-f4a061cb61e188f59a80b1080ccc7da3ea55b352/dist/PhotoGrabber"
make -C ./plugins/msac "PLUGIN_TARGET_DIR=/sources/PhotoGrabber-f4a061cb61e188f59a80b1080ccc7da3ea55b352/dist/plugins" "DEBUGGER="
make[1]: Entering directory '/sources/PhotoGrabber-f4a061cb61e188f59a80b1080ccc7da3ea55b352/plugins/msac'
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./ -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/prefsaver.d" prefsaver.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./ -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/preferences.d" preferences.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./ -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/plugin.d" plugin.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./ -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/MSAC_SR1.d" MSAC_SR1.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./ -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/debug.d" debug.cpp
mkdir -p objects.x86_64-cc7-release; \
mkdepend  -I./ -p .cpp:objects.x86_64-cc7-release/%n.o -m -f "objects.x86_64-cc7-release/configplugin.d" configplugin.cpp
g++ -c configplugin.cpp -iquote./  -iquote./   -O3    -o "objects.x86_64-cc7-release/configplugin.o"
g++ -c debug.cpp -iquote./  -iquote./   -O3    -o "objects.x86_64-cc7-release/debug.o"
g++ -c MSAC_SR1.cpp -iquote./  -iquote./   -O3    -o "objects.x86_64-cc7-release/MSAC_SR1.o"
g++ -c plugin.cpp -iquote./  -iquote./   -O3    -o "objects.x86_64-cc7-release/plugin.o"
MSAC_SR1.cpp:40:42: error: narrowing conversion of '224' from 'int' to 'char' inside { } [-Wnarrowing]
 char ESC_START_STRING[]   = { 0x7d, 0xe0 };
                                          ^
MSAC_SR1.cpp:41:40: error: narrowing conversion of '225' from 'int' to 'char' inside { } [-Wnarrowing]
 char ESC_END_STRING[]   = { 0x7d, 0xe1 };
                                        ^
MSAC_SR1.cpp: In constructor 'MSAC_SR1::MSAC_SR1(BString&, data_rate&)':
MSAC_SR1.cpp:46:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  debug("MSAC_SR1 instantiated");
                               ^
MSAC_SR1.cpp: In member function 'status_t MSAC_SR1::init()':
MSAC_SR1.cpp:76:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   debug("Error opening camera!");
                                ^
MSAC_SR1.cpp:81:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   debug("Leaving openCamera - unable to set speed!");
                                                    ^
MSAC_SR1.cpp:85:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  debug("Leaving openCamera - no errors");
                                        ^
MSAC_SR1.cpp: In destructor 'MSAC_SR1::~MSAC_SR1()':
MSAC_SR1.cpp:90:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  debug("closing connection");
                            ^
MSAC_SR1.cpp:100:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  debug("closeCamera complete");
                              ^
MSAC_SR1.cpp: In member function 'int MSAC_SR1::getNumberOfPics()':
MSAC_SR1.cpp:116:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    debug("SendImageCount Failed");
                                 ^
MSAC_SR1.cpp:120:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   debug("Init Image Failed\n");
                              ^
MSAC_SR1.cpp: In member function 'status_t MSAC_SR1::downloadPicture(BPath)':
MSAC_SR1.cpp:154:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  if(!Converse(&dp, StillImage, sizeof(StillImage))) debug("store init failed");
                                                                              ^
MSAC_SR1.cpp: In member function 'status_t MSAC_SR1::deletePicture()':
MSAC_SR1.cpp:181:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  debug("deletePicture called. I don't know how to do that.");
                                                            ^
MSAC_SR1.cpp: In member function 'status_t MSAC_SR1::getThumbnail(BBitmap*&)':
MSAC_SR1.cpp:194:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   debug("StillImage Failed");
                            ^
MSAC_SR1.cpp: In member function 'status_t MSAC_SR1::setSpeed(data_rate)':
MSAC_SR1.cpp:257:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  debug("SetTransferRate");
                         ^
MSAC_SR1.cpp:260:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  debug("SetDataRate");
                     ^
MSAC_SR1.cpp:263:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  debug("Sending EmptyPacket");
                             ^
MSAC_SR1.cpp: In member function 'status_t MSAC_SR1::Converse(Packet*, const unsigned char*, int)':
MSAC_SR1.cpp:352:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      debug("Checksum invalid");
                              ^
MSAC_SR1.cpp:367:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      debug("Resending Packet");
                              ^
MSAC_SR1.cpp:374:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      debug("Unknown Error");
                           ^
MSAC_SR1.cpp:378:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    debug("Incomplete packet");
                             ^
MSAC_SR1.cpp:384:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  debug("Converse: Failed to read packet.");
                                          ^
MSAC_SR1.cpp: In member function 'int MSAC_SR1::Read(unsigned char*, int*)':
MSAC_SR1.cpp:426:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   debug("Read failed");
                      ^
MSAC_SR1.cpp: In member function 'int MSAC_SR1::ReadCommByte(unsigned char*)':
MSAC_SR1.cpp:450:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     debug("ReadCommByte failed");
                                ^
g++ -c preferences.cpp -iquote./  -iquote./   -O3    -o "objects.x86_64-cc7-release/preferences.o"
/boot/system/develop/etc/makefile-engine:291: recipe for target 'objects.x86_64-cc7-release/MSAC_SR1.o' failed
make[1]: *** [objects.x86_64-cc7-release/MSAC_SR1.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/sources/PhotoGrabber-f4a061cb61e188f59a80b1080ccc7da3ea55b352/plugins/msac'
Makefile:144: recipe for target 'subsystem' failed
make: *** [subsystem] Error 2
Warning: Command '['bash', '-c', '. /wrapper-script']' returned non-zero exit status 2
Error: Build has failed - stopping.
~/haikuports>```

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

It’s still happening with 2.3.3-3.

From the syslog:

KERN: vm_page_fault: vm_soft_fault returned error ‘Bad address’ on fault at 0x0, ip 0x0, write 0, user 1, thread 0x46f KERN: vm_page_fault: thread “cameralooper” (1135) in team “PhotoGrabber” (1130) tried to execute address 0x0, ip 0x0 (“???” +0x0) KERN: debug_server: Thread 1135 entered the debugger: Segment violation KERN: stack trace, current PC (nil) : KERN: (0x7fe88934eac0) 0x12bda554104 _ZN6Camera15MessageReceivedEP8BMessage + 0x444 KERN: (0x7fe88934eba0) 0x21e66182168 _ZN7BLooper15DispatchMessageEP8BMessageP8BHandler + 0x1e KERN: (0x7fe88934ebb0) 0x21e6618252e _ZN7BLooper11task_looperEv + 0x200 KERN: (0x7fe88934ec10) 0x21e66180e53 _ZN7BLooper7_task0_EPv + 0x2d KERN: (0x7fe88934ec30) 0x4f08f358c6 thread_entry + 0x12