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

new build tool: GNU Gengen #20348

Closed
wants to merge 7 commits into from
Closed

Conversation

weatherhead99
Copy link
Contributor

@weatherhead99 weatherhead99 commented Oct 4, 2023

Specify library name and version: gengen/1.4.2

This is a generator generator tool that is not particularly popular and hasn't been updated in a while, but a few other GNU tools depend on it (notably, for example GNU gengetopt, which I would also like to package), and many libraries and tools depend on that.

I am not the author nor affiliated with the authors in any way.

@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 6 (f8e8961b74fdd0b548a10ece0a4230ea20ff6cb0):

  • gengen/1.4.2:
    CI failed to create some packages (All logs)

    Logs for packageID 24647d9fe8ec489125dfbae4b3ebefaf7581674c:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    
    [...]
    mv -f .deps/cmdline.Tpo .deps/cmdline.Po
    /usr/bin/gcc -DHAVE_CONFIG_H -I. -I/home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/src/src -I.. -I/home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/src/src/skels -I/home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/src/lib -I../lib -DNDEBUG  -m64 -O3 -MT yywrap.o -MD -MP -MF .deps/yywrap.Tpo -c -o yywrap.o /home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/src/src/yywrap.c
    mv -f .deps/yywrap.Tpo .deps/yywrap.Po
    mv -f .deps/expressiongenerator_cpp.Tpo .deps/expressiongenerator_cpp.Po
    rm -f libgengen.a
    ar cru libgengen.a parser.o scanner.o yyerror.o skelitemstruct.o skelstruct.o skelstruct_dbtab.o normaltext.o varitem.o skelfactory_cpp.o skelstruct_cpp.o fileutil.o skelstruct_c.o skelfactory_c.o skelstruct_strcnt.o skelstruct_cstring.o gengen_cmdline_options.o ifstruct.o expression.o skelitems_dbtab.o skelitems.o stringutil.o skelstruct_c_common.o errormanager.o skelfactory.o expressionwithop.o unaryexpression.o binaryexpression.o expressionvisitor.o expressionvisitor_dbtab.o expressiongenerator_c.o expressionchecker.o expressiongenerator_cpp.o typeenv.o utils.o 
    ranlib libgengen.a
    mv -f .deps/gengen.Tpo .deps/gengen.Po
    /usr/bin/g++  -m64 -O3  -m64 -o gengen cmdline.o gengen.o ../lib/libgnu.a  yywrap.o  libgengen.a 
    make[4]: Leaving directory '/home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/build-release/src'
    make[3]: Leaving directory '/home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/build-release/src'
    make[2]: Leaving directory '/home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/build-release/src'
    Making all in doc
    make[2]: Entering directory '/home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/build-release/doc'
    make  all-am
    make[3]: Entering directory '/home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/build-release/doc'
    make[3]: Leaving directory '/home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/build-release/doc'
    make[2]: Leaving directory '/home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/build-release/doc'
    Making all in tests
    make[2]: Entering directory '/home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/build-release/tests'
    ../src/gengen --no-gen-version 2>> verbose.out -i /home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/src/tests/test_vars.cc_skel --file-name test_vars.h --gen-name test_vars 
    /usr/bin/g++ -DHAVE_CONFIG_H  -m64 -O3  -m64 -I../tests/ -I/home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/src/src/ -I../ -o test_vars /home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/src/tests/test_vars.cc
    ../src/gengen --no-gen-version 2>> verbose.out -i /home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/src/tests/test_cicle.cc_skel --file-name test_cicle.h --gen-name test_cicle 
    Makefile:998: recipe for target 'test_vars' failed
    make[2]: Leaving directory '/home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/build-release/tests'
    Makefile:654: recipe for target 'all-recursive' failed
    make[1]: Leaving directory '/home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/build-release'
    Makefile:574: recipe for target 'all' failed
    gengen/1.4.2: 
    configure.ac:19: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
    configure.ac:19: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
    configure.ac:28: installing 'build-aux/compile'
    doc/Makefile.am:15: warning: suffix '.texinfo' for Texinfo files is discouraged; use '.texi' instead
    src/Makefile.am:72: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
    parallel-tests: installing 'build-aux/test-driver'
    ar: `u' modifier ignored since `D' is the default (see `U')
    ar: `u' modifier ignored since `D' is the default (see `U')
    /home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/src/tests/test_vars.cc:1:23: fatal error: test_vars.h: No such file or directory
    compilation terminated.
    make[2]: *** [test_vars] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2
    gengen/1.4.2: 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
    gengen/1.4.2: 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
    gengen/1.4.2: ERROR: Package '24647d9fe8ec489125dfbae4b3ebefaf7581674c' build failed
    gengen/1.4.2: WARN: Build folder /home/conan/w/prod-v1/bsr/20783/dbfcf/.conan/data/gengen/1.4.2/_/_/build/24647d9fe8ec489125dfbae4b3ebefaf7581674c/build-release
    ERROR: gengen/1.4.2: Error in build() method, line 38
    	autotools.make()
    	ConanException: Error 2 while executing make -j3
    

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 6 (f8e8961b74fdd0b548a10ece0a4230ea20ff6cb0):

  • gengen/1.4.2:
    CI failed to create some packages (All logs)

    Logs for packageID 3593751651824fb813502c69c971267624ced41a:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    
    [...]
    mv -f .deps/cmdline.Tpo .deps/cmdline.Po
    gcc -DHAVE_CONFIG_H -I. -I/home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/src/src -I.. -I/home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/src/src/skels -I/home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/src/lib -I../lib -DNDEBUG  -m64 -O3 -MT yywrap.o -MD -MP -MF .deps/yywrap.Tpo -c -o yywrap.o /home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/src/src/yywrap.c
    mv -f .deps/yywrap.Tpo .deps/yywrap.Po
    mv -f .deps/utils.Tpo .deps/utils.Po
    rm -f libgengen.a
    ar cru libgengen.a parser.o scanner.o yyerror.o skelitemstruct.o skelstruct.o skelstruct_dbtab.o normaltext.o varitem.o skelfactory_cpp.o skelstruct_cpp.o fileutil.o skelstruct_c.o skelfactory_c.o skelstruct_strcnt.o skelstruct_cstring.o gengen_cmdline_options.o ifstruct.o expression.o skelitems_dbtab.o skelitems.o stringutil.o skelstruct_c_common.o errormanager.o skelfactory.o expressionwithop.o unaryexpression.o binaryexpression.o expressionvisitor.o expressionvisitor_dbtab.o expressiongenerator_c.o expressionchecker.o expressiongenerator_cpp.o typeenv.o utils.o 
    ranlib libgengen.a
    mv -f .deps/gengen.Tpo .deps/gengen.Po
    g++  -std=c++17 -m64 -O3  -m64 -o gengen cmdline.o gengen.o ../lib/libgnu.a  yywrap.o  libgengen.a 
    make[4]: Leaving directory '/home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/build-release/src'
    make[3]: Leaving directory '/home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/build-release/src'
    make[2]: Leaving directory '/home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/build-release/src'
    Making all in doc
    make[2]: Entering directory '/home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/build-release/doc'
    make  all-am
    make[3]: Entering directory '/home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/build-release/doc'
    make[3]: Leaving directory '/home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/build-release/doc'
    make[2]: Leaving directory '/home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/build-release/doc'
    Making all in tests
    make[2]: Entering directory '/home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/build-release/tests'
    ../src/gengen --no-gen-version 2>> verbose.out -i /home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/src/tests/test_vars.cc_skel --file-name test_vars.h --gen-name test_vars 
    g++ -DHAVE_CONFIG_H  -std=c++17 -m64 -O3  -m64 -I../tests/ -I/home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/src/src/ -I../ -o test_vars /home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/src/tests/test_vars.cc
    ../src/gengen --no-gen-version 2>> verbose.out -i /home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/src/tests/test_cicle.cc_skel --file-name test_cicle.h --gen-name test_cicle 
    /home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/src/tests/test_vars.cc:1:10: fatal error: test_vars.h: No such file or directory
        1 | #include "test_vars.h"
          |          ^~~~~~~~~~~~~
    compilation terminated.
    Makefile:998: recipe for target 'test_vars' failed
    make[2]: *** [test_vars] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[2]: Leaving directory '/home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/build-release/tests'
    Makefile:654: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/build-release'
    Makefile:574: recipe for target 'all' failed
    make: *** [all] Error 2
    
    gengen/1.4.2: ERROR: 
    Package '3593751651824fb813502c69c971267624ced41a' build failed
    gengen/1.4.2: WARN: Build folder /home/conan/w/prod-v2/bsr/16896/bffde/p/b/gengede01b381301b9/b/build-release
    *********************************************************
    Recipe 'gengen/1.4.2' 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: gengen/1.4.2: Error in build() method, line 38
    	autotools.make()
    	ConanException: Error 2 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.

Copy link
Contributor

github-actions bot commented Oct 8, 2024

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.

@github-actions github-actions bot added the stale label Oct 8, 2024
Copy link
Contributor

github-actions bot commented Nov 8, 2024

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

@github-actions github-actions bot closed this Nov 8, 2024
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.

3 participants