[MacPorts] #65554: py39-zopfli is using libstdc++ (this installation is configured to use libc++)
MacPorts
noreply at macports.org
Fri Aug 5 16:56:16 UTC 2022
#65554: py39-zopfli is using libstdc++ (this installation is configured to use
libc++)
------------------------+----------------------
Reporter: RobK88 | Owner: catap
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: lion
Port: py-zopfli |
------------------------+----------------------
Changes (by jmroot):
* status: closed => reopened
* resolution: fixed =>
Comment:
If you look at the logs in the PR, the C++ sources are still being
compiled and linked without any `-stdlib` option:
{{{
2022-08-05T00:34:58.2557140Z /usr/bin/clang -Wno-unused-result -Wsign-
compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10
-c zopfli/src/zopflipng/lodepng/lodepng.cpp -o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopflipng/lodepng/lodepng.o
2022-08-05T00:35:02.6745940Z /usr/bin/clang -Wno-unused-result -Wsign-
compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10
-c zopfli/src/zopflipng/lodepng/lodepng_util.cpp -o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopflipng/lodepng/lodepng_util.o
2022-08-05T00:35:06.2409460Z /usr/bin/clang -Wno-unused-result -Wsign-
compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10
-c zopfli/src/zopflipng/zopflipng_lib.cc -o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopflipng/zopflipng_lib.o
2022-08-05T00:35:08.4825580Z /usr/bin/clang++ -bundle -undefined
dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
-arch x86_64 -arch x86_64
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
build/temp.macosx-12.0-x86_64-cpython-310/src/zopflimodule.o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopfli/blocksplitter.o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopfli/cache.o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopfli/deflate.o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopfli/gzip_container.o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopfli/hash.o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopfli/katajainen.o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopfli/lz77.o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopfli/squeeze.o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopfli/tree.o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopfli/util.o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopfli/zlib_container.o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopfli/zopfli_lib.o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopflipng/lodepng/lodepng.o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopflipng/lodepng/lodepng_util.o
build/temp.macosx-12.0-x86_64-cpython-310/zopfli/src/zopflipng/zopflipng_lib.o
-o
build/lib.macosx-12.0-x86_64-cpython-310/zopfli/zopfli.cpython-310-darwin.so
-lm
}}}
The python portgroup was already setting CXXFLAGS correctly in the
environment.
--
Ticket URL: <https://trac.macports.org/ticket/65554#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list