Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555648 - dev-util/schroot-1.6.10-r1 regex_error
Summary: dev-util/schroot-1.6.10-r1 regex_error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jonathan Callen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-22 17:34 UTC by Alex Turbov
Modified: 2015-07-31 22:46 UTC (History)
1 user (show)

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


Attachments
prefer to use boost::regex over C++11 standard (schroot-1.6.10-configure-use-boost-regex.patch,941 bytes, patch)
2015-07-22 17:35 UTC, Alex Turbov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Turbov 2015-07-22 17:34:37 UTC
schroot compiled by gcc 4.9.3 w/ boost 1.58 throws `regex_error` on start.
during configure it decides to use regex from C++ standard library, which is the reason for the error. being compiled w/ boost::regex instead everything works fine.

Reproducible: Always
Comment 1 Alex Turbov 2015-07-22 17:35:31 UTC
Created attachment 407430 [details, diff]
prefer to use boost::regex over C++11 standard
Comment 2 Markus Walter 2015-07-30 15:15:22 UTC
I just upgraded to boost-1.57.0 on ~amd64 and saw the same problem. I have gcc-4.9.3 and schroot-1.6.10-r1. The patch solved the problem.
Comment 3 Jonathan Callen (RETIRED) gentoo-dev 2015-07-31 22:46:53 UTC
@@ -4,0 +5,9 @@
+*schroot-1.6.10-r2 (31 Jul 2015)
+
+  31 Jul 2015; Jonathan Callen <jcallen@gentoo.org>
+  +files/schroot-1.6.10-cmake-add-additional-regex-tests.patch,
+  +schroot-1.6.10-r2.ebuild, -schroot-1.4.23-r1.ebuild, -schroot-1.4.23.ebuild,
+  -schroot-1.4.25.ebuild, -schroot-1.4.26.ebuild, -schroot-1.6.10-r1.ebuild:
+  Add upstream patch to work with GCC 4.9 and GCC 5. Fixes bug 555648. Remove
+  old.
+