[MacPorts] #65092: py27-notify-python build failure (was: Py Notify faling to install)

MacPorts noreply at macports.org
Fri Apr 29 15:44:00 UTC 2022


#65092: py27-notify-python build failure
-------------------------------+--------------------
  Reporter:  volga629-1        |      Owner:  (none)
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:
Resolution:                    |   Keywords:
      Port:  py-notify-python  |
-------------------------------+--------------------
Changes (by jmroot):

 * port:   => py-notify-python


Old description:

> Hello Everyone,
> Py Notify failing to install.
> MacOS 12 X1
>

> :info:build generating symbol list for `_pynotify.la'
> :info:build /usr/bin/nm -B  .libs/pynotifymodule.o .libs/pynotify.o  |
> sed -n -e 's/^.*[        ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][
> ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /usr/bin/sed 's/.* //' |
> sort | uniq > .libs/_pynotify.exp
> :info:build grep -E -e "init_pynotify" ".libs/_pynotify.exp" >
> ".libs/_pynotify.expT"
> :info:build mv -f ".libs/_pynotify.expT" ".libs/_pynotify.exp"
> :info:build sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," <
> .libs/_pynotify.exp > .libs/_pynotify-symbols.expsym
> :info:build /usr/bin/clang  -o .libs/_pynotify.so -bundle
> .libs/pynotifymodule.o .libs/pynotify.o  -L/opt/local/lib -lgtk-x11-2.0
> -lgdk-x11-2.0 -lpangocairo-1.0 -lXrender -lXinerama -lXi -lXrandr
> -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -lXext -latk-1.0 -lcairo
> -lpangoft2-1.0 -lpango-1.0 -lharfbuzz -lfontconfig -lfreetype -lnotify
> -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl
> -Wl,-headerpad_max_install_names -Wl,-syslibroot
> -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
> :info:build Undefined symbols for architecture arm64:
> :info:build   "_PyArg_ParseTupleAndKeywords", referenced from:
> :info:build       __wrap_notify_notification_new in pynotify.o
> :info:build       __wrap_notify_init in pynotify.o
> :info:build       __wrap_notify_notification_update in pynotify.o
> :info:build       __wrap_notify_notification_set_timeout in pynotify.o
> :info:build       __wrap_notify_notification_set_category in pynotify.o
> :info:build       __wrap_notify_notification_set_urgency in pynotify.o
> :info:build       __wrap_notify_notification_set_icon_from_pixbuf in
> pynotify.o
> :info:build       ...
> :info:build   "_PyBool_FromLong", referenced from:
> :info:build       __wrap_notify_init in pynotify.o
> :info:build       __wrap_notify_is_initted in pynotify.o
> :info:build       __wrap_notify_notification_update in pynotify.o
> :info:build       __wrap_notify_notification_show in pynotify.o
> :info:build       __wrap_notify_notification_close in pynotify.o
> :info:build   "_PyBool_Type", referenced from:
> :info:build       __wrap_notify_notification_set_hint in pynotify.o
> :info:build   "_PyCObject_AsVoidPtr", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build   "_PyCObject_Type", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build   "_PyCallable_Check", referenced from:
> :info:build       __wrap_notify_notification_add_action in pynotify.o
> :info:build   "_PyDict_GetItemString", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build   "_PyDict_New", referenced from:
> :info:build       __wrap_notify_get_server_info in pynotify.o
> :info:build   "_PyDict_SetItemString", referenced from:
> :info:build       __wrap_notify_get_server_info in pynotify.o
> :info:build   "_PyErr_Fetch", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build   "_PyErr_Format", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build   "_PyErr_Occurred", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build       _pypynotify_add_constants in pynotify.o
> :info:build   "_PyErr_Print", referenced from:
> :info:build       _pypynotify_add_constants in pynotify.o
> :info:build   "_PyErr_SetString", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build       _pygalago_unwrap_gobj_list in pynotify.o
> :info:build       __wrap_notify_notification_new in pynotify.o
> :info:build       _pypynotify_register_classes in pynotify.o
> :info:build       __wrap_notify_notification_add_action in pynotify.o
> :info:build   "_PyEval_CallObjectWithKeywords", referenced from:
> :info:build       __notify_action_cb in pynotify.o
> :info:build   "_PyExc_ImportError", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build       _pypynotify_register_classes in pynotify.o
> :info:build   "_PyExc_RuntimeError", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build       __wrap_notify_notification_new in pynotify.o
> :info:build   "_PyExc_TypeError", referenced from:
> :info:build       _pygalago_unwrap_gobj_list in pynotify.o
> :info:build       __wrap_notify_notification_add_action in pynotify.o
> :info:build   "_PyFloat_AsDouble", referenced from:
> :info:build       __wrap_notify_notification_set_hint in pynotify.o
> :info:build   "_PyFloat_Type", referenced from:
> :info:build       __wrap_notify_notification_set_hint in pynotify.o
> :info:build   "_PyImport_ImportModule", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build       _pypynotify_register_classes in pynotify.o
> :info:build   "_PyInt_AsLong", referenced from:
> :info:build       __wrap_notify_notification_set_hint in pynotify.o
> :info:build   "_PyInt_FromLong", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build   "_PyList_Append", referenced from:
> :info:build       __wrap_notify_get_server_caps in pynotify.o
> :info:build   "_PyList_GetItem", referenced from:
> :info:build       _pygalago_unwrap_gobj_list in pynotify.o
> :info:build   "_PyList_New", referenced from:
> :info:build       __wrap_notify_get_server_caps in pynotify.o
> :info:build   "_PyList_Size", referenced from:
> :info:build       _pygalago_unwrap_gobj_list in pynotify.o
> :info:build   "_PyLong_AsLong", referenced from:
> :info:build       __wrap_notify_notification_set_hint in pynotify.o
> :info:build   "_PyModule_AddObject", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build   "_PyModule_GetDict", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build   "_PyObject_GetAttrString", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build       _pypynotify_register_classes in pynotify.o
> :info:build   "_PyObject_IsTrue", referenced from:
> :info:build       __wrap_notify_notification_set_hint in pynotify.o
> :info:build   "_PyObject_Repr", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build   "_PyString_AsString", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build       __wrap_notify_notification_set_hint in pynotify.o
> :info:build   "_PyString_FromString", referenced from:
> :info:build       __wrap_notify_get_app_name in pynotify.o
> :info:build       __wrap_notify_get_server_caps in pynotify.o
> :info:build       __wrap_notify_get_server_info in pynotify.o
> :info:build   "_PyTuple_Size", referenced from:
> :info:build       __wrap_notify_notification_add_action in pynotify.o
> :info:build   "_PyType_IsSubtype", referenced from:
> :info:build       _pygalago_unwrap_gobj_list in pynotify.o
> :info:build       __wrap_notify_notification_set_hint in pynotify.o
> :info:build   "_Py_BuildValue", referenced from:
> :info:build       _pypynotify_register_classes in pynotify.o
> :info:build       __notify_action_cb in pynotify.o
> :info:build   "_Py_FatalError", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build   "_Py_InitModule4_64", referenced from:
> :info:build       _init_pynotify in pynotifymodule.o
> :info:build   "__Py_NoneStruct", referenced from:
> :info:build       __wrap_notify_uninit in pynotify.o
> :info:build       __wrap_notify_get_app_name in pynotify.o
> :info:build       __wrap_notify_get_server_info in pynotify.o
> :info:build       __wrap_notify_notification_set_timeout in pynotify.o
> :info:build       __wrap_notify_notification_set_category in pynotify.o
> :info:build       __wrap_notify_notification_set_urgency in pynotify.o
> :info:build       __wrap_notify_notification_set_icon_from_pixbuf in
> pynotify.o
> :info:build       ...
> :info:build ld: symbol(s) not found for architecture arm64
> :info:build clang: error: linker command failed with exit code 1 (use -v
> to see invocation)
> :info:build make[2]: *** [_pynotify.la] Error 1
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-notify-python/py27-notify-
> python/work/notify-python-0.1.1/src'
> :info:build make[1]: *** [all-recursive] Error 1
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-notify-python/py27-notify-
> python/work/notify-python-0.1.1'
> :info:build make: *** [all] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-notify-python/py27-notify-
> python/work/notify-python-0.1.1'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-notify-python/py27-notify-
> python/work/notify-python-0.1.1" && make -j10 -w all
> :info:build Exit code: 2
> :error:build Failed to build py27-notify-python: command execution failed
> :debug:build Error code: CHILDSTATUS 77063 2
> :debug:build Backtrace: command execution failed
> :debug:build     while executing
> :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
> :debug:build     invoked from within
> :debug:build "command_exec -callback
> portprogress::target_progress_callback build"
> :debug:build     (procedure "portbuild::build_main" line 8)
> :debug:build     invoked from within
> :debug:build "$procedure $targetname"
> :error:build See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-notify-python/py27-notify-
> python/main.log for details.

New description:

 Hello Everyone,
 Py Notify failing to install.
 MacOS 12 X1

 {{{
 :info:build generating symbol list for `_pynotify.la'
 :info:build /usr/bin/nm -B  .libs/pynotifymodule.o .libs/pynotify.o  | sed
 -n -e 's/^.*[        ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*_
 \([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /usr/bin/sed 's/.* //' | sort |
 uniq > .libs/_pynotify.exp
 :info:build grep -E -e "init_pynotify" ".libs/_pynotify.exp" >
 ".libs/_pynotify.expT"
 :info:build mv -f ".libs/_pynotify.expT" ".libs/_pynotify.exp"
 :info:build sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," <
 .libs/_pynotify.exp > .libs/_pynotify-symbols.expsym
 :info:build /usr/bin/clang  -o .libs/_pynotify.so -bundle
 .libs/pynotifymodule.o .libs/pynotify.o  -L/opt/local/lib -lgtk-x11-2.0
 -lgdk-x11-2.0 -lpangocairo-1.0 -lXrender -lXinerama -lXi -lXrandr
 -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -lXext -latk-1.0 -lcairo
 -lpangoft2-1.0 -lpango-1.0 -lharfbuzz -lfontconfig -lfreetype -lnotify
 -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl
 -Wl,-headerpad_max_install_names -Wl,-syslibroot
 -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
 :info:build Undefined symbols for architecture arm64:
 :info:build   "_PyArg_ParseTupleAndKeywords", referenced from:
 :info:build       __wrap_notify_notification_new in pynotify.o
 :info:build       __wrap_notify_init in pynotify.o
 :info:build       __wrap_notify_notification_update in pynotify.o
 :info:build       __wrap_notify_notification_set_timeout in pynotify.o
 :info:build       __wrap_notify_notification_set_category in pynotify.o
 :info:build       __wrap_notify_notification_set_urgency in pynotify.o
 :info:build       __wrap_notify_notification_set_icon_from_pixbuf in
 pynotify.o
 :info:build       ...
 :info:build   "_PyBool_FromLong", referenced from:
 :info:build       __wrap_notify_init in pynotify.o
 :info:build       __wrap_notify_is_initted in pynotify.o
 :info:build       __wrap_notify_notification_update in pynotify.o
 :info:build       __wrap_notify_notification_show in pynotify.o
 :info:build       __wrap_notify_notification_close in pynotify.o
 :info:build   "_PyBool_Type", referenced from:
 :info:build       __wrap_notify_notification_set_hint in pynotify.o
 :info:build   "_PyCObject_AsVoidPtr", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build   "_PyCObject_Type", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build   "_PyCallable_Check", referenced from:
 :info:build       __wrap_notify_notification_add_action in pynotify.o
 :info:build   "_PyDict_GetItemString", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build   "_PyDict_New", referenced from:
 :info:build       __wrap_notify_get_server_info in pynotify.o
 :info:build   "_PyDict_SetItemString", referenced from:
 :info:build       __wrap_notify_get_server_info in pynotify.o
 :info:build   "_PyErr_Fetch", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build   "_PyErr_Format", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build   "_PyErr_Occurred", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build       _pypynotify_add_constants in pynotify.o
 :info:build   "_PyErr_Print", referenced from:
 :info:build       _pypynotify_add_constants in pynotify.o
 :info:build   "_PyErr_SetString", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build       _pygalago_unwrap_gobj_list in pynotify.o
 :info:build       __wrap_notify_notification_new in pynotify.o
 :info:build       _pypynotify_register_classes in pynotify.o
 :info:build       __wrap_notify_notification_add_action in pynotify.o
 :info:build   "_PyEval_CallObjectWithKeywords", referenced from:
 :info:build       __notify_action_cb in pynotify.o
 :info:build   "_PyExc_ImportError", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build       _pypynotify_register_classes in pynotify.o
 :info:build   "_PyExc_RuntimeError", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build       __wrap_notify_notification_new in pynotify.o
 :info:build   "_PyExc_TypeError", referenced from:
 :info:build       _pygalago_unwrap_gobj_list in pynotify.o
 :info:build       __wrap_notify_notification_add_action in pynotify.o
 :info:build   "_PyFloat_AsDouble", referenced from:
 :info:build       __wrap_notify_notification_set_hint in pynotify.o
 :info:build   "_PyFloat_Type", referenced from:
 :info:build       __wrap_notify_notification_set_hint in pynotify.o
 :info:build   "_PyImport_ImportModule", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build       _pypynotify_register_classes in pynotify.o
 :info:build   "_PyInt_AsLong", referenced from:
 :info:build       __wrap_notify_notification_set_hint in pynotify.o
 :info:build   "_PyInt_FromLong", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build   "_PyList_Append", referenced from:
 :info:build       __wrap_notify_get_server_caps in pynotify.o
 :info:build   "_PyList_GetItem", referenced from:
 :info:build       _pygalago_unwrap_gobj_list in pynotify.o
 :info:build   "_PyList_New", referenced from:
 :info:build       __wrap_notify_get_server_caps in pynotify.o
 :info:build   "_PyList_Size", referenced from:
 :info:build       _pygalago_unwrap_gobj_list in pynotify.o
 :info:build   "_PyLong_AsLong", referenced from:
 :info:build       __wrap_notify_notification_set_hint in pynotify.o
 :info:build   "_PyModule_AddObject", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build   "_PyModule_GetDict", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build   "_PyObject_GetAttrString", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build       _pypynotify_register_classes in pynotify.o
 :info:build   "_PyObject_IsTrue", referenced from:
 :info:build       __wrap_notify_notification_set_hint in pynotify.o
 :info:build   "_PyObject_Repr", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build   "_PyString_AsString", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build       __wrap_notify_notification_set_hint in pynotify.o
 :info:build   "_PyString_FromString", referenced from:
 :info:build       __wrap_notify_get_app_name in pynotify.o
 :info:build       __wrap_notify_get_server_caps in pynotify.o
 :info:build       __wrap_notify_get_server_info in pynotify.o
 :info:build   "_PyTuple_Size", referenced from:
 :info:build       __wrap_notify_notification_add_action in pynotify.o
 :info:build   "_PyType_IsSubtype", referenced from:
 :info:build       _pygalago_unwrap_gobj_list in pynotify.o
 :info:build       __wrap_notify_notification_set_hint in pynotify.o
 :info:build   "_Py_BuildValue", referenced from:
 :info:build       _pypynotify_register_classes in pynotify.o
 :info:build       __notify_action_cb in pynotify.o
 :info:build   "_Py_FatalError", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build   "_Py_InitModule4_64", referenced from:
 :info:build       _init_pynotify in pynotifymodule.o
 :info:build   "__Py_NoneStruct", referenced from:
 :info:build       __wrap_notify_uninit in pynotify.o
 :info:build       __wrap_notify_get_app_name in pynotify.o
 :info:build       __wrap_notify_get_server_info in pynotify.o
 :info:build       __wrap_notify_notification_set_timeout in pynotify.o
 :info:build       __wrap_notify_notification_set_category in pynotify.o
 :info:build       __wrap_notify_notification_set_urgency in pynotify.o
 :info:build       __wrap_notify_notification_set_icon_from_pixbuf in
 pynotify.o
 :info:build       ...
 :info:build ld: symbol(s) not found for architecture arm64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[2]: *** [_pynotify.la] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-notify-python/py27-notify-
 python/work/notify-python-0.1.1/src'
 :info:build make[1]: *** [all-recursive] Error 1
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-notify-python/py27-notify-
 python/work/notify-python-0.1.1'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-notify-python/py27-notify-
 python/work/notify-python-0.1.1'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-notify-python/py27-notify-
 python/work/notify-python-0.1.1" && make -j10 -w all
 :info:build Exit code: 2
 :error:build Failed to build py27-notify-python: command execution failed
 :debug:build Error code: CHILDSTATUS 77063 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-notify-python/py27-notify-
 python/main.log for details.
 }}}

--

Comment:

 Please attach the main.log.

-- 
Ticket URL: <https://trac.macports.org/ticket/65092#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list