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

[MSVC] [WINDOWS] Error copying file "C:/gitP/google/protobuf/upb/base/descriptor_constants.h" to "C:/gitP/google/protobuf/build_amd64/tmp-install-test/C:/gitP/google/protobuf/upb/base/descriptor_constants.h". 'true' is not recognized as an internal or external command, operable program or batch file. #16828

Open
SyahmieS opened this issue May 13, 2024 · 0 comments
Labels
untriaged auto added to all issues by default when created.

Comments

@SyahmieS
Copy link

[MSVC] [WINDOWS] Error copying file "C:/gitP/google/protobuf/upb/base/descriptor_constants.h" to "C:/gitP/google/protobuf/build_amd64/tmp-install-test/C:/gitP/google/protobuf/upb/base/descriptor_constants.h". 'true' is not recognized as an internal or external command, operable program or batch file. It can be reproduced on this commit 2f6e705. Could you please help and take a look at this? Thanks in advance!

Steps to reproduce the behaviour:

  1. git clone https://github.com/google/protobuf C:\gitP\google\protobuf
  2. Open a VS2022 x64 cmd
  3. set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64 & set CL= /Bcapture_repro C:\a_work_temp\rwc_project_logs\Google_Protobuf\preprocessed_repro_build & set LINK= /onfailrepro:C:\a_work_temp\rwc_project_logs\Google_Protobuf\link_repro_build
  4. set CL=/bigobj %CL%
  5. cd /d C:\gitP\google\protobuf\build_amd64
  6. msbuild /m /p:Platform=x64 /p:Configuration=Release protobuf.sln /t:Rebuild 2>&1

Error Message:
Error copying file "C:/gitP/google/protobuf/upb/base/descriptor_constants.h" to "C:/gitP/google/protobuf/build_amd64/tmp-install-test/C:/gitP/google/protobuf/upb/base/descriptor_constants.h". 'true' is not recognized as an internal or external command, operable program or batch file.
& Error copying file "C:/gitP/google/protobuf/upb/base/descriptor_constants.h" to "C:/gitP/google/protobuf/build_amd64_ltcg/tmp-install-test/C:/gitP/google/protobuf/upb/base/descriptor_constants.h". 'true' is not recognized as an internal or external command, operable program or batch file.

Expected behaviour:
Project passed.

@SyahmieS SyahmieS added the untriaged auto added to all issues by default when created. label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged auto added to all issues by default when created.
Projects
None yet
Development

No branches or pull requests

1 participant