LinuxQuestions.org
Visit Jeremy's Blog.
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 04-10-2021, 11:37 AM   #1
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Rep: Reputation: 20
Can't build pulseview using sbopkg (again)


I've done a clean install using the 2021/04/08 snapshot of current from Alien Pastures. As usual I cannot build pulseview using sbopkg. This time I was able to build all the prerequisites, but not pulseview itself. So once again I am asking for help in getting pulseview built. Here's the error I get.
Code:
/tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:20:1: note: ‘extern "C"’ linkage started here
   20 | extern "C" {
      | ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
                 from /usr/include/glib-2.0/glib/gthread.h:32,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/libsigrokdecode/libsigrokdecode.h:25,
                 from /tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:21:
/usr/include/c++/10.2.0/type_traits:2912:3: error: template with C linkage
 2912 |   template<typename _Fn, typename... _Args>
      |   ^~~~~~~~
/tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:20:1: note: ‘extern "C"’ linkage started here
   20 | extern "C" {
      | ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
                 from /usr/include/glib-2.0/glib/gthread.h:32,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/libsigrokdecode/libsigrokdecode.h:25,
                 from /tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:21:
/usr/include/c++/10.2.0/type_traits:2918:3: error: template with C linkage
 2918 |   template<typename _Result, typename _Fn, typename... _Args>
      |   ^~~~~~~~
/tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:20:1: note: ‘extern "C"’ linkage started here
   20 | extern "C" {
      | ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
                 from /usr/include/glib-2.0/glib/gthread.h:32,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/libsigrokdecode/libsigrokdecode.h:25,
                 from /tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:21:
/usr/include/c++/10.2.0/type_traits:2925:3: error: template with C linkage
 2925 |   template<typename _Fn, typename... _Args>
      |   ^~~~~~~~
/tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:20:1: note: ‘extern "C"’ linkage started here
   20 | extern "C" {
      | ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
                 from /usr/include/glib-2.0/glib/gthread.h:32,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/libsigrokdecode/libsigrokdecode.h:25,
                 from /tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:21:
/usr/include/c++/10.2.0/type_traits:2930:3: error: template with C linkage
 2930 |   template<typename _Fn, typename... _Args>
      |   ^~~~~~~~
/tmp/SBo/pulseview-20210103_d023660/pv/data/decode/annotation.cpp:20:1: note: ‘extern "C"’ linkage started here
   20 | extern "C" {
      | ^~~~~~~~~~
make[2]: *** [CMakeFiles/pulseview.dir/build.make:1533: CMakeFiles/pulseview.dir/pv/data/decode/annotation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:103: CMakeFiles/pulseview.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

pulseview:
Would you like to continue processing the rest of the
queue or would you like to abort?
Any help in solving this will be greatly appreciated. Thanks...Randy
 
Old 04-10-2021, 12:12 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Hi Randy,

I'm sorry but this is probably a consequence of the upgrade of glib2 to a version >= 2.68.x in current and upstream seems not to have catched up yet: you can try filing a bug in their bug tracker and also watch for a specific fix in their git repository

https://sigrok.org/bugzilla/
https://sigrok.org/gitweb/?p=pulseview.git;a=summary
 
Old 04-10-2021, 02:12 PM   #3
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by ponce View Post
Hi Randy,

I'm sorry but this is probably a consequence of the upgrade of glib2 to a version >= 2.68.x in current and upstream seems not to have catched up yet: you can try filing a bug in their bug tracker and also watch for a specific fix in their git repository

https://sigrok.org/bugzilla/
https://sigrok.org/gitweb/?p=pulseview.git;a=summary
Thanks for your reply. OK, I'll do that.
 
Old 04-12-2021, 08:53 AM   #4
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Original Poster
Rep: Reputation: 20
I went to the sigrok website. They have prebuilt appimage files for pulseview. I downloaded the one for 64-bit Linux and it worked.
 
1 members found this post helpful.
Old 04-17-2021, 09:45 AM   #5
rwcooper
Member
 
Registered: Mar 2006
Posts: 123

Original Poster
Rep: Reputation: 20
Well that was short lived. The pulseview appimage is not working for me anymore.
 
  


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
can't build pulseview (Slackware current) rwcooper Slackware 17 01-03-2021 01:36 PM
[SOLVED] virtualbox installs pcbsd again and again and again straffetoebak Linux - Virtualization and Cloud 4 11-21-2014 07:14 PM
SBOPKG(8) not list/show/build dependencies of SlackBuild scripts to build Slackware p xavi_slacky Slackware 3 06-13-2013 07:53 PM
Dualbooting again, again, again... Procrastinator Linux - General 4 10-28-2004 11:04 AM
Need help installing Mandrake (again, again, again...) DicedMalt Mandriva 6 08-26-2003 04:47 PM

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

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