Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#76797 - [kicad] debug info?
Attached to Project:
Community Packages
Opened by Seth Pellegrino (sethp0808) - Saturday, 10 December 2022, 22:57 GMT
Last edited by George Rawlinson (rawlinsong) - Monday, 12 December 2022, 07:40 GMT
Opened by Seth Pellegrino (sethp0808) - Saturday, 10 December 2022, 22:57 GMT
Last edited by George Rawlinson (rawlinsong) - Monday, 12 December 2022, 07:40 GMT
|
DetailsDescription:
In trying to track down an issue upstream (https://gitlab.com/kicad/code/kicad/-/issues/13120), we discovered that the kicad package doesn't appear in the debuginfo server. As noted on that issue, I have a patch to turn on the debug option for `makepkg` (also attached here): which seems to work fine (in that it produces debug info, if not necessarily sensible back traces). Regarding `-DCMAKE_BUILD_TYPE=RelWithDebInfo`: I turned it on because one of the CMakeLists.txt refers to it ( https://gitlab.com/kicad/code/kicad/-/blob/master/kicad/CMakeLists.txt#L92 ), but it's entirely out of an overabundance of caution that I threw it in there (not because I know it should be). Namcap seems pretty happy with the resuting package (output attached), though somehow makepkg missed (or knew better than to try?) stripping 'usr/lib/python3.10/site-packages/_pcbnew.so' . |
This task depends upon
Closed by George Rawlinson (rawlinsong)
Monday, 12 December 2022, 07:40 GMT
Reason for closing: Implemented
Additional comments about closing: 6.0.9-3
Monday, 12 December 2022, 07:40 GMT
Reason for closing: Implemented
Additional comments about closing: 6.0.9-3
with-debug-opt.patch
[1] https://gitlab.archlinux.org/archlinux/devtools/-/commit/b64d8ebacf8268e986bde912cff839311ac74fa8
Also, do you know if that would trigger a new build to populate the `kicad-debug` package?