Bug 251326 - x11/swaylock-effects fails to build on aarch64 under qemu
Summary: x11/swaylock-effects fails to build on aarch64 under qemu
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jan Beich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-23 11:12 UTC by Mark Linimon
Modified: 2020-11-24 00:09 UTC (History)
0 users

See Also:
jbeich: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Linimon freebsd_committer freebsd_triage 2020-11-23 11:12:48 UTC
I get the following:

11/37] /nxb-bin/usr/bin/cc -Ilibclient_protos.a.p -I. -I.. -I/usr/local/include -I/usr/local/include/libepoll-shim -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=
c11 -O3 -Wno-unused-parameter -Wno-unused-result -Wundef -Wvla -fopenmp -mtune=native '-DSYSCONFDIR="//usr/local/etc"' -D_C11_SOURCE '-DSWAYLOCK_VERSION="v1.6-3"' -O2 -fstack-protector-strong -fno-strict-aliasing -
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
FAILED: libclient_protos.a.p/meson-generated_xdg-shell-protocol.c.o
/nxb-bin/usr/bin/cc -Ilibclient_protos.a.p -I. -I.. -I/usr/local/include -I/usr/local/include/libepoll-shim -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3
-Wno-unused-parameter -Wno-unused-result -Wundef -Wvla -fopenmp -mtune=native '-DSYSCONFDIR="//usr/local/etc"' -D_C11_SOURCE '-DSWAYLOCK_VERSION="v1.6-3"' -O2 -fstack-protector-strong -fno-strict-aliasing -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
cc: error: the clang compiler does not support '-mtune=native'
ninja: build stopped: subcommand failed.
*** Error code 1

FWIW, the -mtune-native line in the meson.build file is not in the meson.build file of the masterport.
Comment 1 Jan Beich freebsd_committer 2020-11-23 15:13:43 UTC
Reported upstream.
Comment 2 commit-hook freebsd_committer 2020-11-24 00:09:29 UTC
A commit references this bug:

Author: jbeich
Date: Tue Nov 24 00:08:55 UTC 2020
New revision: 556130
URL: https://svnweb.freebsd.org/changeset/ports/556130

Log:
  x11/swaylock-effects: unbreak on aarch64

  PR:		251326
  Reported by:	linimon

Changes:
  head/x11/swaylock-effects/Makefile
  head/x11/swaylock-effects/distinfo