build: scope resolver selects pic32mz, which CMake cannot build
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- build-system, testing
Direzione di ricerca
Start in tools/change_impact.py at _prune_buildable (around line 1530), then inspect .claude/skills/build/scripts/check_build.py and the selection test in .claude/test/test_build_select.py. Run the scoped selection for src/class/vendor/vendor_device.c and check whether the Make-only pic32mz family is included. Done means the selection excludes or reports pic32mz as uncovered, with a test covering that case.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Found while verifying a fix on #4542.
Problem
check_build.py --scope <common source path> selects the pic32mz family (board olimex_emz64), which has no CMake support, so the CMake build of the scope fails.
python3 .claude/skills/build/scripts/check_build.py --select-only --scope src/class/vendor/vendor_device.clistspic32mz(device/webusb_serial) among the one-board-per-family selection. Same selector code at2614ea253and master719252a00(git diff 719252a00 2614ea253 -- tools/change_impact.py tools/build.py hw/bsp/family_support.cmakeis empty).check_build.py --scope src/class/vendor/vendor_device.cbuilds 84/85 boards ok;olimex_emz64fails withCMake Error at hw/bsp/family_support.cmake:132 (message): Family 'pic32mz' is not known/supported.hw/bsp/pic32mz/holds onlyfamily.c,family.mkandboards; there is nofamily.cmake.
The scoped build therefore exits 1 for any change under src/class/ (likely other core paths too), even when the change is correct. agentrc's pr-babysit build gate runs the build contract and reported fix-verification-failed for a correct fix on #4542 (2026-11-17); two separate writers on that PR hit the same failure.
Not traced: where in tools/change_impact.py the family is picked. _prune_buildable (tools/change_impact.py:1530) accepts a family that builds under Make (family.mk present) while check_build.py builds with CMake; that is the first place to look, unconfirmed.
Solution
Make tools/change_impact.py (or check_build.py) skip families without CMake support, or report them as uncovered/Make-only, instead of selecting them for a CMake build. Add a test to the script suite (.claude/test/test_build_select.py or the tools tests as applicable): a Make-only family such as pic32mz must not appear in the selection for a common class path.
Related: #3941 — covers check_build.py coverage checks in --board mode, not which boards the resolver selects.
- Lingua principale
- C
- Stelle
- 7.3k
- Fork
- 1.6k
- Merge medio
- 1g 19h
- PR unite (30g)
- 67
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 hathach/tinyusb
-
follow-up Port WCH USBFS Prio 📌
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
follow-up Prio 📌
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
hil-contract: a background hil_remote.py launch is killed at the Bash default 10 min timeoutForse già presa @hathach l’ha presa 16 giorni fa. Apertafollow-up Prio 📌
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
ch32v30x: debug UART loses queued bytes when its TX ring fillsForse già presa @hathach l’ha presa 16 giorni fa. Apertafollow-up Prio 📌
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
followup Prio 📌
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di hathach/tinyusb
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
rofl0r/proxychains-ng#631 ·
-
RP2350: enabling secure boot via rescue fails with 6400 (BOOTKEY written as 33 bytes in ECC mode)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
pcqpcq/open-source-android-apps#619 ·
I maintainer di solito rispondono entro 1 giorno
-
Can't link with minizip-ngAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
-
Missing slice offset check in jvp_equal fast path corrupts slice comparison and aborts delpathsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 3 giorni