LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-29-2021, 07:29 AM   #7546
chemfire
Member
 
Registered: Sep 2012
Posts: 313

Rep: Reputation: Disabled

Quote:
Originally Posted by Didier Spaier View Post
PS The only caveat of adding the flag -fno-semantic-interposition, mentioned by Fedora, is:
That sounds like it would break tsocks/proxychains and friends for Python Applications, I can see that being frustrating for some users.
 
1 members found this post helpful.
Old 04-29-2021, 07:49 AM   #7547
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,635

Rep: Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202Reputation: 2202
Quote:
wonder what all these maketag and tagfile files are in dirs, never noticed them before, our local mirror is first time fetching them tonight by the logs, theyve never been synced before today, probably upstream mirror had an acl and they changed it I guess
My guess a problem in pushing updates to the mirrors. My normally reliable local mirror has problems e.g. versions of both the 5.10.32 and 5.10.33 kernel in the slackware64/a directory. I resorted to using http://ftp.osuosl.org/pub/slackware/...are64-current/ as the mirror to recover.
 
Old 04-29-2021, 07:52 AM   #7548
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,928

Rep: Reputation: Disabled
Quote:
Originally Posted by chemfire View Post
That sounds like it would break tsocks/proxychains and friends for Python Applications, I can see that being frustrating for some users.
Thanks for pointing this out. So the choice is between not including this flag when building the python3 Slackware package or let these users rebuild python3 without it.
 
Old 04-29-2021, 09:16 AM   #7549
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 640

Rep: Reputation: 302Reputation: 302Reputation: 302Reputation: 302
Quote:
Originally Posted by MDKDIO View Post
Is there anything that prevents it from being built with gtk3 instead?
That won't solve the problem. The theme is really multiple themes that look alike but are implemented completely differently: a GTK 2 theme, a GTK 3 theme, and window manager themes.
Ed
 
Old 04-29-2021, 09:22 AM   #7550
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 1,941

Rep: Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811
Quote:
Originally Posted by Nobby6 View Post
wonder what all these maketag and tagfile files are in dirs, never noticed them before
Those file haves been there for ages.

http://www.slackbook.org/html/packag...-tagfiles.html

https://www.slackwiki.com/Tagfile_Install
 
Old 04-29-2021, 10:44 AM   #7551
chemfire
Member
 
Registered: Sep 2012
Posts: 313

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Thanks for pointing this out. So the choice is between not including this flag when building the python3 Slackware package or let these users rebuild python3 without it.
I am not sure actually, a little more reading and this only affects linking libpython to libpython. So doing things like hooking calls into glibc or other libraries should still work. It might not actually impact much besides some python instrumenting stuff; which I would guess is a much smaller use case.

Might be good to do some tests though.
 
Old 04-29-2021, 01:43 PM   #7552
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 14.2 & Current
Posts: 241

Rep: Reputation: 63
Quote:
Originally Posted by EdGr View Post
That won't solve the problem. The theme is really multiple themes that look alike but are implemented completely differently: a GTK 2 theme, a GTK 3 theme, and window manager themes.
Ed
Ok, thanks for the information Ed!
 
Old 04-29-2021, 05:35 PM   #7553
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Pat,

Proposed patch for rc.S to create /tmp directories only when needed. I noticed when creating an X-less system.

Code:
--- /tmp/rc.S	2021-04-29 17:29:45.498905886 -0500
+++ /tmp/rc.S.new	2021-04-29 17:30:06.996646502 -0500
@@ -397,13 +397,16 @@
 fi
 
 # Create /tmp/{.ICE-unix,.X11-unix} if they are not present:
-if [ ! -e /tmp/.ICE-unix ]; then
-  mkdir -p /tmp/.ICE-unix
-  chmod 1777 /tmp/.ICE-unix
-fi
-if [ ! -e /tmp/.X11-unix ]; then
-  mkdir -p /tmp/.X11-unix
-  chmod 1777 /tmp/.X11-unix
+if [ "$(which X 2>/dev/null)" != "" ]; then
+  # X is installed.
+  if [ ! -e /tmp/.ICE-unix ]; then
+    mkdir -p /tmp/.ICE-unix
+    chmod 1777 /tmp/.ICE-unix
+  fi
+  if [ ! -e /tmp/.X11-unix ]; then
+    mkdir -p /tmp/.X11-unix
+    chmod 1777 /tmp/.X11-unix
+  fi
 fi
 
 # Create a fresh utmp file:
 
