Skip to content
New issue

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

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

Already on GitHub? # to your account

Shorten the file name in log message #213

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

condy0919
Copy link

From

[/home/condy/.cache/yay/coz-git/src/coz-git/libcoz/libcoz.cpp:100] bootstrapping coz

to

[libcoz.cpp:100] bootstrapping coz

@condy0919
Copy link
Author

condy0919 commented Jan 11, 2023

Conan failed with f-string.

$ conan install .. -s compiler.libcxx=libstdc++11 -s compiler.cppstd=11 --build=outdated

Traceback (most recent call last):
  File "/usr/local/bin/conan", line 5, in <module>
    from conans.conan import run
  File "/usr/local/lib/python2.7/dist-packages/conans/conan.py", line 7, in <module>
    from conans.client.command import main
  File "/usr/local/lib/python2.7/dist-packages/conans/client/command.py", line 16, in <module>
    from conans.client.conan_api import Conan, default_manifest_folder, _make_abs_path, ProfileData
  File "/usr/local/lib/python2.7/dist-packages/conans/client/conan_api.py", line 13, in <module>
    from conans.client.cmd.create import create
  File "/usr/local/lib/python2.7/dist-packages/conans/client/cmd/create.py", line 3, in <module>
    from conans.client.cmd.test import install_build_and_test
  File "/usr/local/lib/python2.7/dist-packages/conans/client/cmd/test.py", line 6, in <module>
    from conans.client.manager import deps_install
  File "/usr/local/lib/python2.7/dist-packages/conans/client/manager.py", line 7, in <module>
    from conans.client.installer import BinaryInstaller, call_system_requirements
  File "/usr/local/lib/python2.7/dist-packages/conans/client/installer.py", line 11, in <module>
    from conans.client.generators import TXTGenerator, write_toolchain
  File "/usr/local/lib/python2.7/dist-packages/conans/client/generators/__init__.py", line 23, in <module>
    from .markdown import MarkdownGenerator
  File "/usr/local/lib/python2.7/dist-packages/conans/client/generators/markdown.py", line 8, in <module>
    from conan.tools.cmake.cmakedeps.cmakedeps import CMakeDeps
  File "/usr/local/lib/python2.7/dist-packages/conan/tools/cmake/__init__.py", line 1, in <module>
    from conan.tools.cmake.toolchain.toolchain import CMakeToolchain
  File "/usr/local/lib/python2.7/dist-packages/conan/tools/cmake/toolchain/toolchain.py", line 12, in <module>
    from conan.tools.cmake.toolchain.blocks import ToolchainBlocks, UserToolchain, GenericSystemBlock, \
  File "/usr/local/lib/python2.7/dist-packages/conan/tools/cmake/toolchain/blocks.py", line 9, in <module>
    from conan.tools.apple.apple import is_apple_os, to_apple_arch
  File "/usr/local/lib/python2.7/dist-packages/conan/tools/apple/__init__.py", line 8, in <module>
    from conan.tools.apple.apple import fix_apple_shared_install_name
  File "/usr/local/lib/python2.7/dist-packages/conan/tools/apple/apple.py", line 170
    command = f"install_name_tool {dylib_path} -id {new_name}"
                                                             ^

SyntaxError: invalid syntax

The command "conan install .. -s compiler.libcxx=libstdc++11 -s compiler.cppstd=11 --build=outdated" failed and exited with 1 during .

f-string is introduced in python3, but it runs on python2.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant