[MacPorts] #24300: OpenSceneGraph-devel 2.9.7 build error
#24300: OpenSceneGraph-devel 2.9.7 build error -------------------------------+-------------------------------------------- Reporter: yves@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: OpenSceneGraph | Port: OpenSceneGraph-devel -------------------------------+-------------------------------------------- {{{---> 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> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 ryandesign@…): * cc: ryandesign@… (added) Comment: It works fine for me on Snow Leopard. Please clean and try again with the debug switch and with only one build job. {{{ sudo port clean OpenSceneGraph-devel sudo port -d install OpenSceneGraph-devel build.jobs=1 2>&1 | tee ~/Desktop/OpenSceneGraph-devel.txt bzip2 OpenSceneGraph-devel.txt }}} If it fails again, attach OpenSceneGraph-devel.txt.bz2 from your desktop to this ticket so we can see what's actually going on. -- Ticket URL: <http://trac.macports.org/ticket/24300#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -------------------------------+-------------------------------------------- Comment(by yves@…): Looks like it works also fine on Leopard if I put jasper.h to /usr/local/include/jasper/. This works with osg 2.9.7 svn trunk/cmake and maybe also with this port? I can not check if this needs a patch for this port for Leopard or not. <jasper/jasper.h> --> osgPlugins/jp2/ReaderWriterJP2.cpp -- Ticket URL: <http://trac.macports.org/ticket/24300#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -------------------------------+-------------------------------------------- Comment(by ryandesign@…): Ok, relevant the error in the log you attached is {{{ ReaderWriterJP2.cpp:20:31: error: jasper/jasper.h: No such file or directory }}} It couldn't find jasper/jasper.h, which should have been provided by the jasper port, on which OpenSceneGraph-devel does depend and which your log shows you do have installed and active. Putting files manually in /usr/local is not supported, and you should remove the file you put there. The log also shows that it thinks Jasper is installed in /Library/Frameworks/UnixImageIO.framework/Headers/jasper. UnixImageIO.framework is not a standard part of Mac OS X; something else you installed must have installed this framework, and it is interfering with OpenSceneGraph-devel. You should remove this framework, clean OpenSceneGraph-devel, and try again. -- Ticket URL: <http://trac.macports.org/ticket/24300#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -------------------------------+-------------------------------------------- Comment(by yves@…): Replying to [comment:4 ryandesign@…]:
Ok, relevant the error in the log you attached is
{{{ ReaderWriterJP2.cpp:20:31: error: jasper/jasper.h: No such file or directory }}}
It couldn't find jasper/jasper.h, which should have been provided by the jasper port, on which OpenSceneGraph-devel does depend and which your log shows you do have installed and active.
Putting files manually in /usr/local is not supported, and you should remove the file you put there.
The log also shows that it thinks Jasper is installed in /Library/Frameworks/UnixImageIO.framework/Headers/jasper. UnixImageIO.framework is not a standard part of Mac OS X; something else you installed must have installed this framework, and it is interfering with OpenSceneGraph-devel. You should remove this framework, clean OpenSceneGraph-devel, and try again.
I can not remove the UnixImageIO framework of course. But you can close/move or delete this ticket because I have compiled OpenSceneGraph 2.9.7 now and it looks like a non-standard-osx-installation-problem and has nothing to do with your port. The not-supported-manually-putting of jasper.h was the only and quick way to get OpenSceneGraph 2.9.7 compiling with cmake on my 10.5. Thank you anyway for looking to my report! -- Ticket URL: <http://trac.macports.org/ticket/24300#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24300: OpenSceneGraph-devel 2.9.7 build error -----------------------------------+---------------------------------------- Reporter: yves@… | Owner: nox@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: wontfix | Keywords: Port: OpenSceneGraph-devel | -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => wontfix Comment: Ok. For future reference, having third-party frameworks in /Library/Frameworks can interfere with the installation of MacPorts ports. -- Ticket URL: <http://trac.macports.org/ticket/24300#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts