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 12-08-2017, 10:24 AM   #1
slackb0t
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware64-current on Thinkpad Carbon X1
Posts: 264

Rep: Reputation: 63
-current with 4.14.3 can't build kodi from ponce sbo repo


Ok.. I hate to ask this because I know it is probably an obvious answer. I tried and tried but can't figure it out. So here we go.

I am completely up to date with -current *including the testing kernel*

I have sbo set up to sync with ponce git repo for current.

However, when trying to install I get the following error
Code:
chmod: cannot operate on dangling symlink './tools/depends/target/ffmpeg/ffmpeg-3.1.9-Krypton-17.4.tar.gz'
patching file xbmc/filesystem/FTPParse.cpp
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file xbmc/filesystem/FTPParse.cpp.rej

kodi:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:
 
Old 12-08-2017, 10:34 AM   #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
try using the script for 14.2 from SBo: does that work?
I suppose the patch I added in july isn't necessary anymore.
 
1 members found this post helpful.
Old 12-08-2017, 02:03 PM   #3
slackb0t
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware64-current on Thinkpad Carbon X1
Posts: 264

Original Poster
Rep: Reputation: 63
Quote:
Originally Posted by ponce View Post
try using the script for 14.2 from SBo: does that work?
I suppose the patch I added in july isn't necessary anymore.
Thanks for the reply. I changed the repo to 14.2 and it still fails but much later in the process. This time complaining about -lva and -lva-x11

Code:
CPP     xbmc/platform/posix/main.o
AR      xbmc/platform/posix/posix.a
LD      kodi.bin
/usr/lib64/gcc/x86_64-slackware-linux/7.2.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lva-x11
/usr/lib64/gcc/x86_64-slackware-linux/7.2.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lva
collect2: error: ld returned 1 exit status
make: *** [Makefile:453: kodi.bin] Error 1

kodi:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:

Last edited by slackb0t; 12-08-2017 at 02:05 PM.
 
Old 12-08-2017, 02:41 PM   #4
slackb0t
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware64-current on Thinkpad Carbon X1
Posts: 264

Original Poster
Rep: Reputation: 63
I re-installed libva 1.6.x and libva-intel-driver 1.6.x

This fixed kodi but obviously isn't what I want.... hmmm
 
Old 12-09-2017, 01:54 AM   #5
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
I've just tried on a full and clean installation of slackware64-current and compilation went fine with the kodi script on SBo.

judging from the output that you got when linking the kodi binary I suppose you have still some dependency (mandatory or optional, or dependency of some dependency, and so on...) built against the old libva and that gives you that error when linking: you should rebuild whatever uses the old libva to use the new one.

Last edited by ponce; 12-09-2017 at 01:59 AM.
 
1 members found this post helpful.
Old 12-09-2017, 07:38 PM   #6
slackb0t
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware64-current on Thinkpad Carbon X1
Posts: 264

Original Poster
Rep: Reputation: 63
Quote:
Originally Posted by ponce View Post
I've just tried on a full and clean installation of slackware64-current and compilation went fine with the kodi script on SBo.

judging from the output that you got when linking the kodi binary I suppose you have still some dependency (mandatory or optional, or dependency of some dependency, and so on...) built against the old libva and that gives you that error when linking: you should rebuild whatever uses the old libva to use the new one.
Thanks. That is helpful. Is there an easy way to find out what packages are build using the old libva?

Going to do a little searching to see if there is a script to figure it out...

Last edited by slackb0t; 12-09-2017 at 07:54 PM.
 
Old 12-10-2017, 02:30 AM   #7
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
you can prepare a list running objdump on all the libraries and binaries that you got in your system, like
Code:
objdump -x /usr/lib64/libfoo.so | grep NEEDED
and then inspect it...

...but, if you prefer, there's also a much more user-friendly application for the task (instructions and a tutorial are available at the same link), courtesy of a4z.

Last edited by ponce; 12-10-2017 at 03:58 AM.
 
2 members found this post helpful.
Old 12-13-2017, 08:32 PM   #8
slackb0t
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware64-current on Thinkpad Carbon X1
Posts: 264

Original Poster
Rep: Reputation: 63
I have sbbdep a try but there are so many deps for Kodi that I am not sure it narrowed things down too much. I think the quickest way to solve this might be.

1. slackpkg clean-system

followed by

2. deleting everything I installed from SBO (other than libreoffice most are related to kodi anyway)

3. Rebuild kodi again from the queue file will all deps.

However, since everything is working I might just leave it alone... having 2 versions of lva doesn't seem to be causing any trouble.

Last edited by slackb0t; 12-13-2017 at 08:33 PM.
 
  


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
How can i use slapt-src with "current" ponce repo ? USUARIONUEVO Slackware 6 01-26-2020 02:32 PM
[SOLVED] slackpkgplus greylist (or blacklist) SBo/ponce nivieru Slackware 3 06-10-2016 12:04 PM
Questions for Robby, ponce, or anyone from SBo about SBo submission requirements. ReaperX7 Slackware 4 06-07-2015 11:30 AM
[SOLVED] Unable to build SuiteSparse (from SBo) in multilib 64-current. hiptobecubic Slackware 4 07-31-2012 04:57 AM

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

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