Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605670 - dev-ruby/regexp_parser: not compatible with dev-util/ragel-7
Summary: dev-ruby/regexp_parser: not compatible with dev-util/ragel-7
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-14 10:38 UTC by Toralf Förster
Modified: 2023-03-18 01:11 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.46 KB, text/plain)
2017-01-14 10:38 UTC, Toralf Förster
Details
dev-ruby:regexp_parser-0.4.1:20170114-102030.log (dev-ruby:regexp_parser-0.4.1:20170114-102030.log,3.11 KB, text/plain)
2017-01-14 10:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,205.74 KB, text/plain)
2017-01-14 10:38 UTC, Toralf Förster
Details
environment (environment,160.29 KB, text/plain)
2017-01-14 10:38 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.69 KB, application/x-bzip)
2017-01-14 10:38 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-01-14 10:38:04 UTC
ragel -F1 -R /var/tmp/portage/dev-ruby/regexp_parser-0.4.1/work/ruby21/regexp_parser-0.4.1/lib/regexp_parser/scanner/scanner.rl -o /var/tmp/portage/dev-ruby/regexp_parser-0.4.1/work/ruby21/regexp_parser-0.4.1/lib/regexp_parser/scanner.rb
ragel: cannot use fret in -B mode
rake aborted!
Command failed with status (1): [ragel -F1 -R /var/tmp/portage/dev-ruby/reg...]
/var/tmp/portage/dev-ruby/regexp_parser-0.4.1/work/ruby21/regexp_parser-0.4.1/Rakefile:32:in `block (3 levels) in <top (required)>'
/var/tmp/portage/dev-ruby/regexp_parser-0.4.1/work/ruby21/regexp_parser-0.4.1/Rakefile:29:in `each'

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named 13.0-unstable_20170109-235418) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config --version:
3.9.1

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.5 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:

  -----------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2017-01-14 10:38:10 UTC
Created attachment 459988 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-01-14 10:38:13 UTC
Created attachment 459990 [details]
dev-ruby:regexp_parser-0.4.1:20170114-102030.log
Comment 3 Toralf Förster gentoo-dev 2017-01-14 10:38:16 UTC
Created attachment 459992 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-01-14 10:38:19 UTC
Created attachment 459994 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-01-14 10:38:22 UTC
Created attachment 459996 [details]
etc.portage.tbz2
Comment 6 Hans de Graaff gentoo-dev Security 2017-01-15 08:25:21 UTC
It looks like ragel 7 is not compatible with what regexp_parser wants to do, and from https://www.colm.net/news/2016/07/31/ragel-target-langs.html my guess is that this will not improve.

I've changed the dependency in regexp_parser to require ragel 6 for now. I've also CC'ed lu_zero as ragel maintainer. Perhaps we need to slot versions 6 and 7 so that 6 can be used in the longer term for the languages that won't be supported in 7?
Comment 7 Hans de Graaff gentoo-dev Security 2017-01-15 09:22:24 UTC
I have looked at the other ruby packages using ragel as well. dev-ruby/hpricot and dev-ruby/json seem fine.

dev-ruby/redcloth and dev-ruby/gherkin also have issues with ragel 7, so I updated their dependencies as well.