Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building From Src on windows. After adding source files to build.gn Build fails #359

Open
Arthur-Senior opened this issue Jun 8, 2024 · 15 comments

Comments

@Arthur-Senior
Copy link

I added to source files to BUILD.gn and started the process to compile. Before this i recreated the obvject files with gn gen .....
The Build process stacked with the following output:

-C925-4FA4-AFE9-5FA69902B021,PLACEHOLDER-GUID-5F41DC50-029C-4F5A-9860-EF352A0B66D2=E1C53EEF-2BAB-4420-BDD7-256B91C49D0C updater_legacy_idl.tlb updater_legacy_idl.h updater_legacy_idl.dlldata.c updater_legacy_idl_i.c updater_legacy_idl_p.c ../../third_party/llvm-build/Release+Asserts/bin/clang-cl.exe gen/chrome/updater/app/server/win/updater_legacy_idl.template /char signed /env x64 /Oicf
FAILED: gen/chrome/updater/app/server/win/updater_legacy_idl.h gen/chrome/updater/app/server/win/updater_legacy_idl_i.c gen/chrome/updater/app/server/win/updater_legacy_idl.tlb gen/chrome/updater/app/server/win/updater_legacy_idl.dlldata.c gen/chrome/updater/app/server/win/updater_legacy_idl_p.c
C:/Python310/python3.exe ../../build/toolchain/win/midl.py environment.x64 ../../third_party/win_build_output/midl/chrome/updater/app/server/win gen/chrome/updater/app/server/win ignore_proxy_stub,PLACEHOLDER-GUID-7A1FDE1F-AAA9-441B-B9AA-95B31D78592B=4C61BB05-94D1-4BAB-B69C-C34195AF92CA,PLACEHOLDER-GUID-A0FEB7CB-E0D8-4035-A4C9-5620A8C725AD=75828ED1-7BE8-45D0-8950-AA85CBF74510,PLACEHOLDER-GUID-FAC5C548-84EC-474C-A4B3-CD414E09B14C=283209B7-C761-41CA-BE8D-B5321CD78FD6,PLACEHOLDER-GUID-687DCE9A-57BE-4026-BEC4-C0A9ACBBCAF2=B52C8B56-9541-4B78-9B2F-665366B78A9C,PLACEHOLDER-GUID-E432DCFE-6A32-4C07-B038-9D74AC80D6AB=4DAC24AB-B340-4B7E-AD01-1504A7F59EEA,PLACEHOLDER-GUID-F675D224-BD54-40E9-AECB-AA3B64EB9863=83FE19AC-72A6-4A72-B136-724444121586,PLACEHOLDER-GUID-CEC2877D-4856-460E-BE73-11DD7CC7C821=811A664F-703E-407C-A323-E6E31D1EFFA0,PLACEHOLDER-GUID-AA10D17D-7A09-48AC-B1E4-F124937E3D26=3057E1F8-2498-4C19-99B5-F7F207DA4DC7,PLACEHOLDER-GUID-AC817E10-993C-470F-8DCA-25F53D70EA8D=F4874A57-8C88-4B1D-AAB8-4B06CF98FB29,PLACEHOLDER-GUID-9367601E-C100-4702-8755-808D6BB385D8=4AF986BF-DD14-45C2-8228-2541622699CD,PLACEHOLDER-GUID-A643508B-B1E3-4457-9769-32C953BD1D57=BE5D3E90-A66C-4A0A-9B7B-1A6B9BF3971E,PLACEHOLDER-GUID-31479718-D170-467B-9274-27FC3E88CB76=AE097E2A-7F4B-4248-8698-D6E515E9C638,PLACEHOLDER-GUID-71CBC6BB-CA4B-4B5A-83C0-FC95F9CA6A30=E0425C1F-4263-4BA5-9328-423470344FC0,PLACEHOLDER-GUID-A35E1C5E-0A18-4FF1-8C4D-DD8ED07B0BD0=027234BD-61BB-4F5C-9386-7FE804171C8C,PLACEHOLDER-GUID-EE8EE731-C592-4A4F-9774-BB04337B8F46=E2C00808-83C7-4CE4-8075-7E185A90AE04,PLACEHOLDER-GUID-AE5F8C9D-B94D-4367-A422-D1DC4E913A52=B7DA4837-09FF-4355-BFE1-30598E40F41A,PLACEHOLDER-GUID-0569DBB9-BAA0-48D5-8543-0F3BE30A1648=D734C877-21F4-496E-B857-3E5B2E72E4CC,PLACEHOLDER-GUID-CE7A37FD-A255-460C-BAF1-708765EB76EC=EA08425E-054B-4564-B0A0-8BAAB76F38E9,PLACEHOLDER-GUID-BFFD766D-A2DD-436E-89FA-BF05BC5B5958=D45CFCE3-5297-4D0B-925E-1924A32A7452,PLACEHOLDER-GUID-63D941DE-F67B-4E15-8A90-27881DA9EF4A=2C6218B9-088D-4D25-A4F8-570558124142,PLACEHOLDER-GUID-47B9D508-CB72-4F8B-AF00-7D0143603B25=2C320333-21CF-4FC8-BF8F-4287DB3795B7,PLACEHOLDER-GUID-540B227A-F442-45D5-BA52-298A05BAF1A8=8CA0CD21-6864-4BD8-BF0F-2D69AF3A0FE8,PLACEHOLDER-GUID-10A2D03F-8BC7-49DB-A21E-A7D4429D2759=87DBF75E-F590-4802-93FD-F8D07800E2E9,PLACEHOLDER-GUID-5515E66F-FA6F-4D74-B5EA-4FCFDA16FE12=F8D4B43D-7D22-47FE-B6AD-BAC5ED8A1659,PLACEHOLDER-GUID-C6E2C5D5-86FA-4A64-9D08-8C9B644F0E49=DF735BF0-0265-4D65-BABA-E244D428EFC5,PLACEHOLDER-GUID-6A54FE75-EDC8-404E-A41B-4278C0557151=7D908375-C9D0-44C5-BB98-206F3C24A74C,PLACEHOLDER-GUID-EF739C0C-40B0-478D-B76B-3659B8F2B0EB=19309C09-C93C-45DA-8C02-9A8B8198A5E0,PLACEHOLDER-GUID-F3964464-A939-44D3-9244-36BD2E3630B8=F8197F77-DE9C-4BB0-9F63-459A001154C6,PLACEHOLDER-GUID-06A6AA1E-2680-4076-A7CD-6053722CF454=9D31EA63-2E06-4D41-98C7-CB1F307DB597,PLACEHOLDER-GUID-AD91C851-86AC-499F-9BA9-9A561744AA4D=1163C9E6-6391-46E2-96AB-2BCB8907D669,PLACEHOLDER-GUID-F4A0362A-3702-48B8-9896-7D8013D03AB2=78A85A33-F541-4A52-A1F2-0BCBA1F1A4F0,PLACEHOLDER-GUID-029BD175-5035-4E2A-8724-C9D47F4FAEA3=5C674FC1-80E3-48D2-987B-79D9D286065B,PLACEHOLDER-GUID-BC39E1E1-E8FA-4E72-903F-3BF346E7E165=847BB70C-47D0-46C2-8C97-9000A1F9AD99,PLACEHOLDER-GUID-7B26CC23-B2B8-441B-AA9C-8B551ABB611B=6F7996CA-5531-4299-BD7F-3C7090520090,PLACEHOLDER-GUID-2A7D2AE7-8EEE-45B4-B17F-31DAAC82CCBB=47C8886A-A4B5-4F6C-865A-41A207074DFA,PLACEHOLDER-GUID-7E0A6B39-7CEB-4944-ABFA-F419D201D6A0=13D172EB-2BFB-4D72-AF10-7D33337B7FC6,PLACEHOLDER-GUID-CC2CCD05-119C-44E1-852D-6DCC2DFB72EC=CFF9AE0F-C5C5-4D53-8394-7602758A52BA,PLACEHOLDER-GUID-4779D540-F6A3-455F-A929-7ADFE85B6F09=EED70106-3604-4385-866E-6D540E99CA1A,PLACEHOLDER-GUID-FFBAEC45-C5EC-4287-85CD-A831796BE952=437174A3-B9A5-4835-B896-7DE8C1FE2638,PLACEHOLDER-GUID-74F243B8-75D1-4E2D-BC89-5689798EEF3E=BAEE6326-C925-4FA4-AFE9-5FA69902B021,PLACEHOLDER-GUID-5F41DC50-029C-4F5A-9860-EF352A0B66D2=E1C53EEF-2BAB-4420-BDD7-256B91C49D0C updater_legacy_idl.tlb updater_legacy_idl.h updater_legacy_idl.dlldata.c updater_legacy_idl_i.c updater_legacy_idl_p.c ../../third_party/llvm-build/Release+Asserts/bin/clang-cl.exe gen/chrome/updater/app/server/win/updater_legacy_idl.template /char signed /env x64 /Oicf
Traceback (most recent call last):
File "C:\Projects\ungoogled\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 459, in
sys.exit(main(sys.argv[1:]))
File "C:\Projects\ungoogled\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 399, in main
overwrite_guids(
(os.path.join(outdir, file) if file else None
File "C:\Projects\ungoogled\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 237, in overwrite_guids
overwrite_guids_tlb(tlb_file, dynamic_guids)
File "C:\Projects\ungoogled\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 199, in overwrite_guids_tlb
contents, ntypes, type_off, guid_off, guid_len = get_tlb_contents(tlb_file)
File "C:\Projects\ungoogled\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 104, in get_tlb_contents
assert contents[0:8] == b'MSFT\x02\x00\x01\x00'
AssertionError
[105/31697] ....\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../chrome/installer/mini_installer/mini_installer.cc /Foobj/chrome/installer/mini_installer/lib/mini_installer.obj /nologo /showIncludes "-imsvc../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/include" "-imsvc../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/ATLMFC/include" "-imsvc../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.22621.0/ucrt" "-imsvc../../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.22621.0/um" "-imsvc../../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.22621.0/shared" "-imsvc../../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.22621.0/winrt" "-imsvc../../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.22621.0/cppwinrt" "-imsvc../../../../../../../Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um" -DUSE_AURA=1 -DOFFICIAL_BUILD -D_HAS_NODISCARD -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO

@PF4Public
Copy link

Please quote your listings, otherwise they're not readable. Also please note that we may be unable to help if you're building modified version of ungoogled-chromium.

@Arthur-Senior
Copy link
Author

Arthur-Senior commented Jun 8, 2024

raceback (most recent call last):
File "C:\Projects\ungoogled\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 459, in
sys.exit(main(sys.argv[1:]))
File "C:\Projects\ungoogled\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 399, in main
overwrite_guids(
(os.path.join(outdir, file) if file else None
File "C:\Projects\ungoogled\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 237, in overwrite_guids
overwrite_guids_tlb(tlb_file, dynamic_guids)
File "C:\Projects\ungoogled\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 199, in overwrite_guids_tlb
contents, ntypes, type_off, guid_off, guid_len = get_tlb_contents(tlb_file)
File "C:\Projects\ungoogled\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 104, in get_tlb_contents
assert contents[0:8] == b'MSFT\x02\x00\x01\x00'
AssertionError
[1676/31073] CXX obj/chrome/updater/tagging/tag.obj
ninja: build stopped: subcommand failed.

@Arthur-Senior
Copy link
Author

Even after recalling the changes, i get the same error.
Traceback (most recent call last):
File "C:\Projects\ungoogled\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 459, in
sys.exit(main(sys.argv[1:]))
File "C:\Projects\ungoogled\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 399, in main
overwrite_guids(
(os.path.join(outdir, file) if file else None
File "C:\Projects\ungoogled\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 237, in overwrite_guids
overwrite_guids_tlb(tlb_file, dynamic_guids)
File "C:\Projects\ungoogled\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 199, in overwrite_guids_tlb
contents, ntypes, type_off, guid_off, guid_len = get_tlb_contents(tlb_file)
File "C:\Projects\ungoogled\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 104, in get_tlb_contents
assert contents[0:8] == b'MSFT\x02\x00\x01\x00'
AssertionError

@PF4Public
Copy link

Apparently you did something else wrong. I have no idea what that might be.

@Arthur-Senior
Copy link
Author

i try from new. and make backup after full build.

@Arthur-Senior
Copy link
Author

Something not direct for this issue: I created a fork on github and will push my changes there, so we can speak about it.

@satanmp
Copy link

satanmp commented Sep 3, 2024

Something not direct for this issue: I created a fork on github and will push my changes there, so we can speak about it.

I also encountered this problem, is there any solution?

@Arthur-Senior
Copy link
Author

Arthur-Senior commented Sep 3, 2024 via email

@satanmp
Copy link

satanmp commented Sep 3, 2024

Yes, I rechecked where it was appended. We must check to avoid incirclements. вт, 3 сент. 2024 г., 05:39 satanmp @.***>:

Something not direct for this issue: I created a fork on github and will push my changes there, so we can speak about it. I also encountered this problem, is there any solution? — Reply to this email directly, view it on GitHub <#359 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6B3QAEKA4LOO7ZZM3RO66TZUUVOVAVCNFSM6AAAAABJAFZ57WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRVGU2DMOBSGY . You are receiving this because you authored the thread.Message ID: </issues/359/2325546826@ github.com>

Can you tell me the solution? I spent a long time without a solution, thank you

@Arthur-Senior
Copy link
Author

Arthur-Senior commented Sep 3, 2024 via email

@satanmp
Copy link

satanmp commented Sep 3, 2024

Send me the link, I take a look. вт, 3 сент. 2024 г., 09:19 satanmp @.>:

Yes, I rechecked where it was appended. We must check to avoid incirclements. вт, 3 сент. 2024 г., 05:39 satanmp @.
>: … <#m_-1995132675651569772_> Something not direct for this issue: I created a fork on github and will push my changes there, so we can speak about it. I also encountered this problem, is there any solution? — Reply to this email directly, view it on GitHub <#359 (comment) <#359 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6B3QAEKA4LOO7ZZM3RO66TZUUVOVAVCNFSM6AAAAABJAFZ57WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRVGU2DMOBSGY . You are receiving this because you authored the thread.Message ID: < /issues/359 <#359> /2325546826@ github.com> Can you tell me the solution? I spent a long time without a solution, thank you — Reply to this email directly, view it on GitHub <#359 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6B3QACUGG3S7FMRI2REWXLZUVPHXAVCNFSM6AAAAABJAFZ57WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRVG43TMOBZG4 . You are receiving this because you authored the thread.Message ID: </issues/359/2325776897@ github.com>

like this,please help me , very thanks:
FAILED: gen/chrome/updater/app/server/win/updater_idl.h gen/chrome/updater/app/server/win/updater_idl_i.c gen/chrome/updater/app/server/win/updater_idl.tlb gen/chrome/updater/app/server/win/updater_idl.dlldata.c gen/chrome/updater/app/server/win/updater_idl_p.c
D:/Python/Python38/python3.exe ../../build/toolchain/win/midl.py environment.x64 ../../third_party/win_build_output/midl/chrome/updater/app/server/win gen/chrome/updater/app/server/win ignore_proxy_stub,PLACEHOLDER-GUID-69464FF0-D9EC-4037-A35F-8AE4358106CC=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-158428a4-6014-4978-83ba-9fad0dabe791=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-415FD747-D79E-42D7-93AC-1BA6E5FD4E93=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-63B8FFB1-5314-48C9-9C57-93EC8BC6184B=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-02AFCB67-0899-4676-91A9-67D92B3B7918=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-FCE335F3-A55C-496E-814F-85971C9FA6F1=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-46ACF70B-AC13-406D-B53B-B2C4BF091FF6=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-C3485D9F-C684-4C43-B85B-E339EA395C29=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-EA6FDC05-CDC5-4EA4-AB41-CCBD1040A2B5=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-2FCD14AF-B645-4351-8359-E80A0E202A0B=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-9AD1A645-5A4B-4D36-BC21-F0059482E6EA=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-E2BD9A6B-0A19-4C89-AE8B-B7E9E51D9A07=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-7B416CFD-4216-4FD6-BD83-7C586054676E=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-B54493A0-65B7-408C-B650-06265D2182AC=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-057B500A-4BA2-496A-B1CD-C5DED3CCC61B=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-8BAB6F84-AD67-4819-B846-CC890880FD3B=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-34ADC89D-552B-4102-8AE5-D613A691335B=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-F0D6763A-0182-4136-B1FA-508E334CFFC1=uuid5:ChromiumUpdater updater_idl.tlb updater_idl.h updater_idl.dlldata.c updater_idl_i.c updater_idl_p.c ../../third_party/llvm-build/Release+Asserts/bin/clang-cl.exe gen/chrome/updater/app/server/win/updater_idl.template /char signed /env x64 /Oicf
Traceback (most recent call last):
File "../../build/toolchain/win/midl.py", line 459, in
sys.exit(main(sys.argv[1:]))
File "../../build/toolchain/win/midl.py", line 399, in main
overwrite_guids(
(os.path.join(outdir, file) if file else None
File "../../build/toolchain/win/midl.py", line 237, in overwrite_guids
overwrite_guids_tlb(tlb_file, dynamic_guids)
File "../../build/toolchain/win/midl.py", line 199, in overwrite_guids_tlb
contents, ntypes, type_off, guid_off, guid_len = get_tlb_contents(tlb_file)
File "../../build/toolchain/win/midl.py", line 104, in get_tlb_contents
assert contents[0:8] == b'MSFT\x02\x00\x01\x00'
AssertionError
[1341/55216] CXX obj/third_party/angle/angle_common/utilities.obj

@xiaobu474
Copy link

@Arthur-Senior hello, I also encountered this problem and I never do any change in build.gn. Have any idea?

The problem is:

FAILED: gen/chrome/updater/app/server/win/updater_idl.h gen/chrome/updater/app/server/win/updater_idl_i.c gen/chrome/updater/app/server/win/updater_idl.tlb gen/chrome/updater/app/server/win/updater_idl.dlldata.c gen/chrome/updater/app/server/win/updater_idl_p.c
D:/workshop/python310/python3.exe ../../build/toolchain/win/midl.py environment.x64 ../../third_party/win_build_output/midl/chrome/updater/app/server/win gen/chrome/updater/app/server/win ignore_proxy_stub,PLACEHOLDER-GUID-69464FF0-D9EC-4037-A35F-8AE4358106CC=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-158428a4-6014-4978-83ba-9fad0dabe791=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-415FD747-D79E-42D7-93AC-1BA6E5FD4E93=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-63B8FFB1-5314-48C9-9C57-93EC8BC6184B=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-02AFCB67-0899-4676-91A9-67D92B3B7918=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-FCE335F3-A55C-496E-814F-85971C9FA6F1=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-46ACF70B-AC13-406D-B53B-B2C4BF091FF6=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-C3485D9F-C684-4C43-B85B-E339EA395C29=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-EA6FDC05-CDC5-4EA4-AB41-CCBD1040A2B5=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-2FCD14AF-B645-4351-8359-E80A0E202A0B=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-9AD1A645-5A4B-4D36-BC21-F0059482E6EA=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-E2BD9A6B-0A19-4C89-AE8B-B7E9E51D9A07=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-7B416CFD-4216-4FD6-BD83-7C586054676E=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-B54493A0-65B7-408C-B650-06265D2182AC=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-057B500A-4BA2-496A-B1CD-C5DED3CCC61B=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-8BAB6F84-AD67-4819-B846-CC890880FD3B=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-34ADC89D-552B-4102-8AE5-D613A691335B=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-F0D6763A-0182-4136-B1FA-508E334CFFC1=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-A22AFC54-2DEF-4578-9187-DB3B24381090=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-028FEB84-44BC-4A73-A0CD-603678155CC3=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-92631531-8044-46F4-B645-CDFBCCC7FA3B=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-EFE903C0-E820-4136-9FAE-FDCD7F256302=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-BCFCF95C-DE48-4F42-B0E9-D50DB407DB53=uuid5:ChromiumUpdater,PLACEHOLDER-GUID-2CB8867E-495E-459F-B1B6-2DD7FFDBD462=uuid5:ChromiumUpdater updater_idl.tlb updater_idl.h updater_idl.dlldata.c updater_idl_i.c updater_idl_p.c ../../third_party/llvm-build/Release+Asserts/bin/clang-cl.exe gen/chrome/updater/app/server/win/updater_idl.template /char signed /env x64 /Oicf
Traceback (most recent call last):
File "D:\code\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 459, in
sys.exit(main(sys.argv[1:]))
File "D:\code\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 399, in main
overwrite_guids(
(os.path.join(outdir, file) if file else None
File "D:\code\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 237, in overwrite_guids
overwrite_guids_tlb(tlb_file, dynamic_guids)
File "D:\code\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 199, in overwrite_guids_tlb
contents, ntypes, type_off, guid_off, guid_len = get_tlb_contents(tlb_file)
File "D:\code\ungoogled-chromium-windows\build\src\build\toolchain\win\midl.py", line 104, in get_tlb_contents
assert contents[0:8] == b'MSFT\x02\x00\x01\x00'
AssertionError

@Arthur-Senior
Copy link
Author

Arthur-Senior commented Sep 25, 2024 via email

@xiaobu474
Copy link

@Arthur-Senior Sorry, my gn.exe is in "ungoogled-chromium-windows\build\src\out\Default". I don't know, is "path/to/dir" means "ungoogled-chromium-windows\build\src\out"? Or something else?

I have tried delete the folder "ungoogled-chromium-windows\build\src\out" and try again, it didn't work...

@xiaobu474
Copy link

Maybe I have a SDK version? The .tlb file is wrong (I saw the updater_idl.tlb file is empty). I've changed the SDK version to 10.0.22621.2428, but it didn't work, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants