Summary: | dev-libs/wayland-1.7.0[doc] does not build without sys-apps/grep[pcre] (configure uses grep -P) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marien Zwart (RETIRED) <marienz> |
Component: | [OLD] Development | Assignee: | Matt Turner <mattst88> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | x11 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Marien Zwart (RETIRED)
2015-02-22 04:03:48 UTC
(In reply to Marien Zwart from comment #0) > Wayland uses grep -P in a configure check for graphviz if asked to build > documentation: > > checking for compatible dot version... /bin/grep: support for the -P option > is not compiled into this --disable-perl-regexp binary > no > configure: error: Graphviz dot too old. Graphviz 2.26+ required for > documentation build. Install required graphviz version or disable the > documentation using --disable-documentation > > "dot -V" confirms I have graphviz 2.36. It builds with USE=-doc. It'd > presumably also build with grep[pcre]. > > Easy fix would be to add doc? ( sys-apps/grep[pcre] ) to the dependencies. > More involved fix would be to rewrite the problematic line in configure.ac > (dot_version=`$DOT -V 2>&1|$GREP -oP > '(?<=version\W)@<:@0-9.@:>@*(?=\W(.*))'`) to not require grep -P. Looks like a rather complicated regex to rewrite. I've opted to add grep[pcre] to depend (as well as some other missing dependencies). Thanks for the report! |