Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 706736

Summary: dev-perl/TimeDate-2.300.0 fails tests when YEAR >= 2020 ( t/getdate.t .. Failed 146/146 subtests )
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: kentnl, kingjon3377, sam
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-perl:TimeDate-2.300.0:20200127-053720.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2
tests.tbz2
build (test) failure on arm

Description Toralf Förster gentoo-dev 2020-01-27 17:44:33 UTC
t/getdate.t .. 
                      
t/getdate.t .. Failed 146/146 subtests 
t/lang.t ..... 
t/lang.t ..... 1/4 
                    

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20200126-104546

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)





repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 04:46:13 +0000

emerge -qpvO dev-perl/TimeDate
[ebuild  N    ] dev-perl/TimeDate-2.300.0
Comment 1 Toralf Förster gentoo-dev 2020-01-27 17:44:35 UTC
Created attachment 605670 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 17:44:38 UTC
Created attachment 605672 [details]
dev-perl:TimeDate-2.300.0:20200127-053720.log
Comment 3 Toralf Förster gentoo-dev 2020-01-27 17:44:40 UTC
Created attachment 605674 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-27 17:44:43 UTC
Created attachment 605676 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-27 17:44:46 UTC
Created attachment 605678 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-27 17:44:49 UTC
Created attachment 605680 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-27 17:44:52 UTC
Created attachment 605682 [details]
tests.tbz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-04-02 20:04:42 UTC
Created attachment 629162 [details]
build (test) failure on arm

Portage 2.3.89 (python 3.6.10-final-0, default/linux/arm64/17.0, gcc-9.2.0, glibc-2.29-r7, 4.19.108-v8+ aarch64)
=================================================================
System uname: Linux-4.19.108-v8+-aarch64-with-gentoo-2.6
KiB Mem:     3897612 total,   1043128 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 01 Apr 2020 23:07:49 +0000
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.7::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

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

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fdiagnostics-show-option -frecord-gcc-switches"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /etc/grs/systems.conf /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/portage/package.keywords/zz-autounmask /etc/portage/package.use/archtest /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/bound/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nodoc noinfo noman parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/share/doc/*/*.pdf /usr/share/man/*/*"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j3 -l5"
PKGDIR="/usr/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="acl arm64 berkdb bzip2 cli crc32 crypt dri edsp fortran gdbm iconv ipv6 libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test thumb thumb2 unicode v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4 xattr zlib" ADA_TARGET="gnat_2018" 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 vfp vfpv3 vfpv4 vfp-d32 crc32 v4 v5 v6 v7 v8 thumb2" 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" 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, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-04-03 11:32:36 UTC
A quick poke at upstream says there are recent releases with bug fixes, particularly, bug fixes for tests that break as a result of YEAR incrementing to 2020.

You'd think somebody maintaining a Date and Time module would get Date and Time problems right, particularly when the root cause is "hey, the year changes", but like, yeah, nah.

https://metacpan.org/diff/file?target=ATOOMIC/TimeDate-2.31/&source=GBARR/TimeDate-2.30/#t/getdate.t

https://metacpan.org/diff/file?target=ATOOMIC/TimeDate-2.31/&source=GBARR/TimeDate-2.30/#ChangeLog

> +  * Fix year 2020 bug from t/getdate.t [Prajith]


So from the perspective of stabilization and friends, this isn't a blocker. But it will be fixed when I get around to my next bump sweep.
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2021-04-26 23:29:01 UTC
Fixed in 2.330.0