First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 95060
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sascha Silbe <sascha-gentoo-bugzilla@silbe.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 95060 depends on: Show dependency tree
Bug 95060 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-06-04 13:40 0000
games-misc/bsd-games-2.13-r1 fails the battlestar test 6.
Using /dev/full probably isn't portable from BSD to Linux. I'd suggest to try /dev/null instead.


Reproducible: Always
Steps to Reproduce:
1. emerge -v bsdgames
2. cat /var/tmp/portage/portage/bsd-games-2.13-r1/work/bsd-games-2.13/tests/battlestar.err6
3. cat /var/tmp/portage/portage/bsd-games-2.13-r1/work/bsd-games-2.13/tests/battlestar.in6
4. cat /var/tmp/portage/portage/bsd-games-2.13-r1/work/bsd-games-2.13/tests/battlestar.out6

Actual Results:  
>>> Test phase [enabled]: games-misc/bsd-games-2.13-r1
>>> Test phase [check]: games-misc/bsd-games-2.13-r1
set -e; for f in tests/*.test; do echo $f; $f; done
tests/battlestar.test
battlestar test 1... PASS
battlestar test 2... PASS
battlestar test 3... PASS
battlestar test 4... PASS
battlestar test 5... PASS
battlestar test 6... FAIL
make: *** [check] Error 1

!!! ERROR: games-misc/bsd-games-2.13-r1 failed.
!!! Function src_test, Line 566, Exitcode 0
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message.

root@cube:~# cat /var/tmp/portage/portage/bsd-games-2.13-r1/work/bsd-games-2.13/tests/battlestar.err6
battlestar: fwrite /dev/full: No space left on device
root@cube:~# cat /var/tmp/portage/portage/bsd-games-2.13-r1/work/bsd-games-2.13/tests/battlestar.in6
save
/dev/full
quit
root@cube:~# cat /var/tmp/portage/portage/bsd-games-2.13-r1/work/bsd-games-2.13/tests/battlestar.out6
Version 4.2, fall 1984.
First Adventure game written by His Lordship, the honorable
Admiral D.W. Riggle


        This is a luxurious stateroom.
The floor is carpeted with a soft animal fur and the great wooden furniture
is inlaid with strips of platinum and gold.  Electronic equipment built
into the walls and ceiling is flashing wildly.  The floor shudders and
the sounds of dull explosions rumble though the room.  From a window in
the wall ahead comes a view of darkest space.  There is a small adjoining
room behind you, and a doorway right.

>-: 
Save file name (default .Bstar): Saved in /dev/full.
>-: bye.
Your rating was novice.


Expected Results:  
Successfully run the test suite and install the package.


Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11.6-infra-cube-1 i686)
=================================================================
System uname: 2.6.11.6-infra-cube-1 i686 AMD Athlon(tm) XP 1700+
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 22 2005, 01:58:40)]
distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.5, 1.7.9-r1, 1.4_p6, 1.6.3, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /usr/vice/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distcc distlocks fixpackages sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
LANG="en_US"
LINGUAS="en,de"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-local--main--1.0"
SYNC="rsync://copper.sascha.silbe.org/gentoo-portage"
USE="x86 3dnow 3dnowext S3TC X a52 aac acl afs alsa apm avi bash-completion berkdb bitmap-fonts blas bzip2 bzlib cdparanoia cdr chipcard cjk crypt curl doc dts dv dvd dvdr dvdread ecc emboss encode fam flac foomaticdb fortran gd gdbm gif gimpprint gtk gtk2 gtkhtml guile hbci imagemagick imap imlib ipv6 j-noaim j-nomsn j-noyahoo jabber jpeg lapack lcms libg++ libwww lvm1 lzo mad maildir makecheck mbox mikmod mmx mmxext monitor mozsvg mp3 mpeg mysql nas ncurses nls nodrm offensive ogg oggvorbis opengl oss pam pdflib plotutils png postgres python qt qtmt quicktime readline samba scanner sdl serial skey smartcard spell sqlite sse ssl svg tetex tiff truetype truetype-fonts type1-fonts unicode userlocales vorbis xine xml xml2 xv xvid zlib linguas_en,de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS

------- Comment #1 From Chris Gianelloni (RETIRED) 2006-01-20 22:22:03 0000 -------
What about just adding RESTRICT=test?

------- Comment #2 From Sascha Silbe 2006-07-10 11:06:45 0000 -------
The problem is just sandbox. After adding "addwrite /dev/full" to src_test the
test suite works fine (as it does when run manually).

------- Comment #3 From Tristan Heaven 2006-10-27 13:16:22 0000 -------
Fixed, thanks.

First Last Prev Next    No search results available      Search page      Enter new bug