[MacPorts] #57983: mapnik @3.0.22: ValueError: invalid literal for int() with base 10: ''
MacPorts
noreply at macports.org
Wed Jan 30 16:05:22 UTC 2019
#57983: mapnik @3.0.22: ValueError: invalid literal for int() with base 10: ''
------------------------+------------------------
Reporter: ryandesign | Owner: macports@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: mapnik
------------------------+------------------------
[https://build.macports.org/builders/ports-10.7_x86_64_legacy-
builder/builds/93568/steps/install-port/logs/stdio mapnik doesn't seem to
want to build] on Mountain Lion or earlier:
{{{
scons: Reading SConscript files ...
Welcome to Mapnik...
Configuring build environment...
Configuring on Darwin in *release mode*...
Checking for freetype-config... yes
Checking for dlfcn.h support ... yes
Checking if compiler (/opt/local/bin/clang++-mp-5.0) supports -std=c++11
flag... (cached) yes
Checking for C library z... yes
Checking for C++ library icuuc... yes
Checking for ICU version >= 4.2... (cached) Checking for C++ library
harfbuzz... yes
Checking for HarfBuzz version >= 0.9.34... Checking for HarfBuzz with
freetype support
(cached) no
Searching for boost libs and headers... (cached)
Found boost libs: /opt/local/lib
Found boost headers: /opt/local/include
Found boost lib name extension: -mt
Checking for C++ header file boost/version.hpp... yes
Checking for Boost version >= 1.47... yes
Found boost lib version...
Checking for C++ library boost_system-mt... yes
Checking for C++ library boost_filesystem-mt... yes
Checking for C++ library boost_regex-mt... yes
Checking for C++ library boost_program_options-mt... yes
ValueError: invalid literal for int() with base 10: '':
File
"/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_mapnik/mapnik/work/mapnik-v3.0.22/SConstruct",
line 1576:
boost_version = [int(x) for x in
env.get('BOOST_LIB_VERSION_FROM_HEADER').split('_')]
Command failed: cd
"/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_mapnik/mapnik/work/mapnik-v3.0.22"
&& /usr/bin/python scons/scons.py configure
CXX="/opt/local/bin/clang++-mp-5.0" CC="/opt/local/bin/clang-mp-5.0"
CUSTOM_CXXFLAGS="-Os -stdlib=macports-libstdc++" CUSTOM_CFLAGS="-Os"
CUSTOM_LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names"
PREFIX=/opt/local
DESTDIR=/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_mapnik/mapnik/work/destroot
CAIRO=False CPP_TESTS=False FREETYPE_CONFIG=/opt/local/bin/freetype-config
PROJ_INCLUDES=/opt/local/lib/proj49/include
PROJ_LIBS=/opt/local/lib/proj49/lib BOOST_INCLUDES=/opt/local/include
BOOST_LIBS=/opt/local/lib ICU_INCLUDES=/opt/local/include
ICU_LIBS=/opt/local/lib PNG_INCLUDES=/opt/local/include
PNG_LIBS=/opt/local/lib JPEG_INCLUDES=/opt/local/include
JPEG_LIBS=/opt/local/lib TIFF_INCLUDES=/opt/local/include
TIFF_LIBS=/opt/local/lib CAIRO_INCLUDES=/opt/local/include
CAIRO_LIBS=/opt/local/lib SQLITE_INCLUDES=/opt/local/include
SQLITE_LIBS=/opt/local/lib HB_INCLUDES=/opt/local/include
HB_LIBS=/opt/local/lib WEBP_INCLUDES=/opt/local/include
WEBP_LIBS=/opt/local/lib INPUT_PLUGINS=shape,csv,raster,geojson,topojson
Exit code: 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57983>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list