[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: emacs23 uploaded to unstable



On 2009-08-02 10:16 +0200, Sven Joachim wrote:

> On 2009-08-02 09:58 +0200, Florian Weimer wrote:
>
>> * Rob Browning:
>>
>>> I've uploaded the first emacs23 packages (23.1+1-1) to unstable.  Please
>>> file bugs as appropriate.
>>
>> Has anybody else experienced the FTBFS related to the removal of
>> dir.old?
>
> Not me (building in pbuilder).

Well, on closer inspection I can reproduce it.  It is due to the
install-info transition and depends on whether the dpkg version of
install-info or the one from the new install-info package is found,
i.e. on the value of PATH.

With /usr/sbin before /usr/bin in $PATH (as in debuild or on the
buildds) everything is fine, but running
"debian/rules build && fakeroot debian/rules binary" as a normal user
without /usr/sbin in $PATH fails:

,----
| rm /usr/local/src/deb-src/emacs23/emacs23-23.1+1/debian/emacs23-common/usr/share/info/emacs-23/dir
| rm /usr/local/src/deb-src/emacs23/emacs23-23.1+1/debian/emacs23-common/usr/share/info/emacs-23/dir.old
| rm: cannot remove `/usr/local/src/deb-src/emacs23/emacs23-23.1+1/debian/emacs23-common/usr/share/info/emacs-23/dir.old': No such file or directory
| make: *** [install] Error 1
`----

ISTM the fix for the problem is to go through debian/rules and replace
all "rm $SOMETHING" calls with "rm -f $SOMETHING".

Sven


Reply to: