[Packaging] rust2rpm: ERROR: No license files were detected
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- build-system
Direzione di ricerca
Start by inspecting Cargo.toml and Cargo.toml.orig, then compare the files included in the crates.io download with the repository's release process. Verify how rust2rpm detects license files and ensure the next crate archive contains the project's license file; confirm by rerunning rust2rpm pkgx without -I.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I wanted to package pkgx in Copr (so it can be installed using dnf on rpm-based distros, such as Fedora and RHEL).
I ran into the following error with rust2rpm:
$ rust2rpm pkgx
ERROR: No license files were detected. In almost all cases, this is an issue with
the upstream project that should be reported.
• To temporarily ignore this issue, use the '--ignore-missing-license-files' / '-I'
flag - for example, when manually including license files from the upstream
project, or for test builds.
I think the solution is to include the license file in https://crates.io/api/v1/crates/pkgx/2.7.0/download (or the next release). I don't know how to do that. But what I know is that, currently, the files are:
$ tar xfv download.tar
pkgx-2.7.0/.cargo_vcs_info.json
pkgx-2.7.0/Cargo.lock
pkgx-2.7.0/Cargo.toml
pkgx-2.7.0/Cargo.toml.orig
pkgx-2.7.0/README.md
pkgx-2.7.0/src/args.rs
pkgx-2.7.0/src/dump.rs
pkgx-2.7.0/src/execve.rs
pkgx-2.7.0/src/help.rs
pkgx-2.7.0/src/main.rs
pkgx-2.7.0/src/query.rs
pkgx-2.7.0/src/resolve.rs
pkgx-2.7.0/src/spinner.rs
pkgx-2.7.0/src/tests/main.rs
pkgx-2.7.0/src/tests/mod.rs
pkgx-2.7.0/src/which.rs
pkgx-2.7.0/src/x.rs
For now, I'll use the -I flag.
- Lingua principale
- Rust
- Stelle
- 9.9k
- Fork
- 1.4k
- Merge medio
- 1g 17h
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pkgxdev/pkgx
-
`--query` flag gone Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
`pkgx --update` Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di pkgxdev/pkgx
Issue simili
-
Browser (wasm) relay client cannot connect to relays whose URL has a trailing-dot FQDN hostname Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
n0-computer/iroh#4550 ·
-
impl detach for native Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
paritytech/zombienet-sdk#591 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
farion1231/cc-switch#7638 · 1 commento ·
-
onnx-ir re-exports ModelProto and GraphProto but not NodeProto, AttributeProto and AttributeType Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100