Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build with android-ndk failed #1669

Closed
leleliu008 opened this issue Nov 25, 2021 · 1 comment
Closed

build with android-ndk failed #1669

leleliu008 opened this issue Nov 25, 2021 · 1 comment

Comments

@leleliu008
Copy link

leleliu008 commented Nov 25, 2021

Bug Report

Environment

build-machine : glibc-based GNU/Linux, Ubuntu recommanded or macOS or WSL
build-toolchain : Android NDK

Zola version:

https://github.com/getzola/zola/archive/v0.14.1.tar.gz

Expected Behavior

successfully build for android with android-ndk

Current Behavior

error: linking with `armv7a-linux-androideabi21-clang` failed: exit status: 1
  |
  = note: "armv7a-linux-androideabi21-clang" "-Wl,--allow-multiple-definition" "-march=armv7-a" "/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/zola-e730e2264b37550e.zola.b4e8d83f-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps" "-L" "/tmp/tmp.Q9Mco1GuM2/target/release/deps" "-L" "/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/build/onig_sys-0192c25bd331255f/out" "-L" "/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/build/ring-a948f6eebc8380ba/out" "-L" "/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/build/libwebp-sys-f91956730bb23918/out" "-L" "/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/build/sass-sys-3a88b8ddc8248324/out/build/lib" "-L" "/home/fpliu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-linux-androideabi/lib" "-lc++_static" "-Wl,-Bstatic" "/tmp/rustc1DxWrU/liblibwebp_sys-7138159002e48cb1.rlib" "/tmp/rustc1DxWrU/libring-8cca1e1c1c504613.rlib" "/tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib" "/tmp/rustc1DxWrU/libonig_sys-27000f2a4a51a660.rlib" "-Wl,--start-group" "-Wl,--end-group" "/home/fpliu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-linux-androideabi/lib/libcompiler_builtins-0fc41c80f57d6aac.rlib" "-Wl,-Bdynamic" "-lc++_static" "-lc++_static" "-lc++_static" "-lstdc++" "-lc++_static" "-lc++_static" "-ldl" "-llog" "-lgcc" "-lc" "-lm" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/fpliu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-linux-androideabi/lib" "-o" "/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/zola-e730e2264b37550e" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs"
  = note: /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(backtrace.o)(.ARM.extab+0x0): error: undefined reference to '__gxx_personality_v0'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_utils.o)(.ARM.extab+0x0): error: undefined reference to '__gxx_personality_v0'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_utils.o)(.ARM.extab+0x78): error: undefined reference to '__gxx_personality_v0'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_utils.o)(.ARM.extab+0xf0): error: undefined reference to '__gxx_personality_v0'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_utils.o):fn_utils.cpp:function std::__ndk1::basic_ostream<char, std::__ndk1::char_traits<char> >::operator<<(double): error: undefined reference to '__cxa_begin_catch'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_utils.o):fn_utils.cpp:function std::__ndk1::basic_ostream<char, std::__ndk1::char_traits<char> >::operator<<(double): error: undefined reference to '__cxa_end_catch'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_utils.o):fn_utils.cpp:function std::__ndk1::basic_ostream<char, std::__ndk1::char_traits<char> >::operator<<(double): error: undefined reference to '__cxa_end_catch'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_miscs.o):fn_miscs.cpp:typeinfo for Sass::Emitter: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_maps.o):fn_maps.cpp:function Sass::Functions::map_get(Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Context&, char const*, Sass::SourceSpan, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >&, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >): error: undefined reference to '__cxa_begin_catch'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_maps.o):fn_maps.cpp:function Sass::Functions::map_get(Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Context&, char const*, Sass::SourceSpan, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >&, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >): error: undefined reference to '__cxa_end_catch'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_maps.o):fn_maps.cpp:function Sass::Functions::map_get(Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Context&, char const*, Sass::SourceSpan, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >&, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >): error: undefined reference to '__cxa_rethrow'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_maps.o):fn_maps.cpp:function Sass::Functions::map_get(Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Context&, char const*, Sass::SourceSpan, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >&, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >): error: undefined reference to '__cxa_end_catch'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_maps.o)(.ARM.extab+0xb8): error: undefined reference to 'typeinfo for std::out_of_range'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_maps.o):fn_maps.cpp:function void std::__ndk1::__hash_table<std::__ndk1::__hash_value_type<Sass::SharedImpl<Sass::Expression>, Sass::SharedImpl<Sass::Expression> >, std::__ndk1::__unordered_map_hasher<Sass::SharedImpl<Sass::Expression>, std::__ndk1::__hash_value_type<Sass::SharedImpl<Sass::Expression>, Sass::SharedImpl<Sass::Expression> >, Sass::ObjHash, true>, std::__ndk1::__unordered_map_equal<Sass::SharedImpl<Sass::Expression>, std::__ndk1::__hash_value_type<Sass::SharedImpl<Sass::Expression>, Sass::SharedImpl<Sass::Expression> >, Sass::ObjEquality, true>, std::__ndk1::allocator<std::__ndk1::__hash_value_type<Sass::SharedImpl<Sass::Expression>, Sass::SharedImpl<Sass::Expression> > > >::__assign_multi<std::__ndk1::__hash_const_iterator<std::__ndk1::__hash_node<std::__ndk1::__hash_value_type<Sass::SharedImpl<Sass::Expression>, Sass::SharedImpl<Sass::Expression> >, void*>*> >(std::__ndk1::__hash_const_iterator<std::__ndk1::__hash_node<std::__ndk1::__hash_value_type<Sass::SharedImpl<Sass::Expression>, Sass::SharedImpl<Sass::Expression> >, void*>*>, std::__ndk1::__hash_const_iterator<std::__ndk1::__hash_node<std::__ndk1::__hash_value_type<Sass::SharedImpl<Sass::Expression>, Sass::SharedImpl<Sass::Expression> >, void*>*>): error: undefined reference to '__cxa_begin_catch'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_maps.o):fn_maps.cpp:function void std::__ndk1::__hash_table<std::__ndk1::__hash_value_type<Sass::SharedImpl<Sass::Expression>, Sass::SharedImpl<Sass::Expression> >, std::__ndk1::__unordered_map_hasher<Sass::SharedImpl<Sass::Expression>, std::__ndk1::__hash_value_type<Sass::SharedImpl<Sass::Expression>, Sass::SharedImpl<Sass::Expression> >, Sass::ObjHash, true>, std::__ndk1::__unordered_map_equal<Sass::SharedImpl<Sass::Expression>, std::__ndk1::__hash_value_type<Sass::SharedImpl<Sass::Expression>, Sass::SharedImpl<Sass::Expression> >, Sass::ObjEquality, true>, std::__ndk1::allocator<std::__ndk1::__hash_value_type<Sass::SharedImpl<Sass::Expression>, Sass::SharedImpl<Sass::Expression> > > >::__assign_multi<std::__ndk1::__hash_const_iterator<std::__ndk1::__hash_node<std::__ndk1::__hash_value_type<Sass::SharedImpl<Sass::Expression>, Sass::SharedImpl<Sass::Expression> >, void*>*> >(std::__ndk1::__hash_const_iterator<std::__ndk1::__hash_node<std::__ndk1::__hash_value_type<Sass::SharedImpl<Sass::Expression>, Sass::SharedImpl<Sass::Expression> >, void*>*>, std::__ndk1::__hash_const_iterator<std::__ndk1::__hash_node<std::__ndk1::__hash_value_type<Sass::SharedImpl<Sass::Expression>, Sass::SharedImpl<Sass::Expression> >, void*>*>): error: undefined reference to '__cxa_rethrow'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_colors.o):fn_colors.cpp:function std::__ndk1::basic_ostream<char, std::__ndk1::char_traits<char> >::operator<<(int): error: undefined reference to '__cxa_begin_catch'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_numbers.o):fn_numbers.cpp:function Sass::Functions::random(Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Context&, char const*, Sass::SourceSpan, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >&, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >): error: undefined reference to '__cxa_allocate_exception'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_numbers.o):fn_numbers.cpp:function Sass::Functions::random(Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Context&, char const*, Sass::SourceSpan, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >&, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >): error: undefined reference to '__cxa_throw'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_numbers.o):fn_numbers.cpp:function Sass::Functions::random(Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Context&, char const*, Sass::SourceSpan, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >&, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >): error: undefined reference to '__cxa_allocate_exception'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_numbers.o):fn_numbers.cpp:function Sass::Functions::random(Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Context&, char const*, Sass::SourceSpan, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >&, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >): error: undefined reference to '__cxa_throw'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_numbers.o):fn_numbers.cpp:function Sass::Functions::random(Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Context&, char const*, Sass::SourceSpan, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >&, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >): error: undefined reference to '__cxa_free_exception'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_numbers.o):fn_numbers.cpp:typeinfo for Sass::Exception::InvalidArgumentType: error: undefined reference to 'vtable for __cxxabiv1::__si_class_type_info'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_strings.o):fn_strings.cpp:function Sass::Functions::handle_utf8_error(Sass::SourceSpan const&, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >): error: undefined reference to '__cxa_rethrow'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_strings.o):fn_strings.cpp:function Sass::Functions::handle_utf8_error(Sass::SourceSpan const&, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >): error: undefined reference to '__cxa_rethrow'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_strings.o):fn_strings.cpp:function Sass::Functions::sass_unquote(Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Context&, char const*, Sass::SourceSpan, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >&, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >): error: undefined reference to '__cxa_allocate_exception'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_strings.o):fn_strings.cpp:function Sass::Functions::sass_unquote(Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Context&, char const*, Sass::SourceSpan, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >&, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >): error: undefined reference to '__cxa_throw'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_strings.o):fn_strings.cpp:function Sass::Functions::sass_unquote(Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Context&, char const*, Sass::SourceSpan, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >&, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >): error: undefined reference to '__cxa_free_exception'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_strings.o):fn_strings.cpp:function Sass::Functions::sass_unquote(Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Context&, char const*, Sass::SourceSpan, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >&, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >): error: undefined reference to 'typeinfo for std::runtime_error'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_strings.o):fn_strings.cpp:function Sass::Functions::sass_unquote(Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Environment<Sass::SharedImpl<Sass::AST_Node> >&, Sass::Context&, char const*, Sass::SourceSpan, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >&, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >, std::__ndk1::vector<Sass::SharedImpl<Sass::SelectorList>, std::__ndk1::allocator<Sass::SharedImpl<Sass::SelectorList> > >): error: undefined reference to 'std::runtime_error::~runtime_error()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_strings.o):fn_strings.cpp:function unsigned int utf8::next<std::__ndk1::__wrap_iter<char*> >(std::__ndk1::__wrap_iter<char*>&, std::__ndk1::__wrap_iter<char*>): error: undefined reference to '__cxa_allocate_exception'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_strings.o):fn_strings.cpp:function unsigned int utf8::next<std::__ndk1::__wrap_iter<char*> >(std::__ndk1::__wrap_iter<char*>&, std::__ndk1::__wrap_iter<char*>): error: undefined reference to '__cxa_throw'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_strings.o):fn_strings.cpp:function unsigned int utf8::next<std::__ndk1::__wrap_iter<char*> >(std::__ndk1::__wrap_iter<char*>&, std::__ndk1::__wrap_iter<char*>): error: undefined reference to 'std::exception::~exception()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_strings.o):fn_strings.cpp:function unsigned int utf8::next<std::__ndk1::__wrap_iter<char*> >(std::__ndk1::__wrap_iter<char*>&, std::__ndk1::__wrap_iter<char*>): error: undefined reference to 'std::exception::~exception()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(fn_strings.o):fn_strings.cpp:function unsigned int utf8::next<std::__ndk1::__wrap_iter<char*> >(std::__ndk1::__wrap_iter<char*>&, std::__ndk1::__wrap_iter<char*>): error: undefined reference to 'std::exception::~exception()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(parser_selectors.o):parser_selectors.cpp:function Sass::Parser::parseComplexSelector(bool): error: undefined reference to '__cxa_free_exception'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(parser_selectors.o):parser_selectors.cpp:function Sass::Parser::parseSelectorList(bool): error: undefined reference to '__cxa_free_exception'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(listize.o):listize.cpp:typeinfo for Sass::Listize: error: undefined reference to 'vtable for __cxxabiv1::__si_class_type_info'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(listize.o):listize.cpp:typeinfo for Sass::Operation_CRTP<Sass::Expression*, Sass::Listize>: error: undefined reference to 'vtable for __cxxabiv1::__si_class_type_info'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(extension.o):extension.cpp:typeinfo for Sass::Exception::ExtendAcrossMedia: error: undefined reference to 'vtable for __cxxabiv1::__si_class_type_info'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(output.o):output.cpp:function void Sass::Operation_CRTP<void, Sass::Inspect>::fallback<Sass::AST_Node*>(Sass::AST_Node*): error: undefined reference to '__cxa_bad_typeid'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(output.o):output.cpp:function void Sass::Operation_CRTP<void, Sass::Inspect>::fallback<Sass::AST_Node*>(Sass::AST_Node*): error: undefined reference to 'typeinfo for std::runtime_error'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(output.o):output.cpp:function void Sass::Operation_CRTP<void, Sass::Inspect>::fallback<Sass::AST_Node*>(Sass::AST_Node*): error: undefined reference to 'std::runtime_error::~runtime_error()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(output.o):output.cpp:function void Sass::Operation_CRTP<void, Sass::Inspect>::fallback<Sass::Trace*>(Sass::Trace*): error: undefined reference to '__cxa_bad_typeid'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(output.o):output.cpp:function void Sass::Operation_CRTP<void, Sass::Inspect>::fallback<Sass::Trace*>(Sass::Trace*): error: undefined reference to 'typeinfo for std::runtime_error'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(output.o):output.cpp:function void Sass::Operation_CRTP<void, Sass::Inspect>::fallback<Sass::Trace*>(Sass::Trace*): error: undefined reference to 'std::runtime_error::~runtime_error()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(output.o):output.cpp:function void Sass::Operation_CRTP<void, Sass::Inspect>::fallback<Sass::Color*>(Sass::Color*): error: undefined reference to '__cxa_bad_typeid'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(output.o):output.cpp:function void Sass::Operation_CRTP<void, Sass::Inspect>::fallback<Sass::Color*>(Sass::Color*): error: undefined reference to 'typeinfo for std::runtime_error'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(output.o):output.cpp:function void Sass::Operation_CRTP<void, Sass::Inspect>::fallback<Sass::Color*>(Sass::Color*): error: undefined reference to 'std::runtime_error::~runtime_error()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(output.o):output.cpp:function void Sass::Operation_CRTP<void, Sass::Inspect>::fallback<Sass::SupportsCondition*>(Sass::SupportsCondition*): error: undefined reference to '__cxa_bad_typeid'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(sass2scss.o):sass2scss.cpp:typeinfo for std::__ndk1::basic_iostream<char, std::__ndk1::char_traits<char> >: error: undefined reference to 'vtable for __cxxabiv1::__vmi_class_type_info'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(error_handling.o):error_handling.cpp:function Sass::Exception::Base::Base(Sass::SourceSpan, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, std::__ndk1::vector<Sass::Backtrace, std::__ndk1::allocator<Sass::Backtrace> >): error: undefined reference to 'std::runtime_error::~runtime_error()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(error_handling.o):error_handling.cpp:function Sass::Exception::IncompatibleUnits::IncompatibleUnits(Sass::Units const&, Sass::Units const&): error: undefined reference to 'std::runtime_error::~runtime_error()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(error_handling.o):error_handling.cpp:function Sass::Exception::IncompatibleUnits::IncompatibleUnits(Sass::UnitType, Sass::UnitType): error: undefined reference to 'std::runtime_error::~runtime_error()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(error_handling.o):error_handling.cpp:function Sass::Exception::AlphaChannelsNotEqual::AlphaChannelsNotEqual(Sass::Expression const*, Sass::Expression const*, Sass_OP): error: undefined reference to 'std::runtime_error::~runtime_error()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(utf8_string.o):utf8_string.cpp:function unsigned int utf8::next<std::__ndk1::__wrap_iter<char const*> >(std::__ndk1::__wrap_iter<char const*>&, std::__ndk1::__wrap_iter<char const*>): error: undefined reference to 'std::exception::~exception()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(ast_sel_unify.o):ast_sel_unify.cpp:typeinfo for Sass::Vectorized<Sass::SharedImpl<Sass::SimpleSelector> >: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /buildbot/src/android/ndk-release-r21/external/libcxx/src/support/runtime/exception_libcxxabi.ipp:21: error: undefined reference to '__cxa_uncaught_exceptions'
          /buildbot/src/android/ndk-release-r21/external/libcxx/include/stdexcept:0: error: undefined reference to 'typeinfo for std::overflow_error'
          /buildbot/src/android/ndk-release-r21/external/libcxx/include/stdexcept:0: error: undefined reference to 'std::overflow_error::~overflow_error()'
          /buildbot/src/android/ndk-release-r21/external/libcxx/include/stdexcept:0: error: undefined reference to 'vtable for std::overflow_error'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/lib/arm-linux-androideabi/libc++_static.a(ios.o):ios.cpp:vtable for std::__ndk1::ios_base::failure: error: undefined reference to 'std::runtime_error::what() const'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/lib/arm-linux-androideabi/libc++_static.a(ios.o):ios.cpp:typeinfo for std::__ndk1::ios_base: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/lib/arm-linux-androideabi/libc++_static.a(ios.o):ios.cpp:typeinfo for std::__ndk1::basic_streambuf<wchar_t, std::__ndk1::char_traits<wchar_t> >: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/lib/arm-linux-androideabi/libc++_static.a(ios.o):ios.cpp:typeinfo for std::__ndk1::basic_istream<wchar_t, std::__ndk1::char_traits<wchar_t> >: error: undefined reference to 'vtable for __cxxabiv1::__vmi_class_type_info'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/lib/arm-linux-androideabi/libc++_static.a(ios.o):ios.cpp:typeinfo for std::__ndk1::basic_ostream<wchar_t, std::__ndk1::char_traits<wchar_t> >: error: undefined reference to 'vtable for __cxxabiv1::__vmi_class_type_info'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /buildbot/src/android/ndk-release-r21/external/libcxx/include/typeinfo:343: error: undefined reference to 'std::bad_cast::bad_cast()'
          /buildbot/src/android/ndk-release-r21/external/libcxx/include/typeinfo:0: error: undefined reference to 'typeinfo for std::bad_cast'
          /buildbot/src/android/ndk-release-r21/external/libcxx/include/typeinfo:0: error: undefined reference to 'std::bad_cast::~bad_cast()'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/lib/arm-linux-androideabi/libc++_static.a(locale.o):locale.cpp:typeinfo for std::__ndk1::ctype<wchar_t>: error: undefined reference to 'vtable for __cxxabiv1::__vmi_class_type_info'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /buildbot/src/android/ndk-release-r21/external/libcxx/src/new.cpp:42: error: undefined reference to 'std::bad_alloc::bad_alloc()'
          /buildbot/src/android/ndk-release-r21/external/libcxx/src/new.cpp:0: error: undefined reference to 'typeinfo for std::bad_alloc'
          /buildbot/src/android/ndk-release-r21/external/libcxx/src/new.cpp:0: error: undefined reference to 'std::bad_alloc::~bad_alloc()'
          /buildbot/src/android/ndk-release-r21/external/libcxx/src/new.cpp:71: error: undefined reference to 'std::get_new_handler()'
          /buildbot/src/android/ndk-release-r21/external/libcxx/src/new.cpp:76: error: undefined reference to 'std::bad_alloc::bad_alloc()'
          /buildbot/src/android/ndk-release-r21/external/libcxx/src/new.cpp:0: error: undefined reference to 'typeinfo for std::bad_alloc'
          /buildbot/src/android/ndk-release-r21/external/libcxx/src/new.cpp:0: error: undefined reference to 'std::bad_alloc::~bad_alloc()'
          /buildbot/src/android/ndk-release-r21/external/libcxx/src/support/runtime/stdexcept_default.ipp:0: error: undefined reference to 'vtable for std::logic_error'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /buildbot/src/android/ndk-release-r21/external/libcxx/src/support/runtime/stdexcept_default.ipp:0: error: undefined reference to 'vtable for std::runtime_error'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /buildbot/src/android/ndk-release-r21/external/libcxx/src/support/runtime/stdexcept_default.ipp:0: error: undefined reference to 'vtable for std::runtime_error'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/lib/arm-linux-androideabi/libc++_static.a(system_error.o):system_error.cpp:vtable for std::__ndk1::system_error: error: undefined reference to 'std::runtime_error::what() const'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(sass_context.o):sass_context.cpp:function sass_prepare_context(Sass_Context*, Sass::Context*): error: undefined reference to '__cxa_call_unexpected'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(sass_context.o):sass_context.cpp:function sass_compiler_parse: error: undefined reference to 'std::bad_alloc::bad_alloc()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(sass_context.o):sass_context.cpp:function sass_compiler_parse: error: undefined reference to '__cxa_call_unexpected'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(sass_context.o):sass_context.cpp:function sass_compiler_parse: error: undefined reference to 'typeinfo for std::bad_alloc'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(sass_context.o):sass_context.cpp:function sass_compiler_parse: error: undefined reference to 'std::bad_alloc::~bad_alloc()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(sass_context.o)(.ARM.extab+0x658): error: undefined reference to 'typeinfo for std::bad_alloc'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(sass_context.o)(.ARM.extab+0x65c): error: undefined reference to 'typeinfo for std::exception'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(sass_context.o)(.ARM.extab+0x664): error: undefined reference to 'typeinfo for char const*'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(sass_context.o):sass_context.cpp:function __clang_call_terminate: error: undefined reference to 'std::terminate()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(sass_context.o):sass_context.cpp:function std::__ndk1::__throw_length_error(char const*): error: undefined reference to 'typeinfo for std::length_error'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(sass_context.o):sass_context.cpp:function std::__ndk1::__throw_length_error(char const*): error: undefined reference to 'std::length_error::~length_error()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(sass_context.o):sass_context.cpp:function std::length_error::length_error(char const*): error: undefined reference to 'vtable for std::length_error'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(sass_context.o):sass_context.cpp:typeinfo for utf8::exception: error: undefined reference to 'typeinfo for std::exception'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(context.o):context.cpp:function std::__ndk1::__throw_out_of_range(char const*): error: undefined reference to 'typeinfo for std::out_of_range'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(context.o):context.cpp:function std::__ndk1::__throw_out_of_range(char const*): error: undefined reference to 'std::out_of_range::~out_of_range()'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(context.o):context.cpp:function std::out_of_range::out_of_range(char const*): error: undefined reference to 'vtable for std::out_of_range'
          /home/fpliu/.ndk-pkg/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(ast_fwd_decl.o):ast_fwd_decl.cpp:function Sass::Expression* Sass::Cast<Sass::Expression>(Sass::AST_Node*): error: undefined reference to '__dynamic_cast'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(ast_fwd_decl.o):ast_fwd_decl.cpp:function Sass::Expression const* Sass::Cast<Sass::Expression>(Sass::AST_Node const*): error: undefined reference to '__dynamic_cast'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(ast_fwd_decl.o):ast_fwd_decl.cpp:function Sass::Statement* Sass::Cast<Sass::Statement>(Sass::AST_Node*): error: undefined reference to '__dynamic_cast'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(ast_fwd_decl.o):ast_fwd_decl.cpp:function Sass::Statement const* Sass::Cast<Sass::Statement>(Sass::AST_Node const*): error: undefined reference to '__dynamic_cast'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(json.o)(.ARM.extab+0x50): error: undefined reference to 'typeinfo for std::exception'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(json.o)(.ARM.extab+0x88): error: undefined reference to 'typeinfo for std::exception'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(sass_values.o)(.ARM.extab+0x194): error: undefined reference to 'typeinfo for char const*'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(ast.o)(.ARM.extab+0x554): error: undefined reference to 'typeinfo for std::bad_cast'
          /tmp/rustc1DxWrU/libsass_sys-1509c83c72ceba63.rlib(ast.o)(.ARM.extab+0x62c): error: undefined reference to 'typeinfo for std::bad_cast'
          clang: error: linker command failed with exit code 1 (use -v to see invocation)


  = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: failed to compile `zola v0.14.1 (/tmp/tmp.Q9Mco1GuM2)`, intermediate artifacts can be found at `/tmp/tmp.Q9Mco1GuM2/target`

