[Pkg-zsh-devel] Bug#909114: Bug#909114: Bug#909114: Bug#909114: Check for missing pcre module

Axel Beckert abe at debian.org
Tue Sep 18 23:48:42 BST 2018


Hi Daniel,

Daniel Shahaf wrote:
> I came up with this, but when I applied it to 5.6.2-2 the build didn't fail as
> I expected it to.  Does anyone see the problem?
> 
> [[[
> diff --git a/Test/V07pcre.ztst b/Test/V07pcre.ztst
> index 9feeb47fb..ab67f3d80 100644
> --- a/Test/V07pcre.ztst
> +++ b/Test/V07pcre.ztst
> @@ -1,11 +1,10 @@
>  %prep
>  
> -  if ! zmodload -F zsh/pcre C:pcre-match 2>/dev/null
> +  if grep '^name=zsh/pcre .* link=no ' $ZTST_testdir/../config.modules >/dev/null
                                                       ^^^^

Maybe because we build out of tree:

~/zsh/zsh → find . -name config.modules
./obj-static/config.modules
./obj/config.modules

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Pkg-zsh-devel mailing list