Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491214 - app-emulation/ganeti-2.7.2 USE="htools haskell-daemons" - configure fails to find dev-haskell/regex-pcre-builtin
Summary: app-emulation/ganeti-2.7.2 USE="htools haskell-daemons" - configure fails to ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-11-14 01:54 UTC by Matthias Hauber
Modified: 2014-08-11 15:25 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for fixing configure script (ganeti-2.7-fix-regex-pcre-builtin.patch,1.19 KB, patch)
2013-11-14 01:59 UTC, Matthias Hauber
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Hauber 2013-11-14 01:54:29 UTC
After enabling the htools and haskell-daemons useflag in ganeti-2.7.2 the build will fail because theres no haskel module regex-pcre registered in haskell.

Your repositories contains a regex-pcre-builtin ebuild which is a dependency of ganeti-2.7.2.

Unfortunately the ganeti configure script will test if regex-pcre is installed but theres only regex-pcre-builtin.

Don't know if this is a good way to fix the problem but it works.
You can find a path in my overlay repository:

http://git.nitso.org/falkland.git/tree/app-emulation/ganeti/files/ganeti-2.7-fix-regex-pcre-builtin.patch

I'll hope will help

Regards Matze

Reproducible: Always

Steps to Reproduce:
1. ACCEPT_KEYWORDS: app-emulation/ganeti-2.7.2 ~amd64
2. USE: htools haskell-daemons
3. emerge -av =ganeti-2.7.2
Actual Results:  
sorry but i didn't saved the log files before fixing my problem.

./configure told me that regex-pcre isnt registered/installed

Expected Results:  
regex-pcre-builtin should be registered with name regex-pcre or ganeti configure script should check for both.
Comment 1 Matthias Hauber 2013-11-14 01:59:09 UTC
Created attachment 363226 [details, diff]
patch for fixing configure script

changes name of regex-pcre module to regex-pcre-builtin which is in gentoo portage.
Comment 2 Mark Wright gentoo-dev 2013-12-12 02:41:30 UTC
Hi Patrick and Lance: we could add the dev-haskell/regex-pcre dependency to portage instead if you like, please ask us some time in #gentoo-haskell
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2014-08-11 15:25:18 UTC
Seems to have been fixed as:

> *ganeti-2.11.1 (30 May 2014)
> 
>  30 May 2014; Patrick McLean <chutzpah@gentoo.org> +ganeti-2.11.1.ebuild,
>  +files/ganeti-2.11-regex-builtin.patch, +files/ganeti.confd-r2,
>  +files/ganeti.initd-r2:
>  Version bump, rework the init script.

I've pushed dev-haskell/regex-pcre anyways as:

> *regex-pcre-0.94.4-r1 (11 Aug 2014)
> 
>  11 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> +metadata.xml,
>  +regex-pcre-0.94.4-r1.ebuild:
>  PCRE bindings for haskell (ganeti depend: #491214).