error: Bad file: rhtlc-linux-x86_64: No such file or directory
error: Bad file: rhtlc-gui-linux-x86_64: No such file or directory
- Go to: https://copr.fedorainfracloud.org/coprs/tmichett/RHTLC/
- Click "Settings" tab
- Find your package and click "Edit"
- Change "SRPM build method" from
rpkgtomake - Click "Save"
- Click "Rebuild"
copr-cli edit-package-scm RHTLC \
--clone-url https://github.com/RedHatTraining/rhtlc-copr.git \
--commit main \
--spec rhtlc.spec \
--type git \
--method make
copr-cli build-package RHTLC --name rhtlc| Method | What It Does | Result |
|---|---|---|
| rpkg (current) | Looks for files in Git | ❌ Files not in Git |
| make (needed) | Runs make srpm → downloads files |
✅ Works! |
cd /Users/travis/Github/rhtlc-copr
make clean
make srpm
# Should see: "SRPM build completed!"
ls -lh *.src.rpmDownloading CLI binary...
Downloading GUI binary...
Downloaded files:
-rwxr-xr-x ... rhtlc-linux-x86_64
-rwxr-xr-x ... rhtlc-gui-linux-x86_64
Building SRPM with rpmbuild...
Wrote: .../rhtlc-3.4.3-1.src.rpm
SRPM build completed!
The fix is literally changing one dropdown from rpkg to make in the COPR web interface.
See COPR_FIX.md for detailed explanation and troubleshooting.