Summary: | games-util/pyfa-1.8.1 - pyfa: File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 4, in <module> import _core_: ImportError: dynamic module does not define init function (init_core_) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | wolfwood <jamesbuyacar> |
Component: | [OLD] Games | Assignee: | Gentoo wxWidgets project <wxwidgets> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | python, tetromino |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
wolfwood
2015-02-21 01:02:18 UTC
(In reply to wolfwood from comment #0) > File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 4, in <module> > import _core_ > ImportError: dynamic module does not define init function (init_core_) This sounds like a broken wxpython build. Please add the "package settings" section of the output of emerge --info python wxpython wxGTK Assigning to wxpython maintainers. And I would strongly recommend disabling ccache, setting safe CFLAGS ("-march=native -O2 -pipe"), and then rebuilding wxGTK and wxpython. (In reply to Alexandre Rostovtsev from comment #2) > And I would strongly recommend disabling ccache, setting safe CFLAGS > ("-march=native -O2 -pipe"), and then rebuilding wxGTK and wxpython. More specifically: rebuilding wxGTK:2.8 and wxpython:2.8 ("emerge wxpython" would rebuild wxpython-3.0.2.0, which doesn't help pyfa since it uses wxpython-2.8.12.1) dev-lang/python-2.7.9-r2::gentoo was built with the following: USE="gdbm ncurses readline sqlite ssl threads tk (wide-unicode) xml -berkdb -build -doc -examples -hardened -ipv6 -wininst" ABI_X86="64" CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -fwrapv" CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -fwrapv" LDFLAGS="-Wl,-O1 -Wl,--as-needed -march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -L." dev-lang/python-3.2.5-r6::gentoo was built with the following: USE="gdbm ncurses readline sqlite ssl threads tk (wide-unicode) xml -build -doc -examples -hardened -ipv6 -wininst" ABI_X86="64" CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -fwrapv" CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -fwrapv" LDFLAGS="-Wl,-O1 -Wl,--as-needed -march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -L." dev-lang/python-3.3.5-r1::gentoo was built with the following: USE="gdbm ncurses readline sqlite ssl threads tk xml -build -doc -examples -hardened -ipv6 -wininst" ABI_X86="64" CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -fwrapv" CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -fwrapv" LDFLAGS="-Wl,-O1 -Wl,--as-needed -march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -L." dev-lang/python-3.4.2::gentoo was built with the following: USE="gdbm ncurses readline sqlite ssl threads tk xml -build -examples -hardened -ipv6 -wininst" ABI_X86="64" CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -fwrapv" CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -fwrapv" LDFLAGS="-Wl,-O1 -Wl,--as-needed -march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -L." dev-python/wxpython-2.8.12.1-r2::gentoo was built with the following: USE="cairo opengl -doc -examples" ABI_X86="64" PYTHON_TARGETS="python2_7" CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -fno-strict-aliasing" CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -fno-strict-aliasing" LDFLAGS="-Wl,-O1 -Wl,--as-needed -march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin" dev-python/wxpython-3.0.2.0::gentoo was built with the following: USE="cairo libnotify opengl -examples" ABI_X86="64" PYTHON_TARGETS="python2_7" CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin" CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin" LDFLAGS="-Wl,-O1 -Wl,--as-needed -march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin" x11-libs/wxGTK-2.8.12.1-r1::gentoo was built with the following: USE="X opengl pch sdl tiff (-aqua) -debug -doc -gnome -gstreamer -odbc" ABI_X86="64" CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -fno-lto -fno-use-linker-plugin -fno-strict-aliasing" CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -fno-lto -fno-use-linker-plugin -fno-strict-aliasing" LDFLAGS="-Wl,-O1 -Wl,--as-needed -march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -fno-lto -fno-use-linker-plugin" x11-libs/wxGTK-3.0.2.0-r1::gentoo was built with the following: USE="X libnotify opengl sdl tiff webkit (-aqua) -debug -doc -gstreamer" ABI_X86="64" CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -fno-lto -fno-use-linker-plugin" CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -fno-lto -fno-use-linker-plugin" LDFLAGS="-Wl,-O1 -Wl,--as-needed -march=native -O3 -pipe -fomit-frame-pointer -flto=6 -fuse-linker-plugin -fno-lto -fno-use-linker-plugin" rebuild as requested, ccache removed from features and I made a safe-flags env with: CFLAGS="-march=native -O2 -pipe" CXXFLAGS="${CFLAGS}" LDFLAGS="-Wl,-O1 -Wl,--as-needed" fixed the issue. Sorry to trouble you. it seems CCACHE was to blame in this case. |