LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-30-2024, 03:19 PM   #5851
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 878

Rep: Reputation: 400Reputation: 400Reputation: 400Reputation: 400Reputation: 400

Just a side note: python3-maturin requires python3-semantic-version. This is not declared in the REQUIRES field.
 
Old 03-30-2024, 03:21 PM   #5852
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 878

Rep: Reputation: 400Reputation: 400Reputation: 400Reputation: 400Reputation: 400
dust fails to build in current:

Code:
aho-corasick-1.1.3/src/util/debug.rs
aho-corasick-1.1.3/src/util/error.rs
aho-corasick-1.1.3/src/util/int.rs
aho-corasick-1.1.3/src/util/mod.rs
aho-corasick-1.1.3/src/util/prefilter.rs
aho-corasick-1.1.3/src/util/primitives.rs
aho-corasick-1.1.3/src/util/remapper.rs
aho-corasick-1.1.3/src/util/search.rs
aho-corasick-1.1.3/src/util/special.rs
  File "<string>", line 1
    import sys, json; data = sys.stdin.read(); print json.dumps(json.loads(data), sort_keys=True, indent=4, separators=(',', ' : '))
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
 
Old 03-30-2024, 05:31 PM   #5853
gian_d
Member
 
Registered: Nov 2019
Location: Cagliari, Sardinia (Italy)
Distribution: Slackware
Posts: 76

Rep: Reputation: Disabled
python3-scipy failure

I cannot rebuild python3-scipy against Python 3.11:
Code:
* Getting build dependencies for wheel...

ERROR Missing dependencies:
        numpy==1.23.2; python_version == "3.11" and platform_python_implementation != "PyPy"
This is strange because the python3-numpy version installed is 1.26.3. I have rebuilt python3-mesonpy, python3-numpy, python3-pythran. Before the upgrade of python 3.9 to 3.11 the build of python3-scipy worked fine with the same configuration. The only thing is changed is Python 3 and all python packages installed have been rebuilt and updated against Python 3.11
 
Old 03-30-2024, 06:43 PM   #5854
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
Quote:
Originally Posted by sombragris View Post
Just a side note: python3-maturin requires python3-semantic-version. This is not declared in the REQUIRES field.
this is because python3-semantic-version is second-level dependency.
We only list first-level dependency
 
Old 03-30-2024, 06:44 PM   #5855
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
Quote:
Originally Posted by sombragris View Post
dust fails to build in current:

Code:
aho-corasick-1.1.3/src/util/debug.rs
aho-corasick-1.1.3/src/util/error.rs
aho-corasick-1.1.3/src/util/int.rs
aho-corasick-1.1.3/src/util/mod.rs
aho-corasick-1.1.3/src/util/prefilter.rs
aho-corasick-1.1.3/src/util/primitives.rs
aho-corasick-1.1.3/src/util/remapper.rs
aho-corasick-1.1.3/src/util/search.rs
aho-corasick-1.1.3/src/util/special.rs
  File "<string>", line 1
    import sys, json; data = sys.stdin.read(); print json.dumps(json.loads(data), sort_keys=True, indent=4, separators=(',', ' : '))
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
Fixed in my branch: https://git.slackbuilds.org/slackbui.../?id=3c8a79ff0
 
1 members found this post helpful.
Old 03-30-2024, 11:21 PM   #5856
truepatriot76
Member
 
Registered: Apr 2014
Location: California, USA
Distribution: slackware64-current
Posts: 232

Rep: Reputation: 195Reputation: 195
Jumping on the python dogpile: python3-setuptools-rust-opt-1.9.0 needs some Python3.9 ---> Python3.11 changes.
 
1 members found this post helpful.
Old 03-31-2024, 04:49 AM   #5857
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
If you found broken python scripts due to 3.9 -> 3.11, please post here: https://github.com/Ponce/slackbuilds/issues/221
 
6 members found this post helpful.
Old 03-31-2024, 09:03 AM   #5858
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 543

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
On a fresh install libwww-perl seems to be failing for me:
Quote:
Test Summary Report
-------------------
t/base/ua.t (Wstat: 0 Tests: 35 Failed: 2)
Failed tests: 13-14
t/local/autoload-get.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test: 1
t/local/autoload.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test: 1
t/local/http.t (Wstat: 65280 (exited 255) Tests: 51 Failed: 2)
Failed tests: 30-31
Non-zero exit status: 255
Parse errors: Bad plan. You planned 63 tests but ran 51.
Files=16, Tests=119, 24 wallclock secs ( 0.05 usr 0.02 sys + 1.22 cusr 0.20 csys = 1.49 CPU)
Result: FAIL
Failed 4/16 test programs. 6/119 subtests failed.
make: *** [Makefile:1032: test_dynamic] Error 255
 