1 members found this post helpful.
Old 04-30-2021, 12:21 AM   #7554
Nobby6
Member
 
Registered: Jul 2012
Location: Sunshine Coast, Australia
Distribution: Skackware 64
Posts: 99

Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
My guess a problem in pushing updates to the mirrors. My normally reliable local mirror has problems e.g. versions of both the 5.10.32 and 5.10.33 kernel in the slackware64/a directory. I resorted to using http://ftp.osuosl.org/pub/slackware/...are64-current/ as the mirror to recover.

yeah, I've had the odd issue over time, been mirroring slackware for 15 years, mirror rsync logs goes back only 10 years, and not once have they been imported till last night, was the only thing that seemed different, I guess a later rsync will clean them up if they aren't supposed to be there or upstream mirror re adjusts their acl's, they dont look nefarious so I'm not bothered, just curious.

As for two kernels, did you try again right after, maybe it was in middle of sync? Although I use delete before, many dont.

Last edited by Nobby6; 04-30-2021 at 12:23 AM.
 
Old 04-30-2021, 02:23 AM   #7555
elyk
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 236

Rep: Reputation: 48
libgtop contains a /usr/info/dir that clobbers whatever install-info does.
 
Old 04-30-2021, 03:41 PM   #7556
mumahendras3
Member
 
Registered: Feb 2018
Location: Indonesia
Distribution: Slackware-current with s6 + s6-rc + s6-linux-init
Posts: 110

Rep: Reputation: Disabled
Hi Mr. Volkerding, it seems the wg-quick script (from wireguard-tools) uses resolvconf (a program name) for some of its operation. I don't know much about this to give a good recommendation, but I found resolvconf being provided by openresolv which is available in slackbuilds.org here: https://slackbuilds.org/repository/1...rk/openresolv/

After installing that, wg-quick works as expected (at least for my very simple use case).

Also, I think wg and wg-quick needs to be moved to /usr/sbin since they require root permission. But, I don't use wireguard-tools extensively so I'm probably wrong about this.

Thanks!

Last edited by mumahendras3; 04-30-2021 at 03:55 PM. Reason: Added some more things
 
Old 04-30-2021, 06:47 PM   #7557
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 640

Rep: Reputation: 302Reputation: 302Reputation: 302Reputation: 302
Don't use a percent character in a filename in the repository

The percent character gets translated *twice* by wget over HTTPS.

Code:
% wget https://mirrors.slackware.com/slackware/slackware64-current/source/l/qt5/patches/qtwebengine-everywhere-src-5.15.2-%25231904652.patch.gz
--2021-04-30 16:31:02--  https://mirrors.slackware.com/slackware/slackware64-current/source/l/qt5/patches/qtwebengine-everywhere-src-5.15.2-%25231904652.patch.gz
Resolving mirrors.slackware.com (mirrors.slackware.com)... 207.223.116.213
Connecting to mirrors.slackware.com (mirrors.slackware.com)|207.223.116.213|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1653 (1.6K) [application/x-gzip]
Saving to: ‘qtwebengine-everywhere-src-5.15.2-#1904652.patch.gz’

qtwebengine-everywh 100%[===================>]   1.61K  --.-KB/s    in 0s      

2021-04-30 16:31:02 (676 MB/s) - ‘qtwebengine-everywhere-src-5.15.2-#1904652.patch.gz’ saved [1653/1653]

% ls -l
total 4
-rw-r--r-- 1 ed users 1653 Feb  8 13:44 qtwebengine-everywhere-src-5.15.2-#1904652.patch.gz
The original name was qtwebengine-everywhere-src-5.15.2-%231904652.patch.gz
Ed
 
Old 04-30-2021, 07:13 PM   #7558
jwoithe
LQ Newbie
 
Registered: Oct 2019
Posts: 27

Rep: Reputation: Disabled
Request: add PyQtWebEngine since it's been split out of PyQt

