kylebarron opened a new issue, #8207:
URL: https://github.com/apache/arrow-rs/issues/8207

   **Describe the bug**
   
   When [publishing Python wheels on 
CI](https://github.com/kylebarron/arro3/actions/runs/17143321818/job/48634791091)
 for the latest version of [arro3-io](https://github.com/kylebarron/arro3), 
which uses the `parquet` crate, it no longer builds for `parquet` v56 on the 
`s390x-unknown-linux-gnu` target. (It built fine for `parquet` v55).
   
   ```
   error[E0599]: no method named `to_ne_bytes` found for struct 
`bloom_filter::Block` in the current scope
      --> 
/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/parquet-56.0.0/src/bloom_filter/mod.rs:125:27
       |
   105 | struct Block([u32; 8]);
       | ------------ method `to_ne_bytes` not found for this struct
   ...
   125 |         self.swap_bytes().to_ne_bytes()
       |                           ^^^^^^^^^^^
       |
       = help: items from traits can only be used if the trait is implemented 
and in scope
       = note: the following trait defines an item `to_ne_bytes`, perhaps you 
need to implement it:
               candidate #1: `num::traits::ToBytes`
   help: there is a method `to_le_bytes` with a similar name
       |
   125 -         self.swap_bytes().to_ne_bytes()
   125 +         self.swap_bytes().to_le_bytes()
       |
   ```
   
   **To Reproduce**
   
   I'm not exactly sure how to reproduce this outside of CI. On my mac, I can't 
reproduce for that target; it succeeds for `cargo build -p parquet --target 
s390x-unknown-linux-gnu` and fails for a different reason (with `ring`) when 
`--all-features` is passed.
   
   **Expected behavior**
   
   Should compile.
   
   **Additional context**
   
   I'm not sure if there are specific targets that are supported/unsupported? 
If `s390x-unknown-linux-gnu` is not supported, I can close this issue and just 
not build Python wheels for that target.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to