Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886581 - dev-ruby/asciidoctor-2.0.16: fails tests (FAILED: required gem 'erubi' is not available. Processing aborted.)
Summary: dev-ruby/asciidoctor-2.0.16: fails tests (FAILED: required gem 'erubi' is not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
: 815862 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-12-18 09:34 UTC by Sam James
Modified: 2022-12-26 12:37 UTC (History)
0 users

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


Attachments
build.log (file_886581.txt,10.40 KB, text/plain)
2022-12-18 09:34 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-18 09:34:47 UTC
Created attachment 843309 [details]
build.log

2) Error:
Minitest::Test::TestConverter::TestCustomBackends#test_should_load_ERB_templates_using_ErubiTemplate_if_eruby_is_set_to_erubi:
LoadError: asciidoctor: FAILED: required gem 'erubi' is not available. Processing aborted.
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/lib/asciidoctor/helpers.rb:35:in `rescue in require_library'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/lib/asciidoctor/helpers.rb:26:in `require_library'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/lib/asciidoctor/converter/template.rb:260:in `load_eruby'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/lib/asciidoctor/converter/template.rb:233:in `block in scan_dir'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/lib/asciidoctor/converter/template.rb:199:in `each'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/lib/asciidoctor/converter/template.rb:199:in `scan_dir'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/lib/asciidoctor/converter/template.rb:186:in `block in scan'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/lib/asciidoctor/converter/template.rb:154:in `each'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/lib/asciidoctor/converter/template.rb:154:in `scan'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/lib/asciidoctor/converter/template.rb:81:in `initialize'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/lib/asciidoctor/converter.rb:231:in `new'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/lib/asciidoctor/converter.rb:231:in `create'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/lib/asciidoctor/document.rb:1141:in `create_converter'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/lib/asciidoctor/document.rb:1303:in `update_backend_attributes'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/lib/asciidoctor/document.rb:476:in `initialize'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/test/converter_test.rb:262:in `new'
    /var/tmp/portage/dev-ruby/asciidoctor-2.0.16/work/ruby27/asciidoctor-2.0.16/test/converter_test.rb:262:in `block (3 levels) in <top (required)>'

2616 runs, 9299 assertions, 0 failures, 2 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"lib:test" /usr/lib64/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb "test/api_test.rb" "test/attribute_list_test.rb" "test/attributes_test.rb" "test/blocks_test.rb" "test/converter_test.rb" "test/document_test.rb" "test/extensions_test.rb" "test/helpers_test.rb" "test/invoker_test.rb" "test/links_test.rb" "test/lists_test.rb" "test/logger_test.rb" "test/manpage_test.rb" "test/options_test.rb" "test/paragraphs_test.rb" "test/parser_test.rb" "test/paths_test.rb" "test/preamble_test.rb" "test/reader_test.rb" "test/sections_test.rb" "test/substitutions_test.rb" "test/syntax_highlighter_test.rb" "test/tables_test.rb" "test/text_test.rb" ]

----

# emerge --info
Portage 3.0.41 (python 3.10.9-final-0, default/linux/arm64/17.0/desktop/plasma/systemd/merged-usr, gcc-12, glibc-2.36-r5, 5.15.64-gentoo-dist aarch64)
=================================================================
System uname: Linux-5.15.64-gentoo-dist-aarch64-with-glibc2.36
KiB Mem:   262955288 total, 164802236 free
KiB Swap:    9767620 total,   9703108 free
Timestamp of repository gentoo: Sun, 18 Dec 2022 09:17:07 +0000
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.9.16::gentoo, 3.10.9::gentoo, 3.11.1::gentoo
dev-lang/rust:             1.65.0::gentoo
dev-util/cmake:            3.24.3::gentoo
dev-util/meson:            0.63.3::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          251.8::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             12.2.1_p20221210::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/llvm:            15.0.6::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo
Repositories:

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

local
    location: /var/db/repos/local
    masters: gentoo

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going=y --jobs=6 --complete-graph"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks fixlafiles ipc-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j80"
PKGDIR="/var/cache/binpkgs"
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"
SHELL="/bin/sh"
USE="X a52 aac acl acpi activities alsa arm64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvdr encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit ppds qml qt5 readline sdl seccomp semantic-desktop spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ADA_TARGET="gnat_2021" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-18 09:35:12 UTC
I have dev-ruby/erubis installed but not dev-ruby/rubis.
Comment 2 Larry the Git Cow gentoo-dev 2022-12-18 14:43:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a8a466518df38b8fb66778a9af903e5734d8fc

commit 03a8a466518df38b8fb66778a9af903e5734d8fc
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2022-12-18 14:42:27 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2022-12-18 14:43:52 +0000

    dev-ruby/asciidoctor: add 2.0.18
    
    Also depend on erubi for tests instead of erubis.
    
    Closes: https://bugs.gentoo.org/886581
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/asciidoctor/Manifest                  |  1 +
 dev-ruby/asciidoctor/asciidoctor-2.0.18.ebuild | 51 ++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-26 12:37:17 UTC
*** Bug 815862 has been marked as a duplicate of this bug. ***