LinuxQuestions.org
Help answer threads with 0 replies.
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 01-08-2017, 02:48 PM   #421
USUARIONUEVO
Member
 
Registered: Apr 2015
Posts: 682

Rep: Reputation: 207Reputation: 207Reputation: 207

Hi i know , the thread is not for this , but ..

can upgrade some packages versions ? i think are easy and no need extra modifications.

geojson 1.3.1 --> 1.3.3
https://pypi.python.org/pypi/geojson


pytz-2014.10 --> 2016.10 (this is 2 years old version)
https://pypi.python.org/pypi/pytz


paramiko-1.16.0 --> 2.1.1
https://pypi.python.org/pypi/paramiko/2.1.1


Thanks in advance.
 
Old 01-08-2017, 03:46 PM   #422
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,551

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
Originally Posted by USUARIONUEVO View Post
Hi i know , the thread is not for this , but ..

can upgrade some packages versions ? i think are easy and no need extra modifications.

geojson 1.3.1 --> 1.3.3
https://pypi.python.org/pypi/geojson


pytz-2014.10 --> 2016.10 (this is 2 years old version)
https://pypi.python.org/pypi/pytz


paramiko-1.16.0 --> 2.1.1
https://pypi.python.org/pypi/paramiko/2.1.1


Thanks in advance.
It is best to contact the maintainers of those packages. SBo admins don't upgrade random packages without the package maintainer being involved unless there's a really strong reason to do so (like major security holes or broken packages).
 
Old 01-08-2017, 05:23 PM   #423
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,551

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
Originally Posted by bassmadrigal View Post
Long story short, if you compile opencv with qt5, and then compile gst-plugins-bad with opencv, it will fail stating:

Code:
/usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support"
This was relatively easy to fix by adding -std=c++11 to the CXXFLAGS right before the ./configure. (Note, it builds fine with opencv without qt5.)

However, I don't know enough about CXXFLAGS and c++11 to know if this would cause failures on builds not using opencv built with qt5, so I don't know if it is worth it to add that to the SlackBuild permanently.
Quote:
Originally Posted by rworkman View Post
I don't know the answer to that either, so testing would be appreciated
Robby, sorry for the extremely long delay in testing this. I tried it on my htpc system that had only a few of the optional dependencies (libass and rtmpdump). I added -std=c++11 to the CXXFLAGS and it compiled fine.

Because I had a different system around, I also checked building it on my 14.1 system (well, gst1-plugins-bad since the gstreamer switch in 14.2)) that has a lot of the optional dependencies (OpenAL, faac, fadd2, libdca, libmodplug, libquicktime, libwebp, opencv (not built against qt5), rtmpdump, and xvidcore). After building the required dependencies of orc, gstreamer1, and gst1-plugins-base, it successfully compiled gst1-plugins-bad with -std=c++11 in the CXXFLAGS.

So, from my limited testing, it doesn't seem to have an adverse reaction including it and it prevents a broken compile when it is needed. Take from that what you will

============================

Also, a minor request, can you alphabetize the list of optional dependencies for gst-plugins-bad? It makes it a bit easier to check through your system to see what you already have (since you can just go through an alphabetized list). I've sorted the list alphabetically and did one with the upper case letters being first (like it would be with most Linux default sorting) and then a second where the case is ignored. They are below for your convenience

Case-senstive
Code:
This optionally depends on OpenAL, TiMidity++, amrnb, amrwb, celt, faac,
faad2, flite, fluidsynth, gsm, libass, libcdaudio, libdc1394, libdca,
libkate, liblrdf, libmimic, libmodplug, libmusicbrainz, libofa,
libquicktime, libwebp, lv2, musepack-tools, opencv, rtmpdump,
schroedinger, soundtouch, swfdec, and xvidcore
Case-ignored
Code:
This optionally depends on amrnb, amrwb, celt, faac, faad2, flite,
fluidsynth, gsm, libass, libcdaudio, libdc1394, libdca, libkate, liblrdf,
libmimic, libmodplug, libmusicbrainz, libofa, libquicktime, libwebp, lv2,
musepack-tools, OpenAL, opencv, rtmpdump, schroedinger, soundtouch,
swfdec, TiMidity++, and xvidcore
 
