Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654916 - dev-ruby/rdoc-6.0.1: grammar.rb:133:in `initialize': invalid character property name {Zl}: /\n|\r\n?|\p{Zl}|\p{Zp}/ (RegexpError)
Summary: dev-ruby/rdoc-6.0.1: grammar.rb:133:in `initialize': invalid character proper...
Status: RESOLVED DUPLICATE of bug 640150
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: 2018-05-05 10:06 UTC by Francesco Riosa
Modified: 2018-05-20 06:51 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Riosa 2018-05-05 10:06:34 UTC
# zcat  '/var/log/portage/build/dev-ruby/rdoc-6.0.1:20180430-180245.log.gz' 
 * Package:    dev-ruby/rdoc-6.0.1
 * Repository: gentoo
 * Maintainer: ruby@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby25 userland_GNU
 * FEATURES:   compressdebug network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
Unable to unshare: EPERM
>>> Unpacking source...
 * Running unpack phase for all ...
>>> Unpacking rdoc-6.0.1.tar.gz to /var/tmp/portage/dev-ruby/rdoc-6.0.1/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/rdoc-6.0.1/work
Unable to unshare: EPERM
>>> Preparing source in /var/tmp/portage/dev-ruby/rdoc-6.0.1/work ...
 * Running prepare phase for all ...
 * Running source copy phase for ruby25 ...
>>> Source prepared.
Unable to unshare: EPERM
>>> Configuring source in /var/tmp/portage/dev-ruby/rdoc-6.0.1/work ...
>>> Source configured.
Unable to unshare: EPERM
>>> Compiling source in /var/tmp/portage/dev-ruby/rdoc-6.0.1/work ...
 * Running compile phase for ruby25 ...
Generating lib/rdoc/rd/block_parser.rb...
/usr/bin/ruby25 /usr/lib64/ruby/gems/2.5.0/gems/racc-1.4.14/bin/racc -l -o lib/rdoc/rd/block_parser.rb lib/rdoc/rd/block_parser.ry
Generating lib/rdoc/rd/inline_parser.rb...
/usr/bin/ruby25 /usr/lib64/ruby/gems/2.5.0/gems/racc-1.4.14/bin/racc -l -o lib/rdoc/rd/inline_parser.rb lib/rdoc/rd/inline_parser.ry
Generating lib/rdoc/markdown.rb...
/usr/bin/ruby25 /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/bin/kpeg -fsv -o lib/rdoc/markdown.rb lib/rdoc/markdown.kpeg
Wrote RDoc::Markdown to lib/rdoc/markdown.rb
Generating lib/rdoc/markdown/literals.rb...
/usr/bin/ruby25 /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/bin/kpeg -fsv -o lib/rdoc/markdown/literals.rb lib/rdoc/markdown/literals.kpeg
Traceback (most recent call last):
        30: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/bin/kpeg:63:in `<main>'
        29: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:196:in `parse'
        28: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:292:in `apply'
        27: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:2879:in `_root'
        26: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:292:in `apply'
        25: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:2843:in `_statements'
        24: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:292:in `apply'
        23: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:2843:in `_statements'
        22: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:292:in `apply'
        21: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:2843:in `_statements'
        20: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:292:in `apply'
        19: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:2843:in `_statements'
        18: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:292:in `apply'
        17: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:2843:in `_statements'
        16: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:292:in `apply'
        15: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:2829:in `_statements'
        14: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:292:in `apply'
        13: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:2567:in `_statement'
        12: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:292:in `apply'
        11: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:2345:in `_expression'
        10: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:292:in `apply'
         9: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:2262:in `_values'
         8: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:292:in `apply'
         7: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:2172:in `_value'
         6: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:292:in `apply'
         5: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/format_parser.rb:1250:in `_regexp'
         4: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/grammar.rb:764:in `reg'
         3: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/grammar.rb:764:in `new'
         2: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/grammar.rb:133:in `initialize'
         1: from /usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/grammar.rb:133:in `new'
/usr/lib64/ruby/gems/2.5.0/gems/kpeg-1.1.0/lib/kpeg/grammar.rb:133:in `initialize': invalid character property name {Zl}: /\n|\r\n?|\p{Zl}|\p{Zp}/ (RegexpError)
rake aborted!
Command failed with status (1): [/usr/bin/ruby25 /usr/lib64/ruby/gems/2.5.0...]
/var/tmp/portage/dev-ruby/rdoc-6.0.1/work/ruby25/rdoc-6.0.1/Rakefile:74:in `block (2 levels) in <top (required)>'
Tasks: TOP => generate => lib/rdoc/markdown/literals.rb
(See full trace by running task with --trace)
 * ERROR: dev-ruby/rdoc-6.0.1::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 4383:  Called ruby-ng_src_compile
 *   environment, line 4075:  Called _ruby_each_implementation 'each_ruby_compile'
 *   environment, line  494:  Called _ruby_invoke_environment 'ruby25' 'each_ruby_compile'
 *   environment, line  619:  Called each_ruby_compile
 *   environment, line  856:  Called die
 * The specific snippet of code:
 *       ${RUBY} -S rake generate || die
 *
 * If you need support, post the output of `emerge --info '=dev-ruby/rdoc-6.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/rdoc-6.0.1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =rdoc-6.0.1
 * The complete build log is located at '/var/log/portage/build/dev-ruby/rdoc-6.0.1:20180430-180245.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rdoc-6.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/rdoc-6.0.1/work/ruby25/rdoc-6.0.1'
 * S: '/var/tmp/portage/dev-ruby/rdoc-6.0.1/work/ruby25/rdoc-6.0.1'
Comment 1 Francesco Riosa 2018-05-05 10:07:05 UTC
# emerge --info =dev-ruby/rdoc-6.0.1
Portage 2.3.36 (python 3.6.5-final-0, !../../var/portage/repos/vivovl/profiles/desktop/desk1, gcc-7.3.0, glibc-2.26-r6, 4.14.23-serv x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.23-serv-x86_64-Intel-R-_Xeon-R-_CPU_E5-2630_v4_@_2.20GHz-with-gentoo-2.4.1
KiB Mem:   131912304 total,  39343524 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 05 May 2018 00:45:01 +0000
Head commit of repository gentoo: 61d1aa3b52e014eba8f662eaa00ad853ebf49298
Timestamp of repository vivovl: Sun, 08 Apr 2018 12:29:31 +0000
Head commit of repository vivovl: ecb7d5c3da45fca886a3bc4ac7adbd69f84f2525

sh bash 4.4_p19
ld GNU ld (Gentoo 2.30 p2) 2.30.0
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.14-r2::gentoo, 3.6.5-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.11.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.35.5::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            7.3.0-r1::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.16-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r6::gentoo
Repositories:

gentoo
    location: /var/portage/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:

vivovl
    location: /var/portage/repos/vivovl
    sync-type: git
    sync-uri: git@github.com:vivo75/vivovl.git
    masters: gentoo
    priority: 1001

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=corei7 -pipe -mindirect-branch=thunk -flto=4 -fuse-linker-plugin -fno-fat-lto-objects  -grecord-gcc-switches -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -march=corei7 -pipe -mindirect-branch=thunk -flto=4 -fuse-linker-plugin -fno-fat-lto-objects  -grecord-gcc-switches -frecord-gcc-switches"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--dynamic-deps=n --autounmask=y --ask-enter-invalid --usepkg=n --load-average=8 --jobs=1 --quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox multilib-strict network-sandbox news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-elog split-log splitdebug strict strict-keepdir test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/lib64/debug/* /usr/src/debug/* /usr/share/locale/* /lib/modules/*"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1,--sort-common,--hash-style=gnu,--as-needed,-z,now -O3 -march=corei7 -pipe -mindirect-branch=thunk -flto=4 -fuse-linker-plugin -fno-fat-lto-objects  -grecord-gcc-switches -frecord-gcc-switches"
MAKEOPTS="-j40 --load-average=30"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 appstream berkdb bluetooth branding bzip2 cairo cdda cdr clang cli cpudetection crypt cups cxx dbus declarative dri dts dvd dvdr egl emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gles2 gpm gpu gtk iconv ipv6 jpeg kde kipi kwallet lcms ldap libnotify lz4 mad metric mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opencl opengl openmp pam pango pcre pdf pgo phonon plasma png policykit ppds pulseaudio qml qt3support qt5 readline sdl seccomp semantic-desktop spell sse sse2 ssl startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upower usb vaapi vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="krita karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev wacom libinput synaptics" KERNEL="linux" L10N="en it" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64 AMDGPU ARM BPF NVPTX X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 pypy3" QEMU_SOFTMMU_TARGETS="x86_64 aarch64 arm" RUBY_TARGETS="ruby25" SANE_BACKENDS="hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005" USERLAND="GNU" VIDEO_CARDS="intel i965 nouveau radeon radeonsi amdgpu qxl modesetting virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, ENV_UNSET, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-ruby/rdoc-6.0.1::gentoo was built with the following:
USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby25 -ruby23 -ruby24"
Comment 2 Hans de Graaff gentoo-dev Security 2018-05-20 06:51:22 UTC

*** This bug has been marked as a duplicate of bug 640150 ***