Opened 2 years ago

Closed 2 years ago

#65554 closed defect (fixed)

py39-zopfli is using libstdc++ (this installation is configured to use libc++)

Reported by: RobK88 Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: lion Cc:
Port: py-zopfli

Description (last modified by RobK88)

py39-zopfli fails on lion.

py39-zopfli is using libstdc++ (this installation is configured to use libc++

(FYI -- Please see related ticket #65555)

bash-3.2$ sudo port clean py39-zopfli
--->  Cleaning py39-zopfli
bash-3.2$ sudo port -v upgrade py39-zopfli
--->  Computing dependencies for py39-zopfli.
--->  Fetching distfiles for py39-zopfli
--->  Verifying checksums for py39-zopfli
--->  Checksumming zopfli-0.2.1.zip
--->  Extracting py39-zopfli
--->  Extracting zopfli-0.2.1.zip
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-zopfli/py39-zopfli/work" && /usr/bin/unzip -q '/opt/local/var/macports/distfiles/py-zopfli/zopfli-0.2.1.zip' -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-zopfli/py39-zopfli/work 
--->  Configuring py39-zopfli
--->  Building py39-zopfli
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-zopfli/py39-zopfli/work/zopfli-0.2.1" && /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -m build --wheel --no-isolation --outdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-zopfli/py39-zopfli/work 
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-cpython-39
creating build/lib.macosx-10.7-x86_64-cpython-39/zopfli
copying src/zopfli/__init__.py -> build/lib.macosx-10.7-x86_64-cpython-39/zopfli
copying src/zopfli/_version.py -> build/lib.macosx-10.7-x86_64-cpython-39/zopfli
copying src/zopfli/gzip.py -> build/lib.macosx-10.7-x86_64-cpython-39/zopfli
copying src/zopfli/png.py -> build/lib.macosx-10.7-x86_64-cpython-39/zopfli
copying src/zopfli/zlib.py -> build/lib.macosx-10.7-x86_64-cpython-39/zopfli
running egg_info
writing src/zopfli.egg-info/PKG-INFO
writing dependency_links to src/zopfli.egg-info/dependency_links.txt
writing requirements to src/zopfli.egg-info/requires.txt
writing top-level names to src/zopfli.egg-info/top_level.txt
listing git files failed - pretending there aren't any
reading manifest file 'src/zopfli.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'COPYING'
writing manifest file 'src/zopfli.egg-info/SOURCES.txt'
running build_ext
building 'zopfli.zopfli' extension
creating build/temp.macosx-10.7-x86_64-cpython-39
creating build/temp.macosx-10.7-x86_64-cpython-39/src
creating build/temp.macosx-10.7-x86_64-cpython-39/zopfli
creating build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src
creating build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli
creating build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopflipng
creating build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopflipng/lodepng
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c src/zopflimodule.c -o build/temp.macosx-10.7-x86_64-cpython-39/src/zopflimodule.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zopfli/src/zopfli/blocksplitter.c -o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/blocksplitter.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zopfli/src/zopfli/cache.c -o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/cache.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zopfli/src/zopfli/deflate.c -o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/deflate.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zopfli/src/zopfli/gzip_container.c -o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/gzip_container.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zopfli/src/zopfli/hash.c -o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/hash.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zopfli/src/zopfli/katajainen.c -o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/katajainen.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zopfli/src/zopfli/lz77.c -o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/lz77.o
zopfli/src/zopfli/lz77.c:318:40: warning: will never be executed [-Wunreachable-code]
          && *++scan == *++match && *++scan == *++match
                                       ^~~~
zopfli/src/zopfli/lz77.c:308:14: warning: will never be executed [-Wunreachable-code]
  } else if (sizeof(unsigned int) == 4) {
             ^~~~~~~~~~~~~~~~~~~~
In file included from zopfli/src/zopfli/lz77.c:21:
zopfli/src/zopfli/symbols.h:38:12: warning: unused function 'ZopfliGetDistExtraBits' [-Wunused-function]
static int ZopfliGetDistExtraBits(int dist) {
           ^
zopfli/src/zopfli/symbols.h:61:12: warning: unused function 'ZopfliGetDistExtraBitsValue' [-Wunused-function]
static int ZopfliGetDistExtraBitsValue(int dist) {
           ^
zopfli/src/zopfli/symbols.h:138:12: warning: unused function 'ZopfliGetLengthExtraBits' [-Wunused-function]
static int ZopfliGetLengthExtraBits(int l) {
           ^
zopfli/src/zopfli/symbols.h:161:12: warning: unused function 'ZopfliGetLengthExtraBitsValue' [-Wunused-function]
static int ZopfliGetLengthExtraBitsValue(int l) {
           ^
zopfli/src/zopfli/symbols.h:222:12: warning: unused function 'ZopfliGetLengthSymbolExtraBits' [-Wunused-function]
static int ZopfliGetLengthSymbolExtraBits(int s) {
           ^
zopfli/src/zopfli/symbols.h:231:12: warning: unused function 'ZopfliGetDistSymbolExtraBits' [-Wunused-function]
static int ZopfliGetDistSymbolExtraBits(int s) {
           ^
8 warnings generated.
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zopfli/src/zopfli/squeeze.c -o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/squeeze.o
In file included from zopfli/src/zopfli/squeeze.c:28:
zopfli/src/zopfli/symbols.h:61:12: warning: unused function 'ZopfliGetDistExtraBitsValue' [-Wunused-function]
static int ZopfliGetDistExtraBitsValue(int dist) {
           ^
zopfli/src/zopfli/symbols.h:161:12: warning: unused function 'ZopfliGetLengthExtraBitsValue' [-Wunused-function]
static int ZopfliGetLengthExtraBitsValue(int l) {
           ^
zopfli/src/zopfli/symbols.h:222:12: warning: unused function 'ZopfliGetLengthSymbolExtraBits' [-Wunused-function]
static int ZopfliGetLengthSymbolExtraBits(int s) {
           ^
zopfli/src/zopfli/symbols.h:231:12: warning: unused function 'ZopfliGetDistSymbolExtraBits' [-Wunused-function]
static int ZopfliGetDistSymbolExtraBits(int s) {
           ^
4 warnings generated.
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zopfli/src/zopfli/tree.c -o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/tree.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zopfli/src/zopfli/util.c -o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/util.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zopfli/src/zopfli/zlib_container.c -o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/zlib_container.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zopfli/src/zopfli/zopfli_lib.c -o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/zopfli_lib.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zopfli/src/zopflipng/lodepng/lodepng.cpp -o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopflipng/lodepng/lodepng.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zopfli/src/zopflipng/lodepng/lodepng_util.cpp -o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopflipng/lodepng/lodepng_util.o
zopfli/src/zopflipng/lodepng/lodepng_util.cpp:496:12: warning: will never be executed [-Wunreachable-code]
    return 0;
           ^
1 warning generated.
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c zopfli/src/zopflipng/zopflipng_lib.cc -o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopflipng/zopflipng_lib.o
/usr/bin/clang++ -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -arch x86_64 -isysroot/ build/temp.macosx-10.7-x86_64-cpython-39/src/zopflimodule.o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/blocksplitter.o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/cache.o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/deflate.o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/gzip_container.o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/hash.o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/katajainen.o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/lz77.o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/squeeze.o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/tree.o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/util.o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/zlib_container.o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopfli/zopfli_lib.o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopflipng/lodepng/lodepng.o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopflipng/lodepng/lodepng_util.o build/temp.macosx-10.7-x86_64-cpython-39/zopfli/src/zopflipng/zopflipng_lib.o -o build/lib.macosx-10.7-x86_64-cpython-39/zopfli/zopfli.cpython-39-darwin.so -lm
installing to build/bdist.macosx-10.7-x86_64/wheel
running install
running install_lib
creating build/bdist.macosx-10.7-x86_64
creating build/bdist.macosx-10.7-x86_64/wheel
creating build/bdist.macosx-10.7-x86_64/wheel/zopfli
copying build/lib.macosx-10.7-x86_64-cpython-39/zopfli/__init__.py -> build/bdist.macosx-10.7-x86_64/wheel/zopfli
copying build/lib.macosx-10.7-x86_64-cpython-39/zopfli/_version.py -> build/bdist.macosx-10.7-x86_64/wheel/zopfli
copying build/lib.macosx-10.7-x86_64-cpython-39/zopfli/gzip.py -> build/bdist.macosx-10.7-x86_64/wheel/zopfli
copying build/lib.macosx-10.7-x86_64-cpython-39/zopfli/png.py -> build/bdist.macosx-10.7-x86_64/wheel/zopfli
copying build/lib.macosx-10.7-x86_64-cpython-39/zopfli/zlib.py -> build/bdist.macosx-10.7-x86_64/wheel/zopfli
copying build/lib.macosx-10.7-x86_64-cpython-39/zopfli/zopfli.cpython-39-darwin.so -> build/bdist.macosx-10.7-x86_64/wheel/zopfli
running install_egg_info
Copying src/zopfli.egg-info to build/bdist.macosx-10.7-x86_64/wheel/zopfli-0.2.1-py3.9.egg-info
running install_scripts
creating build/bdist.macosx-10.7-x86_64/wheel/zopfli-0.2.1.dist-info/WHEEL
creating '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-zopfli/py39-zopfli/work/tmpeog2z8ay/zopfli-0.2.1-cp39-cp39-macosx_10_7_x86_64.whl' and adding 'build/bdist.macosx-10.7-x86_64/wheel' to it
adding 'zopfli/__init__.py'
adding 'zopfli/_version.py'
adding 'zopfli/gzip.py'
adding 'zopfli/png.py'
adding 'zopfli/zlib.py'
adding 'zopfli/zopfli.cpython-39-darwin.so'
adding 'zopfli-0.2.1.dist-info/COPYING'
adding 'zopfli-0.2.1.dist-info/METADATA'
adding 'zopfli-0.2.1.dist-info/WHEEL'
adding 'zopfli-0.2.1.dist-info/top_level.txt'
adding 'zopfli-0.2.1.dist-info/zip-safe'
adding 'zopfli-0.2.1.dist-info/RECORD'
removing build/bdist.macosx-10.7-x86_64/wheel
* Getting dependencies for wheel...
* Building wheel...
Successfully built zopfli-0.2.1-cp39-cp39-macosx_10_7_x86_64.whl
--->  Staging py39-zopfli into destroot
. changed
	gid expected 0 found 80 modified
./usr missing (created)
. missing (directory not created: File exists)
./Applications missing (created)
./Developer missing (created)
./Library missing (created)
. changed
	gid expected 80 found 0 modified
./bin missing (created)
./etc missing (created)
./include missing (created)
./lib missing (created)
./lib/pkgconfig missing (created)
./libexec missing (created)
./sbin missing (created)
./share missing (created)
./share/doc missing (created)
./share/info missing (created)
./share/man missing (created)
./share/man/cat1 missing (created)
./share/man/cat2 missing (created)
./share/man/cat3 missing (created)
./share/man/cat4 missing (created)
./share/man/cat5 missing (created)
./share/man/cat6 missing (created)
./share/man/cat7 missing (created)
./share/man/cat8 missing (created)
./share/man/cat9 missing (created)
./share/man/catl missing (created)
./share/man/catn missing (created)
./share/man/man1 missing (created)
./share/man/man2 missing (created)
./share/man/man3 missing (created)
./share/man/man4 missing (created)
./share/man/man5 missing (created)
./share/man/man6 missing (created)
./share/man/man7 missing (created)
./share/man/man8 missing (created)
./share/man/man9 missing (created)
./share/man/manl missing (created)
./share/man/mann missing (created)
./share/nls missing (created)
./share/nls/C missing (created)
./share/nls/af_ZA.ISO8859-1 missing (created)
./share/nls/af_ZA.ISO8859-15 missing (created)
./share/nls/bg_BG.CP1251 missing (created)
./share/nls/cs_CZ.ISO8859-2 missing (created)
./share/nls/da_DK.ISO8859-1 missing (created)
./share/nls/da_DK.ISO8859-15 missing (created)
./share/nls/de_AT.ISO8859-1 missing (created)
./share/nls/de_AT.ISO8859-15 missing (created)
./share/nls/de_CH.ISO8859-1 missing (created)
./share/nls/de_CH.ISO8859-15 missing (created)
./share/nls/de_DE.ISO8859-1 missing (created)
./share/nls/de_DE.ISO8859-15 missing (created)
./share/nls/el_GR.ISO8859-7 missing (created)
./share/nls/en_AU.ISO8859-1 missing (created)
./share/nls/en_AU.ISO8859-15 missing (created)
./share/nls/en_AU.US-ASCII missing (created)
./share/nls/en_CA.ISO8859-1 missing (created)
./share/nls/en_CA.ISO8859-15 missing (created)
./share/nls/en_CA.US-ASCII missing (created)
./share/nls/en_GB.ISO8859-1 missing (created)
./share/nls/en_GB.ISO8859-15 missing (created)
./share/nls/en_GB.US-ASCII missing (created)
./share/nls/en_NZ.ISO8859-1 missing (created)
./share/nls/en_NZ.ISO8859-15 missing (created)
./share/nls/en_NZ.US-ASCII missing (created)
./share/nls/en_US.ISO8859-1 missing (created)
./share/nls/en_US.ISO8859-15 missing (created)
./share/nls/es_ES.ISO8859-1 missing (created)
./share/nls/es_ES.ISO8859-15 missing (created)
./share/nls/et_EE.ISO8859-15 missing (created)
./share/nls/fi_FI.ISO8859-1 missing (created)
./share/nls/fi_FI.ISO8859-15 missing (created)
./share/nls/fr_BE.ISO8859-1 missing (created)
./share/nls/fr_BE.ISO8859-15 missing (created)
./share/nls/fr_CA.ISO8859-1 missing (created)
./share/nls/fr_CA.ISO8859-15 missing (created)
./share/nls/fr_CH.ISO8859-1 missing (created)
./share/nls/fr_CH.ISO8859-15 missing (created)
./share/nls/fr_FR.ISO8859-1 missing (created)
./share/nls/fr_FR.ISO8859-15 missing (created)
./share/nls/hi_IN.ISCII-DEV missing (created)
./share/nls/hr_HR.ISO8859-2 missing (created)
./share/nls/hu_HU.ISO8859-2 missing (created)
./share/nls/is_IS.ISO8859-1 missing (created)
./share/nls/is_IS.ISO8859-15 missing (created)
./share/nls/it_CH.ISO8859-1 missing (created)
./share/nls/it_CH.ISO8859-15 missing (created)
./share/nls/it_IT.ISO8859-1 missing (created)
./share/nls/it_IT.ISO8859-15 missing (created)
./share/nls/ja_JP.SJIS missing (created)
./share/nls/ja_JP.eucJP missing (created)
./share/nls/ko_KR.eucKR missing (created)
./share/nls/la_LN.ISO8859-1 missing (created)
./share/nls/la_LN.ISO8859-15 missing (created)
./share/nls/la_LN.ISO8859-2 missing (created)
./share/nls/la_LN.ISO8859-4 missing (created)
./share/nls/la_LN.US-ASCII missing (created)
./share/nls/lt_LT.ISO8859-4 missing (created)
./share/nls/nl_BE.ISO8859-1 missing (created)
./share/nls/nl_BE.ISO8859-15 missing (created)
./share/nls/nl_NL.ISO8859-1 missing (created)
./share/nls/nl_NL.ISO8859-15 missing (created)
./share/nls/no_NO.ISO8859-1 missing (created)
./share/nls/no_NO.ISO8859-15 missing (created)
./share/nls/pl_PL.ISO8859-2 missing (created)
./share/nls/pt_BR.ISO8859-1 missing (created)
./share/nls/pt_PT.ISO8859-1 missing (created)
./share/nls/pt_PT.ISO8859-15 missing (created)
./share/nls/ro_RO.ISO8859-2 missing (created)
./share/nls/ru_RU.CP866 missing (created)
./share/nls/ru_RU.ISO8859-5 missing (created)
./share/nls/ru_RU.KOI8-R missing (created)
./share/nls/sk_SK.ISO8859-2 missing (created)
./share/nls/sl_SI.ISO8859-2 missing (created)
./share/nls/sv_SE.ISO8859-1 missing (created)
./share/nls/sv_SE.ISO8859-15 missing (created)
./share/nls/tr_TR.ISO8859-9 missing (created)
./share/nls/uk_UA.ISO8859-5 missing (created)
./share/nls/uk_UA.KOI8-U missing (created)
./share/nls/zh_CN.eucCN missing (created)
./share/nls/zh_TW.Big5 missing (created)
./share/skel missing (created)
./var missing (created)
./var/cache missing (created)
./var/db missing (created)
./var/log missing (created)
./var/run missing (created)
./var/spool missing (created)
./www missing (created)
xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-zopfli/py39-zopfli/work/destroot/opt/local/share/doc/py39-zopfli
xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-zopfli/py39-zopfli/work/destroot/opt/local/share/doc/py39-zopfli/examples
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-zopfli/py39-zopfli/work/zopfli-0.2.1" && /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -m install --verbose /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-zopfli/py39-zopfli/work/zopfli-0.2.1-cp39-cp39-macosx_10_7_x86_64.whl --destdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-zopfli/py39-zopfli/work/destroot 
DEBUG:install:Optimizing for 0
DEBUG:install:Optimizing for 1
DEBUG:install:Optimizing for 2
['/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/install/_vendor/installer/src', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-zopfli/py39-zopfli/work/zopfli-0.2.1', '/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python39.zip', '/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9', '/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/lib-dynload', '/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages']
Listing '.install-cache/pkg'...
Listing '.install-cache/pkg/zopfli'...
Compiling '.install-cache/pkg/zopfli/__init__.py'...
Compiling '.install-cache/pkg/zopfli/_version.py'...
Compiling '.install-cache/pkg/zopfli/gzip.py'...
Compiling '.install-cache/pkg/zopfli/png.py'...
Compiling '.install-cache/pkg/zopfli/zlib.py'...
Listing '.install-cache/pkg/zopfli-0.2.1.dist-info'...
Listing '.install-cache/pkg'...
Listing '.install-cache/pkg/zopfli'...
Compiling '.install-cache/pkg/zopfli/__init__.py'...
Compiling '.install-cache/pkg/zopfli/_version.py'...
Compiling '.install-cache/pkg/zopfli/gzip.py'...
Compiling '.install-cache/pkg/zopfli/png.py'...
Compiling '.install-cache/pkg/zopfli/zlib.py'...
Listing '.install-cache/pkg/zopfli-0.2.1.dist-info'...
Listing '.install-cache/pkg'...
Listing '.install-cache/pkg/zopfli'...
Compiling '.install-cache/pkg/zopfli/__init__.py'...
Compiling '.install-cache/pkg/zopfli/_version.py'...
Compiling '.install-cache/pkg/zopfli/gzip.py'...
Compiling '.install-cache/pkg/zopfli/png.py'...
Compiling '.install-cache/pkg/zopfli/zlib.py'...
Listing '.install-cache/pkg/zopfli-0.2.1.dist-info'...
xinstall: chdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-zopfli/py39-zopfli/work/zopfli-0.2.1)
xinstall: README.rst -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-zopfli/py39-zopfli/work/destroot/opt/local/share/doc/py39-zopfli/README.rst
xinstall: COPYING -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-zopfli/py39-zopfli/work/destroot/opt/local/share/doc/py39-zopfli/COPYING
--->  Unable to uninstall py39-zopfli @0.2.1_0, the following ports depend on it:
--->  	py39-fonttools @4.34.4_0+lxml+unicode+woff
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating py39-zopfli @0.2.1_0
--->  Cleaning py39-zopfli
--->  Removing work directory for py39-zopfli
--->  Uninstalling py39-zopfli @0.2.1_0
--->  Cleaning py39-zopfli
--->  Removing work directory for py39-zopfli
--->  Computing dependencies for py39-zopfli.
--->  Installing py39-zopfli @0.2.1_0
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-zopfli/py39-zopfli/work/destroot" && /usr/bin/tar -cvf - . | /opt/local/bin/lbzip2 -c9 > /opt/local/var/macports/software/py39-zopfli/py39-zopfli-0.2.1_0.darwin_11.x86_64.tbz2 
a .
a ./+COMMENT
a ./+CONTENTS
a ./+DESC
a ./+PORTFILE
a ./+STATE
a ./opt
a ./opt/local
a ./opt/local/Library
a ./opt/local/share
a ./opt/local/share/doc
a ./opt/local/share/doc/py39-zopfli
a ./opt/local/share/doc/py39-zopfli/COPYING
a ./opt/local/share/doc/py39-zopfli/README.rst
a ./opt/local/Library/Frameworks
a ./opt/local/Library/Frameworks/Python.framework
a ./opt/local/Library/Frameworks/Python.framework/Versions
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli-0.2.1.dist-info
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli-0.2.1.dist-info/COPYING
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli-0.2.1.dist-info/METADATA
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli-0.2.1.dist-info/RECORD
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli-0.2.1.dist-info/top_level.txt
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli-0.2.1.dist-info/WHEEL
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli-0.2.1.dist-info/zip-safe
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__init__.py
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/_version.py
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/gzip.py
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/png.py
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/zlib.py
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/zopfli.cpython-39-darwin.so
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/__init__.cpython-39.opt-1.pyc
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/__init__.cpython-39.opt-2.pyc
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/__init__.cpython-39.pyc
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/_version.cpython-39.opt-1.pyc
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/_version.cpython-39.opt-2.pyc
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/_version.cpython-39.pyc
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/gzip.cpython-39.opt-1.pyc
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/gzip.cpython-39.opt-2.pyc
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/gzip.cpython-39.pyc
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/png.cpython-39.opt-1.pyc
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/png.cpython-39.opt-2.pyc
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/png.cpython-39.pyc
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/zlib.cpython-39.opt-1.pyc
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/zlib.cpython-39.opt-2.pyc
a ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/zlib.cpython-39.pyc
--->  Activating py39-zopfli @0.2.1_0
x ./
x ./+COMMENT
x ./+CONTENTS
x ./+DESC
x ./+PORTFILE
x ./+STATE
x ./opt/
x ./opt/local/
x ./opt/local/Library/
x ./opt/local/share/
x ./opt/local/share/doc/
x ./opt/local/share/doc/py39-zopfli/
x ./opt/local/share/doc/py39-zopfli/COPYING
x ./opt/local/share/doc/py39-zopfli/README.rst
x ./opt/local/Library/Frameworks/
x ./opt/local/Library/Frameworks/Python.framework/
x ./opt/local/Library/Frameworks/Python.framework/Versions/
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli-0.2.1.dist-info/
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli-0.2.1.dist-info/COPYING
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli-0.2.1.dist-info/METADATA
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli-0.2.1.dist-info/RECORD
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli-0.2.1.dist-info/top_level.txt
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli-0.2.1.dist-info/WHEEL
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli-0.2.1.dist-info/zip-safe
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__init__.py
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/_version.py
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/gzip.py
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/png.py
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/zlib.py
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/zopfli.cpython-39-darwin.so
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/__init__.cpython-39.opt-1.pyc
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/__init__.cpython-39.opt-2.pyc
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/__init__.cpython-39.pyc
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/_version.cpython-39.opt-1.pyc
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/_version.cpython-39.opt-2.pyc
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/_version.cpython-39.pyc
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/gzip.cpython-39.opt-1.pyc
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/gzip.cpython-39.opt-2.pyc
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/gzip.cpython-39.pyc
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/png.cpython-39.opt-1.pyc
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/png.cpython-39.opt-2.pyc
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/png.cpython-39.pyc
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/zlib.cpython-39.opt-1.pyc
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/zlib.cpython-39.opt-2.pyc
x ./opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/zopfli/__pycache__/zlib.cpython-39.pyc
--->  Cleaning py39-zopfli
--->  Removing work directory for py39-zopfli
--->  Scanning binaries for linking errors
--->  No broken files found.                             
py39-matplotlib is using libstdc++ (this installation is configured to use libc++)
py39-zopfli is using libstdc++ (this installation is configured to use libc++)
--->  Found 2 broken ports, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
 py39-zopfli @0.2.1
 py39-matplotlib @3.5.2+cairo+webagg
Continue? [Y/n]:

Change History (7)

comment:1 Changed 2 years ago by RobK88

Description: modified (diff)

comment:2 Changed 2 years ago by RobK88

I just remembered the workaround to this problem. When compiling on Lion, you can often workaround the error by compiling using the clang-9.0 compiler.

See the ticket #62665

I was able to get py39-zopfli to compile against libc++ when I specified the clang-9.0 compiler. See below.

bash-3.2$ sudo port uninstall py39-matplotlib
--->  Deactivating py39-matplotlib @3.5.2_0+cairo+webagg
--->  Cleaning py39-matplotlib
--->  Uninstalling py39-matplotlib @3.5.2_0+cairo+webagg
--->  Cleaning py39-matplotlib
bash-3.2$ 
bash-3.2$ sudo port clean py39-matplotlib
--->  Cleaning py39-matplotlib
bash-3.2$ 
bash-3.2$ sudo port install py39-matplotlib configure.compiler=macports-clang-9.0
--->  Computing dependencies for py39-zopfli
--->  Fetching distfiles for py39-zopfli
--->  Verifying checksums for py39-zopfli
--->  Extracting py39-zopfli
--->  Configuring py39-zopfli
--->  Building py39-zopfli
--->  Staging py39-zopfli into destroot                  
--->  Unable to uninstall py39-zopfli @0.2.1_0, the following ports depend on it:
--->  	py39-fonttools @4.34.4_0+lxml+unicode+woff
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating py39-zopfli @0.2.1_0
--->  Cleaning py39-zopfli
--->  Uninstalling py39-zopfli @0.2.1_0
--->  Cleaning py39-zopfli
--->  Computing dependencies for py39-zopfli
--->  Installing py39-zopfli @0.2.1_0
--->  Activating py39-zopfli @0.2.1_0
--->  Cleaning py39-zopfli
--->  Computing dependencies for py39-matplotlib
--->  Fetching distfiles for py39-matplotlib
--->  Verifying checksums for py39-matplotlib
--->  Extracting py39-matplotlib
--->  Applying patches to py39-matplotlib
Warning: reinplace s|^cairo=False|cairo=True| didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-matplotlib/py39-matplotlib/work/matplotlib-3.5.2/mplsetup.cfg
--->  Configuring py39-matplotlib
--->  Building py39-matplotlib
--->  Staging py39-matplotlib into destroot              
--->  Installing py39-matplotlib @3.5.2_0+cairo+webagg   
--->  Activating py39-matplotlib @3.5.2_0+cairo+webagg
--->  Cleaning py39-matplotlib
--->  Scanning binaries for linking errors
--->  No broken files found.                             
--->  No broken ports found.
--->  Some of the ports you installed have notes:
  py39-matplotlib has the following notes:
    The default backend is the interactive Mac OS X backend. Different backends can be specified using the ~/.matplotlib/matplotlibrc file. More details regarding backends can be found in the matplotlib FAQ:
    
            https://matplotlib.org/stable/users/explain/backends.html
bash-3.2$
Last edited 2 years ago by RobK88 (previous) (diff)

comment:3 Changed 2 years ago by jmroot (Joshua Root)

Cc: kirill@… removed
Owner: set to catap
Port: py-zopfli added; py39-zopfli removed
Status: newassigned

This is due to not using the CXXFLAGS set by MacPorts, which include the -stdlib option.

comment:4 Changed 2 years ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In e7c03d59a75987fafc067f546c54abfb7b9fd029/macports-ports (master):

py-zopfli: respect MP CXXFLAGS

Closes: #65554

comment:5 Changed 2 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: closedreopened

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.

comment:6 Changed 2 years ago by kencu (Ken)

see #65402, and there are other ports where this is showing up now

comment:7 Changed 2 years ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: reopenedclosed

In ade58d6269d4e29f4c57878691198e284824721c/macports-ports (master):

py-zopfli: use pg compiler_wrapper

Fixes: #65554

Note: See TracTickets for help on using tickets.