Re: [edk2-devel] I cant build edk2 for taimen please help!

2024-05-15 Thread Andrew Fish via groups.io
Egor,

The edk2 build tools have a tendency to throw if they find syntax errors, just 
like if they had internal errors. 

In this case I think the issue is in the repo?
'/home/edk2-msm/Platform/goole/msm8998/taimen.dsc’
Maybe `goole` should be `Google` ?

Thanks,

Andrew Fish

> On May 13, 2024, at 2:16 PM, Egor F  wrote:
> 
> i cloned the source code using get then ran this: sudo ./build.sh (i tried 
> without sudo too) here are the logs they told me i need to mail 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#118911): https://edk2.groups.io/g/devel/message/118911
Mute This Topic: https://groups.io/mt/106109820/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-




[edk2-devel] I cant build edk2 for taimen please help!

2024-05-15 Thread Egor F
i cloned the source code using get then ran this: sudo ./build.sh (i tried
without sudo too) here are the logs they told me i need to mail


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#118910): https://edk2.groups.io/g/devel/message/118910
Mute This Topic: https://groups.io/mt/106109820/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


build.py...
 : error C0DE: Unknown fatal error when processing 
[/home/edk2-msm/Platform/goole/msm8998/taimen.dsc]

(Please send email to devel@edk2.groups.io for help, attaching following call 
stack trace!)

(Python 3.11.2 on linux) Traceback (most recent call last):
  File 
"/home/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
 line 2692, in Main
MyBuild = Build(Target, Workspace, Option,LogQ)
  ^
  File 
"/home/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
 line 815, in __init__
self.InitPreBuild()
  File 
"/home/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
 line 1015, in InitPreBuild
self.LoadConfiguration()
  File 
"/home/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
 line 971, in LoadConfiguration
self.GetToolChainAndFamilyFromDsc (self.PlatformFile)
  File 
"/home/edk2-msm/Common/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
 line 905, in GetToolChainAndFamilyFromDsc
dscobj = self.BuildDatabase[File, BuildArch]
 ~~^
  File 
"/home/edk2-msm/Common/edk2/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py",
 line 104, in __getitem__
BuildObject = self.CreateBuildObject(FilePath, Arch, Target, Toolchain)
  ^
  File 
"/home/edk2-msm/Common/edk2/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py",
 line 120, in CreateBuildObject
MetaFileStorage(self.WorkspaceDb, FilePath, FileType)
  File 
"/home/edk2-msm/Common/edk2/BaseTools/Source/Python/Workspace/MetaFileTable.py",
 line 426, in __new__
reval = Class._FILE_TABLE_[FileType](*Args)
^^^
  File 
"/home/edk2-msm/Common/edk2/BaseTools/Source/Python/Workspace/MetaFileTable.py",
 line 303, in __init__
MetaFileTable.__init__(self, Cursor, MetaFile, MODEL_FILE_DSC, Temporary, 
FromItem)
  File 
"/home/edk2-msm/Common/edk2/BaseTools/Source/Python/Workspace/MetaFileTable.py",
 line 39, in __init__
MetaFile.TimeStamp,
^^
  File "/home/edk2-msm/Common/edk2/BaseTools/Source/Python/Common/Misc.py", 
line 1539, in TimeStamp
return os.stat(self.Path)[8]
   ^^
  File 
"/home/edk2-msm/Common/edk2/BaseTools/Source/Python/Common/LongFilePathOs.py", 
line 51, in stat
return os.stat(LongFilePath(path))
   ^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'/home/edk2-msm/Platform/goole/msm8998/taimen.dsc'