LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-10-2022, 01:02 PM   #46
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,215

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001

Quote:
Originally Posted by marav View Post
Hoho, proprietary code
that's not the problem .
 
Old 03-10-2022, 01:31 PM   #47
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
@gmgf : I've not seen anything yet?
 
Old 03-10-2022, 01:49 PM   #48
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,215

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
Quote:
Originally Posted by nobodino View Post
@gmgf : I've not seen anything yet?
look now.
 
Old 03-10-2022, 02:02 PM   #49
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
the address mail is ok, but nothing came in.
 
Old 03-10-2022, 02:33 PM   #50
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,215

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
Quote:
Originally Posted by nobodino View Post
the address mail is ok, but nothing came in.
it seem send message not work here.

if you have my email send me one mail
 
Old 03-10-2022, 02:34 PM   #51
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
The trick doesn't say what is the root cause, I suspect a new comer (glibc is my favorite):
What program can detect an AMD or an INTEL processor?

- kernel: changed twice a week
- glibc: changed
- binutils: changed since the introduction of glibc
- llvm: hasn't changed since the introduction of glibc
- gcc : hasn't changed since the introduction of glibc
- qt5: changed

what else could cause that odd behavior?

Last edited by nobodino; 03-11-2022 at 10:23 AM.
 
Old 03-11-2022, 10:08 AM   #52
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
qt5 builds without errors in SFS with glibc-2.33, all the cores are active.

That's the only package I've changed wrt slackware64 -current.

The problem lies in the presence of glibc-2.35 or the way it interacts with a package which causes the failure of qt5 building with the standard qt5.SlackBuild.

Last edited by nobodino; 03-11-2022 at 02:34 PM.
 
2 members found this post helpful.
Old 03-11-2022, 02:36 PM   #53
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
update: if I try build a 2nd time in SFS with glibc-2.33 I have the same message of error.

There's something else, less obvious than just glibc.

It begins to stink

I wonder if a complete mass rebuild with glibc-2.35 would help track than kind of problem?

Last edited by nobodino; 03-11-2022 at 02:39 PM.
 
Old 03-11-2022, 11:13 PM   #54
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
update: if I try build a 2nd time in SFS with glibc-2.33 I have the same message of error.

There's something else, less obvious than just glibc.

It begins to stink

I wonder if a complete mass rebuild with glibc-2.35 would help track than kind of problem?
start : 2022-03-11 23h39
end : 2022-03-12 06h08

Code:
WARNING:  zero length file usr/include/qt5/QtXml/5.15.3/QtXml/private/qtxml-config_p.h
WARNING:  zero length file usr/include/qt5/QtSql/5.15.3/QtSql/private/qtsql-config_p.h
WARNING:  zero length file usr/lib64/qt5/qml/QtQuick/Controls/Styles/Flat/plugins.qmltypes

Slackware package /tmp/qt5-5.15.3_20220304_a657406f-x86_64-1.txz created.
Code:
--- sources/mirror/l/qt5/qt5.SlackBuild 2022-02-23 19:55:34.699110724 +0100
+++ qt5.SlackBuild      2022-03-12 05:58:49.433861230 +0100
@@ -133,6 +133,7 @@
 cd - 1>/dev/null
 cd qtwebengine
   zcat $CWD/patches/qt5-qtwebengine-gcc11.patch.gz | patch -p1 --verbose || exit 1
+  zcat $CWD/patches/qt5-fix-build-with-glibc-2.34.patch.gz | patch -p1 --verbose || exit 1
 cd - 1>/dev/null
 
 # CMake generates wrong -isystem /usr/include compilations flags with Qt5::Gui
attach.: patch from opensuse

PS: to avoid memory problem, since I have "only" 16G, and swap exceeds 30G during the build
I added 30G of zram swap,in addition to the initial swap (16G)
Code:
blackstar :: ~ » free -m 
               total        used        free      shared  buff/cache   available
Mem:           15419        5565        6355        2395        3497        7131
Swap:          47512        8796       38716
Attached Files
File Type: txt qt5-fix-build-with-glibc-2.34.patch.txt (865 Bytes, 8 views)

Last edited by marav; 03-11-2022 at 11:27 PM.
 
1 members found this post helpful.
Old 03-12-2022, 12:43 AM   #55
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
@marav: you don't keep the jumbo patch ?
 
Old 03-12-2022, 04:18 AM   #56
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by marav View Post
PS: to avoid memory problem, since I have "only" 16G, and swap exceeds 30G during the build
I added 30G of zram swap,in addition to the initial swap (16G)
Ahhh, I guess that explains my error messages and failed compile:

Code:
g++: fatal error: Killed signal terminated program cc1plus
And I guess 32gig RAM does not cut it....
 
Old 03-12-2022, 04:59 AM   #57
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
how to do you add zram in swap?
 
Old 03-12-2022, 05:09 AM   #58
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
@marav: you don't keep the jumbo patch ?
No
As it compiled fine during my "nosmt" test without it
 
Old 03-12-2022, 05:11 AM   #59
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
how to do you add zram in swap?
Yes
With my slackbuild :-)
https://gitlab.com/maravtdm/swapinzram-slackbuild

Thanks to D. Spaier
 
1 members found this post helpful.
Old 03-12-2022, 05:24 AM   #60
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
error message:

Code:
root@darkstar64-2:/etc/rc.d# ./rc.local start
/etc/rc.d/rc.swapinzram: ligne 25 : echo: erreur d'écriture : Ne peut allouer de la mémoire
mkswap: erreur*: la zone d'échange (swap) doit être d'au moins 40*Kio
swapon: /dev/zram2*: échec de lecture d'en-tête d'espace d'échange

Last edited by nobodino; 03-12-2022 at 05:48 AM.
 
  


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 11:24 PM.

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