Description of problem: `find -printf' is used in ManageTranslation.cmake, but the -printf argument is not supported by POSIX standard. This causes .mo files to be missing when installing ibus-chewing on FreeBSD. Version-Release number of selected component (if applicable): both the master branch and 2.3.4 release. How reproducible: Always reproducible on FreeBSD. Steps to Reproduce: 1. Type `cmake' to configure ibus-chewing 2. Compile and install ibus-chewing Actual results: [Info1] XGETTEXT_EXECUTABLE=/usr/local/bin/xgettext [Info1] MSGMERGE_EXECUTABLE=/usr/local/bin/msgmerge [Info1] MSGFMT_EXECUTABLE=/usr/local/bin/msgfmt [Info1] MSGINIT_EXECUTABLE=/usr/local/bin/msginit find: -printf: unknown primary or operator [Error] MANAGE_GETTEXT: Failed to detect locales. Please either specify LOCALES or SYSTEM_LOCALES. All ibus-chewing .mo files are missing. Expected results: .mo files should be properly installed for ibus-chewing. Additional info:
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23
https://git.fedorahosted.org/cgit/cmake-fedora.git/commit/?id=6885dfdd283093ad61b6e84c2f127f93df529491
The commit itself is good, but there is a problem preventing ibus-chewing from being successfully configured. SRCS is passed in MANAGE_GETTEXT_LOCALES, which causes WORKING_DIRECTORY value to be wrong because it is not a valid option. In order to test the commit, I have to manually edit ManageTranslation.cmake: diff --git a/Modules/ManageTranslation.cmake b/Modules/ManageTranslation.cmake index e55ecb5..61e47e0 100644 --- a/Modules/ManageTranslation.cmake +++ b/Modules/ManageTranslation.cmake @@ -376,7 +376,7 @@ FUNCTION(MANAGE_POT_FILE potFile) ENDIF() ENDFUNCTION(MANAGE_POT_FILE) -SET(MANAGE_GETTEXT_LOCALES_VALID_OPTIONS "WORKING_DIRECTORY" "LOCALES" "SYSTEM_LOCALES" "DETECT_PO_DIR") +SET(MANAGE_GETTEXT_LOCALES_VALID_OPTIONS "WORKING_DIRECTORY" "LOCALES" "SYSTEM_LOCALES" "DETECT_PO_DIR" "SRCS") FUNCTION(MANAGE_GETTEXT_LOCALES localeListVar) VARIABLE_PARSE_ARGN(_o MANAGE_GETTEXT_LOCALES_VALID_OPTIONS ${ARGN}) SET(detectedPoDir "NOTFOUND")
cmake-fedora-2.4.3-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-caa33b534a
cmake-fedora-2.4.3-1.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-dc6a01163a
cmake-fedora-2.4.3-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-4ddc46b06c
cmake-fedora-2.4.3-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-fd6648d251
cmake-fedora-2.4.3-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update cmake-fedora' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-fd6648d251
cmake-fedora-2.4.3-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update cmake-fedora' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-94cb850426
cmake-fedora-2.4.3-1.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update cmake-fedora' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-dc6a01163a
cmake-fedora-2.4.3-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'yum --enablerepo=epel-testing update cmake-fedora' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-4ddc46b06c
cmake-fedora-2.4.3-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'yum --enablerepo=epel-testing update cmake-fedora' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-caa33b534a
cmake-fedora-2.4.3-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
cmake-fedora-2.4.3-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
cmake-fedora-2.4.3-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
cmake-fedora-2.4.4-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-66c909b9dc
cmake-fedora-2.4.4-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-4b1739bfdf
cmake-fedora-2.4.4-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'yum --enablerepo=epel-testing update cmake-fedora' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-4b1739bfdf
cmake-fedora-2.4.4-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'yum --enablerepo=epel-testing update cmake-fedora' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-66c909b9dc
cmake-fedora-2.4.4-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
cmake-fedora-2.4.4-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.