LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-02-2020, 02:02 PM   #5161
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,214

Rep: Reputation: 298Reputation: 298Reputation: 298

Here should be the one worked on my system. Seems that for some reason the is a missing -j in ./build command for $NUMJOBS
and the path to nspr-config was wrong too.

Code:
--- mozilla-nss.SlackBuild.orig	2020-06-02 15:54:23.818424590 -0300
+++ mozilla-nss.SlackBuild	2020-06-02 16:04:24.014475107 -0300
@@ -93,7 +93,7 @@
   -exec chmod 644 {} \+
 
 cd nss
-./build.sh -v $NUMJOBS --opt --system-sqlite --enable-libpkix --disable-tests
+./build.sh -v -j $NUMJOBS --opt --system-sqlite --enable-libpkix --disable-tests
 cd -
 
 # Install all the needed stuff to the package dir:
@@ -119,7 +119,7 @@
 cd -
 
 # Install nspr-config:
-cat nspr/$(uname -s)*/config/nspr-config | sed -e "s,prefix=/usr/local,prefix=/usr,g" | sed -e "s,libdir=\${exec_prefix}/lib,libdir=\${exec_prefix}/lib${LIBDIRSUFFIX},g" > $PKG/usr/bin/nspr-config
+cat nspr/Release/config/nspr-config | sed -e "s,prefix=/usr/local,prefix=/usr,g" | sed -e "s,libdir=\${exec_prefix}/lib,libdir=\${exec_prefix}/lib${LIBDIRSUFFIX},g" > $PKG/usr/bin/nspr-config
 chmod 755 $PKG/usr/bin/nspr-config
 
 # Install nss-config:
 
Old 06-02-2020, 02:13 PM   #5162
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,214

Rep: Reputation: 298Reputation: 298Reputation: 298
No, sorry, it is still not working.
 
Old 06-02-2020, 02:15 PM   #5163
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,214

Rep: Reputation: 298Reputation: 298Reputation: 298
I dont even understand how Patrick build it with the script as it is, as here is not working at all.
 
Old 06-02-2020, 02:24 PM   #5164
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,214

Rep: Reputation: 298Reputation: 298Reputation: 298
This one should work.

Code:
--- mozilla-nss.SlackBuild.orig	2020-06-02 15:54:23.818424590 -0300
+++ mozilla-nss.SlackBuild	2020-06-02 16:04:24.014475107 -0300
@@ -93,7 +93,7 @@
   -exec chmod 644 {} \+
 
 cd nss
-./build.sh -v $NUMJOBS --opt --system-sqlite --enable-libpkix --disable-tests
+./build.sh -v --opt --system-sqlite --enable-libpkix --disable-tests
 cd -
 
 # Install all the needed stuff to the package dir:
@@ -119,7 +119,7 @@
 cd -
 
 # Install nspr-config:
-cat nspr/$(uname -s)*/config/nspr-config | sed -e "s,prefix=/usr/local,prefix=/usr,g" | sed -e "s,libdir=\${exec_prefix}/lib,libdir=\${exec_prefix}/lib${LIBDIRSUFFIX},g" > $PKG/usr/bin/nspr-config
+cat nspr/Release/config/nspr-config | sed -e "s,prefix=/usr/local,prefix=/usr,g" | sed -e "s,libdir=\${exec_prefix}/lib,libdir=\${exec_prefix}/lib${LIBDIRSUFFIX},g" > $PKG/usr/bin/nspr-config
 chmod 755 $PKG/usr/bin/nspr-config
 
 # Install nss-config:
 
Old 06-02-2020, 03:04 PM   #5165
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Tue Jun 2 19:31:39 UTC 2020
(...)
d/perl-5.30.3-x86_64-1.txz: Upgraded.
Thank you! :-)
 
Old 06-02-2020, 03:45 PM   #5166
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,808

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
Quote:
Originally Posted by saxa View Post
This one should work.
But 'nspr-config --libdir' should not print '/tmp/nss-3.53/dist/Release/lib64'. Try #5146 https://www.linuxquestions.org/quest...ml#post6129600
 
Old 06-02-2020, 06:59 PM   #5167
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 946

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
nspr-config empty file

Quote:
Originally Posted by Petri Kaukasoina View Post
Code:
cat nspr/Release/config/nspr-config | sed -e "s,^prefix=.*$,prefix=/usr,g" | sed -e "s,libdir=\${exec_prefix}/lib,libdir=\${exec_prefix}/lib${LIBDIRSUFFIX},g" > $PKG/usr/bin/nspr-config
Quote:
Originally Posted by saxa View Post
This one should work.
Code:
./build.sh -v --opt --system-sqlite --enable-libpkix --disable-tests
Worked for me when rebuilding mozilla-nss-3.53. Thanks for the help.
 
Old 06-02-2020, 07:20 PM   #5168
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 354
Blog Entries: 1

Rep: Reputation: Disabled
qtwebkit depends upon Qt5 5.13

qt5-5.15.0 breaks qtwebkit.

