[SOLVED] odd problem at building qt5 on slackware64 current
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.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
odd problem at building qt5 on slackware64 current
I've built a new machine quite powerful with a Ryzen 9 3950x, thinking it would help building SFS much more efficiently, but I'm confronted to something quite unusual, I'm unable to build qt5 on slackware64 current or SFS with exactly the same message:
Code:
./../../3rdparty/chromium/third_party/blink/renderer/core/dom/document.cc:36: attention: «*#pragma clang max_tokens_here*» ignoré [-Wunknown-pragmas]
36 | #pragma clang max_tokens_here 900000
|
ninja: build stopped: subcommand failed.
make[4]: *** [Makefile.gn_run:1363 : run_ninja] Erreur 1
make[4]*: on quitte le répertoire «*/tmp/qt-everywhere-src-5.15.3_20220304_a657406f/qtwebengine/src/core*»
make[3]: *** [Makefile:82 : sub-gn_run-pro-make_first] Erreur 2
make[3]*: on quitte le répertoire «*/tmp/qt-everywhere-src-5.15.3_20220304_a657406f/qtwebengine/src/core*»
make[2]: *** [Makefile:80 : sub-core-make_first] Erreur 2
make[2]*: on quitte le répertoire «*/tmp/qt-everywhere-src-5.15.3_20220304_a657406f/qtwebengine/src*»
make[1]: *** [Makefile:49 : sub-src-make_first] Erreur 2
make[1]*: on quitte le répertoire «*/tmp/qt-everywhere-src-5.15.3_20220304_a657406f/qtwebengine*»
make: *** [Makefile:1088 : module-qtwebengine-make_first] Erreur 2
which is not the case with my old intel machine i7 6700.
Any idea to solve that problem?
It's a pure slackware system, with nothing else.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Original Poster
Rep:
It's not a matter of number of cores. I had tested it about 1 month ago before the upgrade to glibc-2.35 and it built normaly. At that time I borrowed a graphic card to make that test, because I hadn't one. Now the machine is complete, but I'm stuck with this problem.
# Sometimes a failure happens when parallelizing make. Try again if make fails,
# but make a failure the second time around (single threaded) a fatal error:
#### DEBUG
make $NUMJOBS || exit 1
#make $NUMJOBS || make || exit
Have you already tried that last line instead of the line before? I.e. try again without paralellism? There could be a change in the software which is now affected by compiling on multiple cores. It does not hurt trying.
Also, I would check again if Slackware's clang is actually the first in your $PATH ... The "clang -v" command should return 13.0.1. Your error is typical in the case of a too-old clang compiler.
Are there errors before this text the both of you shared here? The 'unknown pragma' is a warning, so I do not understand why it would make ninja fail the build.
I've built a new machine quite powerful with a Ryzen 9 3950x, thinking it would help building SFS much more efficiently, but I'm confronted to something quite unusual, I'm unable to build qt5 on slackware64 current or SFS with exactly the same message:
Code:
./../../3rdparty/chromium/third_party/blink/renderer/core/dom/document.cc:36: attention: «*#pragma clang max_tokens_here*» ignoré [-Wunknown-pragmas]
36 | #pragma clang max_tokens_here 900000
|
ninja: build stopped: subcommand failed.
make[4]: *** [Makefile.gn_run:1363 : run_ninja] Erreur 1
make[4]*: on quitte le répertoire «*/tmp/qt-everywhere-src-5.15.3_20220304_a657406f/qtwebengine/src/core*»
make[3]: *** [Makefile:82 : sub-gn_run-pro-make_first] Erreur 2
make[3]*: on quitte le répertoire «*/tmp/qt-everywhere-src-5.15.3_20220304_a657406f/qtwebengine/src/core*»
make[2]: *** [Makefile:80 : sub-core-make_first] Erreur 2
make[2]*: on quitte le répertoire «*/tmp/qt-everywhere-src-5.15.3_20220304_a657406f/qtwebengine/src*»
make[1]: *** [Makefile:49 : sub-src-make_first] Erreur 2
make[1]*: on quitte le répertoire «*/tmp/qt-everywhere-src-5.15.3_20220304_a657406f/qtwebengine*»
make: *** [Makefile:1088 : module-qtwebengine-make_first] Erreur 2
which is not the case with my old intel machine i7 6700.
Any idea to solve that problem?
It's a pure slackware system, with nothing else.
Me, too, I have problems for compiled, qt-webengine on my AMD machines, and I have only two AMD machines, it seems this is due to Clang.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.