bug-make
[Top][All Lists]
Advanced

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

[bug #31360] cannot handle path expansion correctly


From: wilson tien
Subject: [bug #31360] cannot handle path expansion correctly
Date: Mon, 18 Oct 2010 09:11:48 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; zh-TW; rv:1.9.1.12) Gecko/20100910 OSSII/3.5.12-1.ox2 Firefox/3.5.12

URL:
  <http://savannah.gnu.org/bugs/?31360>

                 Summary: cannot handle path expansion correctly
                 Project: make
            Submitted by: wilsontien
            Submitted on: Mon 18 Oct 2010 09:11:47 AM GMT
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.81
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

in Xen 4.0.1 build, there is a line in the Makefile 
-include ../../../../.config 
which follows BSD make convention, should not generate error message even if
the included file does not exist. However, it continues to bug the build
process. The reason is simple. include file will be concat with
include_directories[], and try to see whether we can find it somewhere in the
loop. However, /usr/include/../../../../.config will resolve to /.config even
the original intent is not that since 'cd ..' at '/' will still be '/'. If
there is a '/.config' at '/', then -include will simply fail. 
'../' in Makefile should really be just 'parent dir' and if there is no
parent dir, it should simply FAIL. IMHO.








    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 18 Oct 2010 09:11:47 AM GMT  Name: read.c.patch  Size: 2kB   By:
wilsontien

<http://savannah.gnu.org/bugs/download.php?file_id=21703>
-------------------------------------------------------
Date: Mon 18 Oct 2010 09:11:47 AM GMT  Name: testopen.out  Size: 275B   By:
wilsontien

<http://savannah.gnu.org/bugs/download.php?file_id=21704>
-------------------------------------------------------
Date: Mon 18 Oct 2010 09:11:47 AM GMT  Name: testopen.c  Size: 768B   By:
wilsontien

<http://savannah.gnu.org/bugs/download.php?file_id=21705>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31360>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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