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

lua-language-server: 3.7.0 -> 3.7.3 #267052

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

gepbird
Copy link
Contributor

@gepbird gepbird commented Nov 12, 2023

Description of changes

Diff: LuaLS/lua-language-server@3.7.0...3.7.3

Changelog: https://github.com/LuaLS/lua-language-server/blob/3.7.3/changelog.md

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@gepbird
Copy link
Contributor Author

gepbird commented Nov 12, 2023

Result of nixpkgs-review pr 267052 run on x86_64-linux 1

3 packages built:
  • lua-language-server
  • lunarvim
  • vscode-extensions.sumneko.lua

also add gepbird as a maintainer
@gepbird gepbird force-pushed the lua-language-server-bump branch from 03c1bfe to d1ec933 Compare November 14, 2023 11:43
@gepbird gepbird changed the title lua-language-server: 3.7.0 -> 3.7.2 lua-language-server: 3.7.0 -> 3.7.3 Nov 14, 2023
@ofborg ofborg bot added the 11.by: package-maintainer This PR was created by the maintainer of the package it changes label Nov 14, 2023
@figsoda figsoda merged commit 6ffe901 into NixOS:master Nov 16, 2023
24 checks passed
@ahmedelgabri
Copy link
Contributor

After this change, it doesn't build on x86_64-darwin anymore, this is the full log that I get when I try to rebuild my flake.

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/hd913mv61s12xar827riqpvrsfblpiwm-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
/private/tmp/nix-build-lua-language-server-3.7.3.drv-1/source/3rd/luamake /private/tmp/nix-build-lua-language-server-3.7.3.drv-1/source
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: -j8 -fcompile/ninja/macos.ninja
[1/34] Compile C++ build/macos/obj/source_bee/version.obj
[2/34] Compile C   build/macos/obj/source_bee/lua-seri.obj
[3/34] Compile C++ build/macos/obj/source_bee/atomic_semaphore.obj
[4/34] Compile C++ build/macos/obj/source_bee/endpoint.obj
[5/34] Compile C++ build/macos/obj/source_bee/socket.obj
[6/34] Compile C++ build/macos/obj/source_bee/simplethread_posix.obj
[7/34] Compile C++ build/macos/obj/source_bee/process_select.obj
[8/34] Compile C++ build/macos/obj/source_bee/setname.obj
[9/34] Compile C++ build/macos/obj/source_bee/error.obj
[10/34] Compile C++ build/macos/obj/source_bee/spinlock.obj
[11/34] Compile C++ build/macos/obj/source_bee/filewatch_osx.obj
[12/34] Compile C++ build/macos/obj/source_bee/file_handle.obj
[13/34] Compile C++ build/macos/obj/source_bee/subprocess_posix.obj
[14/34] Compile C++ build/macos/obj/source_bee/file_handle_osx.obj
[15/34] Compile C++ build/macos/obj/source_bee/file_handle_posix.obj
[16/34] Compile C++ build/macos/obj/source_bee/path_helper.obj
[17/34] Compile C++ build/macos/obj/source_bee/lua_platform.obj
[18/34] Compile C++ build/macos/obj/source_bee/lua_serialization.obj
[19/34] Compile C++ build/macos/obj/source_bee/lua_select.obj
[20/34] Compile C   build/macos/obj/source_lua/utf8_crt.obj
[21/34] Compile C++ build/macos/obj/source_bee/lua_socket.obj
[22/34] Compile C   build/macos/obj/source_lua/linit.obj
[23/34] Compile C++ build/macos/obj/source_bee/lua_filewatch.obj
[24/34] Compile C++ build/macos/obj/source_bee/lua_time.obj
[25/34] Compile C++ build/macos/obj/source_bee/lua_subprocess.obj
[26/34] Compile C++ build/macos/obj/source_bee/format.obj
[27/34] Compile C++ build/macos/obj/source_bee/lua_filesystem.obj
[28/34] Compile C++ build/macos/obj/source_bootstrap/main.obj
[29/34] Compile C++ build/macos/obj/source_bee/lua_thread.obj
[30/34] Compile C   build/macos/obj/source_lua/onelua.obj
[31/34] Link    Exe build/macos/bin/bootstrap
ld: warning: object file (build/macos/obj/source_bootstrap/main.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/lua-seri.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/format.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/error.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/filewatch_osx.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/endpoint.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/socket.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/version.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/process_select.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/subprocess_posix.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/atomic_semaphore.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/setname.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/simplethread_posix.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/spinlock.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/file_handle.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/file_handle_osx.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/file_handle_posix.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/path_helper.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/lua_filesystem.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/lua_filewatch.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/lua_platform.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/lua_select.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/lua_serialization.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/lua_socket.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/lua_subprocess.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/lua_thread.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_bee/lua_time.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_lua/utf8_crt.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_lua/onelua.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/macos/obj/source_lua/linit.obj) was built for newer macOS version (10.15) than being linked (10.12)
[32/34] Copy bee.lua/bootstrap/main.lua build/macos/bin/main.lua
[32/34] Run test.
[33/34] Copy build/macos/bin/bootstrap luamake
/private/tmp/nix-build-lua-language-server-3.7.3.drv-1/source
Cleaning... 0 files.
[1/91] Compile C++ build/obj/source_bee/version.obj
[2/91] Compile C++ build/obj/source_bee/atomic_semaphore.obj
[3/91] Compile C   build/obj/source_bee/lua-seri.obj
[4/91] Compile C++ build/obj/source_bee/simplethread_posix.obj
[5/91] Compile C++ build/obj/source_bee/setname.obj
[6/91] Compile C++ build/obj/source_bee/endpoint.obj
[7/91] Compile C++ build/obj/source_bee/socket.obj
[8/91] Compile C++ build/obj/source_bee/spinlock.obj
[9/91] Compile C++ build/obj/source_bee/process_select.obj
[10/91] Compile C++ build/obj/source_bee/error.obj
[11/91] Compile C++ build/obj/source_bee/file_handle.obj
[12/91] Compile C++ build/obj/source_bee/filewatch_osx.obj
[13/91] Compile C++ build/obj/source_bee/file_handle_posix.obj
[14/91] Compile C++ build/obj/source_bee/file_handle_osx.obj
[15/91] Compile C++ build/obj/source_bee/subprocess_posix.obj
[16/91] Compile C++ build/obj/source_bee/path_helper.obj
[17/91] Compile C++ build/obj/source_bee/lua_platform.obj
[18/91] Compile C   build/obj/source_lua/utf8_crt.obj
[19/91] Compile C   build/obj/source_lua/linit.obj
[20/91] Compile C++ build/obj/source_bee/lua_select.obj
[21/91] Compile C++ build/obj/source_bee/lua_serialization.obj
[22/91] Compile C++ build/obj/source_bee/lua_socket.obj
[23/91] Compile C++ build/obj/source_bee/lua_time.obj
[24/91] Compile C++ build/obj/source_bee/lua_filewatch.obj
[25/91] Compile C++ build/obj/source_bee/lua_subprocess.obj
[26/91] Compile C++ build/obj/source_bee/lua_filesystem.obj
[27/91] Compile C++ build/obj/code_format/EditorconfigPattern.obj
[28/91] Compile C++ build/obj/source_bootstrap/main.obj
[29/91] Compile C++ build/obj/code_format/FunctionOption.obj
[30/91] Compile C++ build/obj/code_format/LanguageTranslator.obj
[31/91] Compile C++ build/obj/source_bee/format.obj
[32/91] Compile C++ build/obj/source_bee/lua_thread.obj
[33/91] Compile C++ build/obj/code_format/Util.obj
[34/91] Compile C++ build/obj/code_format/DiagnosticBuilder.obj
[35/91] Compile C++ build/obj/code_format/LuaStyle.obj
[36/91] Compile C++ build/obj/code_format/CodeStyleChecker.obj
[37/91] Compile C++ build/obj/code_format/NameStyleRuleMatcher.obj
[38/91] Compile C++ build/obj/code_format/CodeSpellChecker.obj
[39/91] Compile C++ build/obj/code_format/NameStyleChecker.obj
[40/91] Compile C++ build/obj/code_format/LuaDiagnosticStyle.obj
[41/91] Compile C++ build/obj/code_format/FormatAnalyzer.obj
[42/91] Compile C++ build/obj/code_format/FormatResolve.obj
[43/91] Compile C++ build/obj/code_format/FormatDocAnalyze.obj
[44/91] Compile C++ build/obj/code_format/SyntaxNodeHelper.obj
[45/91] Compile C++ build/obj/code_format/SemicolonAnalyzer.obj
[46/91] Compile C++ build/obj/code_format/LuaEditorConfig.obj
[47/91] Compile C++ build/obj/code_format/AlignAnalyzer.obj
[48/91] Compile C++ build/obj/code_format/LineBreakAnalyzer.obj
[49/91] Compile C++ build/obj/code_format/IndentationAnalyzer.obj
[50/91] Compile C++ build/obj/code_format/SpaceAnalyzer.obj
[51/91] Compile C++ build/obj/code_format/TokenAnalyzer.obj
[52/91] Compile C++ build/obj/code_format/FormatBuilder.obj
[53/91] Compile C++ build/obj/code_format/LuaSyntaxMultiKind.obj
[54/91] Compile C++ build/obj/code_format/LuaTypeFormatFeatures.obj
[55/91] Compile C++ build/obj/code_format/RangeFormatBuilder.obj
[56/91] Compile C++ build/obj/code_format/LuaSyntaxNode.obj
[57/91] Compile C++ build/obj/code_format/LuaSyntaxNodeKind.obj
[58/91] Compile C++ build/obj/code_format/FormatState.obj
[59/91] Compile C++ build/obj/code_format/LuaTypeFormat.obj
[60/91] Compile C++ build/obj/code_format/CodeFormatLib.obj
[61/91] Compile C++ build/obj/code_format/TextRange.obj
[62/91] Compile C++ build/obj/code_format/LuaIdentify.obj
[63/91] Compile C++ build/obj/code_format/LuaSource.obj
[64/91] Compile C   build/obj/source_lua/onelua.obj
[65/91] Compile C++ build/obj/code_format/TextReader.obj
[66/91] Link    Exe build/bin/bootstrap
FAILED: build/bin/bootstrap 
clang build/obj/source_bootstrap/main.obj build/obj/source_bee/lua-seri.obj build/obj/source_bee/format.obj build/obj/source_bee/error.obj build/obj/source_bee/filewatch_osx.obj build/obj/source_bee/endpoint.obj build/obj/source_bee/socket.obj build/obj/source_bee/version.obj build/obj/source_bee/process_select.obj build/obj/source_bee/subprocess_posix.obj build/obj/source_bee/atomic_semaphore.obj build/obj/source_bee/setname.obj build/obj/source_bee/simplethread_posix.obj build/obj/source_bee/spinlock.obj build/obj/source_bee/file_handle.obj build/obj/source_bee/file_handle_osx.obj build/obj/source_bee/file_handle_posix.obj build/obj/source_bee/path_helper.obj build/obj/source_bee/lua_filesystem.obj build/obj/source_bee/lua_filewatch.obj build/obj/source_bee/lua_platform.obj build/obj/source_bee/lua_select.obj build/obj/source_bee/lua_serialization.obj build/obj/source_bee/lua_socket.obj build/obj/source_bee/lua_subprocess.obj build/obj/source_bee/lua_thread.obj build/obj/source_bee/lua_time.obj build/obj/source_lua/utf8_crt.obj build/obj/source_lua/linit.obj build/obj/source_lua/onelua.obj -o build/bin/bootstrap -lm -ldl -framework Foundation -framework CoreFoundation -framework CoreServices -lstdc++ -Wl,-S,-x
ld: warning: object file (build/obj/source_bootstrap/main.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/lua-seri.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/error.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/format.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/filewatch_osx.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/endpoint.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/socket.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/version.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/process_select.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/subprocess_posix.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/atomic_semaphore.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/setname.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/simplethread_posix.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/spinlock.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/file_handle.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/file_handle_osx.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/file_handle_posix.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/path_helper.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/lua_filesystem.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/lua_filewatch.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/lua_platform.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/lua_select.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/lua_serialization.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/lua_socket.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/lua_subprocess.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/lua_thread.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_bee/lua_time.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_lua/utf8_crt.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_lua/linit.obj) was built for newer macOS version (10.15) than being linked (10.12)
ld: warning: object file (build/obj/source_lua/onelua.obj) was built for newer macOS version (10.15) than being linked (10.12)
Undefined symbols for architecture x86_64:
  "std::runtime_error::what() const", referenced from:
      fmt::v10::format_system_error(fmt::v10::detail::buffer<char>&, int, char const*) in format.obj
      vtable for fmt::v10::format_error in format.obj
  "std::length_error::~length_error()", referenced from:
      std::__1::__throw_length_error[abi:v160006](char const*) in main.obj
      std::__1::__throw_length_error[abi:v160006](char const*) in filewatch_osx.obj
      std::__1::__throw_length_error[abi:v160006](char const*) in endpoint.obj
      std::__1::__throw_length_error[abi:v160006](char const*) in subprocess_posix.obj
      std::__1::__throw_length_error[abi:v160006](char const*) in file_handle_osx.obj
      std::__1::__throw_length_error[abi:v160006](char const*) in path_helper.obj
      std::__1::__throw_length_error[abi:v160006](char const*) in lua_filesystem.obj
      ...
  "std::runtime_error::~runtime_error()", referenced from:
      void fmt::v10::detail::for_each_codepoint<fmt::v10::detail::utf8_to_utf16::utf8_to_utf16(fmt::v10::basic_string_view<char>)::$_0>(fmt::v10::basic_string_view<char>, fmt::v10::detail::utf8_to_utf16::utf8_to_utf16(fmt::v10::basic_string_view<char>)::$_0)::'lambda'(char const*, char const*)::operator()(char const*, char const*) const in format.obj
  "std::runtime_error::~runtime_error()", referenced from:
      fmt::v10::format_error::~format_error() in format.obj
      fmt::v10::format_error::~format_error() in format.obj
  "std::bad_array_new_length::bad_array_new_length()", referenced from:
      std::__throw_bad_array_new_length[abi:v160006]() in format.obj
      std::__throw_bad_array_new_length[abi:v160006]() in filewatch_osx.obj
      std::__throw_bad_array_new_length[abi:v160006]() in subprocess_posix.obj
      std::__throw_bad_array_new_length[abi:v160006]() in lua_filesystem.obj
      std::__throw_bad_array_new_length[abi:v160006]() in lua_filewatch.obj
      std::__throw_bad_array_new_length[abi:v160006]() in lua_platform.obj
      std::__throw_bad_array_new_length[abi:v160006]() in lua_select.obj
      ...
  "std::bad_array_new_length::~bad_array_new_length()", referenced from:
      std::__throw_bad_array_new_length[abi:v160006]() in format.obj
      std::__throw_bad_array_new_length[abi:v160006]() in filewatch_osx.obj
      std::__throw_bad_array_new_length[abi:v160006]() in subprocess_posix.obj
      std::__throw_bad_array_new_length[abi:v160006]() in lua_filesystem.obj
      std::__throw_bad_array_new_length[abi:v160006]() in lua_filewatch.obj
      std::__throw_bad_array_new_length[abi:v160006]() in lua_platform.obj
      std::__throw_bad_array_new_length[abi:v160006]() in lua_select.obj
      ...
  "std::terminate()", referenced from:
      fmt::v10::detail::assert_fail(char const*, int, char const*) in format.obj
      ___clang_call_terminate in format.obj
      ___clang_call_terminate in error.obj
      ___clang_call_terminate in filewatch_osx.obj
      ___clang_call_terminate in endpoint.obj
      ___clang_call_terminate in socket.obj
      ___clang_call_terminate in subprocess_posix.obj
      ...
  "vtable for __cxxabiv1::__class_type_info", referenced from:
      typeinfo for std::exception in main.obj
      typeinfo for std::exception in format.obj
      typeinfo for std::exception in filewatch_osx.obj
      typeinfo for std::exception in endpoint.obj
      typeinfo for std::exception in subprocess_posix.obj
      typeinfo for std::exception in file_handle_osx.obj
      typeinfo for std::exception in path_helper.obj
      ...
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "vtable for __cxxabiv1::__si_class_type_info", referenced from:
      typeinfo for std::logic_error in main.obj
      typeinfo for std::length_error in main.obj
      typeinfo for std::runtime_error in format.obj
      typeinfo for fmt::v10::format_error in format.obj
      typeinfo for std::__1::system_error in format.obj
      typeinfo for std::bad_alloc in format.obj
      typeinfo for std::bad_array_new_length in format.obj
      ...
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "vtable for std::length_error", referenced from:
      std::length_error::length_error[abi:v160006](char const*) in main.obj
      std::length_error::length_error[abi:v160006](char const*) in filewatch_osx.obj
      std::length_error::length_error[abi:v160006](char const*) in endpoint.obj
      std::length_error::length_error[abi:v160006](char const*) in subprocess_posix.obj
      std::length_error::length_error[abi:v160006](char const*) in file_handle_osx.obj
      std::length_error::length_error[abi:v160006](char const*) in path_helper.obj
      std::length_error::length_error[abi:v160006](char const*) in lua_filesystem.obj
      ...
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "operator delete[](void*)", referenced from:
      bee::filewatch::watch::update_stream() in filewatch_osx.obj
      bee::subprocess::process_select(bee::dynarray<bee::subprocess::process*> const&, int) in process_select.obj
      bee::subprocess::args_t::~args_t() in subprocess_posix.obj
      bee::subprocess::args_t::~args_t() in subprocess_posix.obj
      bee::path_helper::exe_path() in path_helper.obj
      bee::lua_subprocess::spawn::spawn(lua_State*) in lua_subprocess.obj
      bee::lua_subprocess::select(lua_State*) in lua_subprocess.obj
      ...
  "operator delete(void*)", referenced from:
      pmain(lua_State*) in main.obj
      std::__1::vector<luaL_Reg, std::__1::allocator<luaL_Reg>>::~vector[abi:v160006]() in main.obj
      pushprogdir(lua_State*) in main.obj
      std::__1::__fs::filesystem::operator/[abi:v160006](std::__1::__fs::filesystem::path const&, std::__1::__fs::filesystem::path const&) in main.obj
      std::__1::enable_if<__is_cpp17_forward_iterator<char const*>::value, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&>::type std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::append[abi:v160006]<char const*>(char const*, char const*) in main.obj
      fmt::v10::detail::report_error(void (*)(fmt::v10::detail::buffer<char>&, int, char const*), int, char const*) in format.obj
      fmt::v10::detail::write_loc(fmt::v10::appender, fmt::v10::loc_value, fmt::v10::format_specs<char> const&, fmt::v10::detail::locale_ref) in format.obj
      ...
  "operator new[](unsigned long)", referenced from:
      bee::filewatch::watch::update_stream() in filewatch_osx.obj
      bee::subprocess::process_select(bee::dynarray<bee::subprocess::process*> const&, int) in process_select.obj
      bee::subprocess::args_t::push(bee::basic_zstring_view<char, std::__1::char_traits<char>>) in subprocess_posix.obj
      bee::subprocess::envbuilder::release() in subprocess_posix.obj
      bee::subprocess::env_append(std::__1::vector<char*, std::__1::allocator<char*>>&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in subprocess_posix.obj
      bee::path_helper::exe_path() in path_helper.obj
      bee::lua_subprocess::select(lua_State*) in lua_subprocess.obj
      ...
  "operator new(unsigned long)", referenced from:
      std::__1::enable_if<__is_cpp17_forward_iterator<char const*>::value, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&>::type std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::append[abi:v160006]<char const*>(char const*, char const*) in main.obj
      fmt::v10::vsystem_error(int, fmt::v10::basic_string_view<char>, fmt::v10::basic_format_args<fmt::v10::basic_format_context<fmt::v10::appender, char>>) in format.obj
      fmt::v10::vformat(fmt::v10::basic_string_view<char>, fmt::v10::basic_format_args<fmt::v10::basic_format_context<fmt::v10::appender, char>>) in format.obj
      fmt::v10::basic_memory_buffer<int, 500ul, std::__1::allocator<int>>::grow(unsigned long) in format.obj
      fmt::v10::detail::format_dragon(fmt::v10::detail::basic_fp<unsigned __int128>, unsigned int, int, fmt::v10::detail::buffer<char>&, int&) in format.obj
      fmt::v10::basic_memory_buffer<unsigned int, 32ul, std::__1::allocator<unsigned int>>::grow(unsigned long) in format.obj
      fmt::v10::detail::bigint::square() in format.obj
      ...
  "operator new(unsigned long, std::nothrow_t const&)", referenced from:
      bee::thread_create(void (*)(void*) noexcept, void*) in simplethread_posix.obj
  "___cxa_allocate_exception", referenced from:
      std::__1::__throw_length_error[abi:v160006](char const*) in main.obj
      fmt::v10::detail::throw_format_error(char const*) in format.obj
      fmt::v10::detail::print(__sFILE*, fmt::v10::basic_string_view<char>) in format.obj
      void fmt::v10::detail::for_each_codepoint<fmt::v10::detail::utf8_to_utf16::utf8_to_utf16(fmt::v10::basic_string_view<char>)::$_0>(fmt::v10::basic_string_view<char>, fmt::v10::detail::utf8_to_utf16::utf8_to_utf16(fmt::v10::basic_string_view<char>)::$_0)::'lambda'(char const*, char const*)::operator()(char const*, char const*) const in format.obj
      std::__throw_bad_array_new_length[abi:v160006]() in format.obj
      fmt::v10::detail::format_dragon(fmt::v10::detail::basic_fp<unsigned __int128>, unsigned int, int, fmt::v10::detail::buffer<char>&, int&) in format.obj
      int fmt::v10::detail::format_float<double>(double, int, fmt::v10::detail::float_specs, fmt::v10::detail::buffer<char>&) in format.obj
      ...
  "___cxa_begin_catch", referenced from:
      ___clang_call_terminate in format.obj
      fmt::v10::format_system_error(fmt::v10::detail::buffer<char>&, int, char const*) in format.obj
      ___clang_call_terminate in error.obj
      ___clang_call_terminate in filewatch_osx.obj
      ___clang_call_terminate in endpoint.obj
      ___clang_call_terminate in socket.obj
      ___clang_call_terminate in subprocess_posix.obj
      ...
  "___cxa_end_catch", referenced from:
      fmt::v10::format_system_error(fmt::v10::detail::buffer<char>&, int, char const*) in format.obj
  "___cxa_free_exception", referenced from:
      std::__1::__throw_length_error[abi:v160006](char const*) in main.obj
      fmt::v10::detail::throw_format_error(char const*) in format.obj
      fmt::v10::detail::print(__sFILE*, fmt::v10::basic_string_view<char>) in format.obj
      void fmt::v10::detail::for_each_codepoint<fmt::v10::detail::utf8_to_utf16::utf8_to_utf16(fmt::v10::basic_string_view<char>)::$_0>(fmt::v10::basic_string_view<char>, fmt::v10::detail::utf8_to_utf16::utf8_to_utf16(fmt::v10::basic_string_view<char>)::$_0)::'lambda'(char const*, char const*)::operator()(char const*, char const*) const in format.obj
      fmt::v10::detail::format_dragon(fmt::v10::detail::basic_fp<unsigned __int128>, unsigned int, int, fmt::v10::detail::buffer<char>&, int&) in format.obj
      int fmt::v10::detail::format_float<double>(double, int, fmt::v10::detail::float_specs, fmt::v10::detail::buffer<char>&) in format.obj
      std::__1::__throw_length_error[abi:v160006](char const*) in filewatch_osx.obj
      ...
  "___cxa_guard_acquire", referenced from:
      bee::lua::preload_module(lua_State*) in main.obj
      ___cxx_global_var_init in filewatch_osx.obj
      bee::lua::register_module(char const*, int (*)(lua_State*)) in lua_filesystem.obj
      bee::lua::register_module(char const*, int (*)(lua_State*)) in lua_filewatch.obj
      ___cxx_global_var_init in lua_filewatch.obj
      bee::lua::register_module(char const*, int (*)(lua_State*)) in lua_platform.obj
      bee::lua::register_module(char const*, int (*)(lua_State*)) in lua_select.obj
      ...
  "___cxa_guard_release", referenced from:
      bee::lua::preload_module(lua_State*) in main.obj
      ___cxx_global_var_init in filewatch_osx.obj
      bee::lua::register_module(char const*, int (*)(lua_State*)) in lua_filesystem.obj
      bee::lua::register_module(char const*, int (*)(lua_State*)) in lua_filewatch.obj
      ___cxx_global_var_init in lua_filewatch.obj
      bee::lua::register_module(char const*, int (*)(lua_State*)) in lua_platform.obj
      bee::lua::register_module(char const*, int (*)(lua_State*)) in lua_select.obj
      ...
  "___cxa_throw", referenced from:
      std::__1::__throw_length_error[abi:v160006](char const*) in main.obj
      fmt::v10::detail::throw_format_error(char const*) in format.obj
      fmt::v10::detail::print(__sFILE*, fmt::v10::basic_string_view<char>) in format.obj
      void fmt::v10::detail::for_each_codepoint<fmt::v10::detail::utf8_to_utf16::utf8_to_utf16(fmt::v10::basic_string_view<char>)::$_0>(fmt::v10::basic_string_view<char>, fmt::v10::detail::utf8_to_utf16::utf8_to_utf16(fmt::v10::basic_string_view<char>)::$_0)::'lambda'(char const*, char const*)::operator()(char const*, char const*) const in format.obj
      std::__throw_bad_array_new_length[abi:v160006]() in format.obj
      fmt::v10::detail::format_dragon(fmt::v10::detail::basic_fp<unsigned __int128>, unsigned int, int, fmt::v10::detail::buffer<char>&, int&) in format.obj
      int fmt::v10::detail::format_float<double>(double, int, fmt::v10::detail::float_specs, fmt::v10::detail::buffer<char>&) in format.obj
      ...
  "___gxx_personality_v0", referenced from:
      pmain(lua_State*) in main.obj
      pushprogdir(lua_State*) in main.obj
      std::__1::__fs::filesystem::_PathCVT<wchar_t>::__append_range[abi:v160006](std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&, wchar_t const*, wchar_t const*) in main.obj
      std::__1::__fs::filesystem::operator/[abi:v160006](std::__1::__fs::filesystem::path const&, std::__1::__fs::filesystem::path const&) in main.obj
      std::__1::enable_if<__is_cpp17_forward_iterator<char const*>::value, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&>::type std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::append[abi:v160006]<char const*>(char const*, char const*) in main.obj
      std::__1::__throw_length_error[abi:v160006](char const*) in main.obj
      Dwarf Exception Unwind Info (__eh_frame) in main.obj
      ...
ld: symbol(s) not found for architecture x86_64
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
[67/91] Compile C++ build/obj/code_format/LuaCodeFormat.obj
[68/91] Compile C++ build/obj/code_format/LuaParseException.obj
[69/91] Compile C++ build/obj/code_format/Mark.obj
[70/91] Compile C++ build/obj/code_format/LuaLexer.obj
[71/91] Compile C++ build/obj/code_format/LuaSyntaxTree.obj
[72/91] Compile C++ build/obj/code_format/InfoTree.obj
[73/91] Compile C++ build/obj/code_format/InfoNode.obj
[74/91] Compile C++ build/obj/code_format/StringUtil.obj
[75/91] Compile C++ build/obj/code_format/LuaParser.obj
ninja: build stopped: subcommand failed.
/nix/store/rfd901qqnvil1ng2qydy72a7lvn7vy9n-stdenv-darwin/setup: line 140: pop_var_context: head of shell_variables not a function context

@figsoda
Copy link
Member

figsoda commented Nov 19, 2023

Looks like it might have been caused by the clang update, @reckenrode do you happen to have any idea on how to fix this?

@reckenrode
Copy link
Contributor

It’s probably #166205. The following workaround usually works:

  # Work around https://github.com/NixOS/nixpkgs/issues/166205.
  env = lib.optionalAttrs stdenv.cc.isClang {
    NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
  };

@reckenrode
Copy link
Contributor

Fixed in #268579.

@gepbird gepbird deleted the lua-language-server-bump branch November 19, 2023 22:45
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/lua-language-server-failed-to-compile/35722/3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants