[Bug]: CY2024 PySide6 docker build on Rocky contains large volume of Qt debug files

Aperta
#859 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
docker, python
Ambito
build-system

Direzione di ricerca

Inizia con il workflow Docker di Rocky 9 e confronta i file Docker di CY2023 e CY2024, concentrandoti sull’albero staged sotto _build/stage/app e sulle directory Qt6 lib e plugins. Verifica il workaround descritto in #853 e determina come i file di debug entrano nella build di PySide6; il lavoro è completato quando l’immagine runtime CY2024 non contiene più file di debug non necessari e le sue dimensioni sono ridotte.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
What happened?

I have successfully built the current main branch using the Rocky9 Docker workflow for both the CY2023 and CY2024 docker files (using the workaround described in #853 of building dependencies before main_executable).

The resulting tree in _build/stage/app that I've copied out of the docker container varies in size considerably and I think this is due to the Qt debug files that exist in the Qt6 version as opposed to the Qt5 build:

$ du -sh *
7.8G	rv_3.0.0-c83f458-pyside6
5.2G	rv_3.0.0-d69c055-pyside2

The PySide6 build has lots of debug files in its lib and plugins/Qt folders that the PySide2 version does not have (around 4GB worth of it). For example, lib/Qt6WebEngineCore.debug almost weighs 1 GB in of itself.

List all the operating systems versions where this is happening

Rocky 9

On what computer hardware is this happening?

quadcore AMD Ryzen 7 3750H

Relevant console log output

Environment variables

No response

Extra information

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
Lingua principale
C++
Stelle
797
Fork
259
Merge medio
4g 4h
PR unite (30g)
34

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AcademySoftwareFoundation/OpenRV

Tutte le issue di AcademySoftwareFoundation/OpenRV

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.