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

glpk: add v4.48 and v4.65 for COIN-OR, add GMP support #23531

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Apr 15, 2024

Used by multiple COIN-OR packages, but only v4.48 is compatible. I also included the latest available v4.x version in case anyone needs it.

@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.

@EstebanDugueperoux2
Copy link
Contributor

The build of this PR works on debian:bullseye based Docker image on Linux.
The "mkdir: cannot create directory '/dev/mqueue': Read-only file system" error message seems due to a bad Windows build environment.
@AbrilRBS @jcar87 Could the CI of this PR triggered again to check if this error occurs again?
Regards.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 8 (2fe78d37ddc1747f008bfd5e9ead4ecc0e79d44b):

  • glpk/5.0:
    Didn't run or was cancelled before finishing

  • glpk/4.48:
    CI failed to create some packages (All logs)

    Logs for packageID 2639232236fec5c40b3da161c6dd0cbc8e510da4:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MD
    compiler.version=16
    os=Windows
    [options]
    glpk:shared=True
    
    [...]
    src/Makefile.am:10: warning: source file 'minisat/minisat.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/adler32.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/compress.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/crc32.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/deflate.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/gzclose.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/gzlib.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/gzread.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/gzwrite.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/infback.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/inffast.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/inflate.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/inftrees.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/trees.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/uncompr.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/zio.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    src/Makefile.am:10: warning: source file 'zlib/zutil.c' is in a subdirectory,
    src/Makefile.am:10: but option 'subdir-objects' is disabled
    mkdir: cannot create directory '/dev/shm': Read-only file system
    mkdir: cannot create directory '/dev/mqueue': Read-only file system
    mkdir: cannot create directory '/dev/shm': Read-only file system
    mkdir: cannot create directory '/dev/mqueue': Read-only file system
    libtool:   error: can't build x86_64-w64-mingw32 shared library unless -no-undefined is specified
    make[2]: *** [Makefile:623: libglpk.la] Error 1
    make[1]: *** [Makefile:397: all-recursive] Error 1
    make: *** [Makefile:329: all] Error 2
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    glpk/4.48: 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
    glpk/4.48: ERROR: Package '2639232236fec5c40b3da161c6dd0cbc8e510da4' build failed
    glpk/4.48: WARN: Build folder C:\J\workspace\prod-v1\bsr@4\82936\eeaae\.conan\data\glpk\4.48\_\_\build\2639232236fec5c40b3da161c6dd0cbc8e510da4\build-release
    ERROR: glpk/4.48: Error in build() method, line 134
    	autotools.make()
    	ConanException: Error 2 while executing make -j8
    
  • glpk/4.65:
    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 are now mandatory. Please read our discussion about it.

All green in build 8 (2fe78d37ddc1747f008bfd5e9ead4ecc0e79d44b):

  • glpk/5.0:
    All packages built successfully! (All logs)

  • glpk/4.65:
    All packages built successfully! (All logs)

  • glpk/4.48:
    All packages built successfully! (All logs)

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