LinuxQuestions.org
Review your favorite Linux distribution.
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


View Poll Results: Which python3 should ship in Slackware 15.0?
Python 3.9 33 33.33%
Python 3.10 66 66.67%
Voters: 99. You may not vote on this poll

Reply
  Search this Thread
Old 10-22-2021, 01:21 PM   #91
petejc
Member
 
Registered: Apr 2019
Distribution: Slackware
Posts: 134

Rep: Reputation: Disabled

Quote:
Originally Posted by volkerdi View Post
I figured we would want the latest version, and upgrading from 3.8 to 3.9 had been uneventful, but we've hit a few more speed bumps with this one so I'm looking for some community feedback. If Slackware 15.0 is only going to ship one version of Python3, which one should it be?
I'm probably least informed of what is affected and what is not. What about Python 3.9 in 15.0 and then a fairly rapid 15.1 release to deal with the update to Python 3.10? But I suspect there is a queue of other stuff post 15.0 and it means that there will be a 15.0 and a 15.1 to support?
 
Old 10-22-2021, 01:29 PM   #92
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,100

Rep: Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177
Quote:
Originally Posted by Battered Fish View Post
SBo's policies don't make sense in the context of interpreter package management.
maybe you should advocate this point of view also to every other distribution out there...
 
2 members found this post helpful.
Old 10-22-2021, 01:47 PM   #93
Zexuo
Member
 
Registered: Mar 2015
Location: Florida
Distribution: Slackware
Posts: 64

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
maybe you should advocate this point of view also to every other distribution out there...
I might if I cared as strongly about other distributions.
 
Old 10-22-2021, 02:35 PM   #94
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 591

Rep: Reputation: Disabled
Quote:
Originally Posted by Zexuo View Post
I might if I cared as strongly about other distributions.
I am happy with Python 3.10 if high-profile software is able to cope with it. In the long run and considering the Slackware release cycle, I'd take a version that is as recent as possible without major dealbreakers.
Re-compiling packages takes some time but that's a one-time effort, right?
 
Old 10-22-2021, 07:06 PM   #95
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by solarfields View Post
this should be on sbo
EDIT: I realized that this post doesn't have any context itself and you'd need to refer to the post quoted in the quoted link. This is for a script that will easily update $PRGNAM.SlackBuild and $PRGNAM.info files for a new version. It will update the $VERSION variable in the .info and .SlackBuild, any download links containing the $VERSION, and it downloads the source files and determines the md5sum to be able to update the MD5SUM variable for those new download links. After running this, it should just be a matter of running the SlackBuild to verify the updates still build with these minor changes. My previous version of the script did not support programs that required multiple downloads, and that is what I fixed today.

I spent some time today to add support for SlackBuilds that list multiple download links. Feel free to test and make any suggestions. If people are interested, I can submit it to SBo once submissions are open.

You just cd into the directory of the SlackBuild and .info files and run the script passing the new version to it. This does only work if the versions are included in the download links (or the download link doesn't change).

Code:
cd location/to/SlackBuild-dir
version-bump.sh 1.5.8
version-bump.sh

Last edited by bassmadrigal; 10-22-2021 at 11:34 PM.
 
2 members found this post helpful.
Old 10-23-2021, 10:57 AM   #96
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Alien Bob has shared his opinion on the switch between 3.9 to 3.10 on his blog: https://alien.slackbook.org/blog/pac...kware-current/

He wants 3.9 back.
 
Old 10-23-2021, 11:19 AM   #97
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Quote:
Originally Posted by RadicalDreamer View Post
Alien Bob has shared his opinion on the switch between 3.9 to 3.10 on his blog: https://alien.slackbook.org/blog/pac...kware-current/

He wants 3.9 back.
From his own blog post:
Quote:
After giving this some time to sink in and hoping that this update would be reverted because of its impact, I now think we are stuck with Python 3.10 in Slackware. Which means I had to start looking at which of my own packages are now broken.
I would rather say that he wanted 3.9 back. Faced with the reality that 3.10 is still in -current at time of writing, he started to move with the flow and already updated Inkscape and its dependencies to 3.10 and is asking support from those using his repositoy to identify his packages broken by 3.10 so he can recompile them.

Last edited by gegechris99; 10-23-2021 at 11:22 AM. Reason: typo on Inkscape
 
4 members found this post helpful.
Old 10-23-2021, 11:25 AM   #98
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Quote:
Originally Posted by gegechris99 View Post
From his own blog post:


I would rather say that he wanted 3.9 back. Faced with the reality that 3.10 is still in -current at time of writing, he started to move with the flow and already updated Inskape and its dependencies to 3.10 and is asking support from those using his repositoy to identify his packages broken by 3.10 so he can recompile them.
He really wants 3.9 back. In the comments: "alienbob
October 22, 2021 at 18:57

Well I hope he still reads this blog because I am not connected to the Slackware team since this summer."

He will update the packages but he doesn't sound happy about it.
 
Old 10-23-2021, 01:32 PM   #99
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,540

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
I've been trying to get frescobaldi working in 3.10, and I think it's going to need a bug pass from the developer. Not sure who else uses it with slackware, but for the time being, you might be better served with atom + lilypond plugins.
 
Old 10-23-2021, 03:52 PM   #100
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
If anyone reading this thread uses gnuradio and would like a patch for gnuradio-3.9.3.0 for python-3.10, I can provide one. I imagine the patch will apply to other versions of gnuradio - there is not much in it - but that's not tested.
 
Old 10-24-2021, 09:19 AM   #101
babam
LQ Newbie
 
Registered: Aug 2021
Distribution: Porteus, ZorinOS
Posts: 29

Rep: Reputation: Disabled
If the latest version is the best why is glibc also not updated to 2.34
 
Old 10-24-2021, 09:27 AM   #102
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,370

Rep: Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086
Quote:
Originally Posted by babam View Post
If the latest version is the best why is glibc also not updated to 2.34
Code:
Sat Aug  7 19:04:04 UTC 2021
Since glibc-2.34 makes a potentially risky change of moving all functions
  into the main library, and another inconvenient (for us) change of renaming
  the library files, we'll stick with glibc-2.33 for Slackware 15.0 and test
  the newer glibc in the next release cycle. But we'll backport the security
  fixes from glibc-2.34 with this update:
  The nameserver caching daemon (nscd), when processing a request for netgroup
  lookup, may crash due to a double-free, potentially resulting in degraded
  service or Denial of Service on the local system. Reported by Chris Schanzle.
  The mq_notify function has a potential use-after-free issue when using a
  notification type of SIGEV_THREAD and a thread attribute with a non-default
  affinity mask.
  The wordexp function may overflow the positional parameter number when
  processing the expansion resulting in a crash. Reported by Philippe Antoine.
  For more information, see:
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27645
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33574
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35942
  (* Security fix *)
 
Old 10-24-2021, 09:35 AM   #103
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,508

Rep: Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320
Quote:
Originally Posted by babam View Post
If the latest version is the best why is glibc also not updated to 2.34
Because the GLIBC 2.34 contains changes which requires mass rebuilding and patching various packages within Slackware. So, it will be update on the next development cycle, post 15.0 release.

Contrary, the Python 3.10 works quite well on Slackware and the eventual issues are on external software, supposed to be maintained by different people. Why should care Slackware of someone else turf?
 
Old 10-24-2021, 10:20 AM   #104
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
Concerning glibc-2.34 follow links:
- https://www.linuxquestions.org/quest...02/page55.html
- https://github.com/nobodino/slackwar...er/development

It doesn't require much patches to build Slackware with glibc-2.34, around 15 patches.

And concerning the 3 CVE's they are all closed with these patches:
- https://sourceware.org/git/?p=glibc....8eea594179fba1
- https://sourceware.org/bugzilla/atta...97&action=edit (Download the attachment)
- https://sourceware.org/git/?p=glibc....3c85e92dd7b9f6

The main problem is "just" another mass rebuild.
 
3 members found this post helpful.
Old 10-24-2021, 12:40 PM   #105
avian
Member
 
Registered: Aug 2014
Posts: 184

Rep: Reputation: Disabled
Quote:
Originally Posted by nobodino View Post
Concerning glibc-2.34 follow links:
- https://www.linuxquestions.org/quest...02/page55.html
- https://github.com/nobodino/slackwar...er/development

It doesn't require much patches to build Slackware with glibc-2.34, around 15 patches.

And concerning the 3 CVE's they are all closed with these patches:
- https://sourceware.org/git/?p=glibc....8eea594179fba1
- https://sourceware.org/bugzilla/atta...97&action=edit (Download the attachment)
- https://sourceware.org/git/?p=glibc....3c85e92dd7b9f6

The main problem is "just" another mass rebuild.
Thats pretty interesting. I was wondering just how difficult glibc-2.34 would be, and you have the exact answer.
 
  


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
LXer: Ubuntu 16.04 LTS to Ship Without Python 2, Windows Printers Detection Affected LXer Syndicated Linux News 0 03-07-2016 01:21 AM
LXer: Canonical should sell hardware to ship Ubuntu for Android LXer Syndicated Linux News 0 09-01-2012 10:51 PM
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 08:30 PM
LXer: News Bits: Red Hat Plans to Ship Next Version of Linux, Gefen ... LXer Syndicated Linux News 0 12-29-2006 09:54 PM

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

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