Bug 760610 - FTBFS openvrml-0.18.8-4 on Rawhide
FTBFS openvrml-0.18.8-4 on Rawhide
Product: Fedora
Classification: Fedora
Component: openvrml (Show other bugs)
Unspecified Linux
medium Severity medium
: ---
: ---
Assigned To: Braden McDaniel
Fedora Extras Quality Assurance
Depends On: 812728
  Show dependency treegraph
Reported: 2011-12-06 11:13 EST by Denis Arnaud
Modified: 2012-05-13 10:53 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-05-13 10:53:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Compilation fix (2.50 KB, patch)
2011-12-06 19:28 EST, Petr Machata
no flags Details | Diff

  None (edit)
Description Denis Arnaud 2011-12-06 11:13:21 EST
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....
Comment 1 Petr Machata 2011-12-06 19:28:48 EST
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.
Comment 2 Braden McDaniel 2012-05-13 10:53:45 EDT
openvrml-0.18.9-1 has been built successfully for rawhide.

Note You need to log in before you can comment on or make changes to this bug.