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

migrate jasper to conan v2 #12773

Conversation

AndreyMlashkin
Copy link
Contributor

This conan v2 migration PR was generated by automatoc script version 11.
It uses simple find and replace technics. Feel free to extend it.

@ghost
Copy link

ghost commented Sep 1, 2022

I detected other pull requests that are modifying jasper/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@conan-center-bot
Copy link
Collaborator

Failure in build 1 (9ff41fe8cc17bf87ce3030000293119f0e08e244):

  • jasper/2.0.33@:
    Didn't run or was cancelled before finishing

  • jasper/2.0.32@:
    CI failed to create some packages (All logs)

    Logs for packageID 264d5d4a0e3e283cd524e2a58344075802f4577c:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MD
    compiler.version=16
    os=Windows
    [options]
    jasper:shared=False
    
    [...]
    C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\base\jas_stream.c(1322,16): warning C4267: '+=': conversion from 'size_t' to 'uint_fast32_t', possible loss of data [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\corecrt_memory.h(76,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\pnm\pnm_enc.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\base\jas_stream.c(1330,1): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(378,9): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\ras\ras_dec.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\corecrt_wstring.h(573,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\pnm\pnm_enc.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\corecrt_memory.h(76,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\pnm\pnm_dec.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(378,9): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\ras\ras_enc.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\string.h(531,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\pnm\pnm_enc.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2437,9): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\ras\ras_dec.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\corecrt_wstring.h(573,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\pnm\pnm_dec.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\corecrt_memory.h(76,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\ras\ras_dec.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\corecrt_wstring.h(573,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\ras\ras_dec.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\string.h(531,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\pnm\pnm_dec.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2437,9): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\ras\ras_enc.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\string.h(531,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\ras\ras_dec.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\corecrt_memory.h(76,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\ras\ras_enc.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\ctype.h(241,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\pnm\pnm_dec.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\corecrt_search.h(188,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\pnm\pnm_dec.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\corecrt_search.h(188,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\ras\ras_dec.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdlib.h(79,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\pnm\pnm_dec.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdlib.h(79,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\ras\ras_dec.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\corecrt_wstring.h(573,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\ras\ras_enc.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdlib.h(1286,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\pnm\pnm_dec.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdlib.h(1286,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\ras\ras_dec.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\pnm\pnm_dec.c(445,42): warning C4244: 'function': conversion from 'int_fast64_t' to 'jas_seqent_t', possible loss of data [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\string.h(531,5): warning C5105: macro expansion producing 'defined' has undefined behavior (compiling source file C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\source_subfolder\src\libjasper\ras\ras_enc.c) [C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder\source_subfolder\src\libjasper\libjasper.vcxproj]
    jasper/2.0.32: 
    Software version: 2.0.32
    Shared library ABI version: 4
    Shared library build version: 4.0.0
    JAS_MULTICONFIGURATION_GENERATOR 1
    CMake Warning at source_subfolder/CMakeLists.txt:128 (message):
      If this software is being built as a package for a Linux distribution, you
      should probably set JAS_ENABLE_AUTOMATIC_DEPENDENCIES to false.
    
    
    JPEG library found: TRUE
    JPEG include directory: C:/J/w/prod/BuildSingleReference@2/.conan/data/libjpeg/9d/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/include
    JPEG libraries: C:/J/w/prod/BuildSingleReference@2/.conan/data/libjpeg/9d/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/libjpeg.lib;
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    
    
    jasper/2.0.32: ERROR: Package '264d5d4a0e3e283cd524e2a58344075802f4577c' build failed
    jasper/2.0.32: WARN: Build folder C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c
    ERROR: jasper/2.0.32: Error in build() method, line 95
    	cmake.build()
    	ConanException: Error 1 while executing cmake --build C:\J\w\prod\BuildSingleReference@2\.conan\data\jasper\2.0.32\_\_\build\264d5d4a0e3e283cd524e2a58344075802f4577c\build_subfolder --config Release -- /m:8 /verbosity:minimal
    
  • jasper/2.0.26@:
    Didn't run or was cancelled before finishing

  • jasper/2.0.25@:
    Didn't run or was cancelled before finishing

  • jasper/2.0.27@:
    Didn't run or was cancelled before finishing

  • jasper/2.0.28@:
    Didn't run or was cancelled before finishing

  • jasper/2.0.23@:
    Didn't run or was cancelled before finishing

  • jasper/2.0.16@:
    Didn't run or was cancelled before finishing

  • jasper/2.0.22@:
    Didn't run or was cancelled before finishing

  • jasper/2.0.19@:
    Didn't run or was cancelled before finishing

  • jasper/2.0.14@:
    Didn't run or was cancelled before finishing

  • jasper/2.0.24@:
    Didn't run or was cancelled before finishing

  • jasper/2.0.21@:
    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.

@stale
Copy link

stale bot commented Oct 1, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 1, 2022
@ghost ghost mentioned this pull request Oct 25, 2022
4 tasks
@stale
Copy link

stale bot commented Nov 7, 2022

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

@stale stale bot closed this Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants