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

coin-cbc: migrate to Conan v2 #18864

Closed
wants to merge 10 commits into from
Closed

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jul 24, 2023

No description provided.

@ghost
Copy link

ghost commented Jul 24, 2023

I detected other pull requests that are modifying coin-cbc/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

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.

@valgur valgur closed this Jul 26, 2023
@valgur valgur reopened this Aug 11, 2023
@conan-center-bot

This comment has been minimized.

@SpaceIm
Copy link
Contributor

SpaceIm commented Aug 29, 2023

duplicate of #15839

@ghost ghost mentioned this pull request Aug 29, 2023
3 tasks
@conan-center-bot

This comment has been minimized.

@stale
Copy link

stale bot commented Oct 15, 2023

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.

@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 conan-center-bot added the Missing dependencies Build failed due missing dependencies in Conan Center label Jan 11, 2024
@conan-center-bot

This comment has been minimized.

@conan-center-bot conan-center-bot removed the Missing dependencies Build failed due missing dependencies in Conan Center label Jan 20, 2024
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 11 (b239f2bbbfe3f01d43ac90a3a8566920b023987f):

  • coin-cbc/2.10.5:
    CI failed to create some packages (All logs)

    Logs for packageID 458067846c2d4b72141f37604f27464ff59eed55:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=Visual Studio
    compiler.runtime=MDd
    compiler.version=16
    os=Windows
    [options]
    coin-cbc:shared=False
    
    [...]
    rm: cannot remove 'conftest': Is a directory
    rm: cannot remove 'conftest': Is a directory
    rmdir: failed to remove 'conftest': Directory not empty
    rm: cannot remove 'conftest': Is a directory
    rm: cannot remove 'conftest': Is a directory
    rm: cannot remove 'conftest': Is a directory
    rm: cannot remove 'conftest': Is a directory
    rm: cannot remove 'conftest': Is a directory
    /c/j2/w/prod-v1/bsr@4/93719/cbadb/.conan/data/coin-cbc/2.10.5/_/_/build/458067846c2d4b72141f37604f27464ff59eed55/src/Cbc/configure: line 20481: -nologo: command not found
    /c/j2/w/prod-v1/bsr@4/93719/cbadb/.conan/data/coin-cbc/2.10.5/_/_/build/458067846c2d4b72141f37604f27464ff59eed55/src/Cbc/configure: line 20481: -nologo: command not found
    configure: WARNING: cmath: present but cannot be compiled
    configure: WARNING: cmath:     check for missing prerequisite headers?
    configure: WARNING: cmath: see the Autoconf documentation
    configure: WARNING: cmath:     section "Present But Cannot Be Compiled"
    configure: WARNING: cmath: proceeding with the preprocessor's result
    configure: WARNING: cmath: in the future, the compiler will take precedence
    configure: WARNING:     ## ------------------------------------ ##
    configure: WARNING:     ## Report this to [email protected] ##
    configure: WARNING:     ## ------------------------------------ ##
    configure: WARNING: cfloat: present but cannot be compiled
    configure: WARNING: cfloat:     check for missing prerequisite headers?
    configure: WARNING: cfloat: see the Autoconf documentation
    configure: WARNING: cfloat:     section "Present But Cannot Be Compiled"
    configure: WARNING: cfloat: proceeding with the preprocessor's result
    configure: WARNING: cfloat: in the future, the compiler will take precedence
    configure: WARNING:     ## ------------------------------------ ##
    configure: WARNING:     ## Report this to [email protected] ##
    configure: WARNING:     ## ------------------------------------ ##
    ln: failed to create symbolic link 'examples/sudoku_sample.csv': No such file or directory
    ln: failed to create symbolic link 'examples/quad.mps': No such file or directory
    ln: failed to create symbolic link 'examples/quad2.mps': No such file or directory
    mkdir: cannot create directory '/dev/shm': Read-only file system
    mkdir: cannot create directory '/dev/mqueue': Read-only file system
    make[3]: *** [Makefile:996: CbcBranchDecision.lo] Error 1
    make[3]: *** Waiting for unfinished jobs....
    make[3]: *** [Makefile:996: CbcBranchDefaultDecision.lo] Error 1
    make[3]: *** [Makefile:996: CbcBranchAllDifferent.lo] Error 1
    make[3]: *** [Makefile:996: CbcBranchingObject.lo] Error 1
    make[3]: *** [Makefile:996: CbcBranchDynamic.lo] Error 1
    make[3]: *** [Makefile:996: CbcBranchLotsize.lo] Error 1
    make[3]: *** [Makefile:996: CbcBranchToFixLots.lo] Error 1
    make[2]: *** [Makefile:758: all] Error 2
    make[1]: *** [Makefile:607: all-recursive] Error 1
    make: *** [Makefile:324: all-recursive] Error 1
    coin-cbc/2.10.5: 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
    coin-cbc/2.10.5: ERROR: Package '458067846c2d4b72141f37604f27464ff59eed55' build failed
    coin-cbc/2.10.5: WARN: Build folder C:\J2\w\prod-v1\bsr@4\93719\cbadb\.conan\data\coin-cbc\2.10.5\_\_\build\458067846c2d4b72141f37604f27464ff59eed55\build-debug
    ERROR: coin-cbc/2.10.5: Error in build() method, line 137
    	autotools.make()
    	ConanException: Error 2 while executing make -j8
    

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 are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

See details:

Failure in build 10 (b239f2bbbfe3f01d43ac90a3a8566920b023987f):

  • coin-cbc/2.10.5:
    CI failed to create some packages (All logs)

    Logs for packageID 76d08bf6d63f6e09d78299e23be10fe5e1dfffb1:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    [options]
    */*:shared=False
    
    [...]
    pkgconf/2.1.0: Retrieving package df7e47c8f0b96c79c977dd45ec51a050d8380273 from remote 'conan-center' 
    pkgconf/2.1.0: Package installed df7e47c8f0b96c79c977dd45ec51a050d8380273
    pkgconf/2.1.0: Downloaded package revision 0e4a349206e0319ddfe0a13932c26b03
    coin-utils/2.11.9: Retrieving package 9eff49457ce74ce057951e6a4cd7b0f1eb02f5e2 from remote 'conan-center' 
    coin-utils/2.11.9: Package installed 9eff49457ce74ce057951e6a4cd7b0f1eb02f5e2
    coin-utils/2.11.9: Downloaded package revision e3c0096a040c8d676195b0306115544d
    coin-osi/0.108.7: Retrieving package 80a31c9dc21748976f84f2f6029276df79c5ad78 from remote 'conan-center' 
    coin-osi/0.108.7: Package installed 80a31c9dc21748976f84f2f6029276df79c5ad78
    coin-osi/0.108.7: Downloaded package revision da645ce2e1e19b61929c6b398e94c8d1
    coin-clp/1.17.7: Retrieving package f9c555ca7abfa5e1d1ec9439ff250912880aebbd from remote 'conan-center' 
    coin-clp/1.17.7: Package installed f9c555ca7abfa5e1d1ec9439ff250912880aebbd
    coin-clp/1.17.7: Downloaded package revision 20afec6558819a7169084618f2329bb5
    coin-cgl/0.60.7: Retrieving package 7a545391580b7e166dbca00f902e039abec919d5 from remote 'conan-center' 
    coin-cgl/0.60.7: Package installed 7a545391580b7e166dbca00f902e039abec919d5
    coin-cgl/0.60.7: Downloaded package revision 7b8a49bd8fbc313011822082e823e57c
    pkgconf/2.1.0: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version.
    coin-cbc/2.10.5: Calling source() in /Users/jenkins/w/prod-v2/bsr/78438/cceac/p/coin-8dab2b5738b5d/s/src
    coin-cbc/2.10.5: Sources for https://github.com/coin-or/Cbc/archive/releases/2.10.5.tar.gz found in remote backup https://c3i.jfrog.io/artifactory/conan-center-backup-sources/
    
    -------- Installing package coin-cbc/2.10.5 (9 of 9) --------
    coin-cbc/2.10.5: Building from source
    coin-cbc/2.10.5: Package coin-cbc/2.10.5:76d08bf6d63f6e09d78299e23be10fe5e1dfffb1
    coin-cbc/2.10.5: Copying sources to build folder
    coin-cbc/2.10.5: Building your package in /Users/jenkins/w/prod-v2/bsr/78438/cceac/p/b/coin-8d3bb34cc0a66/b
    coin-cbc/2.10.5: Calling generate()
    coin-cbc/2.10.5: Generators folder: /Users/jenkins/w/prod-v2/bsr/78438/cceac/p/b/coin-8d3bb34cc0a66/b/build-release/conan
    coin-cbc/2.10.5: Generating aggregated env files
    coin-cbc/2.10.5: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
    coin-cbc/2.10.5: Calling build()
    coin-cbc/2.10.5: Apply patch (file): patches/0001-no-pkg-config-check.patch
    coin-cbc/2.10.5: Apply patch (file): patches/0002-pthreads4w.patch
    coin-cbc/2.10.5: Calling:
     > "/Users/jenkins/w/prod-v2/bsr/78438/cceac/p/b/coin-8d3bb34cc0a66/b/src/configure" --disable-shared --enable-static --prefix=/ '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' --host=x86_64-apple-darwin --build=aarch64-apple-darwin --enable-cbc-parallel=no --without-blas --without-lapack 
    coin-cbc/2.10.5: RUN: "/Users/jenkins/w/prod-v2/bsr/78438/cceac/p/b/coin-8d3bb34cc0a66/b/src/configure" --disable-shared --enable-static --prefix=/ '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' --host=x86_64-apple-darwin --build=aarch64-apple-darwin --enable-cbc-parallel=no --without-blas --without-lapack 
    checking build system type... Invalid configuration `aarch64-apple-darwin': machine `aarch64-apple' not recognized
    configure: error: /bin/sh /Users/jenkins/w/prod-v2/bsr/78438/cceac/p/b/coin-8d3bb34cc0a66/b/src/config.sub aarch64-apple-darwin failed
    
    coin-cbc/2.10.5: ERROR: 
    Package '76d08bf6d63f6e09d78299e23be10fe5e1dfffb1' build failed
    coin-cbc/2.10.5: WARN: Build folder /Users/jenkins/w/prod-v2/bsr/78438/cceac/p/b/coin-8d3bb34cc0a66/b/build-release
    *********************************************************
    Recipe 'coin-cbc/2.10.5' cannot build its binary
    It is possible that this recipe is not Conan 2.0 ready
    If the recipe comes from ConanCenter, report it at https://github.com/conan-io/conan-center-index/issues
    If it is your recipe, check if it is updated to 2.0
    *********************************************************
    
    ERROR: coin-cbc/2.10.5: Error in build() method, line 136
    	autotools.configure()
    	ConanException: Error 1 while executing
    

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.

@valgur
Copy link
Contributor Author

valgur commented Apr 15, 2024

Closing in favor of #23536.

@valgur valgur closed this Apr 15, 2024
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