Created attachment 203530 [details]
Sorry, I hit enter too quickly.
Remove -march=native, it's only supported on amd64 and i386.
A commit references this bug:
Date: Wed Apr 10 04:21:16 UTC 2019
New revision: 498528
science/cp2k: fix build with GCC-based architectures
Submitted by: Piotr Kubaj <firstname.lastname@example.org>