alienBOB's vlc.Slackbuild script fails on libavcodec.pc on Slackware64 14.0 multilib.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
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.
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 :-)
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.
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.
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.
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.
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
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.