[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#818400: gcc-python3-plugin: fails with "cc1: error: fail to initialize plugin"



Package: gcc-python3-plugin
Version: 0.15-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

This is how I can reproduce the failure:

$ cat script.py 
import gcc
help(gcc)
$ cat sourcefile.c 
void f(void){}
$ gcc-with-python3 script.py sourcefile.c -c -o sourcefile.o
cc1: error: fail to initialize plugin /usr/lib/gcc/x86_64-linux-gnu/5/plugin/python3.so


The first hit on google suggests that this is caused by a version incompatibility between the plugin and gcc:
https://bugzilla.redhat.com/show_bug.cgi?id=739766

I didn't try to compile the plugin from source, yet.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gcc-python3-plugin depends on:
ii  g++-5             5.3.1-11
ii  gcc-5             5.3.1-11
ii  libc6             2.22-3
ii  libgcc1           1:5.3.1-11
ii  libpython3.5      3.5.1-7
ii  python3-lxml      3.5.0-1+b1
ii  python3-pygments  2.1+dfsg-1
ii  python3-six       1.10.0-3
pn  python3:any       <none>

Versions of packages gcc-python3-plugin recommends:
ii  chromium [www-browser]     49.0.2623.87-1
ii  firefox-esr [www-browser]  45.0esr-2
ii  graphviz                   2.38.0-12+b2
ii  w3m [www-browser]          0.5.3-27
ii  xdg-utils                  1.1.1-1

Versions of packages gcc-python3-plugin suggests:
pn  gcc-python-plugin-doc  <none>

-- no debconf information


Reply to: