Opened 7 years ago

Closed 7 years ago

#526 closed Bug Report (fixed)

md2-lv2-svn segfault while building

Reported by: anonymous Owned by: David Robillard
Priority: major Component: Plugins
Keywords: ftbfs debian Cc:

Description

Arch Linux gcc 4.5.1 libpng 1.4.3

vstgui/vstgui.cpp: In member function ‘bool VSTGUI::CBitmap::openPng(const char*)’: vstgui/vstgui.cpp:3782:19: warning: ‘png_info_struct::width’ is deprecated (declared at /usr/include/libpng14/png.h:639) vstgui/vstgui.cpp:3782:19: warning: ‘png_info_struct::width’ is deprecated (declared at /usr/include/libpng14/png.h:639) vstgui/vstgui.cpp:3783:20: warning: ‘png_info_struct::height’ is deprecated (declared at /usr/include/libpng14/png.h:640) vstgui/vstgui.cpp:3783:20: warning: ‘png_info_struct::height’ is deprecated (declared at /usr/include/libpng14/png.h:640) vstgui/vstgui.cpp: In member function ‘void* VSTGUI::CBitmap::createPixmapFromPng(VSTGUI::CDrawContext*)’: vstgui/vstgui.cpp:3813:41: warning: ‘png_info_struct::width’ is deprecated (declared at /usr/include/libpng14/png.h:639) vstgui/vstgui.cpp:3813:41: warning: ‘png_info_struct::width’ is deprecated (declared at /usr/include/libpng14/png.h:639) vstgui/vstgui.cpp:3820:13: warning: ‘png_info_struct::width’ is deprecated (declared at /usr/include/libpng14/png.h:639) vstgui/vstgui.cpp:3820:13: warning: ‘png_info_struct::width’ is deprecated (declared at /usr/include/libpng14/png.h:639) vstgui/vstgui.cpp:3820:29: warning: ‘png_info_struct::height’ is deprecated (declared at /usr/include/libpng14/png.h:640) vstgui/vstgui.cpp:3820:29: warning: ‘png_info_struct::height’ is deprecated (declared at /usr/include/libpng14/png.h:640) vstgui/vstgui.cpp:3827:36: warning: ‘png_info_struct::height’ is deprecated (declared at /usr/include/libpng14/png.h:640) vstgui/vstgui.cpp:3827:36: warning: ‘png_info_struct::height’ is deprecated (declared at /usr/include/libpng14/png.h:640) vstgui/vstgui.cpp:3828:37: warning: ‘png_info_struct::width’ is deprecated (declared at /usr/include/libpng14/png.h:639) vstgui/vstgui.cpp:3828:37: warning: ‘png_info_struct::width’ is deprecated (declared at /usr/include/libpng14/png.h:639) cd ./mda.lv2 && ../lvz/gendata ./*.so > manifest.ttl /bin/sh: line 1: 7361 Segmentation fault ../lvz/gendata ./*.so > manifest.ttl make: * [data] Error 139

Change History (2)

comment:1 Changed 7 years ago by alessio@…

Keywords: ftbfs debian added

I can confirm this:

cp src/mdaSpecMeter.png mda.lv2 if [ ! pkg-config --exists gtk+-2.0 ]; then \

g++ -shared -O0 -g -ansi -Wall -Wextra -Wno-unused -fPIC -DPIC -Ilvz -Ivstgui -I. -DURI_PREFIX=\"http://drobilla.net/ns/ext/mda-lv2/\" -Ivstgui pkg-config --cflags gtk+-2.0 libpng \

-DUI_CLASS=echo mda.lv2/mdaSpecMeterGUI.so | sed 's/mda.lv2\///' | sed 's/\..*//' \ -DPLUGIN_CLASS=echo mda.lv2/mdaSpecMeterGUI.so | sed 's/mda.lv2\///' | sed 's/\..*//' | sed 's/GUI//' \ -DUI_HEADER=\"echo mda.lv2/mdaSpecMeterGUI.so | sed 's/^mda.lv2/src/' | sed 's/\(.*\)\..*/\1/' | sed 's/$/\.h/'\" \ -DPLUGIN_HEADER=\"echo mda.lv2/mdaSpecMeterGUI.so | sed 's/^mda.lv2/src/' | sed 's/\(.*\)\..*/\1/' | sed 's/$/\.h/' | sed 's/GUI//'\" \ -DUI_URI_SUFFIX=\"echo mda.lv2/mdaSpecMeterGUI.so | sed 's/mda.lv2\///' | sed 's/^mda//' | sed 's/\..*//'\" \ -DPLUGIN_URI_SUFFIX=\"echo mda.lv2/mdaSpecMeterGUI.so | sed 's/mda.lv2\///' | sed 's/^mda//' | sed 's/\..*//' | sed 's/GUI//'\" \ src/mdaSpecMeterGUI.cpp src/mdaSpecMeter.cpp lvz/gui_wrapper.cpp vstgui/vstgui.cpp vstgui/vstgui.h vstgui/vstcontrols.cpp vstgui/vstcontrols.h -o mda.lv2/mdaSpecMeterGUI.so; \

fi

cd ./mda.lv2 && ../lvz/gendata ./*.so > manifest.ttl Segmentation fault make[1]: * [data] Error 139 make[1]: Leaving directory `/tmp/buildd/mda-lv2-0~svn2614' dh_auto_build: make -j1 returned exit code 2

comment:2 Changed 7 years ago by David Robillard

Resolution: fixed
Status: newclosed

Fixed. I just don't built the GUI stuff anymore, it was only used for SpecMeter?, which really isn't worth the hassle.

Note: See TracTickets for help on using tickets.