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

emacs23 FTBFS (was: emacs23 uploaded to unstable)



On 2009-08-03 15:13 +0200, Sven Joachim wrote:

> On 2009-08-02 10:16 +0200, Sven Joachim wrote:
>
>> On 2009-08-02 09:58 +0200, Florian Weimer wrote:
>>
>>> 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
> `----

Heads-up: with dpkg 1.15.4 (compiled locally, as it's not available for
i386 yet), this even happens under debuild.  Will test in pbuilder and
file a bug as soon as dpkg 1.15.4 hits the mirrors on i386.

> 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: