LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-07-2022, 01:42 PM   #1
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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.

Last edited by nobodino; 03-07-2022 at 01:43 PM.
 
Old 03-07-2022, 02:13 PM   #2
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 590

Rep: Reputation: Disabled
Do you have the llvm 13.0.1 installed from Slackware-current?
 
Old 03-07-2022, 02:18 PM   #3
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Yes, it's a pure and complete Slackware installation.
 
Old 03-09-2022, 02:19 AM   #4
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
For what its worth I built QT5 on -current just to test and it compiled cleanly here.
 
Old 03-09-2022, 02:51 AM   #5
giomat
Member
 
Registered: Jul 2017
Posts: 338

Rep: Reputation: 238Reputation: 238Reputation: 238
i know it sounds absurd but maybe you have too many cores? have you tried building with less threads?
 
Old 03-09-2022, 03:09 AM   #6
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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.
 
Old 03-09-2022, 03:34 AM   #7
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 590

Rep: Reputation: Disabled
In the qt5.SlackBuild you see this section:
Code:
# 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.
 
Old 03-09-2022, 03:35 AM   #8
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
I beg your pardon, my -current was not actually fully up to date. With the latest QT5 and -current as of March 9th I get the following:

Code:
ninja: build stopped: subcommand failed.
make[4]: *** [Makefile.gn_run:1363: run_ninja] Error 1
make[4]: Leaving directory '/tmp/qt-everywhere-src-5.15.3_20220304_a657406f/qtwebengine/src/core'
make[3]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 2
make[3]: Leaving directory '/tmp/qt-everywhere-src-5.15.3_20220304_a657406f/qtwebengine/src/core'
make[2]: *** [Makefile:80: sub-core-make_first] Error 2
make[2]: Leaving directory '/tmp/qt-everywhere-src-5.15.3_20220304_a657406f/qtwebengine/src'
make[1]: *** [Makefile:49: sub-src-make_first] Error 2
make[1]: Leaving directory '/tmp/qt-everywhere-src-5.15.3_20220304_a657406f/qtwebengine'
make: *** [Makefile:1088: module-qtwebengine-make_first] Error 2
root@ilium/home/andrew/ssd2/Slackware/slackware64-current/source/l/qt5#
So same as your experience...
 
Old 03-09-2022, 03:50 AM   #9
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 590

Rep: Reputation: Disabled
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.
 
Old 03-09-2022, 04:06 AM   #10
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Well I'm glad some else caught the same error.
@andrew.46: what are the specs of your machine?

@Windu: my install is a "quite" fresh install, from slackware-15.0 release.

Last edited by nobodino; 03-09-2022 at 04:08 AM.
 
Old 03-09-2022, 04:07 AM   #11
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,215

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
Originally Posted by nobodino View Post
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.
 
Old 03-09-2022, 04:09 AM   #12
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Welcome on board @gmgf
 
Old 03-09-2022, 04:18 AM   #13
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,215

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Another exemple, for build qt6-tools, I am obliged to rebuild LLVM with these options

-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DBUILD_SHARED_LIBS=OFF \
 
Old 03-09-2022, 04:28 AM   #14
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
I don't see an actual error. So far I only see a warning.
 
Old 03-09-2022, 04:39 AM   #15
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
@ppr:kut : do you have Intel or AMD proc?
It seems related to AMD proc.
My Intel machine works normally, not the AMD one.
 
  


Reply



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
qt5-5.15.2-i586-10 /usr/lib/qt5/bin/uic -h = Segfault . babydr Slackware 9 09-02-2021 07:08 PM
Digikam-5.4.0 and QT5 problem 3rensho Linux - Software 2 02-15-2017 09:11 AM
problem building qt5 itsgregman Slackware 42 01-18-2017 06:57 AM
Odd situation with raid10 array, odd number of drives, and it took, can't regrow now Red Squirrel Linux - Software 9 08-08-2014 02:15 PM

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

All times are GMT -5. The time now is 01:55 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
Open Source Consulting | Domain Registration