It is merely the AUR-Helper reacting weird.
As of pacman 4.1, makepkg.conf(5) has debug compilation flags in DEBUG_CFLAGS and DEBUG_CXXFLAGS. To use them, enable the debug makepkg option, and disable strip.
pacman 4.1.0 was released in 2013 , so makepkg can deal with it since then. (it just wasn't used much until recently)
I'd say by now any aur helper that doesn't support creating debug packages should at the very least be working on supporting it.
Maybe a new column "debug packages" could be added to the comparison tables in the wiki.
]]>The patchset is small but I don't see any drawback. It is merely the AUR-Helper reacting weird.
Indeed debug symbols are always preferable. Symbols increase the required disk size, but are not loaded into main-memory and don't slow down execution.
I have it enabled in some of my aur packages that are openmw related (without debug symbols crash reports are not very useful for openmw devs).
My other aur packages don't enable them though.
Are you or users of that package actively filing bug reports upstream that benefit from good debug traces ?
If yes, enable it.
Sidenote:
I have only noticed minor downsides of building with debug symbols : on-disk size increases , time to build is somewhat longer
no runtime downsides though.
Would you prefer debug enabled for packages in AUR? Neither the wiki nor the man-pages provide a recommendation.
Thank you
]]>