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 09-25-2022, 02:37 PM   #5146
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 895

Rep: Reputation: 410Reputation: 410Reputation: 410Reputation: 410Reputation: 410

Cannot build the latest traitlets update:

Code:
traitlets-5.4.0/PKG-INFO
Traceback (most recent call last):
  File "/tmp/SBo/traitlets-5.4.0/setup.py", line 12, in <module>
    setup(name='traitlets',
  File "/usr/lib64/python3.9/site-packages/setuptools/_distutils/core.py", line 159, in setup
    dist.parse_config_files()
  File "/usr/lib64/python3.9/site-packages/setuptools/dist.py", line 868, in parse_config_files
    pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 62, in apply_configuration
    config = read_configuration(filepath, True, ignore_option_errors, dist)
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 140, in read_configuration
    return expand_configuration(asdict, root_dir, ignore_option_errors, dist)
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 195, in expand_configuration
    return _ConfigExpander(config, root_dir, ignore_option_errors, dist).expand()
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 242, in expand
    self._expand_all_dynamic(dist, package_dir)
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 279, in _expand_all_dynamic
    obtained_dynamic = {
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 280, in <dictcomp>
    field: self._obtain(dist, field, package_dir)
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 326, in _obtain
    self._ensure_previously_set(dist, field)
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 305, in _ensure_previously_set
    raise OptionError(msg)
distutils.errors.DistutilsOptionError: No configuration found for dynamic 'description'.
Some dynamic fields need to be specified via `tool.setuptools.dynamic`
others must be specified via the equivalent attribute in `setup.py`.
 
Old 09-25-2022, 03:20 PM   #5147
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,344

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Quote:
Originally Posted by sombragris View Post
Cannot build the latest traitlets update:

Code:
traitlets-5.4.0/PKG-INFO
Traceback (most recent call last):
  File "/tmp/SBo/traitlets-5.4.0/setup.py", line 12, in <module>
    setup(name='traitlets',
  File "/usr/lib64/python3.9/site-packages/setuptools/_distutils/core.py", line 159, in setup
    dist.parse_config_files()
  File "/usr/lib64/python3.9/site-packages/setuptools/dist.py", line 868, in parse_config_files
    pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 62, in apply_configuration
    config = read_configuration(filepath, True, ignore_option_errors, dist)
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 140, in read_configuration
    return expand_configuration(asdict, root_dir, ignore_option_errors, dist)
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 195, in expand_configuration
    return _ConfigExpander(config, root_dir, ignore_option_errors, dist).expand()
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 242, in expand
    self._expand_all_dynamic(dist, package_dir)
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 279, in _expand_all_dynamic
    obtained_dynamic = {
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 280, in <dictcomp>
    field: self._obtain(dist, field, package_dir)
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 326, in _obtain
    self._ensure_previously_set(dist, field)
  File "/usr/lib64/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 305, in _ensure_previously_set
    raise OptionError(msg)
distutils.errors.DistutilsOptionError: No configuration found for dynamic 'description'.
Some dynamic fields need to be specified via `tool.setuptools.dynamic`
others must be specified via the equivalent attribute in `setup.py`.
The problem is the custom setup.py file , but im not sure if this can be fixed to STABLE + CURRENT , cause different versions of setuptools , i test installing with pip3 and installs triatlets using the wheel version , no use setup.py to install it.

Then the solution is make new setup.py compatible to stable+current or switch the slackbuild to use *whl installer.
 
1 members found this post helpful.
Old 09-25-2022, 11:58 PM   #5148
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 325

Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Originally Posted by sombragris View Post
Cannot build the latest traitlets update:

Code:
traitlets-5.4.0/PKG-INFO
Traceback (most recent call last):
<snip>
distutils.errors.DistutilsOptionError: No configuration found for dynamic 'description'.
Some dynamic fields need to be specified via `tool.setuptools.dynamic`
others must be specified via the equivalent attribute in `setup.py`.
This has to do with trying to use a stub setup.py and changes to setuptools as setup.py is being deprecated. New slackbuilds have just been pushed out so we can update builds like this to the new build process.

Until Isaac gets a chance to update the build, try applying this patch I've attached.
Attached Files
File Type: txt traitlets.patch.txt (1.8 KB, 12 views)
 
3 members found this post helpful.
Old 10-01-2022, 03:22 PM   #5149
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 895

Rep: Reputation: 410Reputation: 410Reputation: 410Reputation: 410Reputation: 410
I just want to confirm that after today's update I was able to build traitlets without problems. Thanks Ponce and everyone involved!
 
1 members found this post helpful.
Old 10-01-2022, 03:46 PM   #5150
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,118

Original Poster
Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
Quote:
Originally Posted by sombragris View Post
I just want to confirm that after today's update I was able to build traitlets without problems. Thanks Ponce and everyone involved!
I actually haven't done anything this time
I think the maintainer followed fourtysixandtwo's hints...
 
2 members found this post helpful.
Old 10-05-2022, 10:57 PM   #5151
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,026

Rep: Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618
Wireshark-4.0.0 didn't build

Running up to date Slack64-current

Tried to build Wireshark-4.0.0 and it crashed after chugging away for a bit with -

Code:
/tmp/SBo/wireshark-4.0.0/epan/dissectors/packet-lwm.c:419:21: note: at offset 192 into destination object ‘nwkSecurityVector’ of size 16
  419 |             guint32 nwkSecurityVector[4];
      |                     ^~~~~~~~~~~~~~~~~
/tmp/SBo/wireshark-4.0.0/epan/dissectors/packet-lwm.c:464:31: warning: writing 16 bytes into a region of size 0 [-Wstringop-overflow=]
  464 |                     vector[i] ^= text_dec[i];
      |                     ~~~~~~~~~~^~~~~~~~~~~~~~
/tmp/SBo/wireshark-4.0.0/epan/dissectors/packet-lwm.c:419:21: note: at offset 208 into destination object ‘nwkSecurityVector’ of size 16
  419 |             guint32 nwkSecurityVector[4];
      |                     ^~~~~~~~~~~~~~~~~
/tmp/SBo/wireshark-4.0.0/epan/dissectors/packet-lwm.c:464:31: warning: writing 16 bytes into a region of size 0 [-Wstringop-overflow=]
  464 |                     vector[i] ^= text_dec[i];
      |                     ~~~~~~~~~~^~~~~~~~~~~~~~
/tmp/SBo/wireshark-4.0.0/epan/dissectors/packet-lwm.c:419:21: note: at offset 224 into destination object ‘nwkSecurityVector’ of size 16
  419 |             guint32 nwkSecurityVector[4];
      |                     ^~~~~~~~~~~~~~~~~
install: cannot stat 'ws_diag_control.h': No such file or directory
install: cannot stat 'ws_symbol_export.h': No such file or directory
Tried again and captured a build log. Ran the build log thru Eric's checkpkg script and got this -

Code:
./checkpkg.sh -l build.log
++ Checking logfile 'build.log' (no news is good news):
  6969: -- Looking for pcap_open - not found
  6981: -- Looking for heimdal_version - not found
  7067: -- Looking for issetugid - not found
 
Old 10-06-2022, 03:50 AM   #5152
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
Quote:
Originally Posted by 3rensho View Post
Running up to date Slack64-current

Tried to build Wireshark-4.0.0 and it crashed after chugging away for a bit with -
It builds fine here

Just FYI
Code:
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_MANDIR=/usr/man \
     -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
-    -DLIB_SUFFIX=${LIBDIRSUFFIX} \
     -DCMAKE_BUILD_TYPE=Release ..
Code:
CMake Warning:
  Manually-specified variables were not used by the project:

    LIB_SUFFIX
@3rensho, are you sure you are sync with willy branch ?
Code:
-install -m644 ws_diag_control.h ws_symbol_export.h $PKG/usr/include/$PRGNAM
+install -m644 include/ws_diag_control.h include/ws_symbol_export.h $PKG/usr/include/$PRGNAM
https://git.slackbuilds.org/slackbui...uild?h=willysr

Last edited by marav; 10-06-2022 at 03:56 AM.
 
Old 10-06-2022, 04:41 AM   #5153
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
Quote:
Originally Posted by ponce View Post
hi jostber,

this is not a problem current-specific: it happens also in stable because of the update of the dependency fmt.
you should report the problem to the mpd maintainer asking for an update: the latest 0.23.9, for example, seems to build fine against the newer fmt.
please let me know how the maintainer ping goes.
The maintainer has now updated mpd to the latest version and the installation from SlackBuild works fine. I had to install the celt library to make mpd work so that might be a missing dependency.
 
Old 10-06-2022, 04:47 AM   #5154
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,118

Original Poster
Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
Quote:
Originally Posted by jostber View Post
The maintainer has now updated mpd to the latest version and the installation from SlackBuild works fine. I had to install the celt library to make mpd work so that might be a missing dependency.
you should report this too to the maintainer...
 
Old 10-06-2022, 05:28 AM   #5155
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,026

Rep: Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618
Quote:
Originally Posted by marav View Post
It builds fine here

Just FYI
Code:
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_MANDIR=/usr/man \
     -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
-    -DLIB_SUFFIX=${LIBDIRSUFFIX} \
     -DCMAKE_BUILD_TYPE=Release ..
Code:
CMake Warning:
  Manually-specified variables were not used by the project:

    LIB_SUFFIX
@3rensho, are you sure you are sync with willy branch ?
Code:
-install -m644 ws_diag_control.h ws_symbol_export.h $PKG/usr/include/$PRGNAM
+install -m644 include/ws_diag_control.h include/ws_symbol_export.h $PKG/usr/include/$PRGNAM
https://git.slackbuilds.org/slackbui...uild?h=willysr
Thanks marav, I had not seen that patch. Built fine now
 
Old 10-09-2022, 11:19 PM   #5156
SW64
Member
 
Registered: May 2014
Distribution: Slackware
Posts: 262

Rep: Reputation: 123Reputation: 123
Just a head up; on my system, audacity 3.2.0 was a missing a dependency, soxr, which is not listed in the audacity.info file. I was able to compile audacity 3.2.0 after installing soxr.
 
1 members found this post helpful.
Old 10-10-2022, 12:39 PM   #5157
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,118

Original Poster
Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
Quote:
Originally Posted by SW64 View Post
Just a head up; on my system, audacity 3.2.0 was a missing a dependency, soxr, which is not listed in the audacity.info file. I was able to compile audacity 3.2.0 after installing soxr.
it slipped, thanks for the report!
 
1 members found this post helpful.
Old 10-12-2022, 05:43 AM   #5158
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
Hi, with ffmpeg-5, aubio-4.9 does not compile.
A patch is here:
https://raw.githubusercontent.com/Op...mpeg-5.0.patch

(see https://github.com/aubio/aubio/issues/353)
hth

EDIT.. and libquicktime does not compile either;
https://sourceforge.net/p/libquickti...8702f8ac2083b/ which disables ffmpeg

Last edited by brobr; 10-12-2022 at 06:20 AM.
 
Old 10-12-2022, 07:00 AM   #5159
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,118

Original Poster
Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
Hi Rob,

yes, yesterday I started rebuilding the stuff I use on current and I hit a few snags because of the newer ffmpeg: I tried to fix whatever was possible of those scripts but in some cases (vice and, like you noted, libquicktime) I had to disable ffmpeg support entirely, when we don't end up with a broken build (like transcode, for which I haven't found a fix yet).

I hadn't tried aubio yet: thanks for the report and the patch, I'll push it ASAP!

I'm pretty sure that we will see a lot of stuff broken by the ffmpeg upgrade from now on: just report it and I'll try my best to fix it.
luckily it has been pushed to current after things had time to settle a bit (and distros to adapt) but with the rate ffmpeg people break their API it won't never be the right time (look the image below).

EDIT: for transcode it seems the only option is to --disable-ffmpeg too...
Attached Thumbnails
Click image for larger version

Name:	ffmpeg.jpg
Views:	15
Size:	219.4 KB
ID:	39706  

Last edited by ponce; 10-12-2022 at 08:50 AM.
 
Old 10-12-2022, 12:21 PM   #5160
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
Hi Matteo, was not expecting to be the only one finding these kind of problems;-(

The aubio, I hit on because of the aqualung player (not on SBo) depends on it (aqualung also doesn't cope with the new ffmpeg, needs to be configured '--without-lavc \' (https://github.com/jeremyevans/aqual...ent-1127139775).

Next on my list,
chromaprint (https://github.com/acoustid/chromaprint/issues/110), also fails, but that's possibly old news for you as maintainer.
Then
xjadeo (version 0.8.11, latest), despite https://github.com/x42/xjadeo/issues/50:
Code:
jadeo.c: In function ‘open_movie’:
xjadeo.c:1497:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1497 |         pCodec=avcodec_find_decoder (pCodecCtx->codec_id);
openboard: patched 10h ago: https://github.com/OpenBoard-org/Ope...ffffa008f81265
 
  


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 04:48 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