While Slackware64 current includes QtWebEngine, PyQtWebEngine is not present. This seems a little odd given that the coverage of the installed components of Qt5 by the installed PyQt5 is otherwise mostly complete. A note on the PyQy website says:
Quote:
PyQt-WebEngine is a set of Python bindings for The Qt Company's Qt WebEngine libraries. ... Prior to PyQt5 v5.12 these bindings were part of PyQt itself.
Thus PyQtWebEngine would have been included with earlier versions of PyQt5. However, with the current versions it must be provided separately.

Slackware64 current does have PyQtWebKit, but it appears that this is regarded as deprecated in favour of QtWebEngine by Qt. See for example, the second comment in the thread at https://forum.qt.io/topic/55504/anyo...e-of-qt-webkit. It therefore seems prudent to add PyQtWebEngine to Slackware as it will be used by more and more software if QtWebKit/PyQtWebKit is indeed deprecated.

There's a SlackBuild script at https://slackbuilds.org/repository/1...PyQtWebEngine/ which I expect could be adapted for Slackware current. There doesn't appear to be much required in the way of changes other than to the PyQtWebEngine version number.
 
1 members found this post helpful.
Old 05-01-2021, 04:50 AM   #7559
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 916

Rep: Reputation: Disabled
Hi,

Quote:
Originally Posted by mumahendras3 View Post
Hi Mr. Volkerding, it seems the wg-quick script (from wireguard-tools) uses resolvconf (a program name) for some of its operation. I don't know much about this to give a good recommendation, but I found resolvconf being provided by openresolv which is available in slackbuilds.org here: https://slackbuilds.org/repository/1...rk/openresolv/

After installing that, wg-quick works as expected (at least for my very simple use case).

Also, I think wg and wg-quick needs to be moved to /usr/sbin since they require root permission. But, I don't use wireguard-tools extensively so I'm probably wrong about this.

Thanks!
I'm about to setup Wireguard over this weekend.
I'll try to re-confirm what you've said, especially when it comes to openresolv.
Sureley, the commands should go to sbin, as you're correct they require root.

I tried wg-quick on Ubuntu sometime ago.
It worked no problems there.

If openresolv is really required, then I second it's addition.
Wiregurad promise is to be ultra easy to set up, and it is indeed with wg-quick, so my opinion is that everything required for wg-quick to work out of the box should be included.

--
Best regards,
Andrzej Telszewski
 
1 members found this post helpful.
Old 05-01-2021, 06:11 AM   #7560
marav
Member
 
Registered: Sep 2018
Location: Paris, France
Distribution: Slackware
Posts: 351

Rep: Reputation: 202Reputation: 202Reputation: 202
Quote:
Originally Posted by EdGr View Post
The percent character gets translated *twice* by wget over HTTPS.
https://github.com/giuseppe/wget

I think, probably that :
The error in src/utils.c, which was already issued (the ending with the double brackets) :
Code:
  /* If the FILE itself doesn't exist, return it without
     modification. */
  if (!file_exists_p (file))
I compiled wget from its source tree, and this seems to be fixed
Code:
15step :: » /usr/local/bin/wget https://mirrors.slackware.com/slackware/slackware64-current/source/l/qt5/patches/qtwebengine-everywhere-src-5.15.2-%25231904652.patch.gz
--2021-05-01 13:05:14--  https://mirrors.slackware.com/slackware/slackware64-current/source/l/qt5/patches/qtwebengine-everywhere-src-5.15.2-%25231904652.patch.gz
Résolution de mirrors.slackware.com (mirrors.slackware.com)… 207.223.116.213
Connexion à mirrors.slackware.com (mirrors.slackware.com)|207.223.116.213|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille*: 1653 (1,6K) [application/x-gzip]
Sauvegarde en*: « qtwebengine-everywhere-src-5.15.2-%231904652.patch.gz »

qtwebengine-everywhere-src-5.15.2-%231904 100%[======================================================================================>]   1,61K  --.-KB/s   in 0s       

2021-05-01 13:05:15 (25,6 MB/s) — « qtwebengine-everywhere-src-5.15.2-%231904652.patch.gz » sauvegardé [1653/1653]
Code:
15step :: ~ » ls qt*
qtwebengine-everywhere-src-5.15.2-%231904652.patch.gz

Last edited by marav; 05-01-2021 at 06:14 AM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:03 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