ZTzTopia / GTProxy

⚖️ A proxy for growtopia. NO SHADOW BAN!
MIT License
57 stars 38 forks source link

Cmake error at conan_support.cmake #73

Open Zaenalos opened 1 year ago

Zaenalos commented 1 year ago

Error occurs when building in Termux.

Error:

CMake Error at vendor/cmake-conan/conan_support.cmake:147 (message): Conan install failed='6' Call Stack (most recent call first): vendor/cmake-conan/conan_support.cmake:175 (conan_install) src/CMakeLists.txt:52 (find_package)

Screenshot_2023-09-01-13-56-40-973_com.termux.png

ZTzTopia commented 1 year ago

Looks like cmake-conan isn't quite finished yet, but i don't know about cmake-conan at the moment because i haven't updated the submodule of cmake-conan.

Zaenalos commented 1 year ago

Looks like cmake-conan isn't quite finished yet, but i don't know about cmake-conan at the moment because i haven't updated the submodule of cmake-conan.

Thanks for the reply, i'll try to fix it and commit a push if fixed.

Zaenalos commented 1 year ago

Just got fixed the first problem which is the arguments of conan install.

Second problem:

ERROR: Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/conan/cli/cli.py", line 272, in main
    cli.run(args)
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/conan/cli/cli.py", line 172, in run
    command.run(self._conan_api, args[0][1:])
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/conan/cli/command.py", line 125, in run
    info = self._method(conan_api, parser, *args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/conan/cli/commands/install.py", line 62, in install
    profile_host, profile_build = conan_api.profiles.get_profiles_from_args(args)
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/conan/api/subapi/profiles.py", line 36, in get_profiles_from_args
    profile_host = self.get_profile(profiles=host, settings=args.settings_host,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/conan/api/subapi/profiles.py", line 48, in get_profile
    profile = loader.from_cli_args(profiles, settings, options, conf, cwd)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/conans/client/profile_loader.py", line 135, in from_cli_args
    args_profile = _profile_parse_args(settings, options, conf)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/conans/client/profile_loader.py", line 395, in _profile_parse_args
    result.options = Options.loads("\n".join(options or []))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/conans/model/options.py", line 268, in loads
    name, value = line.split("=", 1)
    ^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)

ERROR: not enough values to unpack (expected 2, got 1)

Screenshot_2023-09-01-15-38-13-864_com.termux.png