SBo scripts not building on current (read 1st post, pls)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi Chris, I tested a build with 1.19.3 here and it seems to be fine: it's ok for you if I version-bump it to that?
Can I clarify before you do - do you mean for 14.2 or for -current? Also, did you build ion 14.2 with python3-3.7.2 or try newer python3-3.9 (which I presume will come to SBo soon)?
If you only built with python3-3.7.2 then I would prefer not to update numpy3 yet - I always have wanted to retain sync with the plain (for python2) numpy SlackBuild. If you can persuade Serban to also upgrade numpy, then I'll also update numpy3.
Back to the main problem following update to python3-3.9 in -current, an updated numpy3 builds fine. However I'm to unable to build any numpy3 on 14.2 with an updated python3-3.9 so updating the SBo version won't help. We could certainly update the the ponce-current repo to numpy-1.19.3 to solve that problem - please go ahead if that's what you mean regarding version bump.
thanks for looking into that!
as for the icu fix I think I'll go the same route as LFS as hinted by chrisretusn in that topic you linked, but I'll definitely add also your fix to respect the build flags.
Can I clarify before you do - do you mean for 14.2 or for -current? Also, did you build ion 14.2 with python3-3.7.2 or try newer python3-3.9 (which I presume will come to SBo soon)?
If you only built with python3-3.7.2 then I would prefer not to update numpy3 yet - I always have wanted to retain sync with the plain (for python2) numpy SlackBuild. If you can persuade Serban to also upgrade numpy, then I'll also update numpy3.
Back to the main problem following update to python3-3.9 in -current, an updated numpy3 builds fine. However I'm to unable to build any numpy3 on 14.2 with an updated python3-3.9 so updating the SBo version won't help. We could certainly update the the ponce-current repo to numpy-1.19.3 to solve that problem - please go ahead if that's what you mean regarding version bump.
thanks for looking into that!
as for the icu fix I think I'll go the same route as LFS as hinted by chrisretusn in that topic you linked, but I'll definitely add also your fix to respect the build flags.
I looked at my SlackBuild, I do something similar with the build flag variables (standard assignments) except using a different set for cmake. I am compiling on -current to use python3. This my configure, build, install group, if anyone is interested.
I will add I am also using gcc 10. Which seems to have less of those gcc segmentation fault falls. I still get them though, twice on build this. Third time was the charm.
important announcement for users of the new vtown in /testing... I repeat, important announcement for users of the new vtown in /testing...
please don't use this topic to report build issues with the scripts in this repository if you have the new vtown installed... I repeat, please don't use this topic to report build issues with the scripts in this repository if you have the new vtown installed...
issues with the new vtown will be handled here when it will get out to /testing and into plain current... I repeat, issues with the new vtown will be handled here when it will get out to /testing and into plain current...
I'm trying a build of 4.1.0 here to see if that goes fine...
also the version on SBo builds fine with this patch (put an additional line at the end with just a space as first character)
Code:
based on the upstream commit aa8430ad391d93391988451f43ecedd76ca4dd77
diff -Naur wxPython-4.0.7.post2.orig/setup.py wxPython-4.0.7.post2/setup.py
--- wxPython-4.0.7.post2.orig/setup.py 2019-11-12 03:54:31.000000000 +0100
+++ wxPython-4.0.7.post2/setup.py 2020-11-05 19:00:12.489380000 +0100
@@ -11,6 +11,7 @@
import sys, os
import glob
+import stat
from setuptools import setup, find_packages
from distutils.command.build import build as orig_build
@@ -306,7 +307,15 @@
orig_copy_tree = distutils.dir_util.copy_tree
distutils.dir_util.copy_tree = wx_copy_tree
+# Monkey-patch make_writeable too. Sometimes the link is copied before the
+# target, and the original make_writable will fail on a link to a missing
+# target.
+def wx_make_writable(target):
+ if not os.path.islink(target):
+ os.chmod(target, os.stat(target).st_mode | stat.S_IWRITE)
+import setuptools.command.build_py
+setuptools.command.build_py.make_writable = wx_make_writable
#----------------------------------------------------------------------
nvidia-legacy340-driver version 340.108 no longer compiles under -current due to the missing rpc header files in glibc-2.30-2. Is there a workaround for this other than in reverting to the older build of glibc-2.30?
Last edited by mats_b_tegner; 11-08-2020 at 01:52 PM.
nvidia-legacy340-driver version 340.108 no longer compiles under -current due to the missing rpc.h header files in glibc-2.30-2. Is there a workaround for this other than in reverting to the older build of glibc-2.30?
try modifying line 237 of nvidia-legacy340-driver.SlackBuild like this
Code:
CFLAGS="$SLKCFLAGS -I/usr/include/tirpc -Wl,-ltirpc" make
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.