[Pkg-jed-commit] r124 - trunk/packages/jed/debian/patches
G. Milde
g.milde at web.de
Mon Nov 7 10:53:00 UTC 2005
On 4.11.05, Rafael Laboissiere wrote:
> * G. Milde <g.milde at web.de> [2005-11-04 15:05]:
>
> > Sure, however not before it is safe to do so.
> >
> > Trying to install my home-made packages, I got the following errors:
> >
> > [...]
>
> > find: invalid predicate `-delete'
> >
> >
> > This seems to come from the line
> >
> > remove)
> > find $LIBDIR \( -name \*.slc -o -name \*.dfa \) -delete
> >
> > in compile.
> >
> > My find is GNU find Version 4.1.20 and the manpage doesnot list a -delete
> > option.
>
> I build the package in an up-to-date sid chroot. I have here:
>
> $ find --version
> GNU find version 4.2.25
> Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION
> $ man find | grep -A4 -- -delete
> -delete
> Delete files; true if removal succeeded. If the removal failed,
> an error message is issued. Use of this action automatically
> turns on the '-depth' option.
>
> I think we can safely assume that the users of the new jed package will
> have the right GNU find installed in their system.
I do not think so. The problem is,
* the -delete option was added 2004-10-30 upstream and
* the current stable Sarge 3.1r0a, released 8.6.2005 (which I have
on DVD) ships with a findutils version without find -delete.
* not the build process (where we might assume advanced and
adventourous sid users) but the normal package install needs this new
version.
* actually, it is even worse, it is the preremove part of compile that
needs this version,
So actually I got trapped: upgrading from 99.16 to 99.17 (i.e.
testing to experimental) went smooth, now I am stuck!
On a Debian system, savely assuming the user has something is simply not
enough. Especially if it is above the current stable release.
We should either
* replace the line in compile with something using `rm *.scl *.dfa`
or
* add a dependency on findutils >= 4.2.9
(not just a build-dependency)
which would move us from assuming to ensuring and let aptitude update
the findutils before installing jed.
Guenter
--
G.Milde web.de
More information about the Pkg-jed-devel
mailing list