LinuxQuestions.org
Help answer threads with 0 replies.
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 01-02-2021, 10:07 AM   #1
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Rep: Reputation: 20
can't build pulseview (Slackware current)


Hi, I upgraded to Slackware current on 2021/01/01 and I can't build pulseview. I have built and installed all of its prerequisites that needed building. I did not rebuild qt5. I am using sbopkg and the latest version of Ponce's repository. I have included the last few lines of output from the build hoping this will help. Any help/suggestions is greatly appreciated. Thank you.

Code:
/usr/include/qt5/QtCore/qdebug.h:420:15: note:   template argument deduction/substitution failed:
/tmp/SBo/pulseview-0.4.1/pv/util.cpp:174:9: note:   mismatched types ‘const QFlags<T>’ and ‘QTextStream&(QTextStream&)’
  174 |   ts << forcesign;
      |         ^~~~~~~~~
/tmp/SBo/pulseview-0.4.1/pv/util.cpp:174:9: note:   mismatched types ‘const QFlags<T>’ and ‘QTextStream&(QTextStream&)’
/tmp/SBo/pulseview-0.4.1/pv/util.cpp:174:9: note:   couldn’t deduce template parameter ‘T’
make[2]: *** [CMakeFiles/pulseview.dir/build.make:309: CMakeFiles/pulseview.dir/pv/util.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:118: CMakeFiles/pulseview.dir/all] Error 2
make: *** [Makefile:171: all] Error 2

pulseview:
 
Old 01-02-2021, 10:24 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Can you please stop creating new topics for your build failures? All three of them are related, best to keep the discussion in one single thread.
 
Old 01-02-2021, 10:32 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,133

Rep: Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204
pulseview, beside a version bump to 0.4.2, on current also needs a patch for qt-5.15.x, like this

http://cgit.ponce.cc/slackbuilds/commit/?h=pulseview

P.S. Alien Bob is right: if you had tell from the start that you aimed to build pulseview I won't have to do this thing one step at a time...

Last edited by ponce; 01-02-2021 at 10:35 AM.
 
Old 01-02-2021, 10:59 AM   #4
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Original Poster
Rep: Reputation: 20
OK, sorry about that.
 
Old 01-02-2021, 11:02 AM   #5
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,610

Rep: Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481Reputation: 3481
Quote:
Originally Posted by rwcooper View Post
OK, sorry about that.
Man, you bombed this forum with threads about ... what does that thing after all?
 
Old 01-02-2021, 11:07 AM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,133

Rep: Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204
https://sigrok.org/wiki/PulseView
 
Old 01-02-2021, 12:58 PM   #7
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by LuckyCyborg View Post
Man, you bombed this forum with threads about ... what does that thing after all?
Its a front end, with a graphic display, to a logic analyzer. I use the logic analyzer to view signals from circuits I design for embedded systems. This is just a hobby for me. I won't commit to upgrading my main computer until I have pulseview working on my test system.
 
Old 01-02-2021, 01:44 PM   #8
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by ponce View Post
pulseview, beside a version bump to 0.4.2, on current also needs a patch for qt-5.15.x, like this

http://cgit.ponce.cc/slackbuilds/commit/?h=pulseview
I'm totally lost now. I followed the link given above and I'm OK with the changes to .Slackbuild and .info. I'm assuming the patch command is part of the changes to .Slackbuild. After that I don't know what to do! Where are the other files referenced in the other diff commands? Once I change the other files what do I do with them? I seem to be down to the last step in building pulseview bit don't know how to proceed. Thanks for any help you can give me.
 
Old 01-02-2021, 01:57 PM   #9
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,408
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
If you use sbopkg, the tree is located here : /var/lib/sbopkg/
 
Old 01-02-2021, 02:04 PM   #10
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by Tonus View Post
If you use sbopkg, the tree is located here : /var/lib/sbopkg/
Thanks. I already know that, but several of the files mentioned by following the link are NOT in that tree. Any other suggestions?
 
Old 01-02-2021, 02:55 PM   #11
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,133

