Sync /usr/share/devtools/makepkg.conf.d/x86_64.conf with pacman's
There are a few discrepancies between pacman's makepkg.conf
and devtools' one:
diff /etc/makepkg.conf /usr/share/devtools/makepkg.conf.d/x86_64.conf
50a51
> RUSTFLAGS="-Cforce-frame-pointers=yes"
55a57
> DEBUG_RUSTFLAGS="-C debuginfo=2"
84c86
< # Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto !autodeps)
---
> # Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
96d97
< #-- autodeps: Automatically add depends/provides
116,117d116
< #-- Prefix and directories for library autodeps
< LIB_DIRS=('lib:usr/lib' 'lib32:usr/lib32')
145c144
< COMPRESSZST=(zstd -c -T0 -)
---
> COMPRESSZST=(zstd -c -T0 --ultra -20 -)
I don't know how important it is to be in sync for the config used to build the thousands of packages in the repos, but I thought I'd at least raise the topic here. It would be about adding !autodeps
and related comment + LIB_DIRS=
, plus deciding what to do with the RUST variables (related to #244).
The ultra -20
causes the same kind of issues for local builds as reported in pacman#23, but since the origin of that change was to use devtools x86_64.conf as /etc/makepkg.conf I imagine this is the intended setting here.
Use case: I use pkgctl build
to test PKGBUILDs in a clean chroot before uploading them to the AUR.
Additional info:
- package version(s): 1:1.2.1-1
- config and/or log files: unmodified devtools and pacman upstream versions