Hello, folks.

I am attempting to build a python binary wheel for protobuf from the PyPi 
4.25.3 source wheel <https://pypi.org/project/protobuf/4.25.3/#files> under 
github actions, in this workflow. The builds broke due to missing 
identifiers under python/identifier.c:

```
 
C:\Users\runneradmin\AppData\Local\Temp\cibw-sdist-m44pjj69\protobuf-4.25.3\upb/message/internal/array.h(123):
 
warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits 
(was 64-bit shift intended?)
    
C:\Users\runneradmin\AppData\Local\Temp\cibw-sdist-m44pjj69\protobuf-4.25.3\upb/message/accessors.h(316):
 
warning C4267: 'function': conversion from 'size_t' to 'int', possible loss 
of data
    python\descriptor.c(48): error C2059: syntax error: ';'
    python\descriptor.c(53): error C2059: syntax error: '}'
    python\descriptor.c(56): error C2065: 'PyUpb_DescriptorBase': 
undeclared identifier
    python\descriptor.c(56): error C2065: 'base': undeclared identifier
```
Is there any specific procedure for building windows from source, or any 
assumptions about the environment that should be respected? I ran out of 
ideas on how to troubleshoot this, any help is welcome.

Python version: 3.9.13
Github actions image: windows-2022
workflow definition 
<https://github.com/google/clusterfuzz/pull/3981/files#diff-a088441ab378926e8ddaff0978376607875e3405c85b9d45aa0478eb4658d4a4>
 
workflow run logs 
<https://github.com/google/clusterfuzz/actions/runs/9080981147/job/24953750698>
 

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/1e656fee-592e-4f91-b741-d8e2ee8311c1n%40googlegroups.com.

Reply via email to