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.
There's some error in the SlackBuild (lines 103 - 107):
Code:
for oldf in sipdistutils.py sip.pyi sipconfig.py
do
mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/$oldf \
$PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/python2_$oldf
done
the files sipdistutils.py and sipconfig.py are in /tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/PyQt5/ now.
In my system, gambas3 could not be built until I installed alure.
Alure is listed as an optional dependency. But I have OpenAL installed (as part of AlienBob's Plasma5 packages), so it could be that OpenAL's presence triggered that requirement. Cannot know for sure, but the fact remains that gambas3 behaved as though alure was required, not optional.
There's some error in the SlackBuild (lines 103 - 107):
Code:
for oldf in sipdistutils.py sip.pyi sipconfig.py
do
mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/$oldf \
$PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/python2_$oldf
done
the files sipdistutils.py and sipconfig.py are in /tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/PyQt5/ now.
g++ -c -O2 -fPIC -O2 -O2 -fPIC -std=gnu++1y -Wall -W -D_REENTRANT -fPIC -DQUPZILLA_SHAREDLIBRARY -DQUPZILLA_VERSION=\"2.2.6\" -DQT_NO_URL_CAST_FROM_STRING -DQT_USE_QSTRINGBUILDER -DUSE_LIBPATH=\"/usr/lib64\" -DUSE_DATADIR=\"/usr/share/qupzilla\" -DQZ_WS_X11 -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_SQL_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I3rdparty -Iapp -Iautofill -Ibookmarks -Icookies -Idownloads -Ihistory -Inavigation -Inetwork -Inotifications -Iopensearch -Iother -Iplugins -Ipopupwindow -Ipreferences -Isession -Isidebar -Itabwidget -Itools -Iwebengine -Iwebtab -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWebEngineWidgets -isystem /usr/include/qt5/QtWebEngineCore -isystem /usr/include/qt5/QtQuickWidgets -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWebChannel -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtPositioning -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtCore -I../../build -isystem /usr/include/libdrm -I../../build -I/usr/lib64/qt5/mkspecs/linux-g++ -o ../../build/cookiejar.o cookies/cookiejar.cpp
cookies/cookiejar.cpp: In constructor ‘CookieJar::CookieJar(QObject*)’:
cookies/cookiejar.cpp:40:95: error: no matching function for call to ‘QWebEngineCookieStore::setCookieFilter(std::_Bind_helper<false, void (CookieJar::*)(QWebEngineCookieStore::FilterRequest&) const, CookieJar*, const std::_Placeholder<1>&>::type)’
m_client->setCookieFilter(std::bind(&CookieJar::cookieFilter, this, std::placeholders::_1));
^
In file included from /usr/include/qt5/QtWebEngineCore/QWebEngineCookieStore:1,
from cookies/cookiejar.h:23,
from cookies/cookiejar.cpp:18:
/usr/include/qt5/QtWebEngineCore/qwebenginecookiestore.h:73:10: note: candidate: ‘void QWebEngineCookieStore::setCookieFilter(const std::function<bool(const QWebEngineCookieStore::FilterRequest&)>&)’
void setCookieFilter(const std::function<bool(const FilterRequest &)> &filterCallback);
^~~~~~~~~~~~~~~
/usr/include/qt5/QtWebEngineCore/qwebenginecookiestore.h:73:10: note: no known conversion for argument 1 from ‘std::_Bind_helper<false, void (CookieJar::*)(QWebEngineCookieStore::FilterRequest&) const, CookieJar*, const std::_Placeholder<1>&>::type’ {aka ‘std::_Bind<void (CookieJar::*(CookieJar*, std::_Placeholder<1>))(QWebEngineCookieStore::FilterRequest&) const>’} to ‘const std::function<bool(const QWebEngineCookieStore::FilterRequest&)>&’
/usr/include/qt5/QtWebEngineCore/qwebenginecookiestore.h:74:10: note: candidate: ‘void QWebEngineCookieStore::setCookieFilter(std::function<bool(const QWebEngineCookieStore::FilterRequest&)>&&)’
void setCookieFilter(std::function<bool(const FilterRequest &)> &&filterCallback);
^~~~~~~~~~~~~~~
/usr/include/qt5/QtWebEngineCore/qwebenginecookiestore.h:74:10: note: no known conversion for argument 1 from ‘std::_Bind_helper<false, void (CookieJar::*)(QWebEngineCookieStore::FilterRequest&) const, CookieJar*, const std::_Placeholder<1>&>::type’ {aka ‘std::_Bind<void (CookieJar::*(CookieJar*, std::_Placeholder<1>))(QWebEngineCookieStore::FilterRequest&) const>’} to ‘std::function<bool(const QWebEngineCookieStore::FilterRequest&)>&&’
cookies/cookiejar.cpp: In member function ‘void CookieJar::cookieFilter(QWebEngineCookieStore::FilterRequest&) const’:
cookies/cookiejar.cpp:132:21: error: ‘struct QWebEngineCookieStore::FilterRequest’ has no member named ‘accepted’
request.accepted = false;
^~~~~~~~
cookies/cookiejar.cpp:143:21: error: ‘struct QWebEngineCookieStore::FilterRequest’ has no member named ‘accepted’
request.accepted = false;
^~~~~~~~
cookies/cookiejar.cpp:152:17: error: ‘struct QWebEngineCookieStore::FilterRequest’ has no member named ‘accepted’
request.accepted = false;
^~~~~~~~
make[1]: *** [Makefile:4508: ../../build/cookiejar.o] Error 1
make[1]: Leaving directory '/tmp/SBo/QupZilla-2.2.6/src/lib'
make: *** [Makefile:47: sub-src-lib-make_first] Error 2
qupzilla-2.2.6 should already build ok on a clean and full installation of Slackware current: which version of qt5 have you installed? the one from SBo (5.9.6) or another one?
I guarantee it builds only with the one on SBo.
BTW if you are using Alien Bob's KDE5 (with qt5-5.11.2) you should have already available Falkon, the successor of Qupzilla.
qupzilla-2.2.6 should already build ok on a clean and full installation of Slackware current: which version of qt5 have you installed? the one from SBo (5.9.6) or another one?
I guarantee it builds only with the one on SBo.
BTW if you are using Alien Bob's KDE5 (with qt5-5.11.2) you should have already available Falkon, the successor of Qupzilla.
I use AlienBob's qt5.
I have Falkon available, but I just wanted to check out the last QupZilla version.
I am new to slackware(using it now for 2 months) and i am using -current for now, but i am gonna use slackware 15. Recently my Spotify broke. I have read that this happens more and that it's because it's propietary and build for Debian. So i wanted to install Flatpak to install Spotify that way.
My problem now is that i need to compile OStree. I can't link it because i need to at least have made one post (my first post btw). You can find it with 'ostree' on slackbuilds.org.
The compilation failed with ponce's current repo. The error message was:
Code:
In file included from ./libglnx/glnx-missing.h:95,
from ./libglnx/libglnx.h:28,
from src/libostree/ostree-core.c:29:
./libglnx/glnx-missing-syscall.h:66:19: error: static declaration of ‘renameat2’ follows non-static declaration
static inline int renameat2(int oldfd, const char *oldname, int newfd, const char *newname, unsigned flags) {
^~~~~~~~~
In file included from src/libostree/ostree-core.c:25:
/usr/include/stdio.h:164:12: note: previous declaration of ‘renameat2’ was here
extern int renameat2 (int __oldfd, const char *__old, int __newfd,
^~~~~~~~~
make[2]: *** [Makefile:4566: src/libostree/libostree_1_la-ostree-core.lo] Error 1
So what am i doing wrong? Or does the SlackBuild need a update?
Btw if someone has a different way to use Spotify i would be happy to hear .
for oldf in sipdistutils.py sipconfig.py
do
mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/PyQt5/$oldf \
$PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/PyQt5/python2_$oldf
done
for oldf in sip.pyi
do
mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/$oldf \
$PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/python2_$oldf
done
for oldf in sipdistutils.py sipconfig.py
do
mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/PyQt5/$oldf \
$PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/PyQt5/python2_$oldf
done
for oldf in sip.pyi
do
mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/$oldf \
$PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/python2_$oldf
done
hi iulian1966, welcome to LQ!
it seems you missed three posts just above your first one
Originally Posted by lord_ View Post
Got this from rebuilding
Code:
sip-4.19.6/
sip-4.19.6/ChangeLog
sip-4.19.6/configure.py
sip-4.19.6/doc/
sip-4.19.6/doc/html/
sip-4.19.6/doc/html/_sources/
sip-4.19.6/doc/html/_sources/annotations.rst.txt
sip-4.19.6/doc/html/_sources/build_system.rst.txt
sip-4.19.6/doc/html/_sources/c_api.rst.txt
sip-4.19.6/doc/html/_sources/command_line.rst.txt
sip-4.19.6/doc/html/_sources/directives.rst.txt
sip-4.19.6/doc/html/_sources/distutils.rst.txt
sip-4.19.6/doc/html/_sources/embedding.rst.txt
sip-4.19.6/doc/html/_sources/incompatibilities.rst.txt
sip-4.19.6/doc/html/_sources/index.rst.txt
sip-4.19.6/doc/html/_sources/installation.rst.txt
sip-4.19.6/doc/html/_sources/introduction.rst.txt
sip-4.19.6/doc/html/_sources/python_api.rst.txt
sip-4.19.6/doc/html/_sources/specification_files.rst.txt
sip-4.19.6/doc/html/_sources/using.rst.txt
sip-4.19.6/doc/html/_static/
sip-4.19.6/doc/html/_static/ajax-loader.gif
sip-4.19.6/doc/html/_static/basic.css
sip-4.19.6/doc/html/_static/classic.css
sip-4.19.6/doc/html/_static/comment-bright.png
sip-4.19.6/doc/html/_static/comment-close.png
sip-4.19.6/doc/html/_static/comment.png
sip-4.19.6/doc/html/_static/doctools.js
sip-4.19.6/doc/html/_static/down-pressed.png
sip-4.19.6/doc/html/_static/down.png
[...]
cp -f sip.so /tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/PyQt5/sip.so
strip /tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/PyQt5/sip.so
cp -f /tmp/SBo/sip-4.19.6/siplib/sip.h /tmp/SBo/package-python2-sip/usr/include/python2.7/sip.h
cp -f /tmp/SBo/sip-4.19.6/sip.pyi /tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/sip.pyi
make[1]: Leaving directory '/tmp/SBo/sip-4.19.6/siplib'
cp -f sipconfig.py /tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/PyQt5/sipconfig.py
cp -f /tmp/SBo/sip-4.19.6/sipdistutils.py /tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/PyQt5/sipdistutils.py
mv: cannot stat '/tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/sipdistutils.py': No such file or directory
There's some error in the SlackBuild (lines 103 - 107):
Code:
for oldf in sipdistutils.py sip.pyi sipconfig.py
do
mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/$oldf \
$PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/python2_$oldf
done
the files sipdistutils.py and sipconfig.py are in /tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/PyQt5/ now.
Just replace:
Code:
for oldf in sipdistutils.py sip.pyi sipconfig.py
do
mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/$oldf \
$PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/python2_$oldf
done
with
Code:
for oldf in sipdistutils.py sipconfig.py
do
mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/PyQt5/$oldf \
$PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/PyQt5/python2_$oldf
done
for oldf in sip.pyi
do
mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/$oldf \
$PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/python2_$oldf
done
hi iulian1966, have you read the post above yours?
in the last link that contains is explained that's already fixed in SBo's git (the fix will go soon in the main repository).
consider that this issue is not current-specific, so this topic is not the proper place to discuss it (see the first post, please)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.