|
From: Andrew F. <af...@ap...> - 2010-09-10 18:51:57
|
Qing, It looks like it is not a generic problem? I don't get a trace. I get this error. build.py... : error 0001: File open failure /Users/fish/work/Raven/XPkg/libh/h/eth [Errno 21] Is a directory It looks like the makefile generation dependency code (Not the EFI DEPEX) is building the list of .h files that a .c file depends on. This is one of the files: /Users/fish/work/Raven/XPkg/libh/h/eth-phy/EthPhy.h that should be depended on and it seems to generate the error. This directory exists in the tree. /Users/fish/work/Raven/XPkg/libh/h/eth and that is why we get the error message about it being a directory. But internally the tool had dir path, when it should have had a path to an include file. Andrew Fish On Sep 9, 2010, at 8:40 PM, Huang, Qing wrote: > Andrew, > > Our build spec does allow to use "-" in the name of our path. I tried renaming a module's path in my windows environment and it does work. > > Can you please let me know your python trace stack for me to diagnose? > > Best regards, > Huang, Qing > > -----Original Message----- > From: Andrew Fish [mailto:af...@ap...] > Sent: Friday, September 10, 2010 3:07 AM > To: edk...@li... > Cc: edk...@li... > Subject: [edk2-buildtools] Build system puts out crazy error if a file name contains a - > > I noticed the code in GetDependencyList() (GenMake.py) will generate a strange error if a file path has a '-' in it. > > build.py... > : error 0001: File open failure > /Users/fish/work/edk2/XPkg/pci > [Errno 21] Is a directory > > When the file name is really /Users/fish/work/edk2/XPkg/pci-test/PciTest.h > > I was having this issue on OS X. I had to add lots of prints to the python to track this down as my issue was not as obvious as the example. > > Andrew Fish > > PS This is a big chunk of 3rd party code we ported to edk2, so we don't really what to change the paths and file names since we may need to diff against another code base in the future. > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > edk2-buildtools-devel mailing list > edk...@li... > https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel |