[MacPorts] #41241: vxl fails to build on OS X 10.9 Maverick

MacPorts noreply at macports.org
Wed Nov 6 17:01:27 PST 2013


#41241: vxl fails to build on OS X 10.9 Maverick
--------------------------------------+--------------------------------
 Reporter:  andreas.schuh.84@…        |      Owner:  macports-tickets@…
     Type:  defect                    |     Status:  new
 Priority:  Normal                    |  Milestone:
Component:  ports                     |    Version:  2.2.1
 Keywords:  vxl, maverick, os x 10.9  |       Port:  vxl
--------------------------------------+--------------------------------
 {{{
 :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
 core/vbl/tests/CMakeFiles/vbl_test_all.dir/build.make
 core/vbl/tests/CMakeFiles/vbl_test_all.dir/depend
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.17.0/core/vul/vul_psfile.cxx:2:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.17.0/core/vul/vul_psfile.h:40:28:
 error: cannot cast from type 'std::ofstream' (aka 'basic_ofstream<char>')
 to pointer type 'void *'
 :info:build   operator bool() { return (void*)output_filestream!=(void*)0;
 }
 :info:build                            ^~~~~~~~~~~~~~~~~~~~~~~~
 }}}


 When I change this line to
 {{{
 // or should this be !output_filestream.bad() && !output_filestream.fail()
 ?
 return output_filestream.good()
 }}}
 it continues past this point but then I get the following error:

 {{{
  cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.17.0/core/vbl/io/tests
 && /usr/bin/clang++   -DVXL_LEGACY_ERROR_REPORTING -DVXL_WARN_DEPRECATED
 -DVXL_WARN_DEPRECATED_ONCE -pipe -Os -Werror=gnu -Wno-error=vla
 -I/opt/local/include -arch x86_64   -DNDEBUG -arch x86_64
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.17.0/vcl
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.17.0/core
 -o CMakeFiles/vbl_io_test_all.dir/test_smart_ptr_io.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.17.0/core/vbl/io/tests/test_smart_ptr_io.cxx
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.17.0/core/vil/file_formats/vil_openjpeg.cxx:107:3:
 error: unknown type name 'opj_codec_t'; did you mean 'opj_poc_t'?
 :info:build   opj_codec_t *codec_;
 :info:build   ^~~~~~~~~~~
 }}}

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


More information about the macports-tickets mailing list