Old 03-31-2024, 10:17 AM   #5859
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
Quote:
Originally Posted by tramtrist View Post
On a fresh install libwww-perl seems to be failing for me:
this is fixed on my branch, it also happening on -stable since the maintainer is no longer active
 
Old 03-31-2024, 10:28 AM   #5860
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 543

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
Thanks willy!
 
Old 03-31-2024, 11:42 AM   #5861
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
Quote:
Originally Posted by Daedra View Post
python-colour is failing on -current after the python-3.11 upgrade. I maintain this package since it is a dependency of Polychromatic. I am working on it, but if anyone wants to tag in or has any ideas on how to fix please let me know.

Code:
Building package for python-colour...
colour-0.1.5/.package
Missing version information: running './autogen.sh'...
/usr/lib/python3.11/site-packages/setuptools/dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

        ********************************************************************************
        Usage of dash-separated 'description-file' will not be supported in future
        versions. Please use the underscore name 'description_file' instead.

        By 2024-Sep-26, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

        See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
        ********************************************************************************

!!
  opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3.11/site-packages/setuptools/dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

        ********************************************************************************
        Usage of dash-separated 'requires-dist' will not be supported in future
        versions. Please use the underscore name 'requires_dist' instead.

        By 2024-Sep-26, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

        See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
        ********************************************************************************

!!
  opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3.11/site-packages/setuptools/__init__.py:81: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
Traceback (most recent call last):
  File "/tmp/SBo/colour-0.1.5/setup.py", line 61, in <module>
    setup(
  File "/usr/lib/python3.11/site-packages/setuptools/__init__.py", line 104, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 147, in setup
    _setup_distribution = dist = klass(attrs)
                                 ^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 307, in __init__
    _Distribution.__init__(self, dist_attrs)
  File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 283, in __init__
    self.finalize_options()
  File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 658, in finalize_options
    ep(self)
  File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 678, in _finalize_setup_keywords
    ep.load()(self, ep.name, value)
  File "/usr/lib/python3.11/site-packages/d2to1/core.py", line 30, in d2to1
    from setuptools.dist import _get_unpatched
ImportError: cannot import name '_get_unpatched' from 'setuptools.dist' (/usr/lib/python3.11/site-packages/setuptools/dist.py)
python-d2to1 is deprecated upstream and i'm planning to remove this in the future, so best to not use d2to1.
can you try this PR? https://github.com/vaab/colour/pull/66

Update: can you confirm this? https://git.slackbuilds.org/slackbui.../?id=b3b244edf

Last edited by willysr; 03-31-2024 at 11:53 AM.
 
Old 03-31-2024, 12:08 PM   #5862
gian_d
Member
 
Registered: Nov 2019
Location: Cagliari, Sardinia (Italy)
Distribution: Slackware
Posts: 76

Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
If you found broken python scripts due to 3.9 -> 3.11, please post here: https://github.com/Ponce/slackbuilds/issues/221
Thanks, Willy
 
Old 03-31-2024, 12:52 PM   #5863
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,693

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
Quote:
Originally Posted by willysr View Post
python-d2to1 is deprecated upstream and i'm planning to remove this in the future, so best to not use d2to1.
can you try this PR? https://github.com/vaab/colour/pull/66

Update: can you confirm this? https://git.slackbuilds.org/slackbui.../?id=b3b244edf
I had literally just submitted the a new SlackBuild with this fix, but you beat me to it. I can confirm this fixes the issue and polychromatic works again.
 
Old 03-31-2024, 12:52 PM   #5864
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,063

Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
If you found broken python scripts due to 3.9 -> 3.11, please post here: https://github.com/Ponce/slackbuilds/issues/221
THis will be very useful for Slackware derivatives, thanks Willy and Ponce
 
Old 03-31-2024, 12:54 PM   #5865
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,693

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
Slightly off topic, but I am noticing a lot of python 3.11 builds are now defaulting to /usr/lib now instead of /usr/lib64 on x86_64. Is this something that we should be concerned with? I am guessing this might be happening since Pat's setuptools package is in /usr/lib?
 
1 members found this post helpful.
  


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 11:22 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