Open coiby opened 4 years ago
So makepkg can avoid this issue.
I don't follow. These packages are built via makepkg.
On Sun, Apr 26, 2020 at 03:36:03AM -0700, Florian Bruhin wrote:
So makepkg can avoid this issue.
I don't follow. These packages are built via makepkg.
I'm not sure if some changes in the makepkg.conf cause makepkg to behave
otherwise. Based on my experience, if I simply add OPTIONS+=(debug strip)
,
makepkg will build a package ({package_name}-debug) which put the source code
under /usr/src/debug/{package_name}. Btw, when I tried to use
qt5-webengine's PKDBUILD in the repo, makepkg gave the following warning,
WARNING: Package contains reference to $srcdir
This could be reason why gdb can't find the source code.
The built package doesn't contain the source code. Thus gdb would complain as follows,
I noticed if I use
OPTIONS+=(debug strip)
for makepkg, a seperate package qt5-base-debug will be built and installing this package will put the source code into /usr/src/debug/qtbase-everywhere-src-5.14.2/src/. So makepkg can avoid this issue.