Comment 3 for bug 1444347

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: /usr/bin/aa-clickhook:ImportError:/usr/bin/aa-clickhook@14:/usr/lib/python3/dist-packages/apparmor/click.py@15:/usr/lib/python3.4/ctypes/__init__.py@7

AFAICT, this is not a problem in click-apparmor, but instead python3.4. aa-clickhook is importing /usr/lib/python3/dist-packages/apparmor/click.py and it finds it. /usr/lib/python3/dist-packages/apparmor/click.py imports 'ctypes' and it fails due to the missing symbol in /usr/lib/python3.4/lib-dynload/_ctypes.cpython-34m-arm-linux-gnueabihf.so:

undefined symbol: _PyTraceback_Add

On up to date mako on devel-proposed, I cannot reproduce this:
$ sudo aa-clickhook -f # no error
$

$ nm -PoDC ./_ctypes.cpython-34m-arm-linux-gnueabihf.so |grep _PyTraceback_Add
./_ctypes.cpython-34m-arm-linux-gnueabihf.so: _PyTraceback_Add U

$ system-image-cli -i
current build number: 172
device name: mako
channel: ubuntu-touch/devel-proposed
alias: ubuntu-touch/vivid-proposed
last update: 2015-04-15 17:30:00
version version: 172
version ubuntu: 20150415
version device: 20150210
version custom: 20150415