Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`ioctl_ficlone` and related symbols seem to be missing on SPARC64

オープン
#1,700 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
linux, rust

調査の方向性

The failure is in the linux_raw_sys::ioctl constants (FIEMAP_* and FS_IOC_FIEMAP) and the rustix::fs::ioctl_ficlone function, both reported missing on SPARC64. Start by checking which architecture-specific ioctl definitions the linux_raw_sys crate generates and whether rustix's fs module gates ioctl_ficlone on an architecture list. Done means the symbols resolve when building for sparc64, verified by a cross-compile or a target-specific check.

索引モデルが issue の本文から書いたものです。

説明

I'm trying to build uv on SPARC64, and I'm hitting the following build failure:

error[E0432]: unresolved imports `linux_raw_sys::ioctl::FIEMAP_EXTENT_DATA_INLINE`, `linux_raw_sys::ioctl::FIEMAP_EXTENT_DELALLOC`, `linux_raw_sys::ioctl::FIEMAP_EXTENT_ENCODED`, `linux_raw_sys::ioctl::FIEMAP_EXTENT_LAST`, `linux_raw_sys::ioctl::FIEMAP_EXTENT_NOT_ALIGNED`, `linux_raw_sys::ioctl::FIEMAP_EXTENT_SHARED`, `linux_raw_sys::ioctl::FIEMAP_EXTENT_UNKNOWN`, `linux_raw_sys::ioctl::FS_IOC_FIEMAP`
  --> crates/uv-fs/src/space.rs:13:5
   |
13 |     FIEMAP_EXTENT_DATA_INLINE, FIEMAP_EXTENT_DELALLOC, FIEMAP_EXTENT_ENCODED, FIEMAP_EXTENT_LAST,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^ no `FIEMAP_EXTENT_LAST` in `ioctl`
   |     |                          |                       |
   |     |                          |                       no `FIEMAP_EXTENT_ENCODED` in `ioctl`
   |     |                          no `FIEMAP_EXTENT_DELALLOC` in `ioctl`
   |     no `FIEMAP_EXTENT_DATA_INLINE` in `ioctl`
14 |     FIEMAP_EXTENT_NOT_ALIGNED, FIEMAP_EXTENT_SHARED, FIEMAP_EXTENT_UNKNOWN, FS_IOC_FIEMAP,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^ no `FS_IOC_FIEMAP` in `ioctl`
   |     |                          |                     |
   |     |                          |                     no `FIEMAP_EXTENT_UNKNOWN` in `ioctl`
   |     |                          no `FIEMAP_EXTENT_SHARED` in `ioctl`
   |     no `FIEMAP_EXTENT_NOT_ALIGNED` in `ioctl`

error[E0425]: cannot find function `ioctl_ficlone` in module `rustix::fs`
   --> crates/uv-fs/src/link.rs:443:35
    |
443 |     if let Err(err) = rustix::fs::ioctl_ficlone(&dest, &src) {
    |                                   ^^^^^^^^^^^^^ not found in `rustix::fs`

I see these symbols in /usr/include/linux/fiemap.h, so it seems that they're missing in the library somehow?

This is against rustix v1.1.5.

主要言語
Rust
スター
2.1k
フォーク
305
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bytecodealliance/rustix のほかの issue

bytecodealliance/rustix の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。