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

[gettext] Unify libgettext and gettext packages #21351

Draft
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

uilianries
Copy link
Member

@uilianries uilianries commented Nov 24, 2023

Specify library name and version: gettext/0.22.4

This PR is focused on unifying both libgettext package and gettext package to a single, where both libraries and executables will be available. This first round will include everything at once, so options to generate or not a component will be left to the future.

Related to #1424 https://github.com/conan-io/conan-center-index/pull/21137/files#diff-471daaafe56f12730848ec964c04a3badcf52a304703057c2ef62b443ef628d1R92

closes #1304

TODO


Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries uilianries self-assigned this Nov 24, 2023
@uilianries uilianries changed the title [gettext] [gettext] Unify libgettext and gettext packages Nov 24, 2023
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot

This comment has been minimized.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries
Copy link
Member Author

Closing to avoid new builds, I'll continue the development anyway.

@uilianries uilianries closed this Dec 29, 2023
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries
Copy link
Member Author

Working on linux

@uilianries uilianries reopened this Dec 29, 2023
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@uilianries
Copy link
Member Author

Working on local Mac M1.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@ghost ghost mentioned this pull request Jan 15, 2024
3 tasks
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot

This comment has been minimized.

This was referenced Mar 8, 2024
@ghost ghost mentioned this pull request Apr 29, 2024
@conan-center-bot

This comment has been minimized.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot

This comment has been minimized.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot

This comment has been minimized.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 4 (ba30065618d7ac85040bc6655641a9af1a0db0ea):

  • gettext/0.22.5:
    CI failed to create some packages (All logs)

    Logs for packageID e0c22822cdf05b624135e1696ae5cb784a23aeb3:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=Visual Studio
    compiler.runtime=MDd
    compiler.version=16
    os=Windows
    [options]
    gettext:shared=False
    
    [...]
    libtool: compile:  /c/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/automake/1.16.5/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/res/automake-1.16/compile cl -nologo -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I/c/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/src/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -I/c/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/libiconv/1.17/_/_/package/d057732059ea44a47760900cb5e4855d2bea8714/include -MDd -Zi -Ob0 -Od -c /c/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/src/gettext-runtime/intl/gnulib-lib/localename-unsafe.c -o libgnu_la-localename-unsafe.obj
    hard-locale.c
    localename-table.c
    C:/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/src/gettext-runtime/intl/gnulib-lib/localename-table.c: fatal error C1041: cannot open program database 'C:\J\workspace\prod-v1\bsr@2\40931\dacea\.conan\data\gettext\0.22.5\_\_\build\e0c22822cdf05b624135e1696ae5cb784a23aeb3\build-debug\libintl_build\intl\gnulib-lib\vc140.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
    localcharset.c
    localename.c
    libtool: compile:  /c/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/automake/1.16.5/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/res/automake-1.16/compile cl -nologo -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I/c/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/src/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -I/c/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/libiconv/1.17/_/_/package/d057732059ea44a47760900cb5e4855d2bea8714/include -MDd -Zi -Ob0 -Od -c /c/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/src/gettext-runtime/intl/gnulib-lib/math.c -o libgnu_la-math.obj
    C:/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/src/gettext-runtime/intl/gnulib-lib/localename.c: fatal error C1041: cannot open program database 'C:\J\workspace\prod-v1\bsr@2\40931\dacea\.conan\data\gettext\0.22.5\_\_\build\e0c22822cdf05b624135e1696ae5cb784a23aeb3\build-debug\libintl_build\intl\gnulib-lib\vc140.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
    libtool: compile:  /c/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/automake/1.16.5/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/res/automake-1.16/compile cl -nologo -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I/c/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/src/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -I/c/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/libiconv/1.17/_/_/package/d057732059ea44a47760900cb5e4855d2bea8714/include -MDd -Zi -Ob0 -Od -c /c/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/src/gettext-runtime/intl/gnulib-lib/mbrtowc.c -o libgnu_la-mbrtowc.obj
    localename-unsafe.c
    C:/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/src/gettext-runtime/intl/gnulib-lib/localename-unsafe.c: fatal error C1041: cannot open program database 'C:\J\workspace\prod-v1\bsr@2\40931\dacea\.conan\data\gettext\0.22.5\_\_\build\e0c22822cdf05b624135e1696ae5cb784a23aeb3\build-debug\libintl_build\intl\gnulib-lib\vc140.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
    C:\j\workspace\prod-v1\bsr@2\40931\dacea\.conan\data\gettext\0.22.5\_\_\build\e0c22822cdf05b624135e1696ae5cb784a23aeb3\src\gettext-runtime\intl\gnulib-lib\free.c : fatal error C1090: PDB API call failed, error code '3': C:\J\workspace\prod-v1\bsr@2\40931\dacea\.conan\data\gettext\0.22.5\_\_\build\e0c22822cdf05b624135e1696ae5cb784a23aeb3\build-debug\libintl_build\intl\gnulib-lib\vc140.pdb
    C:\j\workspace\prod-v1\bsr@2\40931\dacea\.conan\data\gettext\0.22.5\_\_\build\e0c22822cdf05b624135e1696ae5cb784a23aeb3\src\gettext-runtime\intl\gnulib-lib\hard-locale.c : fatal error C1090: PDB API call failed, error code '3': C:\J\workspace\prod-v1\bsr@2\40931\dacea\.conan\data\gettext\0.22.5\_\_\build\e0c22822cdf05b624135e1696ae5cb784a23aeb3\build-debug\libintl_build\intl\gnulib-lib\vc140.pdb
    math.c
    C:/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/src/gettext-runtime/intl/gnulib-lib/math.c: fatal error C1041: cannot open program database 'C:\J\workspace\prod-v1\bsr@2\40931\dacea\.conan\data\gettext\0.22.5\_\_\build\e0c22822cdf05b624135e1696ae5cb784a23aeb3\build-debug\libintl_build\intl\gnulib-lib\vc140.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
    mbrtowc.c
    C:/j/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/src/gettext-runtime/intl/gnulib-lib/mbrtowc.c: fatal error C1041: cannot open program database 'C:\J\workspace\prod-v1\bsr@2\40931\dacea\.conan\data\gettext\0.22.5\_\_\build\e0c22822cdf05b624135e1696ae5cb784a23aeb3\build-debug\libintl_build\intl\gnulib-lib\vc140.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
    make[6]: Leaving directory '/c/J/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/build-debug/libintl_build/intl/gnulib-lib'
    make[5]: Leaving directory '/c/J/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/build-debug/libintl_build/intl/gnulib-lib'
    make[4]: Leaving directory '/c/J/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/build-debug/libintl_build/intl/gnulib-lib'
    make[3]: Leaving directory '/c/J/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/build-debug/libintl_build/intl'
    make[2]: Leaving directory '/c/J/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/build-debug/libintl_build/intl'
    make[1]: Leaving directory '/c/J/workspace/prod-v1/bsr@2/40931/dacea/.conan/data/gettext/0.22.5/_/_/build/e0c22822cdf05b624135e1696ae5cb784a23aeb3/build-debug/libintl_build'
    gettext/0.22.5: 
    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
    make[6]: *** [Makefile:2047: libgnu_la-hard-locale.lo] Error 1
    make[6]: *** Waiting for unfinished jobs....
    make[6]: *** [Makefile:2040: libgnu_la-free.lo] Error 1
    make[6]: *** [Makefile:2068: libgnu_la-localename-unsafe.lo] Error 1
    make[6]: *** [Makefile:2061: libgnu_la-localename.lo] Error 1
    make[6]: *** [Makefile:2075: libgnu_la-localename-table.lo] Error 1
    make[6]: *** [Makefile:2089: libgnu_la-math.lo] Error 1
    make[6]: *** [Makefile:2096: libgnu_la-mbrtowc.lo] Error 1
    make[5]: *** [Makefile:2385: all-recursive] Error 1
    make[4]: *** [Makefile:1871: all] Error 2
    make[3]: *** [Makefile:2027: all-recursive] Error 1
    make[2]: *** [Makefile:1902: all] Error 2
    make[1]: *** [Makefile:1852: all-recursive] Error 1
    make: *** [Makefile:1757: all] Error 2
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    gettext/0.22.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
    gettext/0.22.5: ERROR: Package 'e0c22822cdf05b624135e1696ae5cb784a23aeb3' build failed
    gettext/0.22.5: WARN: Build folder C:\J\workspace\prod-v1\bsr@2\40931\dacea\.conan\data\gettext\0.22.5\_\_\build\e0c22822cdf05b624135e1696ae5cb784a23aeb3\build-debug\libintl_build
    ERROR: gettext/0.22.5: Error in build() method, line 237
    	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 4 (ba30065618d7ac85040bc6655641a9af1a0db0ea):

  • gettext/0.22.5:
    An unexpected error happened and has been reported

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.

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.

[question] Is 'gettext' the same recipe as 'libgettext'?
2 participants