Fwd: [Fink-beginners] PLEASE HELP:- Fink Bootstrap on 10.7 failing on 1 Test , Attached are the logs.

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.core
Message-ID <CAAsHVXCoWUz2SWRaqUHTGd1xi_nX3xNjDW-+dLejNV8tRmqdWw@mail.gmail.com>
---------- Forwarded message ----------
From: Alexander Hansen <[email protected]>
Date: Thu, Feb 23, 2012 at 9:27 AM
Subject: Re: [Fink-beginners] PLEASE HELP:- Fink Bootstrap on 10.7
failing on 1 Test , Attached are the logs.
To: navroop singh <[email protected]>
Cc: fink beginners mailing list <[email protected]>


On Thu, Feb 23, 2012 at 1:14 AM, navroop singh <[email protected]> wrote:
> Thanks for replying Alexander
>
>
> Although that didnt work- I still have the same error , DO you need more
> information?
> ....................
> ....................
>
> Verifying that installed Xcode version is supported...
> Xcode version: 4.3 is OK.
>
> ....................
> ....................
>
> cd t && ./testmore.pl && find . -name '*.t' | sort |
> PREFIX="/Users/user1/Documents/fink" xargs /usr/bin/perl -I`pwd`/../perlmod
> -MTest::Harness -e 'runtests(@ARGV)'
>
> Checking for Test::More...
>
> ./00compile.t ............................ ok
>
> ./10features/users_groups.t .............. ok
>
> ./10features/volume.t .................... ok
>
> ./Base/initialize.t ...................... ok
>
> ./Base/param.t ........................... ok
>
> ./Base/param_boolean.t ................... ok
>
> ./CLI/capture.t .......................... ok
>
> ./Command/cat.t .......................... ok
>
> ./Command/chowname.t ..................... ok
>
> ./Command/commands.t ..................... ok
>
> ./Command/du_sk.t ........................ ok
>
> ./Command/exports.t ...................... ok
>
> ./Command/failure.t ...................... 1/?
>
> #   Failed test at ./Command/failure.t line 129.
>
> ./Command/failure.t ...................... 41/? # Looks like you failed 1
> test of 49.
>
> ./Command/failure.t ...................... Dubious, test returned 1 (wstat
> 256, 0x100)
>
> Failed 1/49 subtests
>
> ./Command/touch.t ........................ ok
>
> ./Config/exports.t ....................... ok
>
> ./Config/failure.t ....................... ok
>
> ./Config/flag.t .......................... ok
>
> ./Config/load_save.t ..................... ok
>
> ./Config/options.t ....................... ok
>
> ./Config/param.t ......................... ok
>
> ./Config/verbosity_level.t ............... ok
>
> ./Engine/fetch.t ......................... ok
>
> ./Finally/buildlocks.t ................... ok
>
> ./Finally/finally.t ...................... ok
>
> ./FinkVersion/exports.t .................. ok
>
> ./FinkVersion/version.t .................. ok
>
> ./Mirror/exports.t ....................... ok
>
> ./Notify/exports.t ....................... ok
>
> ./Package/duplicate_fullnames.t .......... ok
>
> ./PkgVersion/get_perl.t .................. ok
>
> ./PkgVersion/get_ruby.t .................. ok
>
> ./PkgVersion/get_splitoffs.t ............. ok
>
> ./PkgVersion/non_consecutive_source.t .... ok
>
> ./SelfUpdate/last_done.t ................. ok
>
> ./SelfUpdate/subclasses.t ................ ok
>
> ./Services/eval_conditional.t ............ ok
>
> ./Services/execute_nonroot_okay.t ........ ok
>
> ./Services/expand_percent.t .............. ok
>
> ./Services/prepare_script.t .............. ok
>
> ./Services/spec2struct.t ................. ok
>
> ./Services/version_cmp.t ................. ok
>
> ./Text/DelimMatch.t ...................... ok
>
> ./Validation/_filename_versioning_cmp.t .. ok
>
> ./Validation/exports.t ................... ok
>
>
> Test Summary Report
>
> -------------------
>
> ./Command/failure.t                    (Wstat: 256 Tests: 49 Failed: 1)
>
>   Failed test:  33
>
>   Non-zero exit status: 1
>
> Files=44, Tests=1005, 11 wallclock secs ( 0.30 usr  0.13 sys +  5.78 cusr
> 0.74 csys =  6.95 CPU)
>
> Result: FAIL
>
> Failed 1/44 test programs. 1/1005 subtests failed.
>
> make: *** [test] Error 1
>

I'm going to forward this message on to the fink-core list.


The relevant block where the test occurs is:

{
    $! = 0;
    touch 'foo';
    ok( !mkdir_p('foo'), 'mkdir_p: file already exists' );
TODO: {
    todo_skip "Fails if manual CPAN usage, not yet understood", 1;
    cmp_ok( $!, '!=', 0 );
    }

    ok( !mkdir_p('foo', 'bar'), '          one failure, one success' );
    ok( -d 'bar' );

    unlink 'foo';
    rm_rf 'bar';
}


SKIP: {
    skip "You must be root", 5 unless $> == 0;
    skip "Can't find an unprivledged user", 5 unless $Unprivledged_UID;

    mkdir 'foo';
    mkdir 'bar';

    chmod 0500, 'foo';
    chmod 0777, 'bar';
    chowname 'nobody:nobody', 'bar';
    touch 'bar/baz';
    chowname 'nobody:nobody', 'bar/baz';
    chmod 0666, 'bar/baz';

    # drop privledges
    local $> = $Unprivledged_UID;

    $! = 0;
    ok( !rm_rf('foo') );
    ok( -e 'foo' );
    cmp_ok( $!, '!=', 0 );

    $! = 0;
    ok( !rm_rf('bar/baz', 'foo') );
    cmp_ok( $!, '!=', 0 );
    ok( -e 'foo' );

TODO: {
    local $TODO;
    $TODO = "Fails on 10.6 during upgrade from older OS X" if
Fink::Services::get_kernel_vers()==10;
    ok( !-e 'bar/baz' );
}
}
rm_rf 'foo';
rm_rf 'bar';

-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
fink-core mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.core
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.