Github messages for voidlinux
 help / color / mirror / Atom feed
From: kawaiiamber <kawaiiamber@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: new package: swaylock-effects
Date: Sat, 19 Dec 2020 08:15:34 +0100	[thread overview]
Message-ID: <20201219071534.sVLW7ShG1k2OEOvyJvnMPU4CgTJrfWFFThLN2VRhbUU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26392@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 3707 bytes --]

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).

  parent reply	other threads:[~2020-12-19  7:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-15  6:36 [PR PATCH] " CrimsonKoba
2020-11-15  6:43 ` [PR PATCH] [Updated] " CrimsonKoba
2020-11-15  6:44 ` CrimsonKoba
2020-11-15  6:50 ` CrimsonKoba
2020-11-15  6:57 ` CrimsonKoba
2020-11-15  7:00 ` CrimsonKoba
2020-11-15  7:09 ` CrimsonKoba
2020-11-18 22:24 ` CrimsonKoba
2020-11-18 23:37 ` CrimsonKoba
2020-12-19  7:15 ` kawaiiamber [this message]
2021-07-20 20:33 ` ericonr
2021-07-20 20:33 ` [PR PATCH] [Closed]: " ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201219071534.sVLW7ShG1k2OEOvyJvnMPU4CgTJrfWFFThLN2VRhbUU@z \
    --to=kawaiiamber@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).