[MacPorts] #47566: mapnik @3.0.0-rc1_1: fails to build

MacPorts noreply at macports.org
Sat Apr 25 03:43:04 PDT 2015


#47566: mapnik @3.0.0-rc1_1: fails to build
--------------------+------------------------
 Reporter:  petr@…  |      Owner:  macports@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.3.3
 Keywords:          |       Port:  mapnik
--------------------+------------------------
 This port does not build for me on a OS X 10.8.5 system.
 {{{
 Xcode 5.1.1
 Build version 5B1008
 }}}


 Probably this is the relevant part of the main.log, full main.log attached
 {{{
 :info:build Undefined symbols for architecture x86_64:
 :info:build
 "boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry
 const&, std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >&)", referenced from:
 :info:build
 mapnik::datasource_cache::register_datasources(std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) in
 datasource_cache.os
 :info:build
 mapnik::freetype_engine::register_fonts_impl(std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > const&,
 mapnik::font_library&, std::__1::map<std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> >,
 std::__1::pair<int, std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > >,
 std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> > >,
 std::__1::allocator<std::__1::pair<std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > const,
 std::__1::pair<int, std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > > > > >&, bool)
 in font_engine_freetype.os
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build scons: *** [src/libmapnik.dylib] Error 1
 :info:build /usr/bin/clang++ -o plugins/input/raster/raster_info.os -c
 -std=c++11 -stdlib=libc++ -Os -Wno-c++11-narrowing -Wall -Wsign-compare
 -ftemplate-depth-300 -Wno-unknown-pragmas -Wno-unsequenced -O3 -fPIC
 -DSHAPE_MEMORY_MAPPED_FILE -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG
 -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DDARWIN
 -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1
 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1
 -DNDEBUG -Ideps -Ideps/clipper/include -Ideps/agg/include -Iinclude
 -I/opt/local/include -I/opt/local/include/freetype2
 -I/opt/local/include/libxml2 -I/usr/include
 plugins/input/raster/raster_info.cpp
 :info:build scons: building terminated because of errors.
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_mapnik/mapnik/work/mapnik-3.0.0-rc1"
 && /opt/local/bin/python2.7 scons/scons.py -j8
 :info:build Exit code: 2
 :error:build org.macports.build for port mapnik returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 16955 2
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "portbuild::build_main org.macports.build"
     ("eval" body line 1)
     invoked from within
 "eval $procedure $targetname"
 }}}

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


More information about the macports-tickets mailing list