Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/opendatahub-io/ai-helpers --skill rpm-examine명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | rpm-examine |
| description | Analyze RPM build.log failures |
| argument-hint | [copr-chroot-url] OR [build-log-url] [srpm-url] OR [build.log] [specfile|dist-git] [sources] |
odh-ai-helpers:rpm-examine
/rpm:examine <copr-chroot-url>
/rpm:examine <build-log-url> <srpm-url>
/rpm:examine <build.log> <specfile|dist-git> [sources]
Analyze RPM build.log failures. Provide a comprehensive analysis with error summary, root cause, and actionable fixes.
Provide a single Copr build results URL to automatically fetch all build artifacts or provide two URLs - one for build.log and one for SRPM.
What gets downloaded:
build-live.log.gz or build.log - Main build log*.src.rpm - Source RPM containing spec file, sources, and patchesroot.log.gz, state.log - Additional context logs (optional)Provide paths to local build artifacts.
Arguments:
<build.log> - Path to build log file (required)<specfile|dist-git> - Path to spec file or dist-git repo clone (required)[sources] - Path to source tarball or unpacked sources (optional)Context gathering: If sources not provided, search in:
curl -LO <copr-url>/builder-live.log.gz
curl -LO <copr-url>/*.src.rpm
curl -LO <copr-url>/root.log.gz # optional
curl -LO <copr-url>/state.log # optional
gunzip *.log.gz (if needed)rpm2cpio *.src.rpm | cpio -idmv*.tar.* or *.src.rpmCollect all relevant information before analysis:
Spec file analysis:
Additional context:
git diff to check uncommitted changes%{name}.conf, %{name}.desktop, systemd unitsroot.log, state.log, mock.logSource code (if needed):
CMakeLists.txt, Makefile.am, setup.py, etc.%prep - Source unpacking and patch application%build - Compilation and building%install - Installation to buildroot%check - Test suite execution"Error:", "FAILED", "fatal error:""configure: error:", "No such file""undefined reference", "make: ***""CMake Error", "ninja: build stopped""ModuleNotFoundError", "ImportError""Ignoring extra path from command line" - May indicate broken line continuation in spec file"add_subdirectory given source" + "not an existing directory" - May indicate missing options due to spec formattingSpec file whitespace issues:
\ instead of \) - Breaks line continuation, causing subsequent lines to be completely ignored by the shell%if blocks)cat -A specfile.spec to reveal trailing spaces (shows as \ $ at end of line) or grep '\\ $' specfile.specProvide a clear, structured analysis:
Brief description of what failed (1-2 sentences)
Technical explanation of why it failed:
Specific, actionable steps to resolve:
Optional section for: