[MacPorts] #64785: jasper fails to build for ppc+ppc64: gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags

MacPorts noreply at macports.org
Mon Mar 7 23:05:37 UTC 2022


#64785: jasper fails to build for ppc+ppc64: gcc-4.2: -E, -S, -save-temps and -M
options are not allowed with multiple -arch flags
-------------------------------------+--------------------
 Reporter:  barracuda156             |      Owner:  (none)
     Type:  defect                   |     Status:  new
 Priority:  Normal                   |  Milestone:
Component:  ports                    |    Version:  2.7.1
 Keywords:  powerpc, leopard, ppc64  |       Port:  jasper
-------------------------------------+--------------------
 {{{
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/build/src/libjasper
 && /usr/bin/gcc-4.2 -DJAS_BUILDING_DLL -D_GNU_SOURCE
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/build/src/libjasper/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-2.0.33/src/libjasper/include
 -I//System/Library/Frameworks/GLUT.framework/Headers
 -F//System/Library/Frameworks -I/opt/local/include -pipe -Os -Wall
 -pedantic -W -Wformat -Wmissing-prototypes -Wstrict-prototypes -Wmissing-
 declarations -Wredundant-decls -DNDEBUG -arch ppc -arch ppc64 -mmacosx-
 version-min=10.5 -fPIC -std=gnu99 -MD -MT
 src/libjasper/CMakeFiles/libjasper.dir/base/jas_cm.c.o -MF
 CMakeFiles/libjasper.dir/base/jas_cm.c.o.d -o
 CMakeFiles/libjasper.dir/base/jas_cm.c.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-2.0.33/src/libjasper/base/jas_cm.c
 gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple
 -arch flags
 make[2]: *** [src/libjasper/CMakeFiles/libjasper.dir/base/jas_getopt.c.o]
 Error 1
 gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple
 -arch flags
 make[2]: *** Waiting for unfinished jobs....
 gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple
 -arch flags
 gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple
 -arch flags
 make[2]: *** [src/libjasper/CMakeFiles/libjasper.dir/base/jas_debug.c.o]
 Error 1
 make[2]: *** [src/libjasper/CMakeFiles/libjasper.dir/base/jas_icc.c.o]
 Error 1
 make[2]: *** [src/libjasper/CMakeFiles/libjasper.dir/base/jas_cm.c.o]
 Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/build'
 make[1]: *** [src/libjasper/CMakeFiles/libjasper.dir/all] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/build'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/build'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/build"
 && /usr/bin/make -j4 -w all VERBOSE=ON
 Exit code: 2
 Error: Failed to build jasper: command execution failed

 }}}

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


More information about the macports-tickets mailing list