sambex

Build log

host

sambex 0.3.0 · fail · run sambex-0.3.0-1791094072630
243 of 243 lines
1Resolving Hex dependencies...2Resolution completed in 0.108s3Unchanged:4  circular_buffer 1.1.05  earmark_parser 1.4.466  elixir_make 0.10.07  ex_doc 0.39.18  interactive_cmd 0.1.49  makeup 1.2.310  makeup_elixir 1.0.111  makeup_erlang 1.1.012  nerves 2.0.0-pre.213  nerves_discovery 0.1.514  nerves_logging 0.2.415  nerves_runtime 0.13.1316  nerves_system_bbb 2.30.217  nerves_system_br 1.34.418  nerves_system_mangopi_mq_pro 0.17.219  nerves_system_qemu_aarch64 0.4.220  nerves_system_rpi0 2.1.221  nerves_system_rpi4 2.1.222  nerves_system_rpi5 2.1.223  nerves_system_trellis 0.5.024  nerves_system_x86_64 1.34.225  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.126  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.127  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.128  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.129  nerves_toolchain_x86_64_nerves_linux_musl 15.3.130  nerves_uevent 0.1.731  nimble_parsec 1.4.232  pegasus 0.2.633  property_table 0.3.434  protoss 1.1.035  ring_logger 0.11.736  sambex 0.3.037  tablet 0.3.338  telemetry 1.4.239  toolshed 0.5.040  uboot_env 1.0.241  zig_doc 0.7.042  zig_get 0.16.043  zig_parser 0.7.044  zigler 0.16.045All dependencies have been fetched46==> makeup_elixir47Compiling 6 files (.ex)48Compiling lib/makeup/lexers/elixir_lexer.ex (it's taking more than 10s)49Generated makeup_elixir app50==> makeup_erlang51Compiling 4 files (.ex)52Compiling lib/makeup/lexers/erlang_lexer.ex (it's taking more than 10s)53Generated makeup_erlang app54==> ex_doc55Compiling 27 files (.ex)56     warning: this clause of defp favicon_path/1 is never used (or it will always fail/warn when invoked)57     │58 153 │   defp favicon_path(%{favicon: nil}), do: nil59     │        ~60     │61     └─ lib/ex_doc/formatter/html/templates.ex:153:8: ExDoc.Formatter.HTML.Templates.favicon_path/16263     warning: this clause of defp logo_path/1 is never used (or it will always fail/warn when invoked)64     │65 156 │   defp logo_path(%{logo: nil}), do: nil66     │        ~67     │68     └─ lib/ex_doc/formatter/html/templates.ex:156:8: ExDoc.Formatter.HTML.Templates.logo_path/16970     warning: the following clause cannot match because the previous clauses already matched all possible values:7172         _ ->7374     it attempts to match on the result of:7576         result7778     which has the already matched type:7980         dynamic({:docs_v1, term(), term(), term(), term(), term(), term()} or {:error, term()})8182     type warning found at:83     │84 124 │       _ ->85     │         ~86     │87     └─ lib/ex_doc/retriever.ex:124:9: ExDoc.Retriever.docs_chunk/18889     warning: the following clause is redundant:9091         defp to_var({:<<>>, _, _}, _)9293     it has type:9495         dynamic({:<<>>, term(), term()}), dynamic()9697     previous clauses have already matched on the following types:9899         {:%{}, term(), term()}, term()100         {atom(), term(), term()}, term()101102     │103 569 │   defp to_var({:<<>>, _, _}, _), do: {:binary, [], nil}104     │        ~105     │106     └─ lib/ex_doc/language/elixir.ex:569:8: ExDoc.Language.Elixir.to_var/2107108     warning: the following clause is redundant:109110         defp to_var({:{}, _, _}, _)111112     it has type:113114         dynamic({:{}, term(), term()}), dynamic()115116     previous clauses have already matched on the following types:117118         {:%{}, term(), term()}, term()119         {atom(), term(), term()}, term()120121     │122 570 │   defp to_var({:{}, _, _}, _), do: {:tuple, [], nil}123     │        ~124     │125     └─ lib/ex_doc/language/elixir.ex:570:8: ExDoc.Language.Elixir.to_var/2126127     warning: the following clause will never match:128129         nil ->130131     because it attempts to match on the result of:132133         ExDoc.Language.Source.fetch_type!(module_data, name, arity)134135     which has type:136137         dynamic(not false and not nil)138139     type warning found at:140     │141 150 │         nil ->142     │         ~~~~~~143     │144     └─ lib/ex_doc/language/erlang.ex:150: ExDoc.Language.Erlang.type_data/6145146     warning: the following clause is redundant:147148         defp to_var(float, _) when is_integer(float)149150     it has type:151152         integer(), dynamic()153154     previous clauses have already matched on the following types:155156         {:%{}, term(), term()}, term()157         {atom(), term(), term()}, term()158         {term(), term()}, term()159         integer(), term()160161     │162 573 │   defp to_var(float, _) when is_integer(float), do: {:float, [], nil}163     │        ~164     │165     └─ lib/ex_doc/language/elixir.ex:573:8: ExDoc.Language.Elixir.to_var/2166167Generated ex_doc app168==> zig_doc169Compiling 5 files (.ex)170    warning: the following clause will never match:171172        {{:error, reason}, path} ->173174    it is expected to match on type:175176        dynamic(177          :error or178            ({term(), :read, binary() or empty_list() or non_empty_list(term(), term())} and179               not {{:ok, term()}, :read, binary() or empty_list() or non_empty_list(term(), term())})180        )181182    type warning found at:183    │184 69 │       {{:error, reason}, path} ->185    │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~186    │187    └─ lib/zig.doc/generator.ex:69: Zig.Doc.Generator.modulenode_from_config/3188189Generated zig_doc app190==> zigler191Compiling 50 files (.ex)19219306:08:55.419 [warning] not cross-compiling windows-msvc194     warning: clauses with the same name and arity (number of arguments) should be grouped together, "def render_elixir_spec/1" was previously defined (lib/zig/_nif.ex:373)195     │196 386 │   def render_elixir_spec(nif) do197     │       ~198     │199     └─ lib/zig/_nif.ex:386:7200201     warning: unused require EEx202     │203 437 │   require EEx204     │   ~205     │206     └─ lib/zig/_nif.ex:437:320720820906:08:58.954 [debug] creating staging directory /tmp/Elixir.Zig.Formatter21021106:08:58.987 [info] searching for zig in /home/nerves/.cache/zigler/zig-x86_64-linux-0.16.0/zig212warning: Zig.Formatter not active (%CompileError{file: nil, line: nil, description: "zig executable not found"}).  If you need Formatter function, and zig is not available, Please run `mix zig.get` to install it.213  lib/zig/formatter.ex:46: (file)214  (elixir 1.20.3) src/elixir_compiler.erl:102: :elixir_compiler.dispatch/4215  (elixir 1.20.3) src/elixir_compiler.erl:76: :elixir_compiler.compile/4216  (elixir 1.20.3) src/elixir_compiler.erl:42: :elixir_compiler.optimize_defmodule/2217  (elixir 1.20.3) src/elixir_lexical.erl:18: :elixir_lexical.run/3218  (elixir 1.20.3) src/elixir_compiler.erl:21: :elixir_compiler.quoted/3219220Generated zigler app221==> sambex222Compiling 12 files (.ex)223224== Compilation error in file lib/sambex/build_config.ex ==225** (CompileError) libsmbclient not found on Linux.226227Please install Samba development libraries:228  # Ubuntu/Debian:229  sudo apt-get install libsmbclient-dev230231  # RHEL/CentOS/Fedora:232  sudo dnf install libsmbclient-devel233234  # Alpine:235  sudo apk add samba-dev236237Or set custom paths:238  export SAMBEX_INCLUDE_DIR=/path/to/samba/include239  export SAMBEX_LIB_DIR=/path/to/samba/lib240241    lib/sambex/build_config.ex:115: (file)242    (elixir 1.20.3) lib/kernel/parallel_compiler.ex:548: anonymous fn/5 in Kernel.ParallelCompiler.spawn_workers/8243could not compile dependency :sambex, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile sambex --force", update it with "mix deps.update sambex" or clean it with "mix deps.clean sambex"