LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 06-27-2013, 07:43 PM   #1
indubitableness
Member
 
Registered: Feb 2009
Distribution: Slackware64 14.0 multilib
Posts: 62

Rep: Reputation: 15
alienBOB's vlc.Slackbuild script fails on libavcodec.pc on Slackware64 14.0 multilib.


I'm trying to build vlc using the restricted slackbuild script located here.

I've used this script in the past on previous versions of Slackware with no troubles though I'm unsure which changes, if any, have been made to it since my last successful build.

The following is a chunk of output immediately prior to the script's failure:

Code:
...

/tmp/build/tmp-vlc/projectM-2.0.1-Source/build
**
**  VLC ...
**
##
## Changing vlc VERSION from '2.0.7' to '2.0.7'
##
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- vlc-20110825/modules/text_renderer/freetype.c.orig	2011-08-25 02:26:05.000000000 +0200
|+++ vlc-20110825/modules/text_renderer/freetype.c	2011-08-25 14:11:55.855465981 +0200
--------------------------
patching file modules/text_renderer/freetype.c
Using Plan A...
Hunk #1 succeeded at 59 (offset 4 lines).
done
grep: /tmp/build/tmp-vlc/vlcdeps/usr/lib64/pkgconfig/libavcodec.pc: No such file or directory
sed: can't read /tmp/build/tmp-vlc/vlcdeps/usr/lib64/pkgconfig/libavcodec.pc: No such file or directory
At this point the script fails. I'm unsure how to proceed troubleshooting the issue.

Last edited by indubitableness; 06-27-2013 at 07:45 PM.
 
Old 06-27-2013, 09:48 PM   #2
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by indubitableness View Post
I'm trying to build vlc using the restricted slackbuild script located here.

I've used this script in the past on previous versions of Slackware with no troubles though I'm unsure which changes, if any, have been made to it since my last successful build.

The following is a chunk of output immediately prior to the script's failure:

Code:
...

/tmp/build/tmp-vlc/projectM-2.0.1-Source/build
**
**  VLC ...
**
##
## Changing vlc VERSION from '2.0.7' to '2.0.7'
##
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- vlc-20110825/modules/text_renderer/freetype.c.orig	2011-08-25 02:26:05.000000000 +0200
|+++ vlc-20110825/modules/text_renderer/freetype.c	2011-08-25 14:11:55.855465981 +0200
--------------------------
patching file modules/text_renderer/freetype.c
Using Plan A...
Hunk #1 succeeded at 59 (offset 4 lines).
done
grep: /tmp/build/tmp-vlc/vlcdeps/usr/lib64/pkgconfig/libavcodec.pc: No such file or directory
sed: can't read /tmp/build/tmp-vlc/vlcdeps/usr/lib64/pkgconfig/libavcodec.pc: No such file or directory
At this point the script fails. I'm unsure how to proceed troubleshooting the issue.
I had the same issue on my multilib setup and the way I got around it was to build it against a pure 64-bit in a virtual machine.
 
1 members found this post helpful.
Old 06-28-2013, 03:19 AM   #3
indubitableness
Member
 
Registered: Feb 2009
Distribution: Slackware64 14.0 multilib
Posts: 62

Original Poster
Rep: Reputation: 15
Oh thanks stormtracknole! I didn't even suspect that was the problem. I'll give it a try and report back.
 
Old 06-28-2013, 05:44 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,223

Rep: Reputation: Disabled
If you captured the full log of the compilation you should be able to find the real error which must have occurrent much earlier (looks like ffmpeg did not build).

If you download my checkpkg script you can let t hat script look for errors.
Suppose you captured the compilation log in a file "output.log" using the commandline "./vlc.SlackBuild 2>&1 | tee output.log" then run the script like this:
Code:
sh checkpkg -l output.log
and post the results in this thread. VLC should compile on a multilib system.

Eric
 
2 members found this post helpful.
Old 06-28-2013, 04:48 PM   #5
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by Alien Bob View Post
If you captured the full log of the compilation you should be able to find the real error which must have occurrent much earlier (looks like ffmpeg did not build).

