Page 1 of 1

Building 3.0.0-git on the debian-win64 docker image fails

Posted: 07 Sep 2020 16:33
by andro299
I've attempted to build vlc using the vlc-debian-win64:latest docker image and successfully did so with the latest version of the git repository. Having seen the new layout and look of the program I decided that i'd rather stick with the old style for now so i checked out the 3.0.0-git branch and attempted to build (both builds were done using the included shell script).

As far as i can see the build failed due to missing resources requested from https://download.qt.io/official_release ... 6.2.tar.xz where the whole 5.6 directory is missing (see https://download.qt.io/official_releases/qt/).

Code: Select all

--2020-09-07 14:05:44-- https://download.qt.io/official_releases/qt/5.6/5.6.2/submodules/qtbase-opensource-src-5.6.2.tar.xz Resolving download.qt.io (download.qt.io)... Resolving download.qt.io (download.qt.io)... 77.86.229.90 Connecting to download.qt.io (download.qt.io)|77.86.229.90|:443... 77.86.229.90 Connecting to download.qt.io (download.qt.io)|77.86.229.90|:443... connected. connected. HTTP request sent, awaiting response... HTTP request sent, awaiting response... 404 Not Found 2020-09-07 14:05:44 ERROR 404: Not Found. ../../contrib/src/qt/rules.mak:18: recipe for target '../../contrib/tarballs/qt-5.6.2.tar.xz' failed make: *** [../../contrib/tarballs/qt-5.6.2.tar.xz] Error 8 make: *** Waiting for unfinished jobs.... 404 Not Found 2020-09-07 14:05:45 ERROR 404: Not Found. ../../contrib/src/qtsvg/rules.mak:17: recipe for target '../../contrib/tarballs/qtsvg-5.6.2.tar.xz' failed make: *** [../../contrib/tarballs/qtsvg-5.6.2.tar.xz] Error 8
Am i supposed to be building older versions differently or is this just a coincidence? Thanks

Extra info:
-im building on a 18.04 64 bit ubuntu VM
-the reason that i want to do my own build is to implement the youtube playback fix referenced here: https://mailman.videolan.org/pipermail/ ... 35441.html

Re: Building 3.0.0-git on the debian-win64 docker image fails

Posted: 08 Sep 2020 09:33
by mfkl
Having seen the new layout and look of the program I decided that i'd rather stick with the old style
I don't know what you mean by old style. Please share commit hash.

Anyway, the CI is green so the problem must be on your side.
CI logs and status https://code.videolan.org/videolan/vlc-3.0/-/pipelines
CI configuration https://code.videolan.org/videolan/vlc- ... lab-ci.yml (note using vlc-debian-win64:latest is not correct)

Re: Building 3.0.0-git on the debian-win64 docker image fails

Posted: 08 Sep 2020 12:37
by andro299
Your response really helped me steer the right way. Things seem to be building correctly for now.

Things i did wrong:
-wrong docker image ?
-getting my source code from github and not code.videolan.org

I think one of the reasons i was confused was because i was trying to go off the guide at wiki at first (its the first and only sensible thing that appears from a short google search such as "building vlc from source"). Looking back, that page doesnt really tell the real story as it mentions neither the build.sh script nor docker images or even code.videolan.org which seems to be the place people should be looking at when getting the latest versions of vlc/docker images.

The way i see it, the wiki page should go through the easiest way to do things since its the page most new people might find, which is why I'd suggest either updating the page or making a big warning with a redirect to the better guide. At that point google's engine might figure out what the page it should be showing is.

Thanks again :)