Re: `makepkg` generates two packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 24/03/07 12:34PM, lacsaP Patatetom wrote:
> hi,

Hey,

> when I run `makepkg`, it generates a second package with the `-debug`
> "extension" (eg. `mypackage-w.x.y-z-x86_64.pkg.tar.zst` and
> `mypackage-debug-w.x.y-z-x86_64.pkg.tar.zst`).
>
> I couldn't find anything about this on the wiki : is this a new feature
> and/or is there a parameter to pass to `makepkg` to avoid building it ?

This was introduced with the following change in pacman[0], see the
documentation for the 'debug' option in makepkg.conf(5):

debug
    Add the user-specified debug flags as specified in
    DEBUG_CFLAGS and DEBUG_CXXFLAGS to their counterpart
    buildflags. Creates a separate package containing the debug
    symbols when used with ‘strip’.

So if you want to disable this behaviour you'll have to disable that
option in the config.

> regards, lacsaP.

regards,
gromit

[0]: https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/merge_requests/1/diffs#9817c069c08d6f08baeb3d014d2c1195bcfa2e2a_96_97

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux