Bug 210997 - app-arch/dpkg-1.14.12 fails tests if dpkg isn't already installed
Bug#: 210997 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: nixnut@gentoo.org
Component: Applications
URL: 
Summary: app-arch/dpkg-1.14.12 fails tests if dpkg isn't already installed
Keywords:  
Status Whiteboard: 
Opened: 2008-02-21 16:37 0000
Description:   Opened: 2008-02-21 16:37 0000
test phase fails with a bunch of error messages that dpkg can't be found:

#   Failed test 'Dpkg concures: Version 2:2.5 gt 1:7.5'
#   at ./t/100_Dpkg_Version.t line 71.
Can't exec "dpkg": No such file or directory at ./t/100_Dpkg_Version.t line 60.
Can't exec "dpkg": No such file or directory at ./t/100_Dpkg_Version.t line 60.
# Looks like you failed 7 tests of 26.
./t/100_Dpkg_Version....dubious
        Test returned status 7 (wstat 1792, 0x700)
DIED. FAILED tests 4, 7, 10, 13, 16, 19, 22
        Failed 7/26 tests, 73.08% okay
./t/200_Dpkg_Shlibs.....ok
Failed Test            Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
./t/100_Dpkg_Version.t    7  1792    26    7  4 7 10 13 16 19 22
Failed 1/3 test scripts. 7/113 subtests failed.
Files=3, Tests=113,  3 wallclock secs ( 2.98 cusr +  0.08 csys =  3.06 CPU)
Failed 1/3 test programs. 7/113 subtests failed.
make[1]: *** [check] Error 255
make[1]: Leaving directory
`/var/tmp/portage/app-arch/dpkg-1.14.12/work/dpkg-1.14.12/scripts'
make: *** [check-recursive] Error 1

if a previous version of dpkg is already installed or dpkg-1.14.12 is first
installed without running the tests then a subsequent emerge passes the tests.

------- Comment #1 From SpanKY 2008-02-22 04:10:10 0000 -------
fixed in cvs

http://sources.gentoo.org/app-arch/dpkg/files/dpkg-1.14.16.6-check-PATH.patch?rev=1.1