LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-09-2020, 04:29 AM   #3076
ArTourter
Member
 
Registered: Oct 2010
Location: Frome, UK
Distribution: Slackware, CentOS, Rocky
Posts: 66

Rep: Reputation: 29

python3-PyYAML doesn't build for me on -current with python3.9. Simply bumping the version to 5.3.1 fixes the problem here.

Hope this helps
 
Old 11-09-2020, 04:59 AM   #3077
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,110

Original Poster
Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
Quote:
Originally Posted by ArTourter View Post
python3-PyYAML doesn't build for me on -current with python3.9. Simply bumping the version to 5.3.1 fixes the problem here.

Hope this helps
thanks, Greg!
 
Old 11-12-2020, 04:20 PM   #3078
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,338

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Attention in todays perl update , including new modules ...all present in SBo and now need to remove it.

Quote:
Added: Module-Runtime-0.016, Moo-2.004000, Path-Tiny-0.114,
Sub-Quote-2.006006, Template-Toolkit-3.009.
Thanks!
 
Old 11-13-2020, 12:33 AM   #3079
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,110

Original Poster
Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
Quote:
Originally Posted by USUARIONUEVO View Post
Attention in todays perl update , including new modules ...all present in SBo and now need to remove it.



Thanks!
thanks for the reminder but I had already removed them

Last edited by ponce; 11-13-2020 at 01:16 AM.
 
Old 11-13-2020, 03:14 AM   #3080
M0M0
Member
 
Registered: Sep 2020
Location: Germany
Distribution: Slackware
Posts: 230

Rep: Reputation: 20
Quote:
Originally Posted by montagdude View Post
webkit2gtk needs this patch to the SlackBuild:

Code:
diff --git a/libraries/webkit2gtk/webkit2gtk.SlackBuild b/libraries/webkit2gtk/webkit2gtk.SlackBuild
old mode 100644
new mode 100755
index dac584b438..777c40c9a4
--- a/libraries/webkit2gtk/webkit2gtk.SlackBuild
+++ b/libraries/webkit2gtk/webkit2gtk.SlackBuild
@@ -55,6 +55,9 @@ else
   LIBDIRSUFFIX=""
 fi
 
+# Fix for icu4c change
+SLKCFLAGS="$SLKCFLAGS -DU_DEFINE_FALSE_AND_TRUE=1"
+
 # This is needed to fix build issue on single make job
 # Thanks to ponce for investigating this issue.
 export MAKEFLAGS=${MAKEFLAGS:--j2}
@@ -77,6 +80,8 @@ find -L . \
 mkdir -p build
 cd build
   cmake -DPORT=GTK \
+	-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+	-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
 	-DCMAKE_BUILD_TYPE=Release \
         -DCMAKE_SKIP_RPATH=ON \
 	-DCMAKE_INSTALL_PREFIX=/usr \
See this thread:
https://www.linuxquestions.org/quest...nt-4175684551/
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?
 
Old 11-13-2020, 04:00 AM   #3081
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,110

Original Poster
Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
Quote:
Originally Posted by M0M0 View Post
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

http://ponce.cc/slackware/testing/webkit2gtk/
 
Old 11-14-2020, 02:30 AM   #3082
avian
Member
 
Registered: Aug 2014
Posts: 184

Rep: Reputation: Disabled
When building package x265 (v3.4) on a fully upgraded -current system, it seems to report the version as 0.0 -

Code:
# x265 -V
x265 [info]: HEVC encoder version 0.0
x265 [info]: build info [Linux][GCC 9.3.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2

and also in /usr/lib64/pkgconfig/x265.pc
Code:
# cat /usr/lib64/pkgconfig/x265.pc 
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib64
includedir=${prefix}/include

Name: x265
Description: H.265/HEVC video encoder
Version: 0.0
Libs: -L${libdir} -lx265
Libs.private: -lstdc++ -lm -lgcc_s -lgcc -lgcc_s -lgcc -lrt -ldl
Cflags: -I${includedir}
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.
 
Old 11-14-2020, 03:12 AM   #3083
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,110

Original Poster
Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
Quote:
Originally Posted by avian View Post
When building package x265 (v3.4) on a fully upgraded -current system, it seems to report the version as 0.0 -

Code:
# x265 -V
x265 [info]: HEVC encoder version 0.0
x265 [info]: build info [Linux][GCC 9.3.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2

and also in /usr/lib64/pkgconfig/x265.pc
Code:
# cat /usr/lib64/pkgconfig/x265.pc 
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib64
includedir=${prefix}/include

Name: x265
Description: H.265/HEVC video encoder
Version: 0.0
Libs: -L${libdir} -lx265
Libs.private: -lstdc++ -lm -lgcc_s -lgcc -lgcc_s -lgcc -lrt -ldl
Cflags: -I${includedir}
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
 
1 members found this post helpful.
Old 11-14-2020, 07:13 AM   #3084
avian
Member
 
Registered: Aug 2014
Posts: 184

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
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.
 
Old 11-14-2020, 04:26 PM   #3085
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 878

Rep: Reputation: 400Reputation: 400Reputation: 400Reputation: 400Reputation: 400
EDIT: Removed. The issue seems to be fixed by now. Nevermind...

Last edited by sombragris; 11-14-2020 at 04:28 PM.
 
Old 11-20-2020, 08:59 AM   #3086
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by ponce View Post
thanks, Greg!
Similarly with scipy3:

Code:
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;
      |                                   ^
Upgrading to scipy-1.5.4 fixes it.
 
Old 11-20-2020, 10:49 AM   #3087
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,110

Original Poster
Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
Quote:
Originally Posted by montagdude View Post
Similarly with scipy3:

Code:
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;
      |                                   ^
Upgrading to scipy-1.5.4 fixes it.
thanks, pushed!
 
Old 11-20-2020, 06:13 PM   #3088
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,338

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Hi i found 2 packages break

snort
dsniff


the two with same problem , cause glibc removes /usr/include/rpc/rpc.h

I think more network packages are involved, i say if sound some more.

I try upgrade snort , but no lucky...dsniff seems to have a patch in archlinux , but fails in our sources , im not see why.
 
Old 11-20-2020, 06:13 PM   #3089
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,338

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
repeated sorry.

Last edited by USUARIONUEVO; 11-20-2020 at 06:52 PM.
 
Old 11-21-2020, 02:35 AM   #3090
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,110

Original Poster
Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
Quote:
Originally Posted by USUARIONUEVO View Post
Hi i found 2 packages break

snort
dsniff


the two with same problem , cause glibc removes /usr/include/rpc/rpc.h

I think more network packages are involved, i say if sound some more.

I try upgrade snort , but no lucky...dsniff seems to have a patch in archlinux , but fails in our sources , im not see why.
thanks for the report: they are both fixed in their own branches and they will go in at the next merge.
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration