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:
On Thu, Jan 30, 2020 at 10:59:39AM +0000, Stuart via blfs-support wrote:
I have built the latest BLFS Gimp-2.10.14 and I get the
following issue on
startup.

Has anyone got any suggestions has to what may be wrong ?

Thanks Stuart
SNIP
A rather older post on reddit suggested that an incompatible version
of cairo could cause this.? We have moved to a development version
of cairo, I forget the reason why but I suspect it might be the
cause.? I haven't made a new build with that version of cairo.

So, has anyone sucessfully run current gimp with current cairo ?

?en
Yes, in systemd development, last week I built Gimp-2.10.14 and
Cairo-1.17.2+f93fc72c03e

Alan

Wearing my pedant's hat, the question was "run" not "built" i.e.
just because something builds doesn't necessarily mean it works.

However, I'm convinced that Doug pointed to the real problem
(python3 - gimp-2.10 still needs python2 and always will, gimp-3
will get rid of python2).

Alan, Thanks for that, for the record my system is a SysV development
version.

Stuart

Stuart, I don't really understand how something using python2 could
stumble onto a python3 module (unless you symlinked python or the
-config version to python3), but do you have
/usr/lib/python2.7/site-packages/pycairo-1.18.2-py2.7-linux-x86_64.egg
(a directory, with a cairo sub-directory and some python files in
that) ?

?en

Ken,

Yes I have a /usr/lib/python2.7/site-packages/pycairo-1.18.2-py2.7-linux-x86_64.egg directory.

What I have found is that when I look for the _Py_FalseStruct symbol (using nm) in my build I find :

/usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a:boolobject.o:0000000000000020 D _Py_FalseStruct

However when I check on an older system (on which gimp is fine) I find:

/usr/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.a:boolobject.o:0000000000000020 D _Py_FalseStruct

/usr/lib/libpython3.7m.so:00000000002bdc60 D _Py_FalseStruct

/usr/lib/libpython3.7m.so.1.0:00000000002bdc60 D _Py_FalseStruct

Now my python3 was built as part of the LFS phase where my python2 was built as a dependancy later in the BLFS phase.

I have now rebuilt python3 and I get the following:

/usr/lib//python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a:boolobject.o:0000000000000020 D _Py_FalseStruct

/usr/lib/libpython3.8.so.1.0:000000000032f560 D _Py_FalseStruct

/usr/lib/libpython3.8.so:000000000032f560 D _Py_FalseStruct

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


--
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