[MacPorts] #64784: brotli fails to build for ppc+ppc64 on Leopard: need to add muniversal PortGroup
MacPorts
noreply at macports.org
Tue Apr 5 18:28:10 UTC 2022
#64784: brotli fails to build for ppc+ppc64 on Leopard: need to add muniversal
PortGroup
---------------------------+-------------------------------------
Reporter: barracuda156 | Owner: raimue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc, leopard, ppc64
Port: brotli |
---------------------------+-------------------------------------
Description changed by barracuda156:
Old description:
> {{{
> ---> Building brotli
> Executing: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9"
> && /usr/bin/make -j4 -w all VERBOSE=ON
> make: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
> /google-brotli-e61745a'
> /opt/local/bin/cmake
> -S/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
> -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
> --check-build-system CMakeFiles/Makefile.cmake 0
> /opt/local/bin/cmake -E cmake_progress_start
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/CMakeFiles
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9//CMakeFiles/progress.marks
> /usr/bin/make -f CMakeFiles/Makefile2 all
> make[1]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
> /google-brotli-e61745a'
> /usr/bin/make -f CMakeFiles/brotlicommon.dir/build.make
> CMakeFiles/brotlicommon.dir/depend
> /usr/bin/make -f CMakeFiles/brotlicommon-static.dir/build.make
> CMakeFiles/brotlicommon-static.dir/depend
> make[2]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
> /google-brotli-e61745a'
> cd
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
> && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles"
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/CMakeFiles/brotlicommon.dir/DependInfo.cmake
> --color=
> make[2]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
> /google-brotli-e61745a'
> cd
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
> && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles"
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/CMakeFiles
> /brotlicommon-static.dir/DependInfo.cmake --color=
> make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
> /google-brotli-e61745a'
> make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
> /google-brotli-e61745a'
> /usr/bin/make -f CMakeFiles/brotlicommon.dir/build.make
> CMakeFiles/brotlicommon.dir/build
> /usr/bin/make -f CMakeFiles/brotlicommon-static.dir/build.make
> CMakeFiles/brotlicommon-static.dir/build
> make[2]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
> /google-brotli-e61745a'
> make[2]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
> /google-brotli-e61745a'
> [ 1%] Building C object CMakeFiles/brotlicommon-
> static.dir/c/common/context.c.o
> [ 3%] Building C object
> CMakeFiles/brotlicommon.dir/c/common/constants.c.o
> /usr/bin/gcc-4.2 -DBROTLI_HAVE_LOG2=1 -DOS_MACOSX
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/include
> -pipe -Os -DNDEBUG -arch ppc -arch ppc64 -mmacosx-version-min=10.5 -fPIC
> -MD -MT CMakeFiles/brotlicommon-static.dir/c/common/context.c.o -MF
> CMakeFiles/brotlicommon-static.dir/c/common/context.c.o.d -o CMakeFiles
> /brotlicommon-static.dir/c/common/context.c.o -c
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/common/context.c
> /usr/bin/gcc-4.2 -DBROTLICOMMON_SHARED_COMPILATION -DBROTLI_HAVE_LOG2=1
> -DBROTLI_SHARED_COMPILATION -DOS_MACOSX
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/include
> -pipe -Os -DNDEBUG -arch ppc -arch ppc64 -mmacosx-version-min=10.5 -fPIC
> -MD -MT CMakeFiles/brotlicommon.dir/c/common/constants.c.o -MF
> CMakeFiles/brotlicommon.dir/c/common/constants.c.o.d -o
> CMakeFiles/brotlicommon.dir/c/common/constants.c.o -c
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/common/constants.c
> [ 4%] Building C object CMakeFiles/brotlicommon.dir/c/common/context.c.o
> gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple
> -arch flags
> make[2]: *** [CMakeFiles/brotlicommon-static.dir/c/common/context.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
> [ 6%] Building C object CMakeFiles/brotlicommon-
> static.dir/c/common/constants.c.o
> make[2]: *** [CMakeFiles/brotlicommon.dir/c/common/constants.c.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> /usr/bin/gcc-4.2 -DBROTLICOMMON_SHARED_COMPILATION -DBROTLI_HAVE_LOG2=1
> -DBROTLI_SHARED_COMPILATION -DOS_MACOSX
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/include
> -pipe -Os -DNDEBUG -arch ppc -arch ppc64 -mmacosx-version-min=10.5 -fPIC
> -MD -MT CMakeFiles/brotlicommon.dir/c/common/context.c.o -MF
> CMakeFiles/brotlicommon.dir/c/common/context.c.o.d -o
> CMakeFiles/brotlicommon.dir/c/common/context.c.o -c
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/common/context.c
> /usr/bin/gcc-4.2 -DBROTLI_HAVE_LOG2=1 -DOS_MACOSX
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/include
> -pipe -Os -DNDEBUG -arch ppc -arch ppc64 -mmacosx-version-min=10.5 -fPIC
> -MD -MT CMakeFiles/brotlicommon-static.dir/c/common/constants.c.o -MF
> CMakeFiles/brotlicommon-static.dir/c/common/constants.c.o.d -o CMakeFiles
> /brotlicommon-static.dir/c/common/constants.c.o -c
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/common/constants.c
> gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple
> -arch flags
> make[2]: *** [CMakeFiles/brotlicommon.dir/c/common/context.c.o] Error 1
> gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple
> -arch flags
> make[2]: *** [CMakeFiles/brotlicommon-static.dir/c/common/constants.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_archivers_brotli/brotli/work
> /google-brotli-e61745a'
> make[1]: *** [CMakeFiles/brotlicommon-static.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> [ 7%] Building C object
> CMakeFiles/brotlicommon.dir/c/common/dictionary.c.o
> /usr/bin/gcc-4.2 -DBROTLICOMMON_SHARED_COMPILATION -DBROTLI_HAVE_LOG2=1
> -DBROTLI_SHARED_COMPILATION -DOS_MACOSX
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/include
> -pipe -Os -DNDEBUG -arch ppc -arch ppc64 -mmacosx-version-min=10.5 -fPIC
> -MD -MT CMakeFiles/brotlicommon.dir/c/common/dictionary.c.o -MF
> CMakeFiles/brotlicommon.dir/c/common/dictionary.c.o.d -o
> CMakeFiles/brotlicommon.dir/c/common/dictionary.c.o -c
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/common/dictionary.c
> gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple
> -arch flags
> make[2]: *** [CMakeFiles/brotlicommon.dir/c/common/dictionary.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_archivers_brotli/brotli/work
> /google-brotli-e61745a'
> make[1]: *** [CMakeFiles/brotlicommon.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_archivers_brotli/brotli/work
> /google-brotli-e61745a'
> make: *** [all] Error 2
> make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
> /google-brotli-e61745a'
> Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9"
> && /usr/bin/make -j4 -w all VERBOSE=ON
> Exit code: 2
>
> }}}
New description:
As it is, `brotli` fails as `+universal` on Leopard with: `gcc-4.2: -E,
-S, -save-temps and -M options are not allowed with multiple -arch flags`.
{{{
---> Building brotli
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9"
&& /usr/bin/make -j4 -w all VERBOSE=ON
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
/google-brotli-e61745a'
/opt/local/bin/cmake
-S/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
--check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/CMakeFiles
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9//CMakeFiles/progress.marks
/usr/bin/make -f CMakeFiles/Makefile2 all
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
/google-brotli-e61745a'
/usr/bin/make -f CMakeFiles/brotlicommon.dir/build.make
CMakeFiles/brotlicommon.dir/depend
/usr/bin/make -f CMakeFiles/brotlicommon-static.dir/build.make CMakeFiles
/brotlicommon-static.dir/depend
make[2]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
/google-brotli-e61745a'
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
&& /opt/local/bin/cmake -E cmake_depends "Unix Makefiles"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/CMakeFiles/brotlicommon.dir/DependInfo.cmake
--color=
make[2]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
/google-brotli-e61745a'
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
&& /opt/local/bin/cmake -E cmake_depends "Unix Makefiles"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/CMakeFiles
/brotlicommon-static.dir/DependInfo.cmake --color=
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
/google-brotli-e61745a'
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
/google-brotli-e61745a'
/usr/bin/make -f CMakeFiles/brotlicommon.dir/build.make
CMakeFiles/brotlicommon.dir/build
/usr/bin/make -f CMakeFiles/brotlicommon-static.dir/build.make CMakeFiles
/brotlicommon-static.dir/build
make[2]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
/google-brotli-e61745a'
make[2]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
/google-brotli-e61745a'
[ 1%] Building C object CMakeFiles/brotlicommon-
static.dir/c/common/context.c.o
[ 3%] Building C object
CMakeFiles/brotlicommon.dir/c/common/constants.c.o
/usr/bin/gcc-4.2 -DBROTLI_HAVE_LOG2=1 -DOS_MACOSX
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/include
-pipe -Os -DNDEBUG -arch ppc -arch ppc64 -mmacosx-version-min=10.5 -fPIC
-MD -MT CMakeFiles/brotlicommon-static.dir/c/common/context.c.o -MF
CMakeFiles/brotlicommon-static.dir/c/common/context.c.o.d -o CMakeFiles
/brotlicommon-static.dir/c/common/context.c.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/common/context.c
/usr/bin/gcc-4.2 -DBROTLICOMMON_SHARED_COMPILATION -DBROTLI_HAVE_LOG2=1
-DBROTLI_SHARED_COMPILATION -DOS_MACOSX
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/include
-pipe -Os -DNDEBUG -arch ppc -arch ppc64 -mmacosx-version-min=10.5 -fPIC
-MD -MT CMakeFiles/brotlicommon.dir/c/common/constants.c.o -MF
CMakeFiles/brotlicommon.dir/c/common/constants.c.o.d -o
CMakeFiles/brotlicommon.dir/c/common/constants.c.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/common/constants.c
[ 4%] Building C object CMakeFiles/brotlicommon.dir/c/common/context.c.o
gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple
-arch flags
make[2]: *** [CMakeFiles/brotlicommon-static.dir/c/common/context.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
[ 6%] Building C object CMakeFiles/brotlicommon-
static.dir/c/common/constants.c.o
make[2]: *** [CMakeFiles/brotlicommon.dir/c/common/constants.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/gcc-4.2 -DBROTLICOMMON_SHARED_COMPILATION -DBROTLI_HAVE_LOG2=1
-DBROTLI_SHARED_COMPILATION -DOS_MACOSX
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/include
-pipe -Os -DNDEBUG -arch ppc -arch ppc64 -mmacosx-version-min=10.5 -fPIC
-MD -MT CMakeFiles/brotlicommon.dir/c/common/context.c.o -MF
CMakeFiles/brotlicommon.dir/c/common/context.c.o.d -o
CMakeFiles/brotlicommon.dir/c/common/context.c.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/common/context.c
/usr/bin/gcc-4.2 -DBROTLI_HAVE_LOG2=1 -DOS_MACOSX
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/include
-pipe -Os -DNDEBUG -arch ppc -arch ppc64 -mmacosx-version-min=10.5 -fPIC
-MD -MT CMakeFiles/brotlicommon-static.dir/c/common/constants.c.o -MF
CMakeFiles/brotlicommon-static.dir/c/common/constants.c.o.d -o CMakeFiles
/brotlicommon-static.dir/c/common/constants.c.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/common/constants.c
gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple
-arch flags
make[2]: *** [CMakeFiles/brotlicommon.dir/c/common/context.c.o] Error 1
gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple
-arch flags
make[2]: *** [CMakeFiles/brotlicommon-static.dir/c/common/constants.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_archivers_brotli/brotli/work
/google-brotli-e61745a'
make[1]: *** [CMakeFiles/brotlicommon-static.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 7%] Building C object
CMakeFiles/brotlicommon.dir/c/common/dictionary.c.o
/usr/bin/gcc-4.2 -DBROTLICOMMON_SHARED_COMPILATION -DBROTLI_HAVE_LOG2=1
-DBROTLI_SHARED_COMPILATION -DOS_MACOSX
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/include
-pipe -Os -DNDEBUG -arch ppc -arch ppc64 -mmacosx-version-min=10.5 -fPIC
-MD -MT CMakeFiles/brotlicommon.dir/c/common/dictionary.c.o -MF
CMakeFiles/brotlicommon.dir/c/common/dictionary.c.o.d -o
CMakeFiles/brotlicommon.dir/c/common/dictionary.c.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9/c/common/dictionary.c
gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple
-arch flags
make[2]: *** [CMakeFiles/brotlicommon.dir/c/common/dictionary.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_archivers_brotli/brotli/work
/google-brotli-e61745a'
make[1]: *** [CMakeFiles/brotlicommon.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_archivers_brotli/brotli/work
/google-brotli-e61745a'
make: *** [all] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work
/google-brotli-e61745a'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_brotli/brotli/work/brotli-1.0.9"
&& /usr/bin/make -j4 -w all VERBOSE=ON
Exit code: 2
}}}
However once `muniversal 1.0` is added, the port builds:
{{{
36-109:~ svacchanda$ port -v installed brotli
The following ports are currently installed:
brotli @1.0.9_2 requested_variants='-universal' platform='darwin 9'
archs='ppc64' date='2022-03-08T06:46:35+0800'
brotli @1.0.9_2+universal (active) requested_variants='+universal'
platform='darwin 9' archs='ppc ppc64' date='2022-04-06T02:25:21+0800'
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/64784#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list