Opened 3 years ago
Last modified 3 years ago
#64761 new defect
libupnp fails to build as universal on Leopard: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | powerpc, leopard, ppc64 | Cc: | |
Port: | libupnp |
Description
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]: *** [ixml/CMakeFiles/ixml_shared.dir/src/attr.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [ixml/CMakeFiles/ixml_static.dir/src/attr.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags make[2]: *** [ixml/CMakeFiles/ixml_shared.dir/src/document.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_devel_libupnp/libupnp/work/build' make[1]: *** [ixml/CMakeFiles/ixml_shared.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags make[2]: *** [ixml/CMakeFiles/ixml_static.dir/src/document.c.o] Error 1 [ 3%] Building C object ixml/CMakeFiles/ixml_static.dir/src/element.c.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libupnp/libupnp/work/build/ixml && /usr/bin/gcc-4.2 -DNDEBUG -DUPNP_STATIC_LIB -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libupnp/libupnp/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libupnp/libupnp/work/libupnp-1.14.12/ixml/inc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libupnp/libupnp/work/libupnp-1.14.12/ixml/src/inc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libupnp/libupnp/work/libupnp-1.14.12/upnp/inc -pipe -Os -DNDEBUG -I/opt/local/include -arch ppc -arch ppc64 -mmacosx-version-min=10.5 -MD -MT ixml/CMakeFiles/ixml_static.dir/src/element.c.o -MF CMakeFiles/ixml_static.dir/src/element.c.o.d -o CMakeFiles/ixml_static.dir/src/element.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libupnp/libupnp/work/libupnp-1.14.12/ixml/src/element.c gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags make[2]: *** [ixml/CMakeFiles/ixml_static.dir/src/element.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_devel_libupnp/libupnp/work/build' make[1]: *** [ixml/CMakeFiles/ixml_static.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_devel_libupnp/libupnp/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_devel_libupnp/libupnp/work/build' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libupnp/libupnp/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON Exit code: 2 Error: Failed to build libupnp: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libupnp/libupnp/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port libupnp failed
Attachments (1)
Change History (2)
Changed 3 years ago by barracuda156
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Note: See
TracTickets for help on using
tickets.
Try using the muniversal portgroup.