Ville Skyttä <scop(a)xemacs.org> さんは書きました:
On Sun, 2003-02-09 at 02:37, Steve Youngs wrote:
> SJT> Whoever played with the mule-ucs package recently arranged for
> SJT> one ChangeLog to overwrite another, and cp complains:
>
> I'm sure that whoever did it didn't want this outcome. It's just a
> pity that mule-ucs/ChangeLog doesn't mention anything about it. Oh
> well, the guilty party is probably feeling suitably guilty right
> now.:-)
Well, looks like I've been committing patches there recently, but on
behalf of others, and I don't see why any of those changes would have
caused this. Maybe it's related to other recent changes in packages
build system.
I think 'cp' from recent fileutils changed behaviour which is causing
this. I had to fix something like this in the SuSE rpm for XEmacs last
year (I think I reported it to xemacs-beta back then). From
the Changelog of the SuSE XEmacs rpm:
-------------------------------------------------------------------
Mon Aug 19 21:35:05 CEST 2002 - mfabian(a)suse.de
- quick and dirty fix to make it build again.
The Makefile in the 'locale' package lists 3 .elc files with
the same name in different subdirectories. 'make install'
tries to copy them all into the same destination directory:
cp -af {ja,ro,fr}/locale-start.elc \
/usr/share/xemacs/mule-packages/lisp/locale/
The 'cp' from latest fileutils cowardly refuses to overwrite
the Japanese and Romanian versions of locale-start.elc with
the French version, as it did until now.
But the files in /usr/share/xemacs/mule-packages/lisp/locale/
are apparently never read anyway, only the files from
/usr/share/xemacs/mule-packages/etc/start-files/{ja,ro,fr}/
are read. Therefore I fixed this temporarily by not building
any locale-start.elc files which prevents installing anything
into /usr/share/xemacs/mule-packages/lisp/locale/.
- use the correct encoding for the output of
'LC_ALL=ja_JP.eucJP xemacs --help',
'LC_ALL=ja_JP.UTF-8 xemacs --help', and
'LC_ALL=ja_JP.SJIS xemacs --help'.
- similar problem with 'cp' fixed in mule-ucs package
-------------------------------------------------------------------
The "similar problem with 'cp' fixed in mule-ucs package refers to the
above mentioned problem with the two files both named "ChangeLog". I
renamed one of them to ChangeLog.lisp.
I.e. this problem was always there, but it was never noticed because
"cp" used to silently overwrite files with identical names.
--
Mike Fabian <mfabian(a)suse.de>
http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。