Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339404 - dev-cpp/libxmlpp-1.0.5: configure fails due to incorrect regex
Summary: dev-cpp/libxmlpp-1.0.5: configure fails due to incorrect regex
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: grep-2.7
  Show dependency tree
 
Reported: 2010-10-02 00:46 UTC by zach.flynn
Modified: 2010-10-05 02:39 UTC (History)
2 users (show)

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


Attachments
build.log (libxmlpp-1.0.5:20101002-153929.log,6.48 KB, text/plain)
2010-10-02 15:44 UTC, Michael Weber (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zach.flynn 2010-10-02 00:46:25 UTC
In the configure script for libxmlpp-1.0.5, the script executes grep [:space:] .... | sed .... [:space:] when trying to find the version of lt_main.sh (libtool stuff).  All that needs to be done is change that to: grep ... [[:space]].... [[:space:]].  There are only two times [:space:] occurs.  This library is needed for Skrooge.  Easy fix.

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-cpp/libxmlpp-1.0.5
2. 
3.

Actual Results:  
Errored.  Said gentoo sanity check failed because the versions of libtool and lt_main did not match (this is because the grep line is wrong so it returns no version number).

Expected Results:  
Merged.

The fix is simple.  As described above.  I don't have time right now to write a patch, but you just have to change the two times [:space:] occurs to [[:space:]]
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-10-02 15:28:20 UTC
Which version of sys-apps/grep and app-text/docbook-sgml-utils do you use? 
This might be another instance of bug 338853.
Comment 2 Michael Weber (RETIRED) gentoo-dev 2010-10-02 15:38:16 UTC
Please provide a full build.log. There's a grep-2.7 introduced docbook-sgml-utils problm (bug 338853) which affects media-libs/fontconfig as well (bug 339317).

I want to find out if this is another instance of this grep-2.7 regression.
Comment 3 Michael Weber (RETIRED) gentoo-dev 2010-10-02 15:44:19 UTC
Created attachment 249333 [details]
build.log
Comment 4 zach.flynn 2010-10-03 01:41:07 UTC
Yes, I do use grep-2.7.  My build.log is identical to the one posted.  I do not use docbook-sgml-utils.  
Comment 5 zach.flynn 2010-10-03 01:42:40 UTC
My fontconfig is 2.8.0-r1
Comment 6 Sebastian Pipping gentoo-dev 2010-10-04 20:17:25 UTC
I hope my fix is in your interest. Closing...

+  04 Oct 2010; Sebastian Pipping <sping@gentoo.org> libxmlpp-1.0.5.ebuild:
+  Rebuild configure for grep 2.7 or later (bug #339404)
+
Comment 7 zach.flynn 2010-10-05 02:39:16 UTC
Synced and it works perfectly now.  Thank you very much!