synth icon indicating copy to clipboard operation
synth copied to clipboard

compilation errors on FreeBSD 10

Open ineron opened this issue 8 years ago • 0 comments

Hi, i try to build project, but i get an errors python setup.py install running install running bdist_egg running egg_info writing synth.egg-info/PKG-INFO writing top-level names to synth.egg-info/top_level.txt writing dependency_links to synth.egg-info/dependency_links.txt reading manifest file 'synth.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'synth.egg-info/SOURCES.txt' installing library code to build/bdist.freebsd-10.3-RELEASE-p11-amd64/egg running install_lib running build_ext building 'synth' extension gcc48 -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -DNDEBUG -fPIC -DBOOST_ALL_NO_LIB -DBOOST_PYTHON_NO_LIB -DBOOST_PYTHON_STATIC_LIB -DBOOST_PYTHON_SOURCE -DNDEBUG -I. -Iexternal/boost -I/usr/local/include/python2.7 -c ajg/synth/bindings/python/module.cpp -o build/temp.freebsd-10.3-RELEASE-p11-amd64-2.7/ajg/synth/bindings/python/module.o -std=c++11 -Wno-unused-value In file included from ./ajg/synth/templates/base_template.hpp:22:0, from ./ajg/synth/templates/buffer_template.hpp:12, from ./ajg/synth/templates.hpp:9, from ./ajg/synth/engines/django/engine.hpp:23, from ./ajg/synth/engines/django.hpp:9, from ./ajg/synth/engines.hpp:9, from ./ajg/synth/bindings/python/binding.hpp:17, from ajg/synth/bindings/python/module.cpp:13: ./ajg/synth/value_traits.hpp: In static member function 'static ajg::synth::default_traits<Char>::timezone_type ajg::synth::default_traits<Char>::machine_timezone()': ./ajg/synth/value_traits.hpp:212:14: error: 'daylight' was not declared in this scope if (!daylight) { ^ In file included from external/boost/boost/python/converter/rvalue_from_python_data.hpp:9:0, from external/boost/boost/python/converter/registry.hpp:9, from external/boost/boost/python/converter/registered.hpp:8, from external/boost/boost/python/object/make_instance.hpp:10, from external/boost/boost/python/object/make_ptr_instance.hpp:8, from external/boost/boost/python/to_python_indirect.hpp:11, from external/boost/boost/python/converter/arg_to_python.hpp:10, from external/boost/boost/python/call.hpp:15, from external/boost/boost/python/object_core.hpp:14, from external/boost/boost/python/args.hpp:25, from external/boost/boost/python.hpp:11, from ajg/synth/bindings/python/module.cpp:10: external/boost/boost/python/detail/referent_storage.hpp: In instantiation of 'union boost::python::detail::aligned_storage<8ul>': external/boost/boost/python/converter/rvalue_from_python_data.hpp:82:13: required from 'struct boost::python::converter::rvalue_from_python_storage' external/boost/boost/python/converter/rvalue_from_python_data.hpp:92:8: required from 'struct boost::python::converter::rvalue_from_python_data' external/boost/boost/python/extract.hpp:83:42: required from 'struct boost::python::converter::extract_rvalue' external/boost/boost/python/extract.hpp:127:8: required from 'struct boost::python::extract' ./ajg/synth/bindings/python/conversions.hpp:73:32: required from 'static boost::optional<typename Value::traits_type::size_type> ajg::synth::bindings::python::conversions<Value>::make_size(const boost::python::api::object&) [with Value = ajg::synth::engines::value<ajg::synth::default_traits >; typename Value::traits_type::size_type = long unsigned int]' ./ajg/synth/bindings/python/binding.hpp:189:68: required from 'static ajg::synth::bindings::python::binding<Traits>::caching_type ajg::synth::bindings::python::binding<Traits>::make_caching(const boost::python::api::object&) [with Traits = ajg::synth::default_traits; ajg::synth::bindings::python::binding<Traits>::caching_type = ajg::synth::caching_mask]' ./ajg/synth/bindings/python/binding.hpp:108:142: required from 'static ajg::synth::bindings::python::binding<Traits>::options_type ajg::synth::bindings::python::binding<Traits>::make_options(const boost::python::api::object&, ajg::synth::bindings::python::binding<Traits>::options_type) [with Traits = ajg::synth::default_traits; ajg::synth::bindings::python::binding<Traits>::options_type = ajg::synth::engines::options<ajg::synth::engines::context<ajg::synth::engines::value<ajg::synth::default_traits > > >]' ./ajg/synth/bindings/python/binding.hpp:146:85: required from 'static void ajg::synth::bindings::python::binding<Traits>::set_default_options(const boost::python::dict&) [with Traits = ajg::synth::default_traits]' ajg/synth/bindings/python/module.cpp:46:52: required from here external/boost/boost/python/detail/referent_storage.hpp:19:18: internal compiler error: in tsubst_copy, at cp/pt.c:12349 sizeof(T) <= size, T, char>::type t##n ^ external/boost/boost/python/detail/referent_storage.hpp:29:5: note: in expansion of macro 'BOOST_PYTHON_ALIGNER' BOOST_PYTHON_ALIGNER(float, 4); ^ /proc/self/exe: No such file or directory Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. error: command 'gcc48' failed with exit status 1 What could be the reason ?

ineron avatar Dec 04 '17 09:12 ineron