LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-10-2021, 10:40 PM   #4366
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,680

Rep: Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796

Some scripts still need Python 2.7 and some no longer ported for 3.x but they are still working just fine. That's why Python 2.7 is still being kept by Patrick in core tree.
 
1 members found this post helpful.
Old 10-10-2021, 10:57 PM   #4367
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,680

Rep: Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796
Quote:
Originally Posted by brobr View Post
Catfish needs version 4.16.3 to work with python3.10
http://https://github.com/xfce-mirro...catfish-4.16.3
pushed
 
1 members found this post helpful.
Old 10-11-2021, 09:15 AM   #4368
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,344

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Hi , kodi not build


Quote:
Player.h:616:45: error: ISO C++17 does not allow dynamic exception specifications
I test c++11 and c++14

But new problems appers around "limits are not memeber of std" ... we need patch , sed , or upgrade version.

Last edited by USUARIONUEVO; 10-11-2021 at 09:26 AM.
 
Old 10-11-2021, 10:17 AM   #4369
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by willysr View Post
Some scripts still need Python 2.7 and some no longer ported for 3.x but they are still working just fine. That's why Python 2.7 is still being kept by Patrick in core tree.
Yes, agreed. But the question is, would it not be KISS to keep the scripts for python2 and python3 separate for the same python module/programX? The problems arise when
Code:
python2 setup.py install
python3 setup.py install
are run in the same script (on the same version for the module). Often, for python3 a version is required that no longer builds on python2. This alone makes separation essential (otherwise we're stuck on outdated versions), which will help in solving problems. Yesterday, when compiling inkscape, the sqg -p generator gave a lot of python2 modules which only were needed to compile lxml or beautifulsoup4 (their scripts were mixing python2 with python3 builds). When erasing the python2 bits from these build scripts and the queue, all went well. The mix caused the problems.

Note, also, that some pip-blinded developers are opting to ditch even the good old 'setup.py', not having our model of distributing compiled packages in mind (all should happen automatically on the box). After a lengthy discussion in the case of leo, this is now also on the go with twine https://github.com/pypa/twine/pull/757.

Maybe this cannot be stopped and we should opt for a kind of system where slackware packages are generated after building using pip. Something along the line what @bifferos once proposed with his afterpkg-python. So that individual python-buildscripts could be bypassed, which would remove a layer of maintance (on SBo) for python stuff..... just an (old) idea.
 
Old 10-11-2021, 10:39 AM   #4370
richarson
Member
 
Registered: Dec 2020
Location: Argentina
Distribution: Fedora 38 KDE
Posts: 112

Rep: Reputation: Disabled
python 3.10 issues

Quote:
Originally Posted by USUARIONUEVO View Post
Hi again.

lxml ,not build part of python3 ,

we need jump to --> lxml-4.6.3
Thanks USUARIONUEVO!

Also not compiling with python 3.10 is BeautifulSoup4, haven't tried bumping the version yet.

Last edited by richarson; 10-11-2021 at 10:41 AM. Reason: Pygments is part of -current now
 
1 members found this post helpful.
Old 10-11-2021, 10:51 AM   #4371
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,344

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Quote:
Originally Posted by richarson View Post
Thanks USUARIONUEVO!

Also not compiling with python 3.10 is BeautifulSoup4, haven't tried bumping the version yet.
BeautifulSoup4 builds fine here , you see the README ?

python3-soupsieve is required.
 
Old 10-11-2021, 10:56 AM   #4372
richarson
Member
 
Registered: Dec 2020
Location: Argentina
Distribution: Fedora 38 KDE
Posts: 112

Rep: Reputation: Disabled
Quote:
Originally Posted by USUARIONUEVO View Post
BeautifulSoup4 builds fine here , you see the README ?

python3-soupsieve is required.
I'm using ponce's branch of SBo and the README doesn't say much.
I have both python2-soupsieve and python3-soupsieve installed.

My build stops with:

Code:
Ran 372 tests in 0.242s

OK
error in beautifulsoup4 setup command: use_2to3 is invalid.
I saw something related on this thread but haven't investigated yet.
 
Old 10-11-2021, 11:00 AM   #4373
richarson
Member
 
Registered: Dec 2020
Location: Argentina
Distribution: Fedora 38 KDE
Posts: 112

Rep: Reputation: Disabled
OK, I read the older posts and I see the problem now, what a mess...
 
Old 10-11-2021, 11:04 AM   #4374
richarson
Member
 
Registered: Dec 2020
Location: Argentina
Distribution: Fedora 38 KDE
Posts: 112

Rep: Reputation: Disabled
I also had issues generating docs with Sphinx when building git-cola 3.10.1.

I have bumped the versions like this:

- Sphinx 4.2.0
- sphinxcontrib-htmlhelp 2.0.0
- sphinxcontrib-serializinghtml 1.1.5

After that, git-cola builds fine.
 
Old 10-11-2021, 04:43 PM   #4375
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by richarson View Post
I'm using ponce's branch of SBo ..
My build stops with:
Code:
error in beautifulsoup4 setup command: use_2to3 is invalid.
Yes, this popped up for me as well. Removing all python2 related stuff from the build-script made it all work at my end.

Quote:
Originally Posted by brobr
Note, also, that some pip-blinded developers are opting to ditch even the good old 'setup.py', not having our model of distributing compiled packages in mind (all should happen automatically on the box). After a lengthy discussion in the case of leo, this is now also on the go with twine https://github.com/pypa/twine/pull/757.
We might have to resort to a 3-line as this in Slackbuilds to replace the commented line we normally use:
Code:
#python3 setup.py install --root=$PKG
python3 -m pip install \
    --no-warn-script-location \
    --use-feature=in-tree-build \
    . --root=$PKG
A pythonic improvement ;-?

Last edited by brobr; 10-11-2021 at 04:44 PM.
 
Old 10-11-2021, 06:45 PM   #4376
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,344

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Hi , secretstorage , cant import the new cryptography , need jump to new version


secretstorage --> 3.3.1

easy check , install secretstorage and cryptography , and use pip3 check to see.
 
Old 10-11-2021, 08:09 PM   #4377
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,344

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Problems in nodejs ...

Quote:
Please use python3.9 or python3.8 or python3.7 or python3.6 or python3.5 or python2.7.
/usr/bin/python2.7 ./configure
Node.js configure: Found Python 3.10.0...
 
Old 10-11-2021, 09:39 PM   #4378
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
audit seems to be at DOWNLOAD="https://people.redhat.com/sgrubb/audit/audit-3.0.1.tar.gz" instead of DOWNLOAD="http://people.redhat.com/sgrubb/audit/audit-3.0.1.tar.gz"

I think they turned off plain http altogether.
 
Old 10-11-2021, 09:51 PM   #4379
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,680

Rep: Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796
Quote:
Originally Posted by USUARIONUEVO View Post
Hi , secretstorage , cant import the new cryptography , need jump to new version


secretstorage --> 3.3.1

easy check , install secretstorage and cryptography , and use pip3 check to see.
Pushed
 
Old 10-11-2021, 09:52 PM   #4380
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,680

Rep: Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796
Quote:
Originally Posted by Lockywolf View Post
audit seems to be at DOWNLOAD="https://people.redhat.com/sgrubb/audit/audit-3.0.1.tar.gz" instead of DOWNLOAD="http://people.redhat.com/sgrubb/audit/audit-3.0.1.tar.gz"

I think they turned off plain http altogether.
Fixed
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo



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] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

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

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