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

FTBFS with ECM version >= 5.80.0. #38

Closed
karuboniru opened this issue Mar 13, 2021 · 0 comments · Fixed by NixOS/nixpkgs#120753
Closed

FTBFS with ECM version >= 5.80.0. #38

karuboniru opened this issue Mar 13, 2021 · 0 comments · Fixed by NixOS/nixpkgs#120753

Comments

@karuboniru
Copy link
Contributor

Error message

../src/lib/configlib/iso639.cpp: In constructor 'fcitx::kcm::Iso639::Iso639()':
../src/lib/configlib/iso639.cpp:55:41: error: 'ISOCODES_ISO639_2_JSON' was not declared in this scope
   55 |     iso639_2data_ = readAlpha3ToNameMap(ISOCODES_ISO639_2_JSON, "639-2");
      |                                         ^~~~~~~~~~~~~~~~~~~~~~
../src/lib/configlib/iso639.cpp:56:41: error: 'ISOCODES_ISO639_3_JSON' was not declared in this scope
   56 |     iso639_3data_ = readAlpha3ToNameMap(ISOCODES_ISO639_3_JSON, "639-3");
      |                                         ^~~~~~~~~~~~~~~~~~~~~~
../src/lib/configlib/iso639.cpp:57:41: error: 'ISOCODES_ISO639_5_JSON' was not declared in this scope
   57 |     iso639_5data_ = readAlpha3ToNameMap(ISOCODES_ISO639_5_JSON, "639-5");
      |                                         ^~~~~~~~~~~~~~~~~~~~~~

with a config.h with those lines:

/* #undef ISOCODES_ISO639_2_JSON */
/* #undef ISOCODES_ISO639_3_JSON */
/* #undef ISOCODES_ISO639_5_JSON */

This should be due to ECM version >= 5.80.0 ships /usr/share/ECM/find-modules/FindIsoCodes.cmake that overrides your cmake/FindIsoCodes.cmake.

karuboniru added a commit to karuboniru/fcitx5-configtool that referenced this issue Mar 13, 2021
karuboniru added a commit to karuboniru/fcitx5-configtool that referenced this issue Mar 13, 2021
karuboniru added a commit to karuboniru/fcitx5-configtool that referenced this issue Mar 13, 2021
@karuboniru karuboniru mentioned this issue Mar 13, 2021
@wengxt wengxt closed this as completed in defc800 Mar 15, 2021
liangyongxiang pushed a commit to microcai/gentoo-zh that referenced this issue Mar 16, 2021
m-bdf added a commit to m-bdf/nixpkgs that referenced this issue Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant