[MacPorts] #66720: metis fails to build on Rosetta due to usage of wrong flags

MacPorts noreply at macports.org
Thu Jan 19 19:21:48 UTC 2023


#66720: metis fails to build on Rosetta due to usage of wrong flags
-------------------------------------------+----------------------
 Reporter:  barracuda156                   |      Owner:  catap
     Type:  defect                         |     Status:  assigned
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.8.0
 Keywords:  powerpc, rosetta, snowleopard  |       Port:  metis
-------------------------------------------+----------------------
 {{{
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work/build/libmetis
 && /usr/bin/gcc-4.2 -Dmetis_EXPORTS
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work
 /METIS-94c03a6e2d1860128c2d0675cbbb86ad4f261256/include
 -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work
 /METIS-94c03a6e2d1860128c2d0675cbbb86ad4f261256/libmetis/. -pipe -Os
 -DNDEBUG -I/opt/local/include -DLINUX -D_FILE_OFFSET_BITS=64 -std=c99
 -fno-strict-aliasing -march=native -fPIC -Werror -Wall -pedantic -Wno-
 unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-
 unknown-pragmas -Wno-unused-label -framework Accelerate -DNDEBUG -DNDEBUG2
 -DUSE_GKREGEX -DUSE_GKRAND -DHAVE_EXECINFO_H -O3 -arch ppc -mmacosx-
 version-min=10.6 -fPIC -MD -MT libmetis/CMakeFiles/metis.dir/auxapi.c.o
 -MF CMakeFiles/metis.dir/auxapi.c.o.d -o CMakeFiles/metis.dir/auxapi.c.o
 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_metis/metis/work
 /METIS-94c03a6e2d1860128c2d0675cbbb86ad4f261256/libmetis/auxapi.c
 make[2]: *** [libmetis/CMakeFiles/metis.dir/contig.c.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 cc1: error: unrecognized command line option "-march=native"
 cc1: error: unrecognized command line option "-Wno-unused-but-set-
 variable"
 cc1: error: unrecognized command line option "-march=native"
 cc1: error: unrecognized command line option "-Wno-unused-but-set-
 variable"
 cc1: error: unrecognized command line option "-march=native"
 cc1: error: unrecognized command line option "-Wno-unused-but-set-
 variable"
 cc1: error: unrecognized command line option "-march=native"
 cc1: error: unrecognized command line option "-Wno-unused-but-set-
 variable"
 cc1: error: unrecognized command line option "-march=native"
 cc1: error: unrecognized command line option "-Wno-unused-but-set-
 variable"
 cc1: error: unrecognized command line option "-march=native"
 cc1: error: unrecognized command line option "-Wno-unused-but-set-
 variable"
 cc1: error: unrecognized command line option "-march=native"
 cc1: error: unrecognized command line option "-Wno-unused-but-set-
 variable"
 make[2]: *** [libmetis/CMakeFiles/metis.dir/compress.c.o] Error 1
 make[2]: *** [libmetis/CMakeFiles/metis.dir/coarsen.c.o] Error 1
 make[2]: *** [libmetis/CMakeFiles/metis.dir/debug.c.o] Error 1
 make[2]: *** [libmetis/CMakeFiles/metis.dir/auxapi.c.o] Error 1
 make[2]: *** [libmetis/CMakeFiles/metis.dir/balance.c.o] Error 1
 make[2]: *** [libmetis/CMakeFiles/metis.dir/bucketsort.c.o] Error 1
 make[2]: *** [libmetis/CMakeFiles/metis.dir/checkgraph.c.o] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66720>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list