Re: RC bug for >10 packages
El vie, 24-10-2008 a las 00:06 +0200, Adeodato Simó escribió:
> * Francis Tyers [Thu, 23 Oct 2008 22:47:20 +0200]:
> > Hi,
> Hello, Francis.
> > The bug is that the language packages require a specific version of
> > libpcre to function.
> Could you explain a bit the technical background for this? Do the data
> files in the language packages embed any data that is pcre-related, and
> that makes that later on apertium can't open them if it uses an
> incompatible version of pcre?
Yep, this is the case, it includes pre-compiled regular expressions and
these appear to be incompatible between versions of pcre.
> > then set a Depend in the language packages to that
> > particular version of apertium, then recompile and upload the packages.
> The option that sounds more realistic, at least for now, is having the
> language packages Depend: libpcre3 (<< next_upstream_version), or
> something along the lines.
We've come up with a better solution, which is to add dependencies to
the apertium package, and then make the apertium package depend on a
particular version of pcre3. It's safer this way, as I can't find out
anything about compatibility of precompiled regular expressions in pcre
between versions, so better to assume they aren't.