Hi Ludovic, [email protected] (Ludovic Courtès) writes:
> ‘make distcheck’ in Guix now fails like this (I think the failure > appeared when I upgraded to Gettext 0.19.2, though I’m not completely > sure): I've just tested it with 0.18.3.2 on Fedora 20 and got the same error. > mv: cannot move '/data/src/guix/guix-0.8/_build/po/guix/[email protected]' to > '[email protected]': Permission denied > creation of [email protected] failed: cannot move > /data/src/guix/guix-0.8/_build/po/guix/[email protected] to [email protected] > Makefile:496: recipe for target '[email protected]' failed The target is expanded from Rules-quot: if $(MSGINIT) ... > $$tmpdir/$$lang.new.po; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ ... The 'mv' part is called only when the newly generated [email protected] file has changed from the distributed one - this does not normally happen. However, I indeed see some differences between two files: line wrapping. According to the log, after 648453e8, Guix supplies --no-wrap to msgmerge, but the option is ignored when calling $(MSGINIT) and that is causing the difference. Probably gettext should provide MSGINIT_OPTIONS, but if the Guix release is imminent, there are a couple of workarounds I can think of: (1) revert the --no-wrap change or (2) add "DIST_DEPENDS_ON_UPDATE_PO = no" to Makevars. The latter prevents automatic update of *.po files at "make dist". Regards, -- Daiki Ueno