Old 01-08-2017, 07:08 PM   #424
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,703

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Quote:
Originally Posted by USUARIONUEVO View Post
Hi i know , the thread is not for this , but ..

can upgrade some packages versions ? i think are easy and no need extra modifications.

geojson 1.3.1 --> 1.3.3
https://pypi.python.org/pypi/geojson


pytz-2014.10 --> 2016.10 (this is 2 years old version)
https://pypi.python.org/pypi/pytz


paramiko-1.16.0 --> 2.1.1
https://pypi.python.org/pypi/paramiko/2.1.1


Thanks in advance.
For geojson, you should contact Benjamin. He's quite active so you will get a fast response.

As for paramiko, 1.x to 2.x will change it's deps to Cryptography
Both pytz and paramiko are maintained by Heinz (pprkut).
 
Old 01-08-2017, 08:17 PM   #425
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,246

Rep: Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737
Quote:
Originally Posted by bassmadrigal View Post
Robby, sorry for the extremely long delay in testing this. I tried it on my htpc system that had only a few of the optional dependencies (libass and rtmpdump). I added -std=c++11 to the CXXFLAGS and it compiled fine.

...

So, from my limited testing, it doesn't seem to have an adverse reaction including it and it prevents a broken compile when it is needed. Take from that what you will
Outstanding; thanks!

Quote:
Also, a minor request, can you alphabetize the list of optional dependencies for gst-plugins-bad? It makes it a bit easier to check through your system to see what you already have (since you can just go through an alphabetized list). I've sorted the list alphabetically and did one with the upper case letters being first (like it would be with most Linux default sorting) and then a second where the case is ignored. They are below for your convenience

Case-senstive
Code:
This optionally depends on OpenAL, TiMidity++, amrnb, amrwb, celt, faac,
faad2, flite, fluidsynth, gsm, libass, libcdaudio, libdc1394, libdca,
libkate, liblrdf, libmimic, libmodplug, libmusicbrainz, libofa,
libquicktime, libwebp, lv2, musepack-tools, opencv, rtmpdump,
schroedinger, soundtouch, swfdec, and xvidcore
I like this one.

Code:
commit 7d2e6f17501bbf9e16c82c539805773ae9024161
Author: Robby Workman <rworkman@slackbuilds.org>
Date:   Sun Jan 8 19:16:31 2017 -0600

    multimedia/gst-plugins-bad: Added -std=c++11 to CXXFLAGS
    
    Also reordered optional dep list.
    
    Thanks to bassmadrigal on LQ for the testing and suggestion.
    
    Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
 
1 members found this post helpful.
Old 01-12-2017, 06:44 PM   #426
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 401

Rep: Reputation: 74
Hi, the pyPdf.SlackBuild needs correction as tar throws a 'file not found' error.

This is due to the begin of the filename being in lowercase (pyPDF2), e.g. in pyPdf.info:

Code:
DOWNLOAD="https://github.com/mstamy2/PyPDF2/archive/1.26.0/pyPDF2-1.26.0.tar.gz"

whereas the extracted directory begins with an uppercase (PyPDF2) as referred to in the SRCDIRNAM variable which is also -but wrongly- used for untarring the file in the pyPdf.SlackBuild

