WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 1083] New: Misleading error messages due to Makefile.xen

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1083] New: Misleading error messages due to Makefile.xen.awk requiring gawk
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Tue, 9 Oct 2007 14:00:41 -0700
Delivery-date: Tue, 09 Oct 2007 14:01:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1083

           Summary: Misleading error messages due to Makefile.xen.awk
                    requiring gawk
           Product: Xen
           Version: unstable
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unspecified
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: paul+xen-bugzilla@xxxxxxxxx


linux-2.6.18-xen.hg/scripts/Makefile.xen.awk requires gawk, it is not executed
properly by different flavours of awk (e.g. mawk fails). However, the build
process does not immediately fail with an appropriate error message if
Makefile.xen.awk cannot be executed successfully but it rather fails later on
when it tries to use the wrong version (without a "-xen" suffix) of a file
which results in some misleading fatal error.

In my opinion the following things should be done:

- Immediately fail with an appropriate error message if Makefile.xen.awk cannot
be executed successfully.
- Clearly mention the requirement of gawk in the documentation.

Additionally, one could:

- Change Makefile.xen.awk to be more compatible, i.e. not require gawk any
more.

Credits go to Gianluca Guida for his mail to xen-devel:
http://lists.xensource.com/archives/html/xen-devel/2007-10/msg00105.html


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 1083] New: Misleading error messages due to Makefile.xen.awk requiring gawk, bugzilla-daemon <=