You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/07/19 10:15:16 UTC

[GitHub] [pulsar] mattisonchao commented on issue #13429: Release procedure: Building OSX packages is broken, at least in 2.9.1

mattisonchao commented on issue #13429:
URL: https://github.com/apache/pulsar/issues/13429#issuecomment-1188868565

   >This issue was fixed by a new script to build universal2 wheel files without using vagrant: pulsar-client-cpp/python/build-mac-wheels.sh. We still need to update the release instructions though.
   
   When I try to use it build 2.9.3, still got an exception:
   ```java
   changing mode of /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/lib/python3.8/lib-dynload/__pycache__ to 755
   running install_scripts
   copying build/scripts-3.8/pydoc3.8 -> /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin
   copying build/scripts-3.8/idle3.8 -> /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin
   copying build/scripts-3.8/2to3-3.8 -> /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin
   changing mode of /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin/pydoc3.8 to 755
   changing mode of /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin/idle3.8 to 755
   changing mode of /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin/2to3-3.8 to 755
   rm /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/lib/python3.8/lib-dynload/_sysconfigdata__darwin_darwin.py
   rm -r /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/lib/python3.8/lib-dynload/__pycache__
   /usr/bin/install -c -m 644 ./Misc/python.man \
   		/Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/share/man/man1/python3.8.1
   if test ! -d /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/lib/pkgconfig; then \
   		echo "Creating directory /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/lib/pkgconfig"; \
   		/usr/bin/install -c -d -m 755 /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/lib/pkgconfig; \
   	fi
   if test -f /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin/python3 -o -h /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin/python3; \
   	then rm -f /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin/python3; \
   	else true; \
   	fi
   (cd /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin; ln -s python3.8 python3)
   if test "3.8" != "3.8"; then \
   		rm -f /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin/python3.8-config; \
   		(cd /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin; ln -s python3.8-config python3.8-config); \
   		rm -f /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/lib/pkgconfig/python-3.8.pc; \
   		(cd /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/lib/pkgconfig; ln -s python-3.8.pc python-3.8.pc); \
   		rm -f /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/lib/pkgconfig/python-3.8-embed.pc; \
   		(cd /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/lib/pkgconfig; ln -s python-3.8-embed.pc python-3.8-embed.pc); \
   	fi
   rm -f /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin/python3-config
   (cd /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin; ln -s python3.8-config python3-config)
   rm -f /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/lib/pkgconfig/python3.pc
   (cd /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/lib/pkgconfig; ln -s python-3.8.pc python3.pc)
   rm -f /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/lib/pkgconfig/python3-embed.pc
   (cd /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/lib/pkgconfig; ln -s python-3.8-embed.pc python3-embed.pc)
   rm -f /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin/idle3
   (cd /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin; ln -s idle3.8 idle3)
   rm -f /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin/pydoc3
   (cd /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin; ln -s pydoc3.8 pydoc3)
   rm -f /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin/2to3
   (cd /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin; ln -s 2to3-3.8 2to3)
   if test "x" != "x" ; then \
   		rm -f /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin/python3-32; \
   		(cd /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin; ln -s python3.8-32 python3-32) \
   	fi
   if test "x-extract x86_64" != "x" ; then \
   		rm -f /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin/python3-intel64; \
   		(cd /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/bin; ln -s python3.8-intel64 python3-intel64) \
   	fi
   rm -f /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/share/man/man1/python3.1
   (cd /Users/mattisonchao/.pulsar-mac-wheels-cache/py-3.8/share/man/man1; ln -s python3.8.1 python3.1)
   if test "xupgrade" != "xno"  ; then \
   		case upgrade in \
   			upgrade) ensurepip="--upgrade" ;; \
   			install|*) ensurepip="" ;; \
   		esac; \
   		DYLD_LIBRARY_PATH=/Users/mattisonchao/.pulsar-mac-wheels-cache/Python-3.8.13 ./python.exe -E -m ensurepip \
   			$ensurepip --root=/ ; \
   	fi
   dyld: lazy symbol binding failed: Symbol not found: _libintl_setlocale
     Referenced from: /Users/mattisonchao/.pulsar-mac-wheels-cache/Python-3.8.13/libpython3.8.dylib
     Expected in: flat namespace
   
   dyld: Symbol not found: _libintl_setlocale
     Referenced from: /Users/mattisonchao/.pulsar-mac-wheels-cache/Python-3.8.13/libpython3.8.dylib
     Expected in: flat namespace
   
   Traceback (most recent call last):
     File "/Users/mattisonchao/.pulsar-mac-wheels-cache/Python-3.8.13/Lib/runpy.py", line 194, in _run_module_as_main
       return _run_code(code, main_globals, None,
     File "/Users/mattisonchao/.pulsar-mac-wheels-cache/Python-3.8.13/Lib/runpy.py", line 87, in _run_code
       exec(code, run_globals)
     File "/Users/mattisonchao/.pulsar-mac-wheels-cache/Python-3.8.13/Lib/ensurepip/__main__.py", line 5, in <module>
       sys.exit(ensurepip._main())
     File "/Users/mattisonchao/.pulsar-mac-wheels-cache/Python-3.8.13/Lib/ensurepip/__init__.py", line 204, in _main
       return _bootstrap(
     File "/Users/mattisonchao/.pulsar-mac-wheels-cache/Python-3.8.13/Lib/ensurepip/__init__.py", line 123, in _bootstrap
       return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
     File "/Users/mattisonchao/.pulsar-mac-wheels-cache/Python-3.8.13/Lib/ensurepip/__init__.py", line 32, in _run_pip
       return subprocess.run([sys.executable, "-c", code], check=True).returncode
     File "/Users/mattisonchao/.pulsar-mac-wheels-cache/Python-3.8.13/Lib/subprocess.py", line 516, in run
       raise CalledProcessError(retcode, process.args,
   subprocess.CalledProcessError: Command '['/Users/mattisonchao/.pulsar-mac-wheels-cache/Python-3.8.13/python.exe', '-c', '\nimport runpy\nimport sys\nsys.path = [\'/tmp/tmpiixoy48y/setuptools-56.0.0-py3-none-any.whl\', \'/tmp/tmpiixoy48y/pip-22.0.4-py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'/tmp/tmpiixoy48y\', \'--root\', \'/\', \'--upgrade\', \'setuptools\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' died with <Signals.SIGABRT: 6>.
   make: *** [install] Error 1
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org