On 1/31/20 6:28 AM, Stuart via blfs-support wrote:
On 2020-01-31 10:28, Ken Moffat via blfs-support wrote:
On Fri, Jan 31, 2020 at 09:10:23AM +0000, Stuart via blfs-support wrote:
On 2020-01-30 23:23, Ken Moffat via blfs-support wrote:
On Thu, Jan 30, 2020 at 10:27:54PM +0000, Stuart via blfs-support wrote:
On 2020-01-30 16:41, Alan Feuerbacher via blfs-support wrote:
On 1/30/2020 8:57 AM, Ken Moffat via blfs-support wrote:
Ok gimp still has the same issue so I plan today to rebuild all the python3
modules and gimp using the later build of python3 and see if that fixes
things.

Should I consider any other component rebuilds ?

Thanks

Stuart

Stuart,

I have no idea what is going wrong here.  I still do not see why
gimp would be using python3.  If it was my system I might be tempted
to use strace (but that usually has voluminous output and finding
anything interesting is sometimes hit or miss).

On my own systems I build sqlite, python2, and then rebuild python3
before booting.

Good luck.

?en

Ken

The rebuild of the python3 modules and gimp did not fix the issue, subsequently I have linked the .so file:

/usr/lib/python3.8/site-packages/pycairo-1.18.2-py3.8-linux-x86_64.egg/cairo/_cairo.cpython-38-x86_64-linux-gnu.so

With -lpython3 to fix the unresolved symbol and now I get the following error:

Traceback (most recent call last):
? File "/usr/lib/gimp/2.0/plug-ins/spyro_plus/spyro_plus.py", line 22, in <module>
??? import gimpui
? File "/usr/lib/gimp/2.0/python/gimpui.py", line 33, in <module>
??? import gtk, gobject, gimp, gimpcolor
? File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
??? from gtk import _gtk
? File "/usr/lib/python3.8/site-packages/pycairo-1.18.2-py3.8-linux-x86_64.egg/cairo/__init__.py", line 1, in <module>
??? from ._cairo import *? # noqa: F401,F403
? File "/usr/lib/python3.8/site-packages/pycairo-1.18.2-py3.8-linux-x86_64.egg/cairo/_cairo.py", line 7, in <module>
??? __bootstrap__()
? File "/usr/lib/python3.8/site-packages/pycairo-1.18.2-py3.8-linux-x86_64.egg/cairo/_cairo.py", line 6, in __bootstrap__
??? imp.load_dynamic(__name__,__file__)
ImportError: dynamic module does not define init function (init_cairo)
gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error

I think I will now clear out both the python2 and python3 environments and follow the rebuild sequence python2, python3, all python modules and gimp and see if anything changes.

Thanks

Stuart


I am not to the point where I am building gimp as of now, but these issues are the exact reason that I use a package manager and build in a clean chroot environment.  I can then control which the packages that get linked togetether.
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to