Package Details: conan 2.3.2-1

Git Clone URL: https://aur.archlinux.org/conan.git (read-only, click to copy)
Package Base: conan
Description: A distributed, open source, C/C++ package manager.
Upstream URL: https://conan.io
Keywords: conan
Licenses: MIT
Conflicts: conan1
Provides: conan
Submitter: suridaj
Maintainer: suridaj
Last Packager: FirstAirBender
Votes: 70
Popularity: 2.60
First Submitted: 2016-08-21 01:35 (UTC)
Last Updated: 2024-05-29 20:22 (UTC)

Latest Comments

1 2 3 4 5 6 .. 12 Next › Last »

suridaj commented on 2024-05-30 18:54 (UTC)

Thank you FirstAirBender for handling the 2.3.2 in my absence and for unborking the detached HEAD state.

rubin55 commented on 2024-05-29 21:22 (UTC) (edited on 2024-05-29 21:25 (UTC) by rubin55)

Package seems broken due to missing dependency:

$ conan --help
Traceback (most recent call last):
  File "/usr/bin/conan", line 33, in <module>
    sys.exit(load_entry_point('conan==2.3.2', 'console_scripts', 'conan')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/conan", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.12/site-packages/conans/conan.py", line 3, in <module>
    from conan.cli.cli import main
  File "/usr/lib/python3.12/site-packages/conan/__init__.py", line 2, in <module>
    from conan.tools.scm import Version as _Version
  File "/usr/lib/python3.12/site-packages/conan/tools/scm/__init__.py", line 1, in <module>
    from conan.tools.scm.git import Git
  File "/usr/lib/python3.12/site-packages/conan/tools/scm/git.py", line 5, in <module>
    from conan.tools.files import chdir, update_conandata
  File "/usr/lib/python3.12/site-packages/conan/tools/files/__init__.py", line 5, in <module>
    from conan.tools.files.patches import patch, apply_conandata_patches, export_conandata_patches
  File "/usr/lib/python3.12/site-packages/conan/tools/files/patches.py", line 5, in <module>
    import patch_ng
ModuleNotFoundError: No module named 'patch_ng'

Ah I figured it out. This is due to recentish upgrade to Python 3.12. Various AUR packages I have, have not been rebuilt for 3.12, so site-packages dir still in /usr/lib/python3.11, which can't be used/not-found by 3.12. I'll go rebuild a lot of things..

a821 commented on 2024-05-12 07:47 (UTC)

@suridaj: The AUR git repo is in a detached HEAD state. A solution is git switch -c master HEAD && git push origin master within a fresh clone of ssh://aur@aur.archlinux.org/conan.git (this is to avoid potential issues with a broken local repo).

suridaj commented on 2024-04-23 13:13 (UTC)

Sorry for not answering earlier. I am currently without access to my Arch machine. Will try to fix this ASAP.

silverhikari commented on 2024-04-22 17:03 (UTC) (edited on 2024-04-22 17:03 (UTC) by silverhikari)

@jkl @evorster getting the same issue with headless clone with no master/main branch(both using yay and doing git clone in the .cache/yay/ directory, doing rm -r on the conan folder each time) though wondering if it is an issue with using an older pacman version?

jkl commented on 2024-04-15 03:41 (UTC) (edited on 2024-04-15 03:45 (UTC) by jkl)

@evorster @suridaj Hmm weird because the PKGBUILD works fine for me with the original URL, perhaps it is hitting an anti-DDOS captcha in some cases and may be worth changing. That is however a different problem then the aforementioned issue with the broken git master branch. Do a clean git clone https://aur.archlinux.org/conan to see the error.

evorster commented on 2024-04-14 05:36 (UTC)

This package is not getting the proper source, and then not building. If you update the source to this, it downloads and builds properly:

source=("${pkgname}-${pkgver}.tar.gz::https://github.com/conan-io/conan/archive/refs/tags/${pkgver}.tar.gz")

evorster commented on 2024-04-13 11:53 (UTC)

Is this headless thing the reason I am getting this weird error?

[evert@Evert aur]$ rm -rf conan/
[evert@Evert aur]$ yay -S conan
AUR Explicit (1): conan-2.2.2-1
:: (1/1) Downloaded PKGBUILD: conan
 -> error merging /mnt/int/system/aur/conan: fatal: No current branch.

jkl commented on 2024-04-12 19:30 (UTC)

@suridaj The git repo master branch was not updated and still points to 9b9ad6c6d (2.1.0), hence a git pull in an existing repo does not work and a clone ends up with a detached HEAD.

vedranmiletic commented on 2024-03-26 10:19 (UTC)

@suridaj Just noticed that conan.io website download page is wrong, 2.1.0 is not the latest release, but 2.2.2 posted on GitHub releases: https://github.com/conan-io/conan/releases/tag/2.2.2