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 02-21-2019, 02:44 PM   #1681
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 556

Rep: Reputation: 208Reputation: 208Reputation: 208

LibreOffice not compiling on current, anyone with better success?

https://slackbuilds.org/repository/1...e/LibreOffice/


*EDIT: I think it needs this patch: https://svnweb.freebsd.org/ports/hea...pathrev=482786

*EDIT 2: Yep, that solved it.

Last edited by Bindestreck; 02-21-2019 at 04:23 PM.
 
Old 02-22-2019, 02:56 AM   #1682
aherrys
Member
 
Registered: Jul 2003
Posts: 77

Rep: Reputation: 15
Hi I am trying to compile the dnscrypt-proxy (https://slackbuilds.org/repository/1...nscrypt-proxy/) on slackware 64 current. But the slackbuild script just stop all the sudden without any warning or error. Any idea why is that ?

Thanks

Quote:
echo ' .section .go.buildid,"e"' >> $WORK/b068/_buildid.s
echo ' .byte 0x73,0x4f,0x36,0x4f,0x41,0x6d,0x47,0x58' >> $WORK/b068/_buildid.s
echo ' .byte 0x4f,0x57,0x52,0x4f,0x37,0x51,0x6a,0x78' >> $WORK/b068/_buildid.s
echo ' .byte 0x4f,0x76,0x73,0x58,0x2f,0x73,0x4f,0x36' >> $WORK/b068/_buildid.s
echo ' .byte 0x4f,0x41,0x6d,0x47,0x58,0x4f,0x57,0x52' >> $WORK/b068/_buildid.s
echo ' .byte 0x4f,0x37,0x51,0x6a,0x78,0x4f,0x76,0x73' >> $WORK/b068/_buildid.s
echo ' .byte 0x58' >> $WORK/b068/_buildid.s
echo ' .section .note.GNU-stack,"",@progbits' >> $WORK/b068/_buildid.s
echo ' .section .note.GNU-split-stack,"",@progbits' >> $WORK/b068/_buildid.s
echo '' >> $WORK/b068/_buildid.s
cd /tmp/SBo/dnscrypt-proxy-2.0.16/src/github.com/jedisct1/dnscrypt-proxy/vendor/github.com/miekg/dns
/usr/bin/gccgo -xassembler-with-cpp -I $WORK/b068/ -c -o $WORK/b068/_buildid.o -D GOOS_linux -D GOARCH_amd64 -D GOPKGPATH=github_com_jedisct1_dnscrypt_proxy_vendor_github_com_miekg_dns -m64 $WORK/b068/_buildid.s
ar rcD $WORK/b068/_pkg_.a $WORK/b068/_go_.o $WORK/b068/_buildid.o
/usr/libexec/gcc/x86_64-slackware-linux/8.2.0/buildid -w $WORK/b068/_pkg_.a # internal
cp $WORK/b068/_pkg_.a /root/.cache/go-build/1c/1c62a21dcda20a3c1b6cfba18dbbea355a7894a25a17eb77f9e977c0f683ed5e-d # internal
bash-5.0#
 
Old 02-22-2019, 03:09 AM   #1683
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,662

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by aherrys View Post
Hi I am trying to compile the dnscrypt-proxy (https://slackbuilds.org/repository/1...nscrypt-proxy/) on slackware 64 current. But the slackbuild script just stop all the sudden without any warning or error. Any idea why is that ?

Thanks
as it seems you are building it using gcc-go and not the google compiler, have you logged out and logged in again after building and installing google-go-lang?
it's necessary to source the files it installs in /etc/profile.d/, it's written in its README.

Last edited by ponce; 02-22-2019 at 03:40 AM. Reason: typo
 
Old 02-22-2019, 04:33 AM   #1684
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,662

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Bindestreck View Post
LibreOffice not compiling on current, anyone with better success?

https://slackbuilds.org/repository/1...e/LibreOffice/


*EDIT: I think it needs this patch: https://svnweb.freebsd.org/ports/hea...pathrev=482786

*EDIT 2: Yep, that solved it.
yes, I just tested it and can confirm: thanks a lot, pushed!
 
Old 02-22-2019, 01:15 PM   #1685
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 425

Rep: Reputation: 183Reputation: 183
After the big python 3.7 upgrade I tried to recompile python3-PyQt5 and I cannot build it. I'm using AlienBob's Qt 5.12.1.

Code:
g++ -c -pipe -O2 -O2 -fPIC -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/SBo/PyQt5_gpl-5.9.2/QtTest"' -I. -I. -isystem /usr/include/python3.7m -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtTest -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o sipQtTestQTest.o sipQtTestQTest.cpp
/tmp/SBo/PyQt5_gpl-5.9.2/QtTest/sipQtTestQTest.cpp: In function ‘PyObject* meth_QTest_waitForEvents(PyObject*, PyObject*)’:
/tmp/SBo/PyQt5_gpl-5.9.2/QtTest/sipQtTestQTest.cpp:278:23: error: ‘waitForEvents’ is not a member of ‘QTest’
 
                       ^            
make[1]: *** [Makefile:1189: sipQtTestQTest.o] Error 1
make[1]: Leaving directory '/tmp/SBo/PyQt5_gpl-5.9.2/QtTest'
make: *** [Makefile:604: sub-QtTest-make_first-ordered] Error 2
 
Old 02-22-2019, 01:24 PM   #1686
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,662

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sombragris View Post
After the big python 3.7 upgrade I tried to recompile python3-PyQt5 and I cannot build it. I'm using AlienBob's Qt 5.12.1.

Code:
g++ -c -pipe -O2 -O2 -fPIC -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/SBo/PyQt5_gpl-5.9.2/QtTest"' -I. -I. -isystem /usr/include/python3.7m -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtTest -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o sipQtTestQTest.o sipQtTestQTest.cpp
/tmp/SBo/PyQt5_gpl-5.9.2/QtTest/sipQtTestQTest.cpp: In function ‘PyObject* meth_QTest_waitForEvents(PyObject*, PyObject*)’:
/tmp/SBo/PyQt5_gpl-5.9.2/QtTest/sipQtTestQTest.cpp:278:23: error: ‘waitForEvents’ is not a member of ‘QTest’
 
                       ^            
make[1]: *** [Makefile:1189: sipQtTestQTest.o] Error 1
make[1]: Leaving directory '/tmp/SBo/PyQt5_gpl-5.9.2/QtTest'
make: *** [Makefile:604: sub-QtTest-make_first-ordered] Error 2
I think the issue may be related to the newer qt5: I built it fine yesterday using qt5-5.9.x in this repository.
 
Old 02-22-2019, 03:35 PM   #1687
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,099

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Quote:
Originally Posted by sombragris View Post
After the big python 3.7 upgrade I tried to recompile python3-PyQt5 and I cannot build it. I'm using AlienBob's Qt 5.12.1.

Code:
g++ -c -pipe -O2 -O2 -fPIC -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/SBo/PyQt5_gpl-5.9.2/QtTest"' -I. -I. -isystem /usr/include/python3.7m -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtTest -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o sipQtTestQTest.o sipQtTestQTest.cpp
/tmp/SBo/PyQt5_gpl-5.9.2/QtTest/sipQtTestQTest.cpp: In function ‘PyObject* meth_QTest_waitForEvents(PyObject*, PyObject*)’:
/tmp/SBo/PyQt5_gpl-5.9.2/QtTest/sipQtTestQTest.cpp:278:23: error: ‘waitForEvents’ is not a member of ‘QTest’
 
                       ^            
make[1]: *** [Makefile:1189: sipQtTestQTest.o] Error 1
make[1]: Leaving directory '/tmp/SBo/PyQt5_gpl-5.9.2/QtTest'
make: *** [Makefile:604: sub-QtTest-make_first-ordered] Error 2
When mixing packages SBo + eric , ... not good idea.

If you have other qt5 NOT SBo , you can get issues building other packages depending to qt5

You can try , with big version of pyqt5 , acording to qt5 version.


EDIT: ERIC HAVE REBUILD PACKAGES --> https://alien.slackbook.org/ktown/cu...t/x86_64/deps/

Last edited by USUARIONUEVO; 02-22-2019 at 03:55 PM.
 
Old 02-23-2019, 09:18 AM   #1688
saahriktu
LQ Newbie
 
Registered: Nov 2017
Location: Stary Oskol, Russia
Distribution: Slackware
Posts: 22

Rep: Reputation: 7
Quote:
Qt 5.12.1
Quote:
PyQt5_gpl-5.9.2
The PyQt5 version must match the Qt5 version.
https://www.riverbankcomputing.com/s...pl-5.12.tar.gz
https://github.com/saahriktu/modifie.../python3-PyQt5
By the way, this requires a newer sip:
https://www.riverbankcomputing.com/s...4.19.14.tar.gz

Last edited by saahriktu; 02-23-2019 at 09:21 AM.
 
2 members found this post helpful.
Old 02-23-2019, 10:52 AM   #1689
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 425

Rep: Reputation: 183Reputation: 183
Thanks for the pointer!
 
Old 02-23-2019, 05:09 PM   #1690
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,099

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
pyxdg , is ADDED , today to slackware , remove it from git.

Thanks!
 
Old 02-23-2019, 06:27 PM   #1691
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,099

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Hi , i encounter opencv problem , it have python3=3.6 , then files goes to 3.6 not under 3.7 (python3 now is 3.7 branch.

Quote:
PY3VERSION=${PY3VERSION:-3.6}
I no understand , why not get branch , with something like this

Quote:
python3 -V|cut -d. -f-2|cut -d ' ' -f2
Please , change at least 3.6 to 3.7 in to the fixed variable.

Thanks!
 
Old 02-23-2019, 07:32 PM   #1692
aherrys
Member
 
Registered: Jul 2003
Posts: 77

Rep: Reputation: 15
Hi I am trying to build openfortivpn (https://slackbuilds.org/repository/1.../openfortivpn/) on slackware 64 current. But the slackbuild script throwing out the below error. Any idea?

Thanks!

Quote:
CC src/openfortivpn-config.o
CC src/openfortivpn-hdlc.o
CC src/openfortivpn-http.o
src/http.c: In function ‘auth_log_in’:
src/http.c:350:46: error: ‘%s’ directive output may be truncated writing up to 192 bytes into a region of size between 43 and 235 [-Werror=format-truncation=]
snprintf(data, 256, "username=%s&credential=%s&realm=%s&ajax=1"
^~
src/http.c:352:21:
username, password, realm);
~~~~~~~~
src/http.c:350:2: note: ‘snprintf’ output between 77 and 653 bytes into a destination of size 256
snprintf(data, 256, "username=%s&credential=%s&realm=%s&ajax=1"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"&redir=%%2Fremote%%2Findex&just_logged_in=1",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
username, password, realm);
~~~~~~~~~~~~~~~~~~~~~~~~~~
src/http.c:389:42: error: ‘%s’ directive output may be truncated writing up to 192 bytes into a region of size between 48 and 240 [-Werror=format-truncation=]
snprintf(data, 256, "username=%s&realm=%s&reqid=%s&polid=%s&grp=%s"
^~
src/http.c:391:22:
username, realm, reqid, polid, group, tokenresponse);
~~~~~
src/http.c:389:3: note: ‘snprintf’ output between 90 and 918 bytes into a destination of size 256
snprintf(data, 256, "username=%s&realm=%s&reqid=%s&polid=%s&grp=%s"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"&code=%s&code2=&redir=%%2Fremote%%2Findex&just_logged_in=1",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
username, realm, reqid, polid, group, tokenresponse);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:517: src/openfortivpn-http.o] Error 1
 
Old 02-23-2019, 08:32 PM   #1693
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,099

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Quote:
Originally Posted by aherrys View Post
Hi I am trying to build openfortivpn (https://slackbuilds.org/repository/1.../openfortivpn/) on slackware 64 current. But the slackbuild script throwing out the below error. Any idea?

Thanks!
Version in slackbuilds are too old for current.
You need to go with version 1.8.1 , modify version in script variable and builds ok.
 
Old 02-23-2019, 08:52 PM   #1694
BradReed
Member
 
Registered: Apr 2015
Location: Earth
Distribution: Slackware-current
Posts: 70

Rep: Reputation: 26
The slackbuild for ProFont has a download link that points to
http://ponce.cc/slackware/sources/re...rofont-x11.zip

however, for some reason, the actual file is named "downloadfile.php?file=profont-x11.zip" and clicking on the link displays a funny image and text that reads, "OMG! You broke teh Interweb!"

So I think either the file in Ponce's repo needs to be renamed to profont-x11.zip or the download link should be http://ponce.cc/slackware/sources/re...rofont-x11.zip (possibly with some escapes or quoting) with instructions to rename it to work with the SlackBuild script.

I was able to grab the file. Just wanted to let Ponce know about the issue.
 
Old 02-24-2019, 12:33 AM   #1695
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,662

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by USUARIONUEVO View Post
Hi , i encounter opencv problem , it have python3=3.6 , then files goes to 3.6 not under 3.7 (python3 now is 3.7 branch.



I no understand , why not get branch , with something like this



Please , change at least 3.6 to 3.7 in to the fixed variable.

Thanks!
as this applies also to stable you should report it to the maintainer.
 
  


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 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 02:02 PM.

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