Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70135 - libungif-4.1.0.1b fails testing phase due to dependancy on xv
Summary: libungif-4.1.0.1b fails testing phase due to dependancy on xv
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-04 23:53 UTC by Ryan Hill (RETIRED)
Modified: 2004-11-06 00:53 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 Ryan Hill (RETIRED) gentoo-dev 2004-11-04 23:53:29 UTC
when emerging libungif-4.1.0.1b with the 'maketest' FEATURE enabled, the emerge will fail if the xv package is not installed.  libungif uses xv to produce images which open in a series of windows.  without the xv package the result is this:

make  check-TESTS
make[2]: Entering directory `/var/tmp/portage/libungif-4.1.0.1b/work/libungif-4.1.0b1'
The Porsche.
xv - <./pic/porsche.gif
The Porsche composited with a generated background
./test-unx: line 30: xv: command not found

GIF-LIB error: Write failed (disk full?).
Color density report on the TNHD cover image
        5956  174
        1844  173

[snip large list of numbers]

           0    9
           0    0
Color histogram of the Porsche image
./test-unx: line 37: xv: command not found

GIF-LIB error: Write failed (disk full?).
The #2 solid flipped on its side
./test-unx: line 40: xv: command not found

GIF-LIB error: Write failed (disk full?).

GIF-LIB error: Write failed (disk full?).
TNHD cover flipped on its side
./test-unx: line 43: xv: command not found

GIF-LIB error: Write failed (disk full?).
Scale the #2 solid by 0.45
./test-unx: line 47: xv: command not found

[etc]

FAIL: test-unx
===================
1 of 1 tests failed
===================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/var/tmp/portage/libungif-4.1.0.1b/work/libungif-4.1.0b1'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/libungif-4.1.0.1b/work/libungif-4.1.0b1'
make: *** [check-recursive] Error 1

!!! ERROR: media-libs/libungif-4.1.0.1b failed.


disabling maketest or emerging the xv package before libungif results in a successful install.

Reproducible: Always
Steps to Reproduce:
1. emerge libungif-4.1.0.1b with makecheck in FEATURES and without xv installed
2. emerge fails
3. emerge xv then emerge libungif

Actual Results:  
Failed install.

Expected Results:  
Install successfully.

if possible, adding the xv dependancy if maketest is enabled to the ebuild could
solve the problem - but i leave that to someone who knows what they're doing. ;)
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2004-11-05 16:24:39 UTC
usasa, your the last to bump this one.. assigning to you
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-11-06 00:53:19 UTC
Hi, thanks for the bug report. I disabled make check if
xv is not installed. We cannot modify DEPEND list inside
ebuilds unless we use USE flags (FEATURES is not handled
like USE flags). I added ewarns to install xv if you wants
to run maketest for this package. Hope this will help.