If you download my checkpkg script you can let t hat script look for errors.
Suppose you captured the compilation log in a file "output.log" using the commandline "./vlc.SlackBuild 2>&1 | tee output.log" then run the script like this:
Code:
sh checkpkg -l output.log
and post the results in this thread. VLC should compile on a multilib system.

Eric
Awesome script! I am sure this will come in handy.
 
Old 06-28-2013, 04:49 PM   #6
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Rep: Reputation: 104Reputation: 104
I really should have paid more attention when I was having the script failures. I really haven't had the chance lately to look at this closely and see what is failing. So, I did the lazy thing and built it with the dependencies that I wanted on my virtual machine.
 
Old 07-08-2013, 10:29 PM   #7
indubitableness
Member
 
Registered: Feb 2009
Distribution: Slackware64 14.0 multilib
Posts: 62

Original Poster
Rep: Reputation: 15
Capturing output log presently. Will update with results.

Thanks Alien Bob.

Here is the output from checkpkg:

Code:
++ Checking logfile 'output.log' (no news is good news):
16471  :libupnp-1.6.18/docs/dist/html/upnp/UPNP_E_INIT_FAILED-117.html
16510  :libupnp-1.6.18/docs/dist/html/upnp/UPNP_EVENT_AUTORENEWAL_FAILED.html
22434  :collect2: error: ld returned 1 exit status
22435  :make[3]: *** [libva-glx.la] Error 1
22438  :collect2: error: ld returned 1 exit status
22439  :make[3]: *** [libva-egl.la] Error 1
22441  :make[2]: *** [all-recursive] Error 1
22443  :make[1]: *** [all-recursive] Error 1
22445  :make: *** [all] Error 2
22479  :collect2: error: ld returned 1 exit status
22480  :make[2]: *** [libva-glx.la] Error 1
22482  :make[1]: *** [install-recursive] Error 1
22484  :make: *** [install-recursive] Error 1
26031  :./configure: line 12846: -static: command not found
27898  :make: [lib/libgsm.a] Error 1 (ignored)
27905  :make: [bin/tcat] Error 1 (ignored)
27908  :make: [bin/untoast] Error 1 (ignored)
29871  :ERROR: vaapi not found
29884  :make: *** No rule to make target `/tests/Makefile'.  Stop.
29891  :make: *** No rule to make target `/tests/Makefile'.  Stop.
36375  :echo "doxygen not found, cannot build docs"
36376  :doxygen not found, cannot build docs
36472  :echo "doxygen not found, cannot build docs"
36473  :doxygen not found, cannot build docs

Last edited by indubitableness; 07-08-2013 at 11:54 PM.
 
Old 07-09-2013, 02:39 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,223

Rep: Reputation: Disabled
Quote:
Originally Posted by indubitableness View Post
Capturing output log presently. Will update with results.

Thanks Alien Bob.

Here is the output from checkpkg:
Looks like the issue you are having is that libva is not compiling. That is why ffmpeg fails to build subsequently (the ffmpeg configure command explicitly mentions "--enable-vaapi" so that a missing vaapi library will cause configuration to fail).

You should check the output.log at the point where libva is being built and inspect that part of the build closely.

The errors you see about Control Room , tcat and untoast are harmless - they are not affecting the build.

Eric
 
Old 07-09-2013, 06:37 AM   #9
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 425

Rep: Reputation: 123Reputation: 123
Nice to see AlienBob answering here, but I suspect he is perhaps too modest to give the best answer : just download the fully built package from his repository :-)
 
Old 07-12-2013, 03:32 AM   #10
indubitableness
Member
 
Registered: Feb 2009
Distribution: Slackware64 14.0 multilib
Posts: 62

Original Poster
Rep: Reputation: 15
Mark. Alien Bob has always been a consistent contributor to these forums.

The prebuilt package can not include restricted codecs. There's a point to this. I am currently using the prebuilt package, but I'm used to building with this script and it irks me that it's failing now when it never did in the past.

I'll explore further what's going on and report back. I'm determined to get this thing to build.
 
Old 07-12-2013, 03:47 AM   #11
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,223

Rep: Reputation: Disabled
Quote:
Originally Posted by indubitableness View Post
Mark. Alien Bob has always been a consistent contributor to these forums.

The prebuilt package can not include restricted codecs. There's a point to this. I am currently using the prebuilt package, but I'm used to building with this script and it irks me that it's failing now when it never did in the past.

I'll explore further what's going on and report back. I'm determined to get this thing to build.
Just FYI:

The version of the VLC package which includes MP3 and AAC encoders, and DeCSS DVD decryption tech, can be downloaded here: http://taper.alienbase.nl/mirrors/pe...ackbuilds/vlc/

Eric
 
Old 07-12-2013, 03:56 AM   #12
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,223

Rep: Reputation: Disabled
Did you perhaps update the version of the libva library which is used in the build? The version I use (libva_0.32.0-1+sds2.tar.gz) can no longer be downloaded now that its development has been taken over by freedesktop.org. The newer versions 1.x which are released by freedesktop.org caused issues for me and therefore I stuck with the original source.

Eric
 
Old 07-12-2013, 11:33 AM   #13
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 425

Rep: Reputation: 123Reputation: 123
I think it's obvious that this package is not trivial to build - especially to the level of functionality that one gets with the full package. So this is as good an opportunity as one can find to publicly thank Eric (Alien Bob) for the tremendous effort he goes in to keep the build working up to the latest features that VLC provide ... and also for providing prebuilt binaries. Especially the nudge-nudge-wink-wink ones.
 
Old 08-19-2013, 12:11 PM   #14
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Rep: Reputation: 104Reputation: 104
Hey Alien,

I am getting now this error on my pure 64-bit box (no multi-lib). I'm including the output of my logfile. I'm custom building vlc to include some extra libraries.
Code:
++ Checking logfile 'output.log' (no news is good news):
16472  :libupnp-1.6.18/docs/dist/html/upnp/UPNP_E_INIT_FAILED-117.html
16511  :libupnp-1.6.18/docs/dist/html/upnp/UPNP_EVENT_AUTORENEWAL_FAILED.html
22435  :collect2: error: ld returned 1 exit status
22436  :make[3]: *** [libva-glx.la] Error 1
22439  :collect2: error: ld returned 1 exit status
22440  :make[3]: *** [libva-egl.la] Error 1
22442  :make[2]: *** [all-recursive] Error 1
22444  :make[1]: *** [all-recursive] Error 1
22446  :make: *** [all] Error 2
22480  :collect2: error: ld returned 1 exit status
22481  :make[2]: *** [libva-glx.la] Error 1
22483  :make[1]: *** [install-recursive] Error 1
22485  :make: *** [install-recursive] Error 1
26029  :./configure: line 12846: -static: command not found
27896  :make: [lib/libgsm.a] Error 1 (ignored)
27903  :make: [bin/tcat] Error 1 (ignored)
27906  :make: [bin/untoast] Error 1 (ignored)
29867  :ERROR: vaapi not found
29880  :make: *** No rule to make target `/tests/Makefile'.  Stop.
29887  :make: *** No rule to make target `/tests/Makefile'.  Stop.
36358  :echo "doxygen not found, cannot build docs"
36359  :doxygen not found, cannot build docs
36455  :echo "doxygen not found, cannot build docs"
36456  :doxygen not found, cannot build docs
 
Old 08-19-2013, 12:27 PM   #15
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,223

Rep: Reputation: Disabled
I guess I will release my vlc-2.1.0-rc1 package tonight then...
It's only built for Slackware-current but at least you'll get my working vlc.SlackBuild using all the latest libraries (including libva-1.2.1).

Eric
 
  


Reply


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
slackware64 13.37 alpine.SlackBuild fails when trying to rebuild package haxwithaxe Slackware 21 10-04-2011 03:44 PM
[SOLVED] Transmission Slackbuild fails to compile on Slackware64 13.1 astanton Slackware 9 11-10-2010 06:21 PM
[SOLVED] ORBit2 Slackbuild fails when building 32 bit package on current multilib damgar Slackware 4 04-10-2010 02:26 PM
ffmpeg Slackbuild fails in current multilib damgar Slackware 4 01-09-2010 09:12 PM
Slackbuild of Scilab 5.1 fails under Slackware64 13... is this reproducible...?? Alexvader Slackware 21 11-29-2009 02:29 PM


All times are GMT -5. The time now is 11:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration