Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582588 - app-i18n/fcitx-4.2.9.1: src/module/spell/dict/CMakeFiles/spell-en-download.dir/build.make:57: recipe for target 'src/module/spell/dict/CMakeFiles/spell-en-download' failed
Summary: app-i18n/fcitx-4.2.9.1: src/module/spell/dict/CMakeFiles/spell-en-download.di...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-09 16:32 UTC by S. Gilles
Modified: 2018-06-13 06:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,340.83 KB, text/x-log)
2016-05-09 16:32 UTC, S. Gilles
Details
output of `emerge --info` (einfo,15.90 KB, text/plain)
2016-05-09 16:35 UTC, S. Gilles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Gilles 2016-05-09 16:32:13 UTC
app-i18n/fcitx fails to install, and the build log indicates spell-en-download is the failing target.

Reproducible: Always

Steps to Reproduce:
# MAKEOPTS="-j1" USE="-autostart -introspection -xml -enchant" emerge -pvq fcitx
[ebuild  N    ] app-i18n/fcitx-4.2.9.1  USE="X cairo nls pango table -autostart -dbus -debug -enchant -gtk2 -gtk3 -introspection -lua -opencc -qt4 -static-libs {-test} -xml"
# MAKEOPTS="-j1" USE="-autostart -introspection -xml -enchant" emerge fcitx --ask n
Actual Results:  
Compile phase fails on target spell-en-download.

Expected Results:  
fcitx should install

Please see attached build.log and output of emerge --info.
Comment 1 S. Gilles 2016-05-09 16:32:52 UTC
Created attachment 433778 [details]
build.log
Comment 2 S. Gilles 2016-05-09 16:35:30 UTC
Created attachment 433780 [details]
output of `emerge --info`
Comment 3 Arfrever Frehtes Taifersar Arahesis 2018-06-13 06:48:30 UTC
Build system defines fcitx_download function (in cmake/FcitxMacro.cmake) which uses fcitx-cmake-helper.sh (cmake/fcitx-cmake-helper.sh).
This function downloads a file if it is absent, and optionally verifies MD5 checksum of a file.
Reading of MD5 checksum is performed by 'cmake -E md5sum ${file}' command.

This function is used for 5 files in this package (src/module/spell/dict/en_dict-20121020.tar.gz amongst them) (and e.g. 1 file in fcitx-libpinyin).

fcitx-*_dict.tar.xz tarballs already contain these files, so normally no additional downloading occurs. (These files are absent in git repository, so live ebuild places them in SRC_URI to ensure that no additional downloading occurs during src_compile() phase.)

According to build log from S. Gilles, downloading occurred with successful result (while it should not have occurred at all), but target in Makefile still failed.
The only possible explanation is that verification of MD5 checksum failed, which was due to a bug in /usr/bin/cmake or a library used by /usr/bin/cmake.