Fails to install and update automatically generated debug packages
Created by: h4tr3d
Hi,
PKGBUILD spec allows to automatically generate ${pkgname}-debug
package that contains split debug info:
options (array)
...skip...
strip
Strip symbols from binaries and libraries. If you frequently
use a debugger on programs or libraries, it may be helpful
to disable this option.
...skip...
debug
Add the user-specified debug flags (DEBUG_CFLAGS,
DEBUG_CXXFLAGS) to their counterpart buildflags as
specified in makepkg.conf(5). When used in combination
with the ‘strip’ option, a separate package containing the
debug symbols is created.
In short: debug package generates when strip
and debug
options pointed together.
Pamac fails to install and update packages:
- install - there is no any suggestions for debug package installing
- upgrade - (in case when it installed by hand or via yaourt or trizen) fails for main package, because installed debug package strongly depend on main package version.
JFI:
- yaourt installs debug packages without any user iterations
-
trizen ask user to install such package after main package installationtrizen can install debug package but also can't update it because do it in two separate steps.