[MacPorts] #26734: OpenSceneGraph 2.8.3 installation on Mac OS X 10.6 Snow Leopard - Building Failed

MacPorts noreply at macports.org
Tue Oct 5 09:41:03 PDT 2010


#26734: OpenSceneGraph 2.8.3 installation on Mac OS X 10.6 Snow Leopard - Building
Failed
------------------------------------+---------------------------------------
 Reporter:  huangpeng723@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.9.1                                
 Keywords:  osg                     |        Port:  OpenSceneGraph                       
------------------------------------+---------------------------------------
 I have tried to install openscenegraph but it fails to build. Does anyone
 have any idea how to get rid of the error?

 {{{
 10:~ peng$ sudo port install openscenegraph
 --->  Computing dependencies for OpenSceneGraph
 --->  Building OpenSceneGraph
 Error: Target org.macports.build returned: shell command failed
 Log for OpenSceneGraph is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_OpenSceneGraph/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 In main.log the key info is some symbols not found (related to ffmpeg?)

 {{{

 ...

 :info:build   "_inflate", referenced from:
 :info:build       _matroska_decode_buffer in libavformat.a(matroskadec.o)
 :info:build       _zlib_decomp in libavcodec.a(lcldec.o)
 :info:build       _decode_frame in libavcodec.a(tiff.o)
 :info:build       _decode_frame in libavcodec.a(zmbv.o)
 :info:build       _decode_frame in libavcodec.a(pngdec.o)
 :info:build       _decode_frame in libavcodec.a(tscc.o)
 :info:build       _flashsv_decode_frame in libavcodec.a(flashsv.o)
 :info:build       _flashsv_decode_frame in libavcodec.a(flashsv.o)
 :info:build ld: symbol(s) not found
 :info:build collect2: ld returned 1 exit status
 :info:build make[2]: *** [lib/osgPlugins-2.8.3/osgdb_ffmpeg.so] Error 1
 :info:build make[1]: ***
 [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2
 :info:build make[1]: *** Waiting for unfinished jobs....
 :info:build [ 93%] Built target osgdb_osgwidget
 :info:build make: *** [all] Error 2
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_OpenSceneGraph/work/OpenSceneGraph-2.8.3"
 && /usr/bin/make -j2 all " returned error 2
 :error:build Target org.macports.build returned: shell command failed
 :debug:build Backtrace: shell command failed
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for
 OpenSceneGraph): org.macports.activate org.macports.build
 org.macports.destroot org.macports.install
 :notice:build Log for OpenSceneGraph is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_OpenSceneGraph/main.log
 }}}

 I have attached the main.log file and please let me know if you need any
 further info.

 Many thanks!

 Peng

-- 
Ticket URL: <https://trac.macports.org/ticket/26734>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list