Description of problem: openvrml-0.18.8 fails to build on Fedora Rawhide Version-Release number of selected component (if applicable): openvrml-0.18.8-4 on Fedora Rawhide Additional info: ----------- Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=3570041 (in particular, the build logs: http://koji.fedoraproject.org/koji/getfile?taskID=3570055&name=build.log) ----------- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src/libopenvrml -I../src/libopenvrml -I../src/libopenvrml-gl -I../src/libopenvrml-gl -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -DNDEBUG -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fvisibility=hidden -fvisibility-inlines-hidden -Wno-missing-braces -Wno-strict-aliasing -Wno-unused-variable -c libopenvrml-gl/openvrml/gl/viewer.cpp -fPIC -DPIC -o libopenvrml-gl/openvrml/gl/.libs/libopenvrml_gl_libopenvrml_gl_la-viewer.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DMOZ_X11 -DOPENVRML_LIBEXECDIR_=\"/usr/libexec\" -Imozilla-plugin -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -DNDEBUG -DXP_UNIX -I/usr/include/xulrunner-sdk-2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fvisibility=hidden -fvisibility-inlines-hidden -Wno-missing-braces -Wno-strict-aliasing -Wno-unused-variable -c mozilla-plugin/openvrml.cpp -fPIC -DPIC -o mozilla-plugin/.libs/mozilla_plugin_openvrml_la-openvrml.o mozilla-plugin/openvrml.cpp: In function 'char* NP_GetMIMEDescription()': mozilla-plugin/openvrml.cpp:218:30: error: new declaration 'char* NP_GetMIMEDescription()' /usr/include/xulrunner-sdk-2/npfunctions.h:303:24: error: ambiguates old declaration 'const char* NP_GetMIMEDescription()' mozilla-plugin/openvrml.cpp:220:35: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] mozilla-plugin/openvrml.cpp: In function 'char* NPP_GetMIMEDescription()': mozilla-plugin/openvrml.cpp:383:31: error: new declaration 'char* NPP_GetMIMEDescription()' /usr/include/xulrunner-sdk-2/npapi.h:792:13: error: ambiguates old declaration 'const char* NPP_GetMIMEDescription()' make[4]: *** [mozilla-plugin/mozilla_plugin_openvrml_la-openvrml.lo] Error 1 make[4]: *** Waiting for unfinished jobs....
Created attachment 541635 [details] Compilation fix For some reason I thought this is boost related, and just wanted to patch my way to boost bugs, but they never came. So here's the result of my patching through, hopefully it makes some sort of sense. XULrunner seems to have changed one interface, and libpng now doesn't publish the png_struct_def, so you need to use callbacks to get at the data inside.
openvrml-0.18.9-1 has been built successfully for rawhide.