Tony Fuller via chirp_devel wrote:
The full build log for the snap might be more interesting than posting the output from pip in this thread. https://launchpadlibrarian.net/643304763/buildlog_snap_ubuntu_focal_amd64_e0... https://launchpadlibrarian.net/643304763/buildlog_snap_ubuntu_focal_amd64_e0fec5d9b363f11b29818f8f9274f735_BUILDING.txt.gz
I get the feeling that pip says "error" but doesn't mean "fatal error", if such a distinction still exists today. Pip does continue to install CHIRP (using the legacy setup.py which I think will break soon)
So after wxPython failed to build with the current setuptools, it fell back to 44. That might be too old for us, although it appears to have worked despite the failure message. In any case, setuptools recommends pinning their dependency to 58 for those projects still using setup.py, since after that such functionality became collateral damage whilst implementing more of PEP-517 support.
Additionally, farther down the log, you don't need to copy all of chirp/share, since they are now part of the package and referenced accordingly via importlib_resources. The only files that should get installed into the respective hierarchy directories are chirp.desktop to share/applications and chirp.png (and maybe chirp.svg) to share/pixmaps (or whatever icon directory).