Since migrating from 10.3 unstable to 10.4-transitional unstable, I'm getting this output from Anacron every day:

/sw/etc/cron.daily/dlocate:
Use of uninitialized value in hash element at /sw/lib/perl5/Fink/ VirtPackage.pm line 659. Use of uninitialized value in scalar assignment at /sw/lib/perl5/Fink/ VirtPackage.pm line 1398. Use of uninitialized value in concatenation (.) or string at /sw/lib/ perl5/Fink/VirtPackage.pm line 1403. Use of uninitialized value in concatenation (.) or string at /sw/lib/ perl5/Fink/VirtPackage.pm line 1403. Use of uninitialized value in concatenation (.) or string at /sw/lib/ perl5/Fink/VirtPackage.pm line 1403. Use of uninitialized value in hash element at /sw/lib/perl5/Fink/ VirtPackage.pm line 660.

This is with 10.4.4, Xcode 2.2.1, and fink 0.24.11-21. I migrated according to the instructions on the Fink home page. I didn't get the error before the migration.

Lines 657-661 of VirtPackage.pm are as follows:

foreach (sort keys %expected_gcc) {
        if (!exists $self->{$_} && !Fink::Status->query_package($_)) {
                $hash = &gen_gcc_hash($_, $expected_gcc{$_}, 0, STATUS_ABSENT);
                $self->{$hash->{package}} = $hash;
                print STDERR "  - missing $expected_gcc{$_}\n" if 
($options{debug});

Lines 1396-1406 are as follows:

sub gen_gcc_hash {
        my $package = shift;
        my $version = shift;
        my $is_64bit = shift;
        my $status = shift;
        $is_64bit = $is_64bit ? ' 64-bit' : '';

        my $return = {
                package          => $package,
                version          => $version
                            . ($status eq STATUS_PRESENT

From 'gcc --version' I get:

powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5250)

Thanks for any suggestions.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to