Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300607 - dev-lang/perl-5.10.1 fails test on PPC64 64UL
Summary: dev-lang/perl-5.10.1 fails test on PPC64 64UL
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: perl-5.10.1
  Show dependency tree
 
Reported: 2010-01-11 17:11 UTC by Brent Baude (RETIRED)
Modified: 2010-01-24 22:44 UTC (History)
3 users (show)

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


Attachments
Build log for perl (build.log,721.85 KB, text/plain)
2010-01-11 17:14 UTC, Brent Baude (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Baude (RETIRED) gentoo-dev 2010-01-11 17:11:21 UTC
On ppc64 64UL, perl-5.10.1 fails a test as follows:

Test Summary Report
-------------------
op/filetest.t                                                  (Wstat: 6 Tests: 0 Failed: 0)
  Non-zero wait status: 6
  Parse errors: No plan found in TAP output
Files=1712, Tests=227069, 721 wallclock secs (54.18 usr 10.43 sys + 416.67 cusr 82.04 csys = 563.32 CPU)
Result: FAIL
Failed 1/1712 test programs. 0/227069 subtests failed.
make[2]: *** [_test_tty] Error 255
make[2]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.10.1/work/perl-5.10.1'
make[1]: *** [_test] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.10.1/work/perl-5.10.1'
make: *** [test_harness] Error 2
 * 
 * ERROR: dev-lang/perl-5.10.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 3082:  Called die
 * The specific snippet of code:
 *       make test_harness || die "test failed"
 *  The die message:
 *   test failed


Reproducible: Always
Comment 1 Brent Baude (RETIRED) gentoo-dev 2010-01-11 17:11:40 UTC
emerge info as follows:

quad perl # emerge --info 
Portage 2.1.6.13 (default/linux/powerpc/ppc64/10.0/64bit-userland, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6-g5-64 ppc64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-g5-64-ppc64-PPC970MP,_altivec_supported-with-gentoo-1.12.13
Timestamp of tree: Mon, 11 Jan 2010 15:00:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.6.3, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="ppc64"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://sharpie/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm ibm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl ppc64 pppd python readline reflection session spl ssl sysfs tcpd unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev mach64 mga nv r128 radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Brent Baude (RETIRED) gentoo-dev 2010-01-11 17:14:12 UTC
Created attachment 216079 [details]
Build log for perl
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2010-01-14 10:46:22 UTC
| FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox
|           sfperms strict unmerge-orphans userfetch"

This seems to be FEATURES-dependent (userpriv).

Are these really the FEATURES you are using (i am missing "test")?


| op/filetest.t .................................................... ACCESS DENIED  open_rd:      ../lib/lib/Config_heavy.pl

This should be ../lib/Config_heavy.pl (or ../lib/../lib/Config_heavy.pl).
Why isn't it?

| ISE:write_logfile unable to append logfile
| ISE open_rd(../lib/Config_heavy.pl): Permission denied
|         abs_path: ../lib/lib/Config_heavy.pl
|         res_path: ../lib/lib/Config_heavy.pl
| /usr/lib/libsandbox.so[0x2b2190435232]
| /usr/lib/libsandbox.so[0x2b21904352c3]
| /usr/lib/libsandbox.so[0x2b21904367dd]
| /usr/lib/libsandbox.so(open64+0xe6)[0x2b219043b3d6]
| /var/tmp/portage/dev-lang/perl-5.10.1/work/perl-5.10.1/libperl.so.5.10(PerlIOUnix_open+0xa0)[0x2b2190753710]
| /var/tmp/portage/dev-lang/perl-5.10.1/work/perl-5.10.1/libperl.so.5.10(PerlIOBuf_open+0xc2)[0x2b2190751ac2]
| /var/tmp/portage/dev-lang/perl-5.10.1/work/perl-5.10.1/libperl.so.5.10(PerlIO_openn+0x246)[0x2b2190752776]
| /var/tmp/portage/dev-lang/perl-5.10.1/work/perl-5.10.1/libperl.so.5.10(PerlIO_open+0x44)[0x2b21907528d4]
| /var/tmp/portage/dev-lang/perl-5.10.1/work/perl-5.10.1/libperl.so.5.10[0x2b21907127d6]
| /var/tmp/portage/dev-lang/perl-5.10.1/work/perl-5.10.1/libperl.so.5.10[0x2b2190712824]
| /proc/27625/cmdline: /var/tmp/portage/dev-lang/perl-5.10.1/work/perl-5.10.1/perl op/filetest.t
Comment 4 Brent Baude (RETIRED) gentoo-dev 2010-01-19 14:21:29 UTC
Yes, emerge --info didn't include FEATURES="test" USE="test"
Comment 5 Brent Baude (RETIRED) gentoo-dev 2010-01-23 16:07:49 UTC
looks like adding userpriv to features fixes this. I will confirm one more time and commit later today time willing.
Comment 6 jan krcmar 2010-01-23 18:15:11 UTC
adding userpriv to FEATURES works for me, thanks
Comment 7 Tom Gall (RETIRED) gentoo-dev 2010-01-24 22:44:39 UTC
agreed, works with the noted FEATURES setting. Is it really fixed tho since no code change was required ....