Skip to content

Bug Report: rime-terra-pinyin & rime-bopomofo file conflict(report with chatgpt) #228

Description

@cgyit

Bug Report: rime-terra-pinyin & rime-bopomofo File Conflict

Summary

rime-terra-pinyin and rime-bopomofo conflict on generated files under
/usr/share/rime-data/build/, causing pacman to abort installation with file
ownership conflicts.

This makes it impossible to install or upgrade Rime-related packages via pacman
without using force options.


Environment

  • Distro: Arch Linux (x86_64)
  • Kernel: linux-zen 6.18.6.zen1-1 (also reproducible with linux-lts installed)
  • Input Method Framework: fcitx5
  • Rime Engine: librime 1:1.15.0 / 1:1.16.0
  • pacman: 7.1.0.r9.g54d9411

Packages Involved

  • librime
  • librime-data 0.0.0.20250421-1
  • rime-terra-pinyin 0.0.0.20251206-1
  • rime-bopomofo 0.0.0.20251124-1

Steps to Reproduce

  1. Start from a system with fcitx5-rime and librime installed.

  2. Ensure the build directory does not exist:
    sudo rm -rf /usr/share/rime-data/build

    Install while bypassing the broken dependency:

    pacman -S rime-terra-pinyin --assume-installed librime-data

    Force overwrite conflicting files:

    pacman -S rime-terra-pinyin --overwrite '/usr/share/rime-data/build/*'

These workarounds are not suitable as long-term solutions.
Suggested Fix

Remove generated build/* artifacts from both rime-terra-pinyin and
rime-bopomofo packages.

Ensure that deploy artifacts are generated only at runtime or user-level.

Re-evaluate librime-data dependencies to avoid mandatory conflicting schemas.

Reproducibility

✔ Reproducible 100% on a clean Arch Linux system with current repositories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions