Difficulty compiling multilib packages that depend on python3.
As part of setting up wayland and xwayland, I'm trying to (re)compile atk and friends on a Slackware64-Multilib system. I've been doing well so far, but trying to get gobject-introspection to compile causes barfing on a python3 header: https://pastebin.com/z4TTVZYe
Anyone know how to get this dep working for a multilib compile? |
This needs to be fixed in the Slackware python3 package itself.
The pyconfig.h header file is not multilib-ready and it should be renamed based on whether you build a 32bit or a 64bit package. Then a wrapper pyconfig.h should be put in its place which includes the appropriate pyconfig header for the architecture. I can not fix this in my multilib repository where I do nothing more but re-packaging the 32bit Slackware packages. |
fedora does like this in their python3.spec
Code:
[...] |
You could check with Pat whether he is willing to add this multilib support to the python3 package.
It will however have a larger chance of success if you provide a patch which produces the desired result, so he does not have to do the research for you. |
Here is a quick patch for Pat's python3 SlackBuild based on the fedora spec file above, but I am not sure how to test the original issue. I am also not sure its correct for s390, arm or armel, but I have no way of testing those.
Code:
--- python3.SlackBuild.orig 2019-09-22 08:35:06.042816493 -0700 |
O.O Thanks guys! I'm still working on trying to run Wayland/Enlightenment, running into other issues, but it's great to see that I have something to go on now, I will definitely apply the patch to the SlackBuild.
|
Quote:
Does convertpkg-compat32 strip header files from the package? I think this may be an issue for python3-compat32, since with the above patch we are expecting a pyconfig-32.h file in the package, and I'm not seeing it after running the package thru convertpkg-compat32. |
Quote:
Code:
# Stuff we need to keep, we move into KDEP/ and move it back later: Code:
# Stuff we need to keep, we move into KDEP/ and move it back later: |
All times are GMT -5. The time now is 06:44 PM. |