Rep: Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204
the modifications that you can find in every branch of the git tree I linked you are based on the scripts you can find on SBo, let's take for example the one dedicated to pulseview

http://cgit.ponce.cc/slackbuilds/commit/?h=pulseview

as you can see, under the "author" and "committer" lines, there's another "commit" line that ends with a "patch" link: that links to a patch that you can apply to the pulseview script on SBo.

so you can:

- download the tarball of the pulseview build script from SBo and extract it
Code:
wget -O - https://slackbuilds.org/slackbuilds/14.2/academic/pulseview.tar.gz | tar xz
- go in the resulting directory
Code:
cd pulseview
- download the linked patch and apply it to the pulseview stuff
Code:
wget -O - "http://cgit.ponce.cc/slackbuilds/patch/?id=e3aab68532be77fe27a531196c6a34171ccc42c3" | patch -p3
- after that you can dowload the sources and build pulseview
Code:
. pulseview.info
wget $DOWNLOAD
./pulseview.SlackBuild
if you have to build something manually you can do the same thing for every branch listed here (obviously with the relative references changed)

http://cgit.ponce.cc/slackbuilds/refs/heads

Last edited by ponce; 01-02-2021 at 02:57 PM.
 
1 members found this post helpful.
Old 01-02-2021, 03:38 PM   #12
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Original Poster
Rep: Reputation: 20
Ponce, thanks so very much for your patience and help! Pulseview built following your excellent and detailed instructions...Randy
 
Old 01-02-2021, 03:55 PM   #13
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Original Poster
Rep: Reputation: 20
I was a bit premature. pulseview starts and runs but I get an error message: "module sigrokdecode not loaded". I don't get that message on my main computer. I built and installed libsigrokdecode. Any any suggestions for what may be causing this are greatly appreciated.
 
Old 01-03-2021, 01:36 AM   #14
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,133

Rep: Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204
maybe I got why this happens: pulseview needs to be bumped too to a git snapshot.

try the same procedure I described above but with a different patch.
 
Old 01-03-2021, 09:11 AM   #15
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Original Poster
Rep: Reputation: 20
Ponce, exactly the same thing happened. I get the following when I run pulseview.

Code:
sudo pulseview
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Setting "View_AllowVerticalDragging" changed to QVariant(bool, true)
srd: sigrokdecode module not loaded.
srd: Failed to load decoder gpib: sigrokdecode(3) not loaded
srd: AttributeError: Failed to load decoder iec: no 'Decoder' attribute in imported module: module 'iec' has no attribute 'Decoder'
Additional info:

Code:
ls /var/lib/pkgtools/packages/ | grep pulseview
pulseview-20210103_d023660-x86_64-1_SBo

ls -l /usr/lib64/libsigrokdecode*
-rwxr-xr-x 1 root root   987 Jan  2 12:43 /usr/lib64/libsigrokdecode.la*
lrwxrwxrwx 1 root root    24 Jan  2 12:48 /usr/lib64/libsigrokdecode.so -> libsigrokdecode.so.4.0.0*
lrwxrwxrwx 1 root root    24 Jan  2 12:48 /usr/lib64/libsigrokdecode.so.4 -> libsigrokdecode.so.4.0.0*
-rwxr-xr-x 1 root root 77248 Jan  2 12:43 /usr/lib64/libsigrokdecode.so.4.0.0*
Pulseview runs and it recognizes and shows the correct number of channels for my logic analyzer.

Any help/suggestions for solving this are greatly appreciated. Thank you.
 
  


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
[SOLVED] Follow on re: CLISP re-build using current - does CLISP on current work with quicklisp ? badbetty Slackware 10 04-11-2018 02:47 PM
[SOLVED] Linux 4.4 seems to refuse to build IPv6 for the 64-bit build - 32-bit build works fine GameCodingNinja Linux From Scratch 2 02-07-2016 06:40 PM
[SOLVED] Script to build always a current ISO image of Slackware (slackware-current) robertjinx Slackware 2 12-09-2010 02:00 AM
Slackware64 -current vs Slackware -current or Slackware onebuck Slackware 16 06-23-2009 01:19 PM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 09:51 PM

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

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