-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
Internationalization
The new version of librime doesn't compile with the current template due to changes in the code of the project.
* Package: app-i18n/librime-1.8.4 * Repository: dev-kit * USE: amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking librime-1.8.4-a94739f.tar.gz to /var/tmp/portage/app-i18n/librime-1.8.4/work >>> Source unpacked in /var/tmp/portage/app-i18n/librime-1.8.4/work >>> Preparing source in /var/tmp/portage/app-i18n/librime-1.8.4/work/librime-1.8.4 ... * Applying librime-1.6.0-boost-1.76.patch ... patching file src/rime/gear/script_translator.cc Hunk #1 FAILED at 8. 1 out of 1 hunk FAILED -- saving rejects to file src/rime/gear/script_translator.cc.rej patching file src/rime/gear/table_translator.cc Hunk #1 FAILED at 6. 1 out of 1 hunk FAILED -- saving rejects to file src/rime/gear/table_translator.cc.rej [ !! ] * ERROR: app-i18n/librime-1.8.4::dev-kit failed (prepare phase): * patch -p1 failed with /var/tmp/portage/app-i18n/librime-1.8.4/files/librime-1.6.0-boost-1.76.patch * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 1996: Called eapply '/var/tmp/portage/app-i18n/librime-1.8.4/files/librime-1.6.0-boost-1.76.patch' * environment, line 999: Called _eapply_patch '/var/tmp/portage/app-i18n/librime-1.8.4/files/librime-1.6.0-boost-1.76.patch' * environment, line 937: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/app-i18n/librime-1.8.4/files/librime-1.6.0-boost-1.76.patch' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=app-i18n/librime-1.8.4::dev-kit'`, * the complete build log and the output of `emerge -pqv '=app-i18n/librime-1.8.4::dev-kit'`. * The complete build log is located at '/var/tmp/portage/app-i18n/librime-1.8.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-i18n/librime-1.8.4/temp/environment'. * Working directory: '/var/tmp/portage/app-i18n/librime-1.8.4/work/librime-1.8.4' * S: '/var/tmp/portage/app-i18n/librime-1.8.4/work/librime-1.8.4'
It looks like the issue is in the src_unpack function and from what I see, the function is now unnecessary so I removed it and it compiled successfully
I have the changes ready for inclusion