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

ncurses: conan 2.0 #16780

Conversation

holger-detering
Copy link
Contributor

Specify library name and version: ncurses/6.4, ncurses/6.3, ncurses/6.2

This should resolve Issue #16627.

I tested this recipe with conan 1.59.0 and conan 2.0.2 on Linux.


@CLAassistant
Copy link

CLAassistant commented Mar 29, 2023

CLA assistant check
All committers have signed the CLA.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

3 similar comments
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@holger-detering holger-detering marked this pull request as draft April 11, 2023 08:14
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@holger-detering holger-detering force-pushed the feature/ncurses_for_conan_2 branch 2 times, most recently from 5772ce5 to 3ec4597 Compare April 12, 2023 18:00
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@holger-detering holger-detering force-pushed the feature/ncurses_for_conan_2 branch 2 times, most recently from f4c83cb to 33fce86 Compare April 21, 2023 22:26
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 19 (94832a1d0c5d5452bda9dec3895216cd032abbba):

  • ncurses/6.4@:
    Didn't run or was cancelled before finishing

  • ncurses/6.3@:
    CI failed to create some packages (All logs)

    Logs for packageID d8750081d569e70303761db379eaccc3ef395e6e:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MD
    compiler.version=16
    os=Windows
    [options]
    ncurses:shared=True
    
    [...]
    make[1]: Entering directory '/c/J/w/prod/BuildSingleReference/.conan/data/ncurses/6.3/_/_/build/d8750081d569e70303761db379eaccc3ef395e6e/form'
    installing ../lib/formw6.dll as /c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/package/d8750081d569e70303761db379eaccc3ef395e6e/bin/formw6.dll
    /c/j/w/prod/buildsinglereference/s/c5811a/1/bin/msys64/usr/bin/install -c -m 755 ../lib/formw6.dll /c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/package/d8750081d569e70303761db379eaccc3ef395e6e/bin/formw6.dll
    installing ../lib/formw.dll.lib as /c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/package/d8750081d569e70303761db379eaccc3ef395e6e/lib/formw.dll.lib
    /c/j/w/prod/buildsinglereference/s/c5811a/1/bin/msys64/usr/bin/install -c -m 644 ../lib/formw.dll.lib /c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/package/d8750081d569e70303761db379eaccc3ef395e6e/lib/formw.dll.lib
    installing /c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/build/d8750081d569e70303761db379eaccc3ef395e6e/form/form.h in /c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/package/d8750081d569e70303761db379eaccc3ef395e6e/include
    make[1]: Leaving directory '/c/J/w/prod/BuildSingleReference/.conan/data/ncurses/6.3/_/_/build/d8750081d569e70303761db379eaccc3ef395e6e/form'
    ( cd misc && make DESTDIR="/c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/package/d8750081d569e70303761db379eaccc3ef395e6e" RPATH_LIST="/lib" install )
    make[1]: Entering directory '/c/J/w/prod/BuildSingleReference/.conan/data/ncurses/6.3/_/_/build/d8750081d569e70303761db379eaccc3ef395e6e/misc'
    mkdir -p /c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/package/d8750081d569e70303761db379eaccc3ef395e6e//share
    mkdir -p /c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/package/d8750081d569e70303761db379eaccc3ef395e6e//share/tabset
    DESTDIR=/c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/package/d8750081d569e70303761db379eaccc3ef395e6e \
    prefix=/ \
    exec_prefix=/ \
    bindir=/bin \
    top_srcdir=/c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/build/d8750081d569e70303761db379eaccc3ef395e6e \
    srcdir=/c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/build/d8750081d569e70303761db379eaccc3ef395e6e/misc \
    datadir=//share \
    ticdir=//share/terminfo \
    source=terminfo.tmp \
    cross_compiling=no \
    /bin/sh ./run_tic.sh
    ** Building terminfo database, please wait...
    Running sh /c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/build/d8750081d569e70303761db379eaccc3ef395e6e/misc/shlib tic to install /c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/package/d8750081d569e70303761db379eaccc3ef395e6e//share/terminfo ...
    
    	You may see messages regarding extended capabilities, e.g., AX.
    	These are extended terminal capabilities which are compiled
    	using
    		tic -x
    	If you have ncurses 4.2 applications, you should read the INSTALL
    	document, and install the terminfo without the -x option.
    
    ncurses 6.3.20211021
    ? tic could not build /c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/package/d8750081d569e70303761db379eaccc3ef395e6e//share/terminfo
    make[1]: Leaving directory '/c/J/w/prod/BuildSingleReference/.conan/data/ncurses/6.3/_/_/build/d8750081d569e70303761db379eaccc3ef395e6e/misc'
    configure: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options
    configure: WARNING: pkg-config is not installed
    configure: WARNING: cannot find regular expression library
    configure: WARNING: no regular expression header found
    mv: cannot stat 'conftest.o': No such file or directory
    mv: cannot stat 'conftest.o': No such file or directory
    cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
    cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
    cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
    make[1]: *** [Makefile:109: install.data] Error 1
    make: *** [Makefile:137: install] Error 2
    ncurses/6.3: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    ERROR: ncurses/6.3: Error in package() method, line 262
    	autotools.install()
    	ConanException: Error 2 while executing make install DESTDIR=/c/j/w/prod/buildsinglereference/.conan/data/ncurses/6.3/_/_/package/d8750081d569e70303761db379eaccc3ef395e6e -j8
    
  • ncurses/6.2@:
    Didn't run or was cancelled before finishing


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline ❌

Note: Conan v2 builds may be required once they are on the v2 ready list

The v2 pipeline failed. Please, review the errors and note this will be required for pull requests to be merged in the near future.

See details:

Failure in build 16 (94832a1d0c5d5452bda9dec3895216cd032abbba):

  • ncurses/6.3@:
    Error running command conan graph info --requires ncurses/6.3@#89c33d0959356ce089c221bf6b8e1235 -f json -pr:h /home/conan/w/prod-v2_cci_PR-16780/16/a4a1a31e-ab9c-4059-9f08-a0f69819e64f/profile_windows_192_release_dynamic_14_msvc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2_cci_PR-16780/16/a4a1a31e-ab9c-4059-9f08-a0f69819e64f/profile_windows_192_release_dynamic_14_msvc_release_64..txt:

    ======== Computing dependency graph ========
    getopt-for-visual-studio/20200201: Not found in local cache, looking in remotes...
    getopt-for-visual-studio/20200201: Checking remote: conan-center
    Decompressing conan_export.tgz
    getopt-for-visual-studio/20200201: Downloaded recipe revision 32ee360e2552fe65ad8bec52edcd64fd
    dirent/1.23.2: Not found in local cache, looking in remotes...
    dirent/1.23.2: Checking remote: conan-center
    Decompressing conan_export.tgz
    dirent/1.23.2: Downloaded recipe revision fdbb91cdf841eb3310830268430477c5
    naive-tsearch/0.1.1: Not found in local cache, looking in remotes...
    naive-tsearch/0.1.1: Checking remote: conan-center
    Decompressing conan_export.tgz
    naive-tsearch/0.1.1: Downloaded recipe revision c7fbf9d91d4da64bf27c5453d05967d0
    Graph root
        cli
    Requirements
        dirent/1.23.2#fdbb91cdf841eb3310830268430477c5 - Downloaded (conan-center)
        getopt-for-visual-studio/20200201#32ee360e2552fe65ad8bec52edcd64fd - Downloaded (conan-center)
        ncurses/6.3#89c33d0959356ce089c221bf6b8e1235 - Cache
    Graph error
        Package 'naive-tsearch/0.1.1' not resolved: naive-tsearch/0.1.1: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py", line 1, in <module>
        from conans import CMake, ConanFile, tools
    ImportError: cannot import name 'CMake' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
    *********************************************************
    Recipe 'naive-tsearch/0.1.1' seems broken.
    It is possible that this recipe is not Conan 2.0 ready
    If the recipe comes from ConanCenter check: https://conan.io/cci-v2.html
    If it is your recipe, check if it is updated to 2.0
    *********************************************************
    
    ERROR: Package 'naive-tsearch/0.1.1' not resolved: naive-tsearch/0.1.1: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py", line 1, in <module>
        from conans import CMake, ConanFile, tools
    ImportError: cannot import name 'CMake' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • ncurses/6.4@:
    Error running command conan graph info --requires ncurses/6.4@#c806a42fbeac0cfb2a6a442127d23fa7 -f json -pr:h /home/conan/w/prod-v2_cci_PR-16780/16/ec24d159-327d-49b3-8007-0fcfcde28b50/profile_windows_192_release_dynamic_14_msvc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2_cci_PR-16780/16/ec24d159-327d-49b3-8007-0fcfcde28b50/profile_windows_192_release_dynamic_14_msvc_release_64..txt:

    ======== Computing dependency graph ========
    getopt-for-visual-studio/20200201: Not found in local cache, looking in remotes...
    getopt-for-visual-studio/20200201: Checking remote: conan-center
    Decompressing conan_export.tgz
    getopt-for-visual-studio/20200201: Downloaded recipe revision 32ee360e2552fe65ad8bec52edcd64fd
    dirent/1.23.2: Not found in local cache, looking in remotes...
    dirent/1.23.2: Checking remote: conan-center
    Decompressing conan_export.tgz
    dirent/1.23.2: Downloaded recipe revision fdbb91cdf841eb3310830268430477c5
    naive-tsearch/0.1.1: Not found in local cache, looking in remotes...
    naive-tsearch/0.1.1: Checking remote: conan-center
    Decompressing conan_export.tgz
    naive-tsearch/0.1.1: Downloaded recipe revision c7fbf9d91d4da64bf27c5453d05967d0
    Graph root
        cli
    Requirements
        dirent/1.23.2#fdbb91cdf841eb3310830268430477c5 - Downloaded (conan-center)
        getopt-for-visual-studio/20200201#32ee360e2552fe65ad8bec52edcd64fd - Downloaded (conan-center)
        ncurses/6.4#c806a42fbeac0cfb2a6a442127d23fa7 - Cache
    Graph error
        Package 'naive-tsearch/0.1.1' not resolved: naive-tsearch/0.1.1: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py", line 1, in <module>
        from conans import CMake, ConanFile, tools
    ImportError: cannot import name 'CMake' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
    *********************************************************
    Recipe 'naive-tsearch/0.1.1' seems broken.
    It is possible that this recipe is not Conan 2.0 ready
    If the recipe comes from ConanCenter check: https://conan.io/cci-v2.html
    If it is your recipe, check if it is updated to 2.0
    *********************************************************
    
    ERROR: Package 'naive-tsearch/0.1.1' not resolved: naive-tsearch/0.1.1: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py", line 1, in <module>
        from conans import CMake, ConanFile, tools
    ImportError: cannot import name 'CMake' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • ncurses/6.2@:
    Error running command conan graph info --requires ncurses/6.2@#a46acc9db4a33673e2a975714f46a39e -f json -pr:h /home/conan/w/prod-v2_cci_PR-16780/16/4e67a01a-6d49-4947-9464-8b9cb450a510/profile_windows_192_release_dynamic_14_msvc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2_cci_PR-16780/16/4e67a01a-6d49-4947-9464-8b9cb450a510/profile_windows_192_release_dynamic_14_msvc_release_64..txt:

    ======== Computing dependency graph ========
    getopt-for-visual-studio/20200201: Not found in local cache, looking in remotes...
    getopt-for-visual-studio/20200201: Checking remote: conan-center
    Decompressing conan_export.tgz
    getopt-for-visual-studio/20200201: Downloaded recipe revision 32ee360e2552fe65ad8bec52edcd64fd
    dirent/1.23.2: Not found in local cache, looking in remotes...
    dirent/1.23.2: Checking remote: conan-center
    Decompressing conan_export.tgz
    dirent/1.23.2: Downloaded recipe revision fdbb91cdf841eb3310830268430477c5
    naive-tsearch/0.1.1: Not found in local cache, looking in remotes...
    naive-tsearch/0.1.1: Checking remote: conan-center
    Decompressing conan_export.tgz
    naive-tsearch/0.1.1: Downloaded recipe revision c7fbf9d91d4da64bf27c5453d05967d0
    Graph root
        cli
    Requirements
        dirent/1.23.2#fdbb91cdf841eb3310830268430477c5 - Downloaded (conan-center)
        getopt-for-visual-studio/20200201#32ee360e2552fe65ad8bec52edcd64fd - Downloaded (conan-center)
        ncurses/6.2#a46acc9db4a33673e2a975714f46a39e - Cache
    Graph error
        Package 'naive-tsearch/0.1.1' not resolved: naive-tsearch/0.1.1: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py", line 1, in <module>
        from conans import CMake, ConanFile, tools
    ImportError: cannot import name 'CMake' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
    *********************************************************
    Recipe 'naive-tsearch/0.1.1' seems broken.
    It is possible that this recipe is not Conan 2.0 ready
    If the recipe comes from ConanCenter check: https://conan.io/cci-v2.html
    If it is your recipe, check if it is updated to 2.0
    *********************************************************
    
    ERROR: Package 'naive-tsearch/0.1.1' not resolved: naive-tsearch/0.1.1: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-16780/p/naive7167a367c4e1f/e/conanfile.py", line 1, in <module>
        from conans import CMake, ConanFile, tools
    ImportError: cannot import name 'CMake' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

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

Successfully merging this pull request may close these issues.

3 participants