New comment by kawaiiamber on void-packages repository https://github.com/void-linux/void-packages/pull/26392#issuecomment-748432962 Comment: 10 commits is a lot to track for one file change. Try squashing your commits with `git rebase -i HEAD~10` and change last 9 `pick` to `squash` and name the commit `New package: swaylock-effects-1.6`. The first error, the Lint templates error: ``` srcpkgs/swaylock-effects/template:22: Last line is empty Error: Process completed with exit code 1. ``` Get rid of the empty line in the template file. The other errors are: ``` FAILED: libclient_protos.a.p/meson-generated_xdg-shell-protocol.c.o aarch64-linux-musl-gcc -Ilibclient_protos.a.p -I. -I.. -I/usr/aarch64-linux-musl/usr/include -flto -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Werror -std=c11 -Wno-unused-parameter -Wno-unused-result -Wundef -Wvla -fopenmp -O3 -mtune=native '-DSYSCONFDIR="//etc"' '-DSWAYLOCK_VERSION="1.6-2"' -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -march=armv8-a -fPIC -MD -MQ libclient_protos.a.p/meson-generated_xdg-shell-protocol.c.o -MF libclient_protos.a.p/meson-generated_xdg-shell-protocol.c.o.d -o libclient_protos.a.p/meson-generated_xdg-shell-protocol.c.o -c libclient_protos.a.p/xdg-shell-protocol.c cc1: error: unknown value 'native' for '-mtune' cc1: note: valid arguments are: cortex-a35 cortex-a53 cortex-a57 cortex-a72 cortex-a73 thunderx thunderxt88p1 thunderxt88 octeontx octeontx81 octeontx83 thunderxt81 thunderxt83 emag xgene1 falkor qdf24xx exynos-m1 phecda thunderx2t99p1 vulcan thunderx2t99 cortex-a55 cortex-a75 cortex-a76 ares neoverse-n1 neoverse-e1 tsv110 saphira cortex-a57.cortex-a53 cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53 cortex-a75.cortex-a55 cortex-a76.cortex-a55 generic [13/37] Compiling C object libclient_protos.a.p/meson-generated_xdg-output-unstable-v1-protocol.c.o FAILED: libclient_protos.a.p/meson-generated_xdg-output-unstable-v1-protocol.c.o aarch64-linux-musl-gcc -Ilibclient_protos.a.p -I. -I.. -I/usr/aarch64-linux-musl/usr/include -flto -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Werror -std=c11 -Wno-unused-parameter -Wno-unused-result -Wundef -Wvla -fopenmp -O3 -mtune=native '-DSYSCONFDIR="//etc"' '-DSWAYLOCK_VERSION="1.6-2"' -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -march=armv8-a -fPIC -MD -MQ libclient_protos.a.p/meson-generated_xdg-output-unstable-v1-protocol.c.o -MF libclient_protos.a.p/meson-generated_xdg-output-unstable-v1-protocol.c.o.d -o libclient_protos.a.p/meson-generated_xdg-output-unstable-v1-protocol.c.o -c libclient_protos.a.p/xdg-output-unstable-v1-protocol.c cc1: error: unknown value 'native' for '-mtune' cc1: note: valid arguments are: cortex-a35 cortex-a53 cortex-a57 cortex-a72 cortex-a73 thunderx thunderxt88p1 thunderxt88 octeontx octeontx81 octeontx83 thunderxt81 thunderxt83 emag xgene1 falkor qdf24xx exynos-m1 phecda thunderx2t99p1 vulcan thunderx2t99 cortex-a55 cortex-a75 cortex-a76 ares neoverse-n1 neoverse-e1 tsv110 saphira cortex-a57.cortex-a53 cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53 cortex-a75.cortex-a55 cortex-a76.cortex-a55 generic ninja: build stopped: subcommand failed. => ERROR: swaylock-effects-1.6_2: do_build: '${make_cmd} -C ${meson_builddir} ${makejobs} ${make_build_args} ${make_build_target}' exited with 1 => ERROR: in do_build() at common/build-style/meson.sh:122 Error: Process completed with exit code 1. ``` These errors seem to be related to `gcc` version, specifically the `mtune` and `march` switched, seen [here](https://stackoverflow.com/questions/13910385/how-to-fix-error-bad-value-native-for-march-switch-and-mtune-switch).