[MacPorts] #67904: opencolorio fails to configure with gcc due to wrong cxxflags: cc1plus: error: '-Wno-error=self-assign-field': no option '-Wself-assign-field'
MacPorts
noreply at macports.org
Fri Aug 4 13:21:28 UTC 2023
#67904: opencolorio fails to configure with gcc due to wrong cxxflags: cc1plus:
error: '-Wno-error=self-assign-field': no option '-Wself-assign-field'
---------------------------+---------------------------------
Reporter: barracuda156 | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: opencolorio |
---------------------------+---------------------------------
Comment (by barracuda156):
Then it is broken by upstream a bit further:
{{{
[ 5%] Building CXX object
src/core/CMakeFiles/OpenColorIO_STATIC.dir/CDLTransform.cpp.o
cd
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_opencolorio/opencolorio/work/build/src/core
&& /opt/local/bin/g++-mp-12 -DOpenColorIO_STATIC -DUSE_SSE
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_opencolorio/opencolorio/work/OpenColorIO-1.1.1/export
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_opencolorio/opencolorio/work/build/export
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_opencolorio/opencolorio/work/OpenColorIO-1.1.1/ext/oiio/src/include
-I/opt/local/libexec/boost/1.76/include -I/opt/local/include
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_opencolorio/opencolorio/work/build/ext/dist/include
-pipe -I/opt/local/libexec/boost/1.76/include -Os -std=c++11 -Wno-
deprecated-declarations -DNDEBUG -I/opt/local/libexec/boost/1.76/include
-I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -Wall -Wextra -Wshadow
-Wconversion -Wcast-qual -Wformat=2 -msse2 -arch ppc -mmacosx-version-
min=10.6 -fPIC -fvisibility=hidden -Werror -MD -MT
src/core/CMakeFiles/OpenColorIO_STATIC.dir/CDLTransform.cpp.o -MF
CMakeFiles/OpenColorIO_STATIC.dir/CDLTransform.cpp.o.d -o
CMakeFiles/OpenColorIO_STATIC.dir/CDLTransform.cpp.o -c
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_opencolorio/opencolorio/work/OpenColorIO-1.1.1/src/core/CDLTransform.cpp
g++-mp-12: error: unrecognized command-line option '-msse2'
make[2]: ***
[src/core/CMakeFiles/OpenColorIO.dir/AllocationTransform.cpp.o] Error 1
g++-mp-12: error: unrecognized command-line option '-msse2'
make[2]: *** [src/core/CMakeFiles/OpenColorIO.dir/Baker.cpp.o] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_opencolorio/opencolorio/work/build'
make[1]: *** [src/core/CMakeFiles/OpenColorIO.dir/all] Error 2
g++-mp-12: error: unrecognized command-line option '-msse2'
make[2]: *** [src/core/CMakeFiles/OpenColorIO_STATIC.dir/Baker.cpp.o]
Error 1
g++-mp-12: error: unrecognized command-line option '-msse2'
make[2]: ***
[src/core/CMakeFiles/OpenColorIO_STATIC.dir/CDLTransform.cpp.o] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_opencolorio/opencolorio/work/build'
make[1]: *** [src/core/CMakeFiles/OpenColorIO_STATIC.dir/all] Error 2
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_opencolorio/opencolorio/work/build'
make: *** [all] Error 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/67904#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list