Code:
PRGNAM=pyPdf
VERSION=${VERSION:-1.26.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

SRCDIRNAM=PyPDF2
....
tar xvf $CWD/$SRCDIRNAM-$VERSION.tar.gz

Last edited by brobr; 01-12-2017 at 06:46 PM.
 
Old 01-12-2017, 07:21 PM   #427
mralk3
Member
 
Registered: May 2015
Distribution: Slackware, Debian, CentOS, FreeBSD
Posts: 902

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
Quote:
Originally Posted by brobr View Post
Hi, the pyPdf.SlackBuild needs correction as tar throws a 'file not found' error.

This is due to the begin of the filename being in lowercase (pyPDF2), e.g. in pyPdf.info:

Code:
DOWNLOAD="https://github.com/mstamy2/PyPDF2/archive/1.26.0/pyPDF2-1.26.0.tar.gz"

whereas the extracted directory begins with an uppercase (PyPDF2) as referred to in the SRCDIRNAM variable which is also -but wrongly- used for untarring the file in the pyPdf.SlackBuild

Code:
PRGNAM=pyPdf
VERSION=${VERSION:-1.26.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

SRCDIRNAM=PyPDF2
....
tar xvf $CWD/$SRCDIRNAM-$VERSION.tar.gz
Thanks for reporting. I will upload a fix to SBo.
 
Old 01-13-2017, 04:29 PM   #428
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 492

Rep: Reputation: 152Reputation: 152
Conky 1.10.6 now gives seg-fault.

Code:
conky: desktop window (29d) is root window
conky: window type - desktop
conky: drawing to created window (0x4600001)
Segmentation fault
I did rebuild all dependencies and conky, same error.

Last edited by Bindestreck; 01-13-2017 at 04:51 PM.
 
Old 01-13-2017, 04:46 PM   #429
USUARIONUEVO
Member
 
Registered: Apr 2015
Posts: 682

Rep: Reputation: 207Reputation: 207Reputation: 207
Quote:
Originally Posted by Bindestreck View Post
Conky 1.10.6 now gives seg-fault.

Code:
conky: desktop window (29d) is root window
conky: window type - desktop
conky: drawing to created window (0x4600001)
Segmentation fault
Reinstalled all dependencies and conky, same error.
im not test , but no need reinstall packages, may be need REBUILD.
 
Old 01-13-2017, 04:51 PM   #430
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 492

Rep: Reputation: 152Reputation: 152
Quote:
Originally Posted by USUARIONUEVO View Post
im not test , but no need reinstall packages, may be need REBUILD.
Sorry, I meant "rebuild".
 
Old 01-13-2017, 05:59 PM   #431
USUARIONUEVO
Member
 
Registered: Apr 2015
Posts: 682

Rep: Reputation: 207Reputation: 207Reputation: 207
pitivi links broken.

http://slackware.uk/sbosrcarch/by-na...imedia/pitivi/

Last edited by USUARIONUEVO; 01-13-2017 at 06:03 PM.
 
Old 01-13-2017, 11:06 PM   #432
USUARIONUEVO
Member
 
Registered: Apr 2015
Posts: 682

Rep: Reputation: 207Reputation: 207Reputation: 207
probably since ruby-2.4.0 some gems are broken.

Here is the first i found

rubygem-msgpack

Quote:
compiling buffer.c
compiling buffer_class.c
compiling core_ext.c
compiling packer.c
core_ext.c: En la función ‘MessagePack_core_ext_module_init’:
core_ext.c:121:22: error: ‘rb_cFixnum’ no se declaró aquí (primer uso en esta función)
rb_define_method(rb_cFixnum, "to_msgpack", Fixnum_to_msgpack, -1);
^
core_ext.c:121:22: nota: cada identificador sin declarar se reporta sólo una vez para cada función en el que aparece
core_ext.c:122:22: error: ‘rb_cBignum’ no se declaró aquí (primer uso en esta función)
rb_define_method(rb_cBignum, "to_msgpack", Bignum_to_msgpack, -1);
^
make: *** [Makefile:242: core_ext.o] Error 1
 
Old 01-13-2017, 11:15 PM   #433
orbea
Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 798

Rep: Reputation: Disabled
I tried to build PaleMoon (From source) and ran into this configure error.

Code:
 0:09.79 checking for stdint.h... yes
 0:09.82 checking for inttypes.h... yes
 0:09.85 checking for sys/int_types.h... no
 0:10.00 checking for posix_fadvise... yes
 0:10.05 checking for posix_fallocate... yes
 0:10.11 sed: character class syntax is [[:space:]], not [:space:]
 0:10.11 configure: error: cannot determine icu version number from uvernum.h header file
 0:10.11 ------ config.log ------
 0:10.11 configure:26126: checking for fontconfig
 0:10.11 configure:26133: checking _FONTCONFIG_CFLAGS
 0:10.11 configure:26138: checking _FONTCONFIG_LIBS
 0:10.11 configure:26337: checking for stdint.h
 0:10.11 configure:26350: gcc -c -O2 -fPIC -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe  conftest.c 1>&5
 0:10.11 configure:26337: checking for inttypes.h
 0:10.11 configure:26350: gcc -c -O2 -fPIC -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe  conftest.c 1>&5
 0:10.11 configure:26337: checking for sys/int_types.h
 0:10.11 configure:26350: gcc -c -O2 -fPIC -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe  conftest.c 1>&5
 0:10.11 configure:26344:27: fatal error: sys/int_types.h: No such file or directory
 0:10.11 compilation terminated.
 0:10.11 configure: failed program was:
 0:10.11 #line 26342 "configure"
 0:10.11 #include "confdefs.h"
 0:10.11 
 0:10.11 #include <sys/int_types.h>
 0:10.11 int main() {
 0:10.11 
 0:10.11 ; return 0; }
 0:10.11 configure:27750: checking for posix_fadvise
 0:10.11 configure:27782: gcc -o conftest -Wall -Wdeclaration-after-statement -Wempty-body -Wpointer-to-int-cast -Wsign-compare -Wtype-limits -Wno-unused -Wcast-align -O2 -fPIC -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -ldl  1>&5
 0:10.11 configure:27750: checking for posix_fallocate
 0:10.11 configure:27782: gcc -o conftest -Wall -Wdeclaration-after-statement -Wempty-body -Wpointer-to-int-cast -Wsign-compare -Wtype-limits -Wno-unused -Wcast-align -O2 -fPIC -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -ldl  1>&5
 0:10.11 configure:27836: gcc -c -Wall -Wdeclaration-after-statement -Wempty-body -Wpointer-to-int-cast -Wsign-compare -Wtype-limits -Wno-unused -Wcast-align -O2 -fPIC -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe   conftest.c 1>&5
 0:10.12 configure: error: cannot determine icu version number from uvernum.h header file
 0:10.12 *** Fix above errors and then restart with\n 0:10.12                "/usr/bin/gmake -f client.mk build"
 0:10.12 gmake[2]: *** [/media/data/home/tmp/SBo/Pale-Moon-27.0.3_Release/client.mk:363: configure] Error 1
 0:10.12 gmake[1]: *** [/media/data/home/tmp/SBo/Pale-Moon-27.0.3_Release/client.mk:375: /home/orbea/tmp/SBo/pmbuild/Makefile] Error 2
 0:10.12 gmake: *** [client.mk:171: build] Error 2
 0:10.14 0 compiler warnings present.
I then found this debian issue report which to seems to also apply here.

https://bugs.debian.org/cgi-bin/bugr...cgi?bug=850972

From that report I tried this patch and now it successfully configures and builds in Slackware current. Its probably because of the recent upgrade to sed-4.3 in current.

Code:
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Tue, 10 Jan 2017 18:54:06 +0100
Subject: icu.m4: adding extra bracket to not confuse grep

One bracket is "lost" while the creation of the configure script, so
adding a third bracket that will be removed while running autoreconf.
---
 build/autoconf/icu.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/autoconf/icu.m4 b/build/autoconf/icu.m4
index 943a378c50..fd9ed3eaeb 100644
--- a/build/autoconf/icu.m4
+++ b/build/autoconf/icu.m4
@@ -73,7 +73,7 @@ if test -n "$USE_ICU"; then
         fi
     fi
 
-    version=`sed -n 's/^[[:space:]]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p' "$icudir/common/unicode/uvernum.h"`
+    version=`sed -n 's/^[[[:space:]]]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p' "$icudir/common/unicode/uvernum.h"`
     if test x"$version" = x; then
        AC_MSG_ERROR([cannot determine icu version number from uvernum.h header file $lineno])
     fi
https://slackbuilds.org/repository/1...work/PaleMoon/

Last edited by orbea; 01-13-2017 at 11:20 PM.
 
Old 01-14-2017, 01:55 AM   #434
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,703

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Quote:
Originally Posted by USUARIONUEVO View Post
Fixed in my branch

Thanks
 
Old 01-14-2017, 02:45 AM   #435
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 3,888

Original Poster
Rep: Reputation: 1920Reputation: 1920Reputation: 1920Reputation: 1920Reputation: 1920Reputation: 1920Reputation: 1920Reputation: 1920Reputation: 1920Reputation: 1920Reputation: 1920
thanks orbea for the PaleMoon fix! I just pushed it on github (will go in at the nex merge).

https://github.com/Ponce/slackbuilds/tree/PaleMoon
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 02:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 02:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 08:49 AM

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

All times are GMT -5. The time now is 03:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration