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

GNU gengetopt #20350

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

GNU gengetopt #20350

wants to merge 14 commits into from

Conversation

weatherhead99
Copy link
Contributor

@weatherhead99 weatherhead99 commented Oct 4, 2023

Specify library name and version: gengetopt/2.23

packaging for the getopt automatic generator tool from GNU gnugenopt. Used by quite a few C libraries to generate getopt code since the dark ages.


@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
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 7 (ec91990e7db0b2e73598f272d5849cfcb3a7adfd):

  • gengetopt/2.23:
    CI failed to create some packages (All logs)

    Logs for packageID 01edd76db8e16db9b38c3cca44ec466a9444c388:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=Visual Studio
    compiler.runtime=MDd
    compiler.version=16
    os=Windows
    
    [...]
    automake/1.16.5: Downloaded package revision 5af95fb3615116efd4c64ee14cb62018
    libtool/2.4.7: Retrieving package 927cef15d5a3d12b032dcc4deceac28507267ed8 from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    libtool/2.4.7: Package installed 927cef15d5a3d12b032dcc4deceac28507267ed8
    libtool/2.4.7: Downloaded package revision a3e9ea9eca80bf4931343cdae7c0c98d
    m4/1.4.19: Appending PATH environment variable: C:\J2\w\prod-v1\bsr\20992\eeffc\.conan\data\m4\1.4.19\_\_\package\01edd76db8e16db9b38c3cca44ec466a9444c388\bin
    winflexbison/2.5.25: Setting LEX environment variable: C:/J2/w/prod-v1/bsr/20992/eeffc/.conan/data/winflexbison/2.5.25/_/_/package/01edd76db8e16db9b38c3cca44ec466a9444c388/bin/win_flex
    winflexbison/2.5.25: Setting YACC environment variable: C:/J2/w/prod-v1/bsr/20992/eeffc/.conan/data/winflexbison/2.5.25/_/_/package/01edd76db8e16db9b38c3cca44ec466a9444c388/bin/win_bison -y
    libtool/2.4.7: Appending PATH env: bin_pathC:\J2\w\prod-v1\bsr\20992\eeffc\.conan\data\libtool\2.4.7\_\_\package\927cef15d5a3d12b032dcc4deceac28507267ed8\bin
    gengetopt/2.23: Applying build-requirement: winflexbison/2.5.25
    gengetopt/2.23: Applying build-requirement: libtool/2.4.7
    gengetopt/2.23: Applying build-requirement: automake/1.16.5
    gengetopt/2.23: Applying build-requirement: autoconf/2.71
    gengetopt/2.23: Applying build-requirement: m4/1.4.19
    [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK
    gengetopt/2.23: Configuring sources in C:\J2\w\prod-v1\bsr\20992\eeffc\.conan\data\gengetopt\2.23\_\_\source\src
    gengetopt/2.23: 
    [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK
    [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK
    [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK
    gengetopt/2.23: Copying sources to build folder
    gengetopt/2.23: Building your package in C:\J2\w\prod-v1\bsr\20992\eeffc\.conan\data\gengetopt\2.23\_\_\build\01edd76db8e16db9b38c3cca44ec466a9444c388
    gengetopt/2.23: Generator 'AutotoolsDeps' calling 'generate()'
    gengetopt/2.23: Generator 'AutotoolsToolchain' calling 'generate()'
    gengetopt/2.23: Aggregating env generators
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK
    gengetopt/2.23: Calling build()
    gengetopt/2.23: Apply patch (conan): Prevent building of the tests and documentation
    
    ----Running------
    > "C:\J2\w\prod-v1\bsr\20992\eeffc\.conan\data\gengetopt\2.23\_\_\build\01edd76db8e16db9b38c3cca44ec466a9444c388\build-debug\conan\conanbuild.bat" && autoreconf --force --install
    -----------------
    **********************************************************************
    ** Visual Studio 2019 Developer Command Prompt v16.11.26
    ** Copyright (c) 2021 Microsoft Corporation
    **********************************************************************
    [vcvarsall.bat] Environment initialized for: 'x64'
    gengetopt/2.23: 
    'autoreconf' is not recognized as an internal or external command,
    operable program or batch file.
    gengetopt/2.23: 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
    gengetopt/2.23: 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
    gengetopt/2.23: ERROR: Package '01edd76db8e16db9b38c3cca44ec466a9444c388' build failed
    gengetopt/2.23: WARN: Build folder C:\J2\w\prod-v1\bsr\20992\eeffc\.conan\data\gengetopt\2.23\_\_\build\01edd76db8e16db9b38c3cca44ec466a9444c388\build-debug
    ERROR: gengetopt/2.23: Error in build() method, line 48
    	autotools.autoreconf()
    	ConanException: Error 1 while executing autoreconf --force --install
    

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 7 (ec91990e7db0b2e73598f272d5849cfcb3a7adfd):

  • gengetopt/2.23:
    CI failed to create some packages (All logs)

    Logs for packageID 723257509aee8a72faf021920c2874abc738e029:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=msvc
    compiler.cppstd=14
    compiler.runtime=dynamic
    compiler.runtime_type=Release
    compiler.version=192
    os=Windows
    
    [...]
    m4/1.4.19: Downloaded package revision 0b5e50355c3e4e4e9e3434f96167ed09
    autoconf/2.71: Retrieving package da39a3ee5e6b4b0d3255bfef95601890afd80709 from remote 'conan-center' 
    autoconf/2.71: Package installed da39a3ee5e6b4b0d3255bfef95601890afd80709
    autoconf/2.71: Downloaded package revision ecdedaa05db7f162580f145df740c73b
    automake/1.16.5: Retrieving package ebec3dc6d7f6b907b3ada0c3d3cdc83613a2b715 from remote 'conan-center' 
    automake/1.16.5: Package installed ebec3dc6d7f6b907b3ada0c3d3cdc83613a2b715
    automake/1.16.5: Downloaded package revision 07094da42a0b39fd4b34760c5f1f3e7d
    libtool/2.4.7: Retrieving package 41ad450120fdab2266b1185a967d298f7ae52595 from remote 'conan-center' 
    libtool/2.4.7: Package installed 41ad450120fdab2266b1185a967d298f7ae52595
    libtool/2.4.7: Downloaded package revision c9622c174a1acfffe91e19343aab3ab4
    winflexbison/2.5.25: Setting LEX environment variable: C:/J2/w/prod-v2/bsr@2/17057/bbacc/p/winfl69a0007dda2e6/p/bin/win_flex
    winflexbison/2.5.25: Setting YACC environment variable: C:/J2/w/prod-v2/bsr@2/17057/bbacc/p/winfl69a0007dda2e6/p/bin/win_bison -y
    m4/1.4.19: Appending PATH environment variable: C:\J2\w\prod-v2\bsr@2\17057\bbacc\p\m4e6e25ebcd2944\p\bin
    libtool/2.4.7: Appending PATH env: bin_pathC:\J2\w\prod-v2\bsr@2\17057\bbacc\p\libto6d8b4f77cc4da\p\bin
    libtool/2.4.7: 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.
    libtool/2.4.7: 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.
    gengetopt/2.23: Calling source() in C:\J2\w\prod-v2\bsr@2\17057\bbacc\p\genged8ed24bec5b23\s\src
    gengetopt/2.23: Sources for http://ftp.gnu.org/gnu/gengetopt/gengetopt-2.23.tar.xz found in remote backup https://c3i.jfrog.io/artifactory/conan-center-backup-sources/
    
    -------- Installing package gengetopt/2.23 (6 of 6) --------
    gengetopt/2.23: Building from source
    gengetopt/2.23: Package gengetopt/2.23:723257509aee8a72faf021920c2874abc738e029
    gengetopt/2.23: Copying sources to build folder
    gengetopt/2.23: Building your package in C:\J2\w\prod-v2\bsr@2\17057\bbacc\p\b\gengea3439a5d21ab6\b
    gengetopt/2.23: Writing generators to C:\J2\w\prod-v2\bsr@2\17057\bbacc\p\b\gengea3439a5d21ab6\b\build-release\conan
    gengetopt/2.23: Generator 'AutotoolsToolchain' calling 'generate()'
    gengetopt/2.23: Generator 'AutotoolsDeps' calling 'generate()'
    gengetopt/2.23: Generating aggregated env files
    gengetopt/2.23: Generated aggregated env files: ['conanbuild.bat', 'conanrun.bat']
    gengetopt/2.23: Calling build()
    gengetopt/2.23: Apply patch (conan): Prevent building of the tests and documentation
    gengetopt/2.23: RUN: autoreconf --force --install
    conanvcvars.bat: Activating environment Visual Studio 16 - amd64 - vcvars_ver=14.2
    [vcvarsall.bat] Environment initialized for: 'x64'
    'autoreconf' is not recognized as an internal or external command,
    operable program or batch file.
    
    gengetopt/2.23: ERROR: 
    Package '723257509aee8a72faf021920c2874abc738e029' build failed
    gengetopt/2.23: WARN: Build folder C:\J2\w\prod-v2\bsr@2\17057\bbacc\p\b\gengea3439a5d21ab6\b\build-release
    *********************************************************
    Recipe 'gengetopt/2.23' cannot build its binary
    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: gengetopt/2.23: Error in build() method, line 48
    	autotools.autoreconf()
    	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.

@CLAassistant
Copy link

CLAassistant commented Oct 9, 2023

CLA assistant check
All committers have signed the CLA.

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