Hi, On Fr 07 Jul 2017 00:44:18 CEST, Unit 193 wrote:
Package: python-ayatana-appindicator Version: 0.5.0-1 Severity: important Dear Maintainer, When trying to import ayatana_appindicator I get traceback:import ayatana_appindicatorTraceback (most recent call last): File "<stdin>", line 1, in <module>File "/usr/lib/python2.7/dist-packages/ayatana_appindicator/__init__.py", line 27, in <module>from _ayatana_appindicator import *ImportError: /usr/lib/python2.7/dist-packages/ayatana_appindicator/_ayatana_appindicator.i386-linux-gnu.so: undefined symbol: pyappindicator_functions
this is an upstream issue, but let's continue the discussion here...I looked today and this is merely a reminder for me... It seems there is some namespacing problem in the python2 bindings code:
```/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../bindings/python -I../.. -I../../../../src -DG_LOG_DOMAIN=\"ayatana-appindicator-python\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pygtk-2.0 -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/mike/MyDocuments/4projects/arctica-upstream/+++Ayatana+++/libayatana-appindicator=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -c -o ayatana_appindicatormodule.lo ../../../../bindings/python/ayatana_appindicatormodule.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../bindings/python -I../.. -I../../../../src -DG_LOG_DOMAIN=\"ayatana-appindicator-python\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pygtk-2.0 -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/mike/MyDocuments/4projects/arctica-upstream/+++Ayatana+++/libayatana-appindicator=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -c ../../../../bindings/python/ayatana_appindicatormodule.c -fPIC -DPIC -o .libs/ayatana_appindicatormodule.o ../../../../bindings/python/ayatana_appindicatormodule.c: In function ?init_appindicator?: ../../../../bindings/python/ayatana_appindicatormodule.c:47:3: warning: implicit declaration of function ?_appindicator_add_constants? [-Wimplicit-function-declaration]
_appindicator_add_constants (m, "APP_INDICATOR_"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../bindings/python -I../.. -I../../../../src -DG_LOG_DOMAIN=\"ayatana-appindicator-python\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pygtk-2.0 -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/mike/MyDocuments/4projects/arctica-upstream/+++Ayatana+++/libayatana-appindicator=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -c ../../../../bindings/python/ayatana_appindicatormodule.c -o ayatana_appindicatormodule.o >/dev/null 2>&1
(/usr/bin/python2.7 /usr/share/pygobject/2.0/codegen/codegen.py \ --register /usr/share/pygtk/2.0/defs/gtk-types.defs \ --register /usr/share/pygtk/2.0/defs/gdk-types.defs \ --load-types ../../../../bindings/python/appindicator-arg-types.py \ --override ayatana_appindicator.override \--prefix pyayatana_appindicator ../../../../bindings/python/ayatana_appindicator.defs) > gen-ayatana_appindicator.c \
&& cp gen-ayatana_appindicator.c ayatana_appindicator.c \ && rm -f gen-ayatana_appindicator.c Warning: generating old-style constructor for:app_indicator_new_with_path Warning: Constructor for AppIndicator needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors ***INFO*** The coverage of global functions is 100.00% (1/1) ***INFO*** The coverage of methods is 100.00% (20/20) ***INFO*** There are no declared virtual proxies. ***INFO*** There are no declared virtual accessors. ***INFO*** There are no declared interface proxies. ``` More later... -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby mobile: +49 (1520) 1976 148 landline: +49 (4354) 8390 139 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de
pgpMlOgbVJ8bC.pgp
Description: Digitale PGP-Signatur