LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware from Scratch and X11 (https://www.linuxquestions.org/questions/slackware-14/slackware-from-scratch-and-x11-4175560702/)

nobodino 02-07-2020 01:38 AM

1 Attachment(s)
I found a patch for oprofile from here: https://bugs.gentoo.org/attachment.c...12&action=diff

see enclosed patch.

Only llvm last to build with glibc-2.31.

worsel 02-08-2020 06:00 PM

Tried building SFS today. Everything goes fine until build3_s.list, then distcc-3.3.3
bombs with the error message "no GSS-API library found"

Am digging for info, but not finding anything applicable to Slackware. Do we even have
a "GSS-API" library?

volkerdi 02-08-2020 06:08 PM

Quote:

Originally Posted by worsel (Post 6087798)
Tried building SFS today. Everything goes fine until build3_s.list, then distcc-3.3.3
bombs with the error message "no GSS-API library found"

Am digging for info, but not finding anything applicable to Slackware. Do we even have
a "GSS-API" library?

Yes, it's part of krb5.

worsel 02-08-2020 06:22 PM

Quote:

Yes, it's part of krb5.
Thanks, Pat. That clears a lot of things up!

nobodino 02-09-2020 03:13 PM

regression test up to "Fri Feb 7 22:32:38 UTC 2020": (x86_64 version)
- plasma-nm: fail
- libnm-qt: fail
- seamonkey: fail

Nothing new under the sun, same failures.

worsel 02-14-2020 10:43 PM

Built SFS using:
Slackware-from-Scratch cloned 2020-02-11
Slackware64-14.2+ "Thu Feb 13 20:17:58 UTC 2020"

Confirmed your last post, Nobodino:
Quote:

Nothing new under the sun, same failures.

nobodino 02-15-2020 12:55 PM

regression test up to "Wed Feb 12 21:51:35 UTC 2020": (x86_64 version) + 3 packages from pam (cracklib, libpwquality and pam)
- plasma-nm: fail
- libnm-qt: fail
- seamonkey: fail

SFS has been 'pamified', and the result is as clean as last week.

nobodino 02-24-2020 01:40 AM

regression test up to "Sat Feb 22 05:41:50 UTC 2020": (x86_64 version) + 3 packages from pam (cracklib, libpwquality and pam)
- plasma-nm: fail
- libnm-qt: fail
- seamonkey: fail
- phonon: fail
- phonon-gstreamer: fail

And I'm not at the end of SFS, qt5 is a pain to build.
------------
phonon:
------------------
/usr/include/qt5/QtCore/qmetatype.h:1160:20: error: 'const class QVariant' has no member named 'second'
1160 | return it->second;
| ~~~~^~~~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:47,
from /usr/include/qt5/QtCore/QtDebug:1,
from /tmp/phonon-4.8.3/phonon/objectdescription.h:29,
from /tmp/phonon-4.8.3/phonon/path.h:27,
from /tmp/phonon-4.8.3/phonon/medianode.h:29,
from /tmp/phonon-4.8.3/phonon/abstractaudiooutput.h:27,
from /tmp/phonon-4.8.3/phonon/audiodataoutput.h:26,
from /tmp/phonon-4.8.3/build-qt5/phonon/phonon4qt5_autogen/EWIEGA46WW/moc_audiodataoutput.cpp:10,
from /tmp/phonon-4.8.3/build-qt5/phonon/phonon4qt5_autogen/mocs_compilation.cpp:2:
/usr/include/qt5/QtCore/qmap.h: In instantiation of 'void QMapNode<Key, T>::destroySubTree() [with Key = QString; T = QVariant]':
/usr/include/qt5/QtCore/qmap.h:248:13: required from 'void QMapData<Key, T>::destroy() [with Key = QString; T = QVariant]'
/usr/include/qt5/QtCore/qmap.h:339:43: required from 'QMap<K, V>::~QMap() [with Key = QString; T = QVariant]'
/usr/include/qt5/QtCore/qvariant.h:826:29: required from here
/usr/include/qt5/QtCore/qmap.h:127:34: error: 'callDestructorIfNecessary' was not declared in this scope
127 | callDestructorIfNecessary(key);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/qt5/QtCore/qmap.h:128:34: error: 'callDestructorIfNecessary' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
128 | callDestructorIfNecessary(value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
make[2]: *** [phonon/CMakeFiles/phonon4qt5.dir/build.make:63: phonon/CMakeFiles/phonon4qt5.dir/phonon4qt5_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:263: phonon/CMakeFiles/phonon4qt5.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
-------------------------
phonon-gstreamer:
-------------------------
phonon-backend-gstreamer-4.8.2/tools/dbg-convert-all-dot-to-png.sh
Building ...
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find Phonon (missing: Phonon_DIR)
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find Phonon (missing: Phonon_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
cmake/FindPhonon.cmake:29 (find_package_handle_standard_args)
CMakeLists.txt:15 (find_package)


-- Configuring incomplete, errors occurred!
See also "/tmp/phonon-backend-gstreamer-4.8.2/build/CMakeFiles/CMakeOutput.log".
-------------------------

nobodino 03-01-2020 04:03 AM

problem to build lib-xcb as lib-xcb has been moved to x11/lib:

"./x11.SlackBuild lib lib-xcb" doesn't build anything, no message appears, could someone help?

nobodino 03-01-2020 04:32 AM

problem solved.

nobodino 03-07-2020 08:19 AM

regression test up to "Wed Mar 4 22:03:30 UTC 2020": (x86_64 version)
------------------
-libnm-qt: fail
-plasma-nm: fail
-phonon: fail, should be replaced by phonon-qt4 from plasma/deps
-phonon-gstreamer: fail, should be replaced by phonon-qt4-gstreamer from plasma/deps
-qt-gstreamer: fail, should be replaced by qt-gstreamer from plasma/deps
-QScintilla: fail, except if added 2 new depdendancies: PyQt5 and python-enum34 from plasma/deps
-dconf need an extra : "-o "$(meson --version)" = "0.53.2 " due to meson change version
------------------
--- slackware 2020-03-07 08:23:20.751251611 +0100
+++ sfs 2020-03-07 15:05:01.137851910 +0100
@@ -209,6 +209,11 @@
d/dev86-0.16.21-x86_64-2.txz
d/distcc-3.3.3-x86_64-3.txz
d/doxygen-1.8.17-x86_64-2.txz
+deps/phonon-qt4-4.10.2-x86_64-1.txz
+deps/phonon-qt4-gstreamer-4.9.0-x86_64-1.txz
+deps/PyQt5-5.13.2-x86_64-2.txz
+deps/python-enum34-1.1.6-x86_64-1.txz
+deps/qt-gstreamer-1.2.0-x86_64-6.txz
d/flex-2.6.4-x86_64-3.txz
d/gcc-9.2.0-x86_64-4.txz
d/gcc-brig-9.2.0-x86_64-4.txz
@@ -261,6 +266,7 @@
d/vala-0.48.0-x86_64-1.txz
d/yasm-1.3.0-x86_64-2.txz
e/emacs-26.3-x86_64-3.txz
+extra/bash-completion-2.10-noarch-1.txz
f/linux-faqs-20060228-noarch-1.txz
f/linux-howtos-20160401-noarch-1.txz
kde/amarok-2.9.0-x86_64-3.txz
@@ -502,7 +508,6 @@
kde/libkscreen-1.0.5-x86_64-3.txz
kde/libktorrent-1.3.1-x86_64-4.txz
kde/libmm-qt-1.0.1-x86_64-3.txz
-kde/libnm-qt-0.9.8.4-x86_64-1.txz
kde/lokalize-4.14.3-x86_64-4.txz
kde/lskat-4.14.3-x86_64-4.txz
kde/marble-4.14.3-x86_64-3.txz
@@ -520,7 +525,6 @@
kde/perlkde-4.14.3-x86_64-8.txz
kde/perlqt-4.14.3-x86_64-9.txz
kde/picmi-4.14.3-x86_64-3.txz
-kde/plasma-nm-0.9.3.6-x86_64-2.txz
kde/polkit-kde-agent-1-9d74ae3_20120104git-x86_64-3.txz
kde/polkit-kde-kcmodules-1-001bdf7_20120111git-x86_64-3.txz
kde/poxml-4.14.3-x86_64-3.txz
----------------------

nobodino 03-15-2020 01:35 PM

regression test up to "Fri Mar 13 20:15:29 UTC 2020": (x86_64 version)
------------------
-libnm-qt: fail
-plasma-nm: fail
-phonon: fail, should be replaced by phonon-qt4 from plasma/deps
-phonon-gstreamer: fail, should be replaced by phonon-qt4-gstreamer from plasma/deps
-qt-gstreamer: fail, should be replaced by qt-gstreamer from plasma/deps
-QScintilla: fail, except if added 2 new depdendancies: PyQt5 and python-enum34 from plasma/deps
-serf: fail
-kppp: fail
------------------
serf:
---------------
/usr/lib64/python2.7/site-packages/pkg_resources/py2_warn.py:22: UserWarning: Setuptools will stop working on Python 2
************************************************************
You are running Setuptools on Python 2, which is no longer
supported and
>>> SETUPTOOLS WILL STOP WORKING <<<
in a subsequent release (no sooner than 2020-04-20).
Please ensure you are installing
Setuptools using pip 9.x or later or pin to `setuptools<45`
in your environment.
If you have done those things and are still encountering
this message, please comment in
https://github.com/pypa/setuptools/issues/1458
about the steps that led to this unsupported combination.
************************************************************
sys.version_info < (3,) and warnings.warn(pre + "*" * 60 + msg + "*" * 60)
SCons import failed. Unable to find engine files in:
/usr/lib/scons-3.1.2
/usr/lib/scons-3.1.2
/usr/local/lib/scons-3.1.2
/usr/lib64/scons-3.1.2
/usr/lib/scons
/usr/lib/scons
/usr/local/lib/scons
/usr/lib64/scons
Traceback (most recent call last):
File "/usr/bin/scons", line 195, in <module>
import SCons.Script
ImportError: No module named SCons.Script
--------------------------
kppp:
--------------------------
In file included from /usr/include/sys/socket.h:33,
from /tmp/kde_build/kdenetwork/kppp-4.14.3/requester.cpp:40:
/usr/include/bits/socket.h: In member function 'int Requester::recvFD()':
/usr/include/bits/socket.h:285:33: error: flexible array member 'cmsghdr::__cmsg_data' not at end of 'struct Requester::recvFD()::<unnamed>'
285 | __extension__ unsigned char __cmsg_data __flexarr; /* Ancillary data. */
| ^~~~~~~~~~~
/tmp/kde_build/kdenetwork/kppp-4.14.3/requester.cpp:83:37: note: next member 'int Requester::recvFD()::<unnamed struct>::fd' declared here
83 | struct { struct cmsghdr cmsg; int fd; } control;
| ^~
/tmp/kde_build/kdenetwork/kppp-4.14.3/requester.cpp:83:10: note: in the definition of 'struct Requester::recvFD()::<unnamed>'
83 | struct { struct cmsghdr cmsg; int fd; } control;
| ^
make[2]: *** [CMakeFiles/kppp.dir/build.make:449: CMakeFiles/kppp.dir/requester.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1737: CMakeFiles/kppp.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
kdenetwork:kppp failed to build.
---------------------------

nobodino 03-16-2020 02:41 AM

the change in SlackBuild.scons "python3 setup.py install" to "python2 setup.py install" solve the problem of serf.

ponce 03-16-2020 03:03 AM

Quote:

Originally Posted by nobodino (Post 6101053)
the change in SlackBuild.scons "python3 setup.py install" to "python2 setup.py install" solve the problem of serf.

actually, IMHO, you should do the opposite: it seems that the /usr/bin/scons script, regardless if built against python-3.x or python-2.x, points to a generic "python" interpreter while our python-3.x one is named "python3": applying this mod to scons.SlackBuild should do the trick (while keeping a scons built against python-3.x)

Code:

--- ./scons.SlackBuild.orig    2020-03-12 00:43:22.926144754 +0100
+++ ./scons.SlackBuild  2020-03-15 20:02:40.288279000 +0100
@@ -81,6 +81,9 @@
  --standard-lib \
  --root=$PKG || exit 1
 
+# Point to python3
+sed -i "s|env python$|env python3|" $PKG/usr/bin/scons
+
 find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null

I reported this to Pat yesterday as I had stumbled upon the same error while building mixxx.

nobodino 03-16-2020 06:13 AM

Thanks for the piece of advice Mr Ponce.
I know the situation in Italy (coronavirus), we're nearly ready to total confinement here in France, schools are locked out, and for companies like mine it's a matter of hours?
Keep in touch.


All times are GMT -5. The time now is 03:33 AM.