[MacPorts] #24300: OpenSceneGraph-devel 2.9.7 build error

MacPorts noreply at macports.org
Wed Mar 31 07:30:26 PDT 2010


#24300: OpenSceneGraph-devel 2.9.7 build error
-------------------------------+--------------------------------------------
 Reporter:  yves@…             |       Owner:  nox@…               
     Type:  defect             |      Status:  new                 
 Priority:  Normal             |   Milestone:                      
Component:  ports              |     Version:  1.8.2               
 Keywords:                     |        Port:  OpenSceneGraph-devel
-------------------------------+--------------------------------------------
Changes (by macsforever2000@…):

  * keywords:  OpenSceneGraph =>
 * cc: nox@… (removed)
  * owner:  macports-tickets@… => nox@…


Old description:

> {{{--->  Building OpenSceneGraph-devel
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7" && /usr/bin/make -j2 all " returned
> error 2
> Command output:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:484:
> error: 'JAS_CLRSPC_CHANIND_RGB_G' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:485:
> error: 'JAS_CLRSPC_CHANIND_RGB_B' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:489:
> error: 'JAS_CLRSPC_SRGB' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:489:
> error: 'jas_image_setclrspc' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:490:
> error: 'JAS_CLRSPC_CHANIND_RGB_R' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:490:
> error: 'JAS_IMAGE_CT_COLOR' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:490:
> error: 'jas_image_setcmpttype' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:491:
> error: 'JAS_CLRSPC_CHANIND_RGB_G' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:492:
> error: 'JAS_CLRSPC_CHANIND_RGB_B' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:493:
> error: 'JAS_IMAGE_CT_OPACITY' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:496:
> error: 'getdata' cannot be used as a function
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:498:
> error: 'out' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:510:
> error: 'jas_image_encode' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:513:
> error: 'jas_stream_flush' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:516:
> error: 'jas_stream_memobj_t' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:516:
> error: 'obj' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:516:
> error: expected primary-expression before ')' token
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:516:
> error: expected `;' before 'out'
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:522:
> error: 'jas_stream_close' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:524:
> error: 'jas_image_destroy' was not declared in this scope
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:525:
> error: 'jas_image_clearfmts' was not declared in this scope
> make[2]: ***
> [src/osgPlugins/jp2/CMakeFiles/osgdb_jp2.dir/ReaderWriterJP2.cpp.o] Error
> 1
> make[1]: *** [src/osgPlugins/jp2/CMakeFiles/osgdb_jp2.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> Linking CXX shared module ../../../lib/osgPlugins-2.9.7/osgdb_exr.so
> cd
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/exr &&
> /opt/local/bin/cmake -E cmake_link_script
> CMakeFiles/osgdb_exr.dir/link.txt --verbose=1
> /usr/bin/g++-4.0  -O2 -arch i386  -O3 -DNDEBUG -arch i386 -isysroot
> /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -bundle
> -headerpad_max_install_names -L/opt/local/lib -o
> ../../../lib/osgPlugins-2.9.7/osgdb_exr.so
> CMakeFiles/osgdb_exr.dir/ReaderWriterEXR.cpp.o
> ../../../lib/libOpenThreads.2.5.0.dylib ../../../lib/libosg.2.9.7.dylib
> ../../../lib/libosgDB.2.9.7.dylib ../../../lib/libosgUtil.2.9.7.dylib
> /opt/local/lib/libIlmImf.dylib /opt/local/lib/libHalf.dylib -framework
> Carbon /opt/local/lib/libz.dylib ../../../lib/libosg.2.9.7.dylib
> ../../../lib/libOpenThreads.2.5.0.dylib -lpthread /usr/lib/libm.dylib
> /usr/lib/libdl.dylib -framework AGL -framework OpenGL
> /opt/local/bin/cmake -E cmake_progress_report
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_graphics_OpenSceneGraph-
> devel/work/OpenSceneGraph-2.9.7/CMakeFiles
> [ 59%] Built target osgdb_exr
> make: *** [all] Error 2
>
> Error: Status 1 encountered during processing.}}}

New description:

 {{{
 --->  Building OpenSceneGraph-devel
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7" && /usr/bin/make -j2 all " returned error
 2
 Command output:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:484:
 error: 'JAS_CLRSPC_CHANIND_RGB_G' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:485:
 error: 'JAS_CLRSPC_CHANIND_RGB_B' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:489:
 error: 'JAS_CLRSPC_SRGB' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:489:
 error: 'jas_image_setclrspc' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:490:
 error: 'JAS_CLRSPC_CHANIND_RGB_R' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:490:
 error: 'JAS_IMAGE_CT_COLOR' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:490:
 error: 'jas_image_setcmpttype' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:491:
 error: 'JAS_CLRSPC_CHANIND_RGB_G' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:492:
 error: 'JAS_CLRSPC_CHANIND_RGB_B' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:493:
 error: 'JAS_IMAGE_CT_OPACITY' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:496:
 error: 'getdata' cannot be used as a function
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:498:
 error: 'out' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:510:
 error: 'jas_image_encode' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:513:
 error: 'jas_stream_flush' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:516:
 error: 'jas_stream_memobj_t' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:516:
 error: 'obj' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:516:
 error: expected primary-expression before ')' token
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:516:
 error: expected `;' before 'out'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:522:
 error: 'jas_stream_close' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:524:
 error: 'jas_image_destroy' was not declared in this scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/jp2/ReaderWriterJP2.cpp:525:
 error: 'jas_image_clearfmts' was not declared in this scope
 make[2]: ***
 [src/osgPlugins/jp2/CMakeFiles/osgdb_jp2.dir/ReaderWriterJP2.cpp.o] Error
 1
 make[1]: *** [src/osgPlugins/jp2/CMakeFiles/osgdb_jp2.dir/all] Error 2
 make[1]: *** Waiting for unfinished jobs....
 Linking CXX shared module ../../../lib/osgPlugins-2.9.7/osgdb_exr.so
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/src/osgPlugins/exr && /opt/local/bin/cmake
 -E cmake_link_script CMakeFiles/osgdb_exr.dir/link.txt --verbose=1
 /usr/bin/g++-4.0  -O2 -arch i386  -O3 -DNDEBUG -arch i386 -isysroot
 /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -bundle
 -headerpad_max_install_names -L/opt/local/lib -o
 ../../../lib/osgPlugins-2.9.7/osgdb_exr.so
 CMakeFiles/osgdb_exr.dir/ReaderWriterEXR.cpp.o
 ../../../lib/libOpenThreads.2.5.0.dylib ../../../lib/libosg.2.9.7.dylib
 ../../../lib/libosgDB.2.9.7.dylib ../../../lib/libosgUtil.2.9.7.dylib
 /opt/local/lib/libIlmImf.dylib /opt/local/lib/libHalf.dylib -framework
 Carbon /opt/local/lib/libz.dylib ../../../lib/libosg.2.9.7.dylib
 ../../../lib/libOpenThreads.2.5.0.dylib -lpthread /usr/lib/libm.dylib
 /usr/lib/libdl.dylib -framework AGL -framework OpenGL
 /opt/local/bin/cmake -E cmake_progress_report
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_OpenSceneGraph-
 devel/work/OpenSceneGraph-2.9.7/CMakeFiles
 [ 59%] Built target osgdb_exr
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/24300#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list