In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/c7b2fb96dcace6e3cbac79dfe4c82984e1f7fd3d?hp=63b7eadbbf46d98f0a1bde05821cb66b9c04c351>

- Log -----------------------------------------------------------------
commit c7b2fb96dcace6e3cbac79dfe4c82984e1f7fd3d
Author: Jarkko Hietaniemi <[email protected]>
Date:   Tue Oct 7 20:28:20 2014 +0200

    Tru64: the cluster filesystem is special.
    
    (It has non-POSIX interfaces and semantics which probably should
     be left outside e.g. Cwd::realpath()).

M       dist/ExtUtils-CBuilder/t/04-base.t

commit 1874162f037456b666aa88174a3a68546de0c4de
Author: Jarkko Hietaniemi <[email protected]>
Date:   Mon Oct 6 23:34:56 2014 +0200

    Tru64: Document "read_cur_obj_info: bad file magic number" error.

M       README.tru64
-----------------------------------------------------------------------

Summary of changes:
 README.tru64                       | 13 +++++++++++++
 dist/ExtUtils-CBuilder/t/04-base.t |  8 +++++++-
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/README.tru64 b/README.tru64
index 8f7e9b9..5e3ae85 100644
--- a/README.tru64
+++ b/README.tru64
@@ -167,6 +167,19 @@ you need to either recompile your Perl in Tru64 4.0D or 
upgrade your
 Tru64 4.0D to at least 4.0F: the sockatmark() system call was
 added in Tru64 4.0F, and the IO extension refers that symbol.
 
+=head1 read_cur_obj_info: bad file magic number
+
+You may be mixing the Tru64 cc/ar/ld with the GNU gcc/ar/ld.
+That may work, but sometimes it doesn't (your gcc or GNU utils
+may have been compiled for an incompatible OS release).
+
+Try 'which ld' and 'which ld' (or try 'ar --version' and 'ld --version',
+which work only for the GNU tools, and will announce themselves to be such),
+and adjust your PATH so that you are consistently using either
+the native tools or the GNU tools.  After fixing your PATH, you should
+do 'make distclean' and start all the way from running the Configure
+since you may have quite a confused situation.
+
 =head1 AUTHOR
 
 Jarkko Hietaniemi <[email protected]>
diff --git a/dist/ExtUtils-CBuilder/t/04-base.t 
b/dist/ExtUtils-CBuilder/t/04-base.t
index beffe7f..1acc3ea 100644
--- a/dist/ExtUtils-CBuilder/t/04-base.t
+++ b/dist/ExtUtils-CBuilder/t/04-base.t
@@ -264,7 +264,13 @@ is_deeply( \%split_seen, \%exp,
     touch_file($exporter);
     $rv = $base->perl_src();
     ok( -d $rv, "perl_src(): returned a directory" );
-    is( uc($rv), uc(Cwd::realpath($subdir)), "perl_src(): identified 
directory" );
+    my $rp = Cwd::realpath($subdir);
+  SKIP: {
+      if ($^O eq 'dec_osf' && $rp =~ m[^/cluster/members/]) {
+          skip "Tru64 cluster filesystem", 1;
+      } # SKIP
+      is( uc($rv), uc($rp), "perl_src(): identified directory" );
+    }
     is( $capture, q{}, "perl_src(): no warning, as expected" );
 
     chdir $cwd

--
Perl5 Master Repository

Reply via email to