LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-09-2022, 07:16 AM   #16
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

I feel less lonely now: 3 cases.
 
Old 03-09-2022, 07:28 AM   #17
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366

Rep: Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082
Quote:
Originally Posted by nobodino View Post
I feel less lonely now: 3 cases.
4 ...
Code:
blackstar :: ~ » inxi -C
CPU:
  Info: 8-core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 4 MiB
Code:
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
Sooner during the process:
Code:
FAILED: obj/third_party/blink/renderer/core/frame/frame/frame_jumbo_9.o 
/usr/bin/g++ -MMD -MF ....
... -c gen/third_party/blink/renderer/core/frame/frame_jumbo_9.cc -o obj/third_party/blink/renderer/core/frame/frame/frame_jumbo_9.o
g++: erreur fatale: le signal Processus arrêté a terminé le programme cc1plus
compilation terminée.
Is it only the french who have the issue ?
Ahahaha

note: I know LANG is in french, but it took me 2h to compile ... so ...

Last edited by marav; 03-09-2022 at 07:44 AM.
 
Old 03-09-2022, 07:46 AM   #18
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
no, andrew.46 is not french, and in SFS LANG is not french. I saw the same message earlier, and I knew it wouldn't go further.
It failed at 33 mn.

Last edited by nobodino; 03-09-2022 at 07:50 AM.
 
Old 03-09-2022, 08:15 AM   #19
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366

Rep: Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082
dmesg

Code:
[mer. mars  9 14:25:55 2022] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=cc1plus,pid=11511,uid=0
[mer. mars  9 14:25:55 2022] Out of memory: Killed process 11511 (cc1plus) total-vm:2393540kB, anon-rss:331772kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:4580kB oom_score_adj:0
[mer. mars  9 14:25:55 2022] oom_reaper: reaped process 11511 (cc1plus), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
Interesting:
https://www.linuxquestions.org/quest...le-4175681539/

Last edited by marav; 03-09-2022 at 08:16 AM.
 
Old 03-09-2022, 09:18 AM   #20
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,215

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
It's one old problem here .
 
Old 03-09-2022, 09:23 AM   #21
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,215

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
Another problem on my two amd machine xine-ui crash at startup, (the latest release).
 
Old 03-09-2022, 09:28 AM   #22
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366

Rep: Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082
Quote:
Originally Posted by gmgf View Post
Another problem on my two amd machine xine-ui crash at startup, (the latest release).
no issue here
 
Old 03-09-2022, 09:47 AM   #23
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366

Rep: Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082
@nobodino

maybe you could try this patch :

https://dev.gentoo.org/~sam/distfile...uild.patch.bz2

Code:
--- qt5.SlackBuild      2022-03-02 12:48:25.947279751 +0100
+++ /home/marav/sources/mirror/l/qt5/qt5.SlackBuild     2022-03-09 16:44:16.023863424 +0100
@@ -135,6 +135,11 @@
   zcat $CWD/patches/qt5-qtwebengine-gcc11.patch.gz | patch -p1 --verbose || exit 1
 cd - 1>/dev/null
 
+# jumbo patch
+cd qtwebengine
+zcat $CWD/patches/qtwebengine-5.15.2_p20211019-jumbo-build.patch.gz | patch -p1 --verbose || exit 1
+cd - 1>/dev/null
+
 # CMake generates wrong -isystem /usr/include compilations flags with Qt5::Gui
 # and for it breaks KWin compilation with:
 # /usr/include/c++/9.1.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
CC in progress, but you're faster than me ;-)

Last edited by marav; 03-09-2022 at 09:51 AM.
 
Old 03-09-2022, 10:00 AM   #24
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
If everything is alright, see you within 45mn.

Last edited by nobodino; 03-09-2022 at 10:51 AM.
 
Old 03-09-2022, 10:51 AM   #25
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
not better, 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

real    35m19,766s
user    684m43,705s
sys     50m52,150s
 
