Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519958 - dev-lang/perl-5.20.0-r1 fails tests
Summary: dev-lang/perl-5.20.0-r1 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 523192 (view as bug list)
Depends on:
Blocks: perl-5.20 540092
  Show dependency tree
 
Reported: 2014-08-15 06:28 UTC by Patrick Lauer
Modified: 2015-02-14 23:34 UTC (History)
3 users (show)

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


Attachments
enc2xs_checksums.dif (enc2xs_checksums.diff,1.81 KB, patch)
2015-02-08 16:11 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details | Diff
enc2xs_checksums.dif (enc2xs_checksums.diff,601 bytes, patch)
2015-02-08 16:12 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2014-08-15 06:28:57 UTC
x2p/s2p.t ......................................................... ok  
../lib/perl5db.t .................................................. ok  
../lib/warnings.t ................................................. ok  
../lib/locale.t ................................................... ok     

Test Summary Report
-------------------
porting/customized.t                                            (Wstat: 0 Tests: 32 Failed: 1)
  Failed test:  2
Files=2404, Tests=699272, 213 wallclock secs (63.36 usr  6.10 sys + 399.25 cusr 32.86 csys = 501.57 CPU)
Result: FAIL
makefile:839: recipe for target 'test_harness' failed
make: *** [test_harness] Error 1
 * ERROR: dev-lang/perl-5.20.0-r1::gentoo failed (test phase):
 *   test failed

Looks like this is the failure:

# Failed test 2 - SHA for cpan/Encode/bin/enc2xs matches stashed SHA at porting/customized.t line 103
#      got "1d3e1d1d538369a17bd262ec913eb04a44a1d0da"
# expected "f60036fd3574ec05c9aab7f4db00a828d5dea92d"


Portage 2.2.12 (python 2.7.8-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.1, glibc-2.19-r1, 3.16.1-gentoo x86_64)
=================================================================
System uname: Linux-3.16.1-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2
KiB Mem:     7919020 total,   5017524 free
KiB Swap:   16777208 total,  16777208 free
Timestamp of tree: Unknown
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p47
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.9.1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo x-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
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="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/overlay"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr egl emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp openvg pam pango pcre pdf phonon plasma png policykit ppds python qt3support qt4 readline sdl semantic-desktop session spell sqlite sse sse2 ssl startup-notification svg tcl tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xa xcb xcomposite xinerama xml xscreensaver xv xvfb xvid zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" 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="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="vesa" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-09-19 07:07:30 UTC
*** Bug 523192 has been marked as a duplicate of this bug. ***
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-09-19 07:08:56 UTC
We really should patch out that test if its us who is causing the failure.

People should be encouraged to run Perl's test suite, not turn it off because "gentoo broke the test suite, so no point in running it".

Then they wont discover when there are real problems tests can expose.
Comment 3 eroen 2014-09-24 14:55:37 UTC
cpan/Encode/bin/enc2xs is modified by the gentoo patchset in patches/gentoo/enc2xs.diff

Additionally, the following fail for me with FEATURES=network-sandbox:

#   Failed test ''IO::Socket->new( Domain => AF_INET )' isa 'IO::Socket::IP''
#   at t/15io-socket.t line 20.
#     'IO::Socket->new( Domain => AF_INET )' isn't defined

#   Failed test ''IO::Socket->new( Domain => AF_INET6 )' isa 'IO::Socket::IP''
#   at t/15io-socket.t line 45.
#     'IO::Socket->new( Domain => AF_INET6 )' isn't defined
#   error was Name or service not known
# Looks like you failed 2 tests of 4.
../cpan/IO-Socket-IP/t/15io-socket.t .............................. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests 
../cpan/IO-Socket-IP/t/16v6only.t ................................. Cannot listen on PF_INET6 - Name or service not known at t/16v6only.t line 22.
../cpan/IO-Socket-IP/t/16v6only.t ................................. Dubious, test returned 22 (wstat 5632, 0x1600)
No subtests run
Comment 4 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-02-08 16:11:11 UTC
Created attachment 395908 [details, diff]
enc2xs_checksums.dif

This patch should be applied whenever patches/gentoo/enc2xs.diff is.

I would have made it part of that patch, but I didn't want to have to mess with getting all the git woo lined up.
Comment 5 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-02-08 16:12:15 UTC
Created attachment 395910 [details, diff]
enc2xs_checksums.dif

Maybe this time I'll only include the relevant diff ....
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2015-02-14 23:34:01 UTC
[00:33:19] <dilfridge> All tests successful.
[00:33:19] <dilfridge> Files=2412, Tests=711113, 172 wallclock secs (106.78 usr  7.59 sys + 722.91 cusr 51.99 csys = 889.27 CPU)
[00:33:19] <dilfridge> Result: PASS
[00:33:19] <dilfridge> >>> Completed testing dev-lang/perl-5.20.2
[00:33:23] <dilfridge> kent\n++

Fixed in 5.20.2