/usr/lib64/cmake/Qt5WebKit/Qt5WebKitConfig.cmake contains

"find_dependency_with_major_and_minor(Qt5Core 5 13)"

Perhaps qtwebkit just needs to be rebuilt against qt5-5.15.0?
 
Old 06-03-2020, 01:03 AM   #5169
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 610

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Quote:
Originally Posted by camerabambai View Post
Intel firmware probably is not the latest, the program spectre-meltdown-checker.sh
said
Code:
  * CPU microcode is the latest known available version:  NO  (latest version is 0x26 dated 2019/11/12 according to builtin firmwares DB v147.20200529+i20200427)

I had a problem like that.
https://github.com/speed47/spectre-m...ker/issues/321
Post the line before the one you posted.
The line:
Quote:
* * CPU microcode is known to cause stability problems: ...
The script checks the microcode version from two sources:
https://github.com/intel/Intel-Linux...ode-Data-Files
and
https://github.com/platomav/CPUMicro...e/master/Intel
Sometimes the second contains microcode not yet published by Intel.
 
1 members found this post helpful.
Old 06-03-2020, 01:16 AM   #5170
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Quote:
Originally Posted by teoberi View Post
Sometimes the second contains microcode not yet published by Intel.
Why would you load FW not published by Intel? And why is Intel "leaking" such FW? Do they need beta testers? Weird.
 
Old 06-03-2020, 01:18 AM   #5171
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,222

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Quote:
Originally Posted by hpfeil View Post
qt5-5.15.0 breaks qtwebkit.

/usr/lib64/cmake/Qt5WebKit/Qt5WebKitConfig.cmake contains

"find_dependency_with_major_and_minor(Qt5Core 5 13)"

Perhaps qtwebkit just needs to be rebuilt against qt5-5.15.0?
I'm talking about it, on Eric's blog:

https://alien.slackbook.org/blog/pla...-6-0/#comments
 
Old 06-03-2020, 02:23 AM   #5172
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 610

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Quote:
Originally Posted by abga View Post
Why would you load FW not published by Intel? And why is Intel "leaking" such FW? Do they need beta testers? Weird.
Intel is moving quite hard in terms of microcode releases for the processor. Plato Mavropoulos extracts the microcode from various sources from different manufacturers e.g. Lenovo, HP, etc.
The microcode version is a production one that is NOT beta.
The spectre-meltdown-checker creator (speed47) also uses this source to check the microcode version (I posted the link to my discussion with him).
I have spoken with ASUS technical support repeatedly asking them to update the microcode for the processor when they release new BIOS versions, once I managed to convince them after a few months but now I gave up and update version myself.
The situation is the same for Intel CSME. Many manufacturers refuse to upgrade the version of Intel ME for their older systems, e.g. my problem with ASUS where I sent the motherboard for RMA and received an identical one without updating the version of Intel ME (I had clearly specified that it was vulnerable).
I had to manually update the version of Intel ME using the Intel tool, FWUpdate according to the instructions here:
https://www.win-raid.com/t596f39-Int...tem-Tools.html

Warning!
Updating the microcode version does not involve any risk if it is done from initrd.
Updating the version of Intel ME is more risky involves reading the information presented in the link, understanding exactly what you have to do (including choosing the correct version), checking the status of Intel ME with utilities provided by Intel and then you can try. If something goes wrong you will need an SPI programmer.

Last edited by teoberi; 06-03-2020 at 02:37 AM.
 
3 members found this post helpful.
Old 06-03-2020, 04:09 AM   #5173
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,222

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Quote:
Originally Posted by gmgf View Post
theese need:

PyQt5-sip-12.8.0:

https://pypi.org/project/PyQt5-sip/

toml-0.10.1:

https://pypi.org/project/toml/

tested here with 'hplip' compiled with (python3 and qt5), that work.

Last edited by gmgf; 06-03-2020 at 04:12 AM.
 
Old 06-03-2020, 05:09 AM   #5174
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 402

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Smile KDE5 Frameworks

Just a little suggestion :

Why not put the Alien Bob KDE5 Frameworks packages, which is above Qt5, in the vanilla current Slackware ?

The packages have a size of 79827 Ko. So it is not very big. On my 5 computers with the current Slackware and KDE4, the KDE5 frameworks libraries are installed and I have no problems with them.

Some applications like Kaffeine 2 compile well with them.

It could be a step towards having KDE 5, well studied by Alien Bob and his Ktown set, in the vanilla current Slackware.

What do you think of that idea ?
 
2 members found this post helpful.
Old 06-03-2020, 05:44 AM   #5175
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,214

Rep: Reputation: 298Reputation: 298Reputation: 298
Quote:
Originally Posted by Petri Kaukasoina View Post
But 'nspr-config --libdir' should not print '/tmp/nss-3.53/dist/Release/lib64'. Try #5146 https://www.linuxquestions.org/quest...ml#post6129600
You are completely right, I have not tested it as I was on a hurry, will see if today I look at it with more care.
 
  


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
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

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

All times are GMT -5. The time now is 10:05 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