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.
That's probably a stupid question, but how do you apply this patch? When I run this code while in the directory that contains Slackbuild, I see differences in the .Slackbuild file, but when I try to compile the program I still get errors. Should I do something else with this patch, like inserting it into a file, or is my problem a different one?
That's probably a stupid question, but how do you apply this patch? When I run this code while in the directory that contains Slackbuild, I see differences in the .Slackbuild file, but when I try to compile the program I still get errors. Should I do something else with this patch, like inserting it into a file, or is my problem a different one?
here you can find the latest version of the script tested on the latest current that will go in the repository linked in the first post at the next merge
Didnt have this problem using the 3.2 build script with 3.2 source on -current. It seems version.cmake defaults to 0.0 if the script cant find anything better, but its way above my patch-fu level to create a patch that isnt remotely hacky and ugly.
Didnt have this problem using the 3.2 build script with 3.2 source on -current. It seems version.cmake defaults to 0.0 if the script cant find anything better, but its way above my patch-fu level to create a patch that isnt remotely hacky and ugly.
hi avian, the one you describe is not a problem related to current as the build system behaves exactly the same on 14.2 and the version reported by "x265 -V" is 0.0 also there: I suggest you to report the issue upstream to the x265 developers.
if you want to fix it in the meantime you can add this line just after the find block in the SlackBuild
Code:
sed -i "s|set(X265_LATEST_TAG\ \"0.0\")|set(X265_LATEST_TAG \"$VERSION\")|" source/cmake/version.cmake
hi avian, the one you describe is not a problem related to current as the build system behaves exactly the same on 14.2 and the version reported by "x265 -V" is 0.0 also there: I suggest you to report the issue upstream to the x265 developers.
if you want to fix it in the meantime you can add this line just after the find block in the SlackBuild
Code:
sed -i "s|set(X265_LATEST_TAG\ \"0.0\")|set(X265_LATEST_TAG \"$VERSION\")|" source/cmake/version.cmake
Thanks Ponce. Your temporary fix seems perfect. I'll use that until the issue is fixed upstream.
scipy/cluster/_hierarchy.c: In function ‘__Pyx_modinit_type_init_code’:
scipy/cluster/_hierarchy.c:34720:47: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
34720 | __pyx_type_5scipy_7cluster_10_hierarchy_Heap.tp_print = 0;
| ^
scipy/cluster/_hierarchy.c:34732:59: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
34732 | __pyx_type_5scipy_7cluster_10_hierarchy_LinkageUnionFind.tp_print = 0;
| ^
scipy/cluster/_hierarchy.c:34741:100: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
34741 | double____double____double____double____int____int____int___to_py.tp_print = 0;
| ^
scipy/cluster/_hierarchy.c:34749:25: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
34749 | __pyx_type___pyx_array.tp_print = 0;
| ^
scipy/cluster/_hierarchy.c:34754:31: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
34754 | __pyx_type___pyx_MemviewEnum.tp_print = 0;
| ^
scipy/cluster/_hierarchy.c:34769:30: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
34769 | __pyx_type___pyx_memoryview.tp_print = 0;
| ^
scipy/cluster/_hierarchy.c:34782:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
34782 | __pyx_type___pyx_memoryviewslice.tp_print = 0;
| ^
scipy/cluster/_hierarchy.c: In function ‘__Pyx_modinit_type_init_code’:
scipy/cluster/_hierarchy.c:34720:47: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
34720 | __pyx_type_5scipy_7cluster_10_hierarchy_Heap.tp_print = 0;
| ^
scipy/cluster/_hierarchy.c:34732:59: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
34732 | __pyx_type_5scipy_7cluster_10_hierarchy_LinkageUnionFind.tp_print = 0;
| ^
scipy/cluster/_hierarchy.c:34741:100: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
34741 | double____double____double____double____int____int____int___to_py.tp_print = 0;
| ^
scipy/cluster/_hierarchy.c:34749:25: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
34749 | __pyx_type___pyx_array.tp_print = 0;
| ^
scipy/cluster/_hierarchy.c:34754:31: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
34754 | __pyx_type___pyx_MemviewEnum.tp_print = 0;
| ^
scipy/cluster/_hierarchy.c:34769:30: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
34769 | __pyx_type___pyx_memoryview.tp_print = 0;
| ^
scipy/cluster/_hierarchy.c:34782:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
34782 | __pyx_type___pyx_memoryviewslice.tp_print = 0;
| ^
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.