uefi build is failing anyone seen this?

Programming, for all ages and all languages.
Post Reply
ggodw000
Member
Member
Posts: 396
Joined: Wed Nov 18, 2015 3:04 pm
Location: San Jose San Francisco Bay Area
Contact:

uefi build is failing anyone seen this?

Post by ggodw000 »

I am having following trouble. For confidentiality, hid the actual project name with <file> placeholder.
Anyone is familiar with this?
The build environment is WS2012 R2 / VS2008 installed, building EDK project.

Code: Select all

c:\MyWorkspace>dir
 Volume in drive C has no label.
 Volume Serial Number is D0C1-BC46

 Directory of c:\MyWorkspace

09/19/2016  04:43 AM    <DIR>          .
09/19/2016  04:43 AM    <DIR>          ..
09/19/2016  04:40 AM    <DIR>          BaseTools
09/19/2016  04:41 AM    <DIR>          Build
09/19/2016  11:25 AM               240 build.log
12/14/2015  10:28 PM             6,694 BuildNotes2.txt
09/19/2016  04:41 AM    <DIR>          Conf
09/19/2016  04:41 AM    <DIR>          CryptoPkg
09/19/2016  04:42 AM    <DIR>          Docs
09/19/2016  04:42 AM    <DIR>          DuetPkg
12/14/2015  10:28 PM            19,173 Edk2Setup.bat
05/23/2016  06:38 AM             1,557 edkii.development.notes.rtf
12/14/2015  10:28 PM             4,202 edksetup.bat
09/19/2016  04:42 AM    <DIR>          EdkShellBinPkg
09/19/2016  04:42 AM    <DIR>          Executable
09/19/2016  04:42 AM    <DIR>          FatBinPkg
09/19/2016  04:42 AM    <DIR>          Includes
09/19/2016  04:42 AM    <DIR>          IntelFrameworkModulePkg
12/14/2015  10:31 PM    <DIR>          IntelFrameworkPkg
12/14/2015  10:31 PM    <DIR>          MdeModulePkg
12/14/2015  10:31 PM    <DIR>          MdePkg
12/14/2015  10:31 PM    <DIR>          NetworkPkg
12/14/2015  10:31 PM    <DIR>          Nt32Pkg
12/14/2015  10:31 PM    <DIR>          PcAtChipsetPkg
12/14/2015  10:31 PM    <DIR>          PerformancePkg
12/14/2015  10:31 PM    <DIR>          SecurityPkg
08/05/2016  11:52 AM    <DIR>          <file>
12/14/2015  10:31 PM    <DIR>          ShellBinPkg
12/14/2015  10:31 PM    <DIR>          ShellPkg
07/13/2016  01:18 PM    <DIR>          Source
12/14/2015  10:31 PM    <DIR>          SourceLevelDebugPkg
12/14/2015  10:31 PM    <DIR>          UefiCpuPkg
               8 File(s)         39,645 bytes
              27 Dir(s)  48,488,312,832 bytes free

c:\MyWorkspace>edksetup.bat
          PATH      = c:\MyWorkspace\BaseTools\Bin;c:\MyWorkspace\BaseTools\Bin\
Win32;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System3
2\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\b
inn\

     WORKSPACE      = c:\MyWorkspace
EDK_TOOLS_PATH      = c:\MyWorkspace\BaseTools


Rebuilding of tools is not required.  Binaries of the latest,
tested versions of the tools have been tested and included in the
EDK II repository.

If you really want to build the tools, use the ForceRebuild option.


!!! WARNING !!! No CYGWIN_HOME set, gcc build may not be used !!!

c:\MyWorkspace>build -p <file>\<file>.dsc
Build environment: Windows-post2008Server-6.2.9200
Build start time: 06:51:17, Sep.19 2016

WORKSPACE        = c:\myworkspace
ECP_SOURCE       = c:\myworkspace\edkcompatibilitypkg
EDK_SOURCE       = c:\myworkspace\edkcompatibilitypkg
EFI_SOURCE       = c:\myworkspace\edkcompatibilitypkg
EDK_TOOLS_PATH   = c:\myworkspace\basetools

Architecture(s)  = X64
Build target     = DEBUG
Toolchain        = VS2008x86

Active Platform          = c:\myworkspace\<file>\<file>.dsc
Active Module            = c:\myworkspace\<file>.inf

Processing meta-data .. done!

build...
 : error F002: Module for [X64] is not a component of active platform. Please ma
ke sure that the ARCH and inf file path are given in the same as in [c:\myworksp
ace\<file>\<file>.dsc]
        c:\myworkspace\<file>.inf

- Failed -
Build end time: 06:51:19, Sep.19 2016
Build total time: 00:00:02


c:\MyWorkspace>
Googling finds following from this link below:
https://www.virtualbox.org/svn/vbox/tru ... d/build.py

Code: Select all

                self.BuildReport.AddPlatformReport(Wa, MaList)
                if MaList == []:
                    EdkLogger.error(
                                'build',
                                BUILD_ERROR,
                                "Module for [%s] is not a component of active platform."\
                                " Please make sure that the ARCH and inf file path are"\
                                " given in the same as in [%s]" %\
                                    (', '.join(Wa.ArchList), self.PlatformFile),
                                ExtraData=self.ModuleFile
                                )
                # Create MAP file when Load Fix Address is enabled.
key takeaway after spending yrs on sw industry: big issue small because everyone jumps on it and fixes it. small issue is big since everyone ignores and it causes catastrophy later. #devilisinthedetails
Post Reply