Caused by:
  could not compile `zola` due to previous error

Caused by:
  process didn't exit successfully: `CARGO=/home/fpliu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo CARGO_BIN_NAME=zola CARGO_CRATE_NAME=zola CARGO_MANIFEST_DIR=/tmp/tmp.Q9Mco1GuM2 CARGO_PKG_AUTHORS='Vincent Prouillet <[email protected]>' CARGO_PKG_DESCRIPTION='A fast static site generator with everything built-in' CARGO_PKG_HOMEPAGE='https://www.getzola.org' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=zola CARGO_PKG_REPOSITORY='https://github.com/getzola/zola' CARGO_PKG_VERSION=0.14.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=14 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/tmp/tmp.Q9Mco1GuM2/target/release/deps:/home/fpliu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib:/home/fpliu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib' OUT_DIR=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/build/zola-efa00c4ebf47ee69/out rustc --crate-name zola --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto -C codegen-units=1 --cfg 'feature="default"' --cfg 'feature="rust-tls"' -C metadata=e730e2264b37550e -C extra-filename=-e730e2264b37550e --out-dir /tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps --target armv7-linux-androideabi -C linker=armv7a-linux-androideabi21-clang -L dependency=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps -L dependency=/tmp/tmp.Q9Mco1GuM2/target/release/deps --extern atty=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libatty-7a286dab72bcc57c.rlib --extern chrono=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libchrono-11e48f792e2999e6.rlib --extern clap=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libclap-4d8cef680b0d25e7.rlib --extern ctrlc=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libctrlc-ba44603a9aa0dddc.rlib --extern errors=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/liberrors-e1c46d99989308e2.rlib --extern front_matter=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libfront_matter-77d10c6a532f6106.rlib --extern globset=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libglobset-e77dff9c2cc11d70.rlib --extern hyper=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libhyper-830eb16aec8fbb15.rlib --extern lazy_static=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/liblazy_static-d481676cff78b864.rlib --extern mime_guess=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libmime_guess-516eeccbebdf9bfb.rlib --extern notify=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libnotify-a56c015c10365e6d.rlib --extern open=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libopen-c9dca0b29ed14be7.rlib --extern percent_encoding=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libpercent_encoding-d05a720b618a19d7.rlib --extern relative_path=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/librelative_path-08905da75b027461.rlib --extern search=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libsearch-ca43edf8485cad74.rlib --extern serde_json=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libserde_json-97ad83d183331ea2.rlib --extern site=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libsite-43c6e52e3a433ffe.rlib --extern termcolor=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libtermcolor-c0e2a233f5426bdf.rlib --extern tokio=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libtokio-028f136de430f8fa.rlib --extern url=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/liburl-0c01a96a0d58853a.rlib --extern utils=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libutils-8fe56ea0fb3c6f95.rlib --extern ws=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/deps/libws-fc8ffc7e0efb3390.rlib -lc++_static -L native=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/build/onig_sys-0192c25bd331255f/out -L native=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/build/ring-a948f6eebc8380ba/out -L native=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/build/libwebp-sys-f91956730bb23918/out -L native=/tmp/tmp.Q9Mco1GuM2/target/armv7-linux-androideabi/release/build/sass-sys-3a88b8ddc8248324/out/build/lib` (exit status: 1)

Step to reproduce

curl -LO https://raw.githubusercontent.com/leleliu008/ndk-pkg/master/bin/ndk-pkg
chmod a+x ndk-pkg
mv ndk-pkg /usr/local/bin/

ndk-pkg update

ndk-pkg install zola
@Keats
Copy link
Collaborator

Keats commented Nov 25, 2021

Zola on android? The error is from libsass, not much to be done there. At some point in the future we'll switch to a Rust based implementation (#1535) and this error will go away.
Closing as it would be more a libsass-sys issue.

@Keats Keats closed this as completed Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants