LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-08-2019, 08:14 AM   #1996
c94p67
LQ Newbie
 
Registered: Aug 2014
Posts: 16

Rep: Reputation: Disabled

Unsure if this issue is some thing that should be mentioned here, but virt-manager 2.2.1 broke after upgrading from a earlier version. To fix this i had to install gtksourceview3.
 
Old 09-08-2019, 08:48 AM   #1997
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,991

Rep: Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237
It was added as a new dep for virt-manager 2.2.x
see this commit
 
Old 09-08-2019, 09:06 AM   #1998
c94p67
LQ Newbie
 
Registered: Aug 2014
Posts: 16

Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
It was added as a new dep for virt-manager 2.2.x
see this commit
Great
 
Old 09-10-2019, 06:30 AM   #1999
pchristy
Member
 
Registered: Oct 2012
Location: UK
Distribution: Slackware
Posts: 425

Rep: Reputation: Disabled
Hi Ponce,

I'm having trouble building mediainfo on -current (64-bit) with Eric's kde5 - though I don't know if that's relevant.

The build fails like so:
Code:
/usr/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/9.2.0/../../../../lib64/libmediainfo.so: undefined reference to `ZenLib::Format::Http::URL_Encoded_Decode(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'
collect2: error: ld returned 1 exit status
make: *** [Makefile:417: mediainfo] Error 1
There are a lot of "undefined reference to Zenlib" preceding this, this is just the last one!

I've rebuilt zenlib to the latest version (0.4.37) using the slackbuild from your repository, and I've tried mediainfo with both the original and your slackbuild, both with the same result.

I did manage to build it on another machine (similar setup) a while back, but I think that was before the latest updates to gcc.

Not sure what's going on here, but any suggestions gratefully received!

--
Pete
 
Old 09-10-2019, 06:50 AM   #2000
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,934

Original Poster
Rep: Reputation: Disabled
I don't know what's happening there, seems like libmediainfo.so try to link to an unrecognized previous version of libzen: could it be you have installed something by hand in /usr/local/?
what I can say to you is that I just tried to build libzen, libmediainfo and mediainfo on an up-to-date slackware64-current with no previous versions of these installed and everything worked fine, so I don't think this actually belongs here...
 
Old 09-10-2019, 06:56 AM   #2001
pchristy
Member
 
Registered: Oct 2012
Location: UK
Distribution: Slackware
Posts: 425

Rep: Reputation: Disabled
OK, so its obviously something amiss on this machine! I can't get at my other one at the moment as we have the builders in, and its all under dustsheets!

I can't see anything in /usr/local/, but I'll have a good look around and see what I can find!

Sometimes even a negative response is helpful, so thanks for you reply!

--
Pete
 
Old 09-10-2019, 09:09 AM   #2002
pchristy
Member
 
Registered: Oct 2012
Location: UK
Distribution: Slackware
Posts: 425

Rep: Reputation: Disabled
Found it! The error message was a bit misleading as the fault was actually remnants of a very old libmediainfo install that never got cleaned up properly!

Wouldn't have found it without your assistance, so many thanks!



--
Pete
 
Old 09-11-2019, 02:02 AM   #2003
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,228

Rep: Reputation: 390Reputation: 390Reputation: 390Reputation: 390
Hi , i cant build portaudio

Quote:
mv -f .deps/StreamParameters.Tpo .deps/StreamParameters.Plo
mv -f .deps/SystemDeviceIterator.Tpo .deps/SystemDeviceIterator.Plo
mv -f .deps/System.Tpo .deps/System.Plo
mv -f .deps/SystemHostApiIterator.Tpo .deps/SystemHostApiIterator.Plo
make[2]: se sale del directorio '/tmp/SBo/portaudio/bindings/cpp/lib'
make[1]: *** [Makefile:431: all-recursive] Error 1
make[1]: se sale del directorio '/tmp/SBo/portaudio/bindings/cpp'
make: *** [Makefile:251: all-recursive] Error 2
make: *** Se espera a que terminen otras tareas....
Its strange , cause make -j1 , do the trick.

Its intel i7 6700k machine , if test under vm , please configure with more than 1 cpu , or not see the error.

In some case, for me -j1 works.
 
Old 09-11-2019, 12:35 PM   #2004
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,934

Original Poster
Rep: Reputation: Disabled
I was able to reproduce this, thanks for reporting: I'll force a single make job.
 
Old 09-11-2019, 02:22 PM   #2005
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / 14.2
Posts: 301

Rep: Reputation: 98
On Current kicad 5.1.4 fails to start the build due to a problem with a patch that is being applied:

Code:
patching file scripting/build_tools/fix_swig_imports.py
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file scripting/build_tools/fix_swig_imports.py.rej
If I remove the following patch from the slackbuild it starts to build

Code:
# https://bugs.launchpad.net/kicad/+bug/1816286
patch -p1 < $CWD/swig-4.0.0.patch
 
Old 09-11-2019, 02:28 PM   #2006
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,934

Original Poster
Rep: Reputation: Disabled
it might be: I applied that for the previous version on kicad on SBo, but in the meantime it has been silently updated to a later version.
I'll remove it from the repository, thanks for reporting!
 
Old 09-13-2019, 02:05 PM   #2007
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 147
Blog Entries: 1

Rep: Reputation: Disabled
gnuradio gr-osmosdr gqrx-sdr

Gnuradio 3.7 slackbuild script throws an error on gr-blocks/lib/socket_pdu_impl.cc because the current Boost library doesn't have a get_io_service function. I copied socket_pdu_impl.cc from git, added it to the SlackBuild script and built gnuradio. A more elegant solution would be to replace "get_io_service" with "d_io_service" on line 264.

I upgrading gnuradio to the current v3.8, but that breaks gqrx-sdr. I fixed that by adding '#UNDEF USE_ASIO' to lib/rfspace/rfspace_source_c.cc in gr-osmosdr. Then gqrx proceeds to build as advertised.

Next need to add the ad-hoc changes to the slackbuild scripts in gnuradio, gr-osmosdr, and gqrx-sdr and test for error-free builds.
 
Old 09-13-2019, 03:51 PM   #2008
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,934

Original Poster
Rep: Reputation: Disabled
hi hpfeil,

are you sure that you are using the latest version of the repository linked in the first post of this thread? I'm asking because I patched gnuradio for the newer boost three weeks ago now

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

and it builds fine here.

the problem I see here is with gr-osmosdr and gqrx-sdr: building the latter seems to give problem in the linking phase
Code:
[ 98%] Building CXX object src/CMakeFiles/gqrx.dir/qrc_textfiles.cpp.o
[100%] Linking CXX executable gqrx
/usr/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/9.2.0/../../../../lib64/libgnuradio-osmosdr.so: undefined reference to `boost::chrono::steady_clock::now()'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/gqrx.dir/build.make:1019: src/gqrx] Error 1
make[1]: *** [CMakeFiles/Makefile2:140: src/CMakeFiles/gqrx.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
 
Old 09-13-2019, 09:16 PM   #2009
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 147
Blog Entries: 1

Rep: Reputation: Disabled
Hi, Ponce,
I'm certain you fixed the gnuradio issue. The test for boost >= 107000 is in the 3.8 version. Failing to RTFM on the first post, I was using the slackbuilds.org version. I was still stunned from astonishment that something I downloaded from SlackBuilds failed to work, which is my excuse for stumbling in here to report how I fixed the issue without reading the base post. (For decades, everything just works, a testament to Master Volkerding and the dedicated voluneers who keep his principals.)

I think gr_osmosdr pulls in chrono::steady_clock::now() from the boost mutex includes. I don't know how to tell cmake to add libboost_chrono.so to the library dependencies. CMakeCache.txt suggests only libboost_system and libboost_thread are required. How do you add Boost::chrono to gnuradio-osmosdr_LIB_DEPENDS from the cmake command?

objdump --syms libgnuradio-osmosdr-0.1.5git.so.0.0.0 | grep chrono
*UND* 0000000000000000 _ZN5boost6chrono12steady_clock3nowEv

Look for boost::this_thread::sleep_for::ratio::chrono::duration

Last edited by hpfeil; 09-13-2019 at 10:03 PM. Reason: add info
 
Old 09-14-2019, 12:21 AM   #2010
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,934

Original Poster
Rep: Reputation: Disabled
cmake uses target_link_libraries for this scope.

modify gqrx-sdr.SlackBuild like this
Code:
--- ./gqrx-sdr.SlackBuild.orig  2019-09-14 07:11:30.109402000 +0200
+++ ./gqrx-sdr.SlackBuild       2019-09-14 07:19:07.218402000 +0200
@@ -69,6 +69,8 @@
  \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
  -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
 
+sed -i "s|Boost_LIBRARIES}|Boost_LIBRARIES} -lboost_chrono|" src/CMakeLists.txt
+
 mkdir -p build
 cd build
 cmake \
or, better, modify gr-osmosdr.SlackBuild like this
Code:
--- ./gr-osmosdr.SlackBuild.orig        2019-09-14 07:11:30.109402000 +0200
+++ ./gr-osmosdr.SlackBuild     2019-09-14 07:31:16.816402000 +0200
@@ -70,6 +70,8 @@
  \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
  -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
 
+sed -i "s|gr_osmosdr_libs}|gr_osmosdr_libs} -lboost_chrono|" lib/CMakeLists.txt
+
 mkdir -p build
 cd build
   cmake \

Last edited by ponce; 09-14-2019 at 12:35 AM.
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration