Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844889 - dev-ruby/thor-1.2.1 fails tests on arm64
Summary: dev-ruby/thor-1.2.1 fails tests on arm64
Status: RESOLVED FIXED
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: 836161
  Show dependency tree
 
Reported: 2022-05-15 16:21 UTC by Jakov Smolić
Modified: 2022-05-23 05:05 UTC (History)
0 users

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 Jakov Smolić archtester gentoo-dev 2022-05-15 16:21:32 UTC
>>> Unpacking source...
 * Running unpack phase for all ...
>>> Unpacking thor-git-1.2.1.tgz to /var/tmp/portage/dev-ruby/thor-1.2.1/work/all
 [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-ruby/thor-1.2.1/work
>>> Preparing source in /var/tmp/portage/dev-ruby/thor-1.2.1/work ...
 * Running prepare phase for all ...
 [ ok ]
 * Running prepare phase for all ...
 [ ok ]
 * Running source copy phase for ruby26 ...
 [ ok ]
 * Running source copy phase for ruby27 ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/thor-1.2.1/work ...
 * Running configure phase for ruby26 ...
 [ ok ]
 * Running configure phase for ruby27 ...
 [ ok ]
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/thor-1.2.1/work ...
 * Running compile phase for ruby26 ...
 [ ok ]
 * Running compile phase for ruby27 ...
 [ ok ]
 * Running compile phase for all ...
 [ ok ]
>>> Source compiled.
>>> Test phase: dev-ruby/thor-1.2.1
 * Running test phase for ruby26 ...
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................F....................................................................................WARNING: unable to load thorfile "/var/tmp/portage/dev-ruby/thor-1.2.1/work/ruby26/thor-1.2.1/Thorfile": uninitialized constant Thor::VERSION
/var/tmp/portage/dev-ruby/thor-1.2.1/work/ruby26/thor-1.2.1/Thorfile:8:in `<class:Default>'
.............................................................................................................................................................................................................................................................................

Failures:

  1) Thor::Options#parse raises an error for unknown switches
     Failure/Error: expect { check_unknown! }.to raise_error(Thor::UnknownArgumentError, expected)

       expected Thor::UnknownArgumentError with "Unknown switches \"--baz\"\nDid you mean?  \"--bar\"", got #<Thor::UnknownArgumentError: Unknown switches "--baz"
       Did you mean?  "--bar"> with backtrace:
         # ./lib/thor/parser/options.rb:146:in `check_unknown!'
         # ./spec/parser/options_spec.rb:17:in `check_unknown!'
         # ./spec/parser/options_spec.rb:119:in `block (4 levels) in <top (required)>'
         # ./spec/parser/options_spec.rb:119:in `block (3 levels) in <top (required)>'
     # ./spec/parser/options_spec.rb:119:in `block (3 levels) in <top (required)>'

Finished in 4.48 seconds (files took 1.43 seconds to load)
800 examples, 1 failure

Failed examples:

rspec ./spec/parser/options_spec.rb:112 # Thor::Options#parse raises an error for unknown switches

 * ERROR: dev-ruby/thor-1.2.1::gentoo failed (test phase):
 *   rspec failed
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_test
 *   environment, line 2208:  Called ruby-ng_src_test
 *   environment, line 1833:  Called _ruby_each_implementation 'each_ruby_test'
 *   environment, line  505:  Called _ruby_invoke_environment 'ruby26' 'each_ruby_test'
 *   environment, line  634:  Called each_ruby_test
 *   environment, line  874:  Called ruby-ng_rspec 'spec'
 *   environment, line 1784:  Called die
 * The specific snippet of code:
 *       ${RUBY} -S rspec-${version} ${rspec_params} ${files} || die "rspec failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-ruby/thor-1.2.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/thor-1.2.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/thor-1.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/thor-1.2.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/thor-1.2.1/work/ruby26/thor-1.2.1'
 * S: '/var/tmp/portage/dev-ruby/thor-1.2.1/work/ruby26/thor-1.2.1'
Comment 1 Jakov Smolić archtester gentoo-dev 2022-05-15 16:21:53 UTC
Portage 3.0.30 (python 3.9.12-final-0, default/linux/arm64/17.0/systemd, gcc-11.3.0, glibc-2.35-r1, 5.15.32-gentoo-dist aarch64)
=================================================================
System uname: Linux-5.15.32-gentoo-dist-aarch64-with-glibc2.35
KiB Mem:    32813268 total,   8869476 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 15 May 2022 15:17:59 +0000
sh bash 5.1_p16
ld GNU ld (Gentoo 2.38 p3) 2.38
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1::gentoo
dev-lang/python:           2.7.18_p15::gentoo, 3.9.12::gentoo, 3.10.4::gentoo
dev-lang/rust:             1.59.0::gentoo
dev-util/cmake:            3.23.0::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          250.4-r1::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r1::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo, 14.0.0-r1::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             13.0.1::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.17::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r1::gentoo
Repositories:

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

ACCEPT_KEYWORDS="arm64 ~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 /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=8"
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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch 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="-j8"
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"
USE="X acl alsa arm64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl systemd udev unicode xattr zlib" ADA_TARGET="gnat_2020" 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_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 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, RUSTF
Comment 2 Larry the Git Cow gentoo-dev 2022-05-23 05:05:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0993f589d09e416ab5d27bc70c66762f81b6d3d4

commit 0993f589d09e416ab5d27bc70c66762f81b6d3d4
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2022-05-22 08:36:59 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2022-05-23 05:04:46 +0000

    dev-ruby/thor: avoid failing test
    
    This unit test is really an integration test and it fails on external
    changes that are not relevant for the test.
    
    Closes: https://bugs.gentoo.org/844889
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/thor/thor-1.2.1.ebuild | 3 +++
 1 file changed, 3 insertions(+)