Old 03-09-2022, 11:05 AM   #26
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
I think you made a mistake, your patch should be:

Code:
# jumbo patch
cd qtwebengine
bzcat $CWD/patches/qtwebengine-5.15.2_p20211019-jumbo-build.patch.bz2 | patch -p1 --verbose || exit 1
cd - 1>/dev/null
instead of:

Code:
# jumbo patch
cd qtwebengine
zcat $CWD/patches/qtwebengine-5.15.2_p20211019-jumbo-build.patch.gz | patch -p1 --verbose || exit 1
cd - 1>/dev/null
as you provide a bz2 patch
 
Old 03-09-2022, 11:07 AM   #27
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366

Rep: Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082
Quote:
Originally Posted by nobodino View Post
I think you made a mistake, your patch should be:

Code:
# jumbo patch
cd qtwebengine
bzcat $CWD/patches/qtwebengine-5.15.2_p20211019-jumbo-build.patch.bz2 | patch -p1 --verbose || exit 1
cd - 1>/dev/null
instead of:

Code:
# jumbo patch
cd qtwebengine
zcat $CWD/patches/qtwebengine-5.15.2_p20211019-jumbo-build.patch.gz | patch -p1 --verbose || exit 1
cd - 1>/dev/null
as you provide a bz2 patch
Yep, my bad
I re-gzip the file after downloading it
Code:
$ ls -c1
qtwebengine-5.15.2_p20211019-jumbo-build.patch.gz
qt5-qtbase-gcc11.patch.gz
qt5-qtwebengine-gcc11.patch.gz
qt5-qtwebsockets-gcc11.patch.gz
qt5.mysql.h.diff.gz
qt5.qtbase_cmake_isystem_includes.patch.gz
Anyway, that doesn't solve the issue ...

Last edited by marav; 03-09-2022 at 11:27 AM.
 
Old 03-09-2022, 11:52 AM   #28
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
several mistakes in the qt5.SlackBuild if you want to catch the errors while patching you need this:

Code:
# Fix build with gcc11:
cd qtbase
  zcat $CWD/patches/qt5-qtbase-gcc11.patch.gz | patch -p1 --verbose || exit 1
cd ..
cd qtwebsockets
  zcat $CWD/patches/qt5-qtwebsockets-gcc11.patch.gz | patch -p1 --verbose || exit 1
cd ..
cd qtwebengine
  zcat $CWD/patches/qt5-qtwebengine-gcc11.patch.gz | patch -p1 --verbose || exit 1
cd ..
# jumbo patch
cd qtwebengine
	zcat $CWD/patches/qtwebengine-5.15.2_p20211019-jumbo-build.patch.gz | patch -Esp1 --verbose || exit 1
cd ..

# CMake generates wrong -isystem /usr/include compilations flags with Qt5::Gui
# and for it breaks KWin compilation with:
# /usr/include/c++/9.1.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
# See also https://bugzilla.redhat.com/1704474
cd qtbase
  zcat $CWD/patches/qt5.qtbase_cmake_isystem_includes.patch.gz | patch -Esp1 --verbose || exit 1
cd ..
in the original qt5.SlackBuild every line of the script with patch don't catch any errors because of:

Code:
cd -1 > /dev/null
 
Old 03-09-2022, 12:14 PM   #29
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 590

Rep: Reputation: Disabled
The "cd - 1>/dev/null" should not hide errors from the patch command which is on a separate line of the bash script.
All that this line does is hide the output from the "cd -" command which writes the name of the directory to STDOUT to which it changes.

What behavior did you encounter?
 
Old 03-09-2022, 12:17 PM   #30
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
with what provided marav at first , it didn't caught the error, it went on.

I did this to catch the errors:

Code:
time ./*.Sl* 2>&1 | tee build.log
and looked at build.log.

Last edited by nobodino; 03-09-2022 at 12:20 PM.
 
1 members found this post helpful.
  


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:41 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