bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exit status 63


From: Alexandre Duret-Lutz
Subject: Re: exit status 63
Date: Sun, 25 May 2003 03:41:46 +0200
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3 (gnu/linux)

Patrick Welche <address@hidden> writes:
| autoupdate: /usr/pkg/bin/gm4 failed with exit status: 63
| tools.at:602: exit code was 1, expected 63
| 12. tools.at:588: 12. tools.at:588: FAILED near `tools.at:602'

Hi Patrick,

Thank you for the report.

Could you tell us more about your environment?  (OS? Perl version?)

Could you try to run the following commands after installing the
appended patch?  (You shouldn't need to reinstall nor recompile
anything, just install the patch and make sure you run the
autoupdate copy from the tests/ subdirectory.)

% cd tests
% echo "AC_PREREQ(999.99)" | ./autoupdate -

Here is the kind of output I'm expecting:

autoupdate: xsys $! = 0 ()
autoupdate: xsys $? = 0
autom4te: END $! = 0 ()
autom4te: END $? = 0
autom4te: final $? = 0
autoupdate: xsys $! = 0 ()
autoupdate: xsys $? = 0
autom4te: END $! = 0 ()
autom4te: END $? = 0
autom4te: final $? = 0
autoupdate: xsys $! = 0 ()
autoupdate: xsys $? = 0
/tmp/auDS5rxd/input.m4:98: error: Autoconf version 999.99 or higher is required
/tmp/auDS5rxd/input.m4:98: the top level
autoupdate: xsys(/usr/bin/m4) $! = 0 ()
autoupdate: xsys(/usr/bin/m4) $? = 16128
autoupdate: error $! = 0 ()
autoupdate: error $? = 16128
autoupdate: /usr/bin/m4 failed with exit status: 63
autoupdate: END $! = 0 ()
autoupdate: END $? = 63
autoupdate: final $? = 63

Obviously yours will diverge at some point.

Index: lib/Autom4te/General.pm
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/Autom4te/General.pm,v
retrieving revision 1.25
diff -u -r1.25 General.pm
--- lib/Autom4te/General.pm     23 May 2003 18:16:57 -0000      1.25
+++ lib/Autom4te/General.pm     25 May 2003 01:37:34 -0000
@@ -93,6 +93,8 @@
 # nonzero whenever closing STDOUT fails.
 sub END
 {
+  print STDERR "$me: END \$! = @{[int($!)]} ($!)\n";
+  print STDERR "$me: END \$? = $?\n";
   # $? contains the exit status we will return.
   # It was set using one of the following ways:
   #
@@ -142,6 +144,7 @@
       $? = 1;
       return;
     }
+  print STDERR "$me: final \$? = $?\n";
 }
 
 
@@ -215,6 +218,8 @@
 # Same as die or confess, depending on $debug.
 sub error (@)
 {
+  print STDERR "$me: error \$! = @{[int($!)]} ($!)\n";
+  print STDERR "$me: error \$? = $?\n";
   if ($debug)
     {
       confess "$me: ", @_, "\n";
@@ -522,9 +527,13 @@
 
   $! = 0;
 
+  print STDERR "$me: xsys \$! = @{[int($!)]} ($!)\n";
+  print STDERR "$me: xsys \$? = $?\n";
   if (system $command)
   {
     $command = (split (' ', $command))[0];
+    print STDERR "$me: xsys($command) \$! = @{[int($!)]} ($!)\n";
+    print STDERR "$me: xsys($command) \$? = $?\n";
     if ($!)
       {
        error "failed to run $command: $!";


-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]