Build failed, can't download autoconf and other tools
On MacOS, when i try to build 3.6.0b12 or 3.6.1.b1, the script always fail downloading autoconf and other tools. The script try:
curl -f -L -- "http://downloads.videolan.org/pub/contrib/autoconf/autoconf-2.71.tar.gz"...
but on this repo there is only autoconf-2.69
Same with http://downloads.videolan.org/pub/contrib/automake/automake-1.16.5.tar.gz
Latest version on repo is automake-1.16.1.
A part of the log is:
autoconf not found
automake not found
m4 too old
libtool not found
pkg-config not found
cmake not found
yasm not found
ragel not found
protoc not found
ant not found
xz not found
bison too old
nasm not found
help2man not found
meson not found
ninja not found
To-be-built packages: autoconf automake m4 libtool pkg-config cmake yasm ragel protoc ant xz bison nasm meson ninja
The buildMobileVLCKit.sh just stop after checking these tools and don't build.
Step to reproduce:
git clone --depth 1 --branch 3.6.1b1 http://code.videolan.org/videolan/VLCKit.git VLCKit-3.6.1b1
cd VLCKit-3.6.0b12
./buildMobileVLCKit.sh -f -b
Related merge requests 1
When this merge request is accepted, this issue will be closed automatically.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Maintainer
This is a weird report as the script should fallback on the original GNU server in that case, so that must have been off-line at the time of your testing. I uploaded the missing files now as well as a few others.
Can you try again?
Collapse replies Thanks for your help but it's still not working. Here is the log:
autoconf not found automake not found m4 too old libtool not found pkg-config not found cmake not found yasm not found ragel not found protoc not found ant not found xz not found bison too old nasm not found help2man not found meson not found ninja not found To-be-built packages: autoconf automake m4 libtool pkg-config cmake yasm ragel protoc ant xz bison nasm meson ninja curl -f -L -- "http://downloads.videolan.org/pub/contrib/autoconf/autoconf-2.71.tar.gz" > "autoconf-2.71.tar.gz.tmp" && touch autoconf-2.71.tar.gz.tmp && mv autoconf-2.71.tar.gz.tmp autoconf-2.71.tar.gz || ( curl -f -L -- "http://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.gz" > "autoconf-2.71.tar.gz.tmp" && touch autoconf-2.71.tar.gz.tmp && mv autoconf-2.71.tar.gz.tmp autoconf-2.71.tar.gz && echo "Please upload package autoconf-2.71.tar.gz to our FTP" ) && grep autoconf-2.71.tar.gz /Users/leo/git/VLCKit-3.6.1b1/libvlc/vlc/extras/tools/SHA512SUMS| sha512sum -c curl -f -L -- "http://downloads.videolan.org/pub/contrib/pkgconfiglite/pkg-config-0.28-1.tar.gz" > "pkg-config-0.28-1.tar.gz.tmp" && touch pkg-config-0.28-1.tar.gz.tmp && mv pkg-config-0.28-1.tar.gz.tmp pkg-config-0.28-1.tar.gz || ( curl -f -L -- "http://downloads.sourceforge.net/project/pkgconfiglite/0.28-1/pkg-config-lite-0.28-1.tar.gz" > "pkg-config-0.28-1.tar.gz.tmp" && touch pkg-config-0.28-1.tar.gz.tmp && mv pkg-config-0.28-1.tar.gz.tmp pkg-config-0.28-1.tar.gz && echo "Please upload package pkg-config-0.28-1.tar.gz to our FTP" ) && grep pkg-config-0.28-1.tar.gz /Users/leo/git/VLCKit-3.6.1b1/libvlc/vlc/extras/tools/SHA512SUMS| sha512sum -c curl -f -L -- "http://downloads.videolan.org/pub/contrib/automake/automake-1.16.5.tar.gz" > "automake-1.16.5.tar.gz.tmp" && touch automake-1.16.5.tar.gz.tmp && mv automake-1.16.5.tar.gz.tmp automake-1.16.5.tar.gz || ( curl -f -L -- "http://ftp.gnu.org/gnu/automake/automake-1.16.5.tar.gz" > "automake-1.16.5.tar.gz.tmp" && touch automake-1.16.5.tar.gz.tmp && mv automake-1.16.5.tar.gz.tmp automake-1.16.5.tar.gz && echo "Please upload package automake-1.16.5.tar.gz to our FTP" ) && grep automake-1.16.5.tar.gz /Users/leo/git/VLCKit-3.6.1b1/libvlc/vlc/extras/tools/SHA512SUMS| sha512sum -c curl -f -L -- "http://downloads.videolan.org/pub/contrib/m4/m4-1.4.19.tar.gz" > "m4-1.4.19.tar.gz.tmp" && touch m4-1.4.19.tar.gz.tmp && mv m4-1.4.19.tar.gz.tmp m4-1.4.19.tar.gz || ( curl -f -L -- "http://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.gz" > "m4-1.4.19.tar.gz.tmp" && touch m4-1.4.19.tar.gz.tmp && mv m4-1.4.19.tar.gz.tmp m4-1.4.19.tar.gz && echo "Please upload package m4-1.4.19.tar.gz to our FTP" ) && grep m4-1.4.19.tar.gz /Users/leo/git/VLCKit-3.6.1b1/libvlc/vlc/extras/tools/SHA512SUMS| sha512sum -c curl -f -L -- "http://downloads.videolan.org/pub/contrib/libtool/libtool-2.4.7.tar.gz" > "libtool-2.4.7.tar.gz.tmp" && touch libtool-2.4.7.tar.gz.tmp && mv libtool-2.4.7.tar.gz.tmp libtool-2.4.7.tar.gz || ( curl -f -L -- "http://ftp.gnu.org/gnu/libtool/libtool-2.4.7.tar.gz" > "libtool-2.4.7.tar.gz.tmp" && touch libtool-2.4.7.tar.gz.tmp && mv libtool-2.4.7.tar.gz.tmp libtool-2.4.7.tar.gz && echo "Please upload package libtool-2.4.7.tar.gz to our FTP" ) && grep libtool-2.4.7.tar.gz /Users/leo/git/VLCKit-3.6.1b1/libvlc/vlc/extras/tools/SHA512SUMS| sha512sum -c curl -f -L -- "http://downloads.videolan.org/pub/contrib/help2man/help2man-1.47.6.tar.xz" > "help2man-1.47.6.tar.xz.tmp" && touch help2man-1.47.6.tar.xz.tmp && mv help2man-1.47.6.tar.xz.tmp help2man-1.47.6.tar.xz || ( curl -f -L -- "http://ftp.gnu.org/gnu/help2man/help2man-1.47.6.tar.xz" > "help2man-1.47.6.tar.xz.tmp" && touch help2man-1.47.6.tar.xz.tmp && mv help2man-1.47.6.tar.xz.tmp help2man-1.47.6.tar.xz && echo "Please upload package help2man-1.47.6.tar.xz to our FTP" ) && grep help2man-1.47.6.tar.xz /Users/leo/git/VLCKit-3.6.1b1/libvlc/vlc/extras/tools/SHA512SUMS| sha512sum -c curl -f -L -- "http://downloads.videolan.org/pub/contrib/cmake/cmake-3.17.0.tar.gz" > "cmake-3.17.0.tar.gz.tmp" && touch cmake-3.17.0.tar.gz.tmp && mv cmake-3.17.0.tar.gz.tmp cmake-3.17.0.tar.gz || ( curl -f -L -- "http://www.cmake.org/files/v3.17/cmake-3.17.0.tar.gz" > "cmake-3.17.0.tar.gz.tmp" && touch cmake-3.17.0.tar.gz.tmp && mv cmake-3.17.0.tar.gz.tmp cmake-3.17.0.tar.gz && echo "Please upload package cmake-3.17.0.tar.gz to our FTP" ) && grep cmake-3.17.0.tar.gz /Users/leo/git/VLCKit-3.6.1b1/libvlc/vlc/extras/tools/SHA512SUMS| sha512sum -c curl -f -L -- "http://downloads.videolan.org/pub/contrib/yasm/yasm-1.3.0.tar.gz" > "yasm-1.3.0.tar.gz.tmp" && touch yasm-1.3.0.tar.gz.tmp && mv yasm-1.3.0.tar.gz.tmp yasm-1.3.0.tar.gz || ( curl -f -L -- "http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz" > "yasm-1.3.0.tar.gz.tmp" && touch yasm-1.3.0.tar.gz.tmp && mv yasm-1.3.0.tar.gz.tmp yasm-1.3.0.tar.gz && echo "Please upload package yasm-1.3.0.tar.gz to our FTP" ) && grep yasm-1.3.0.tar.gz /Users/leo/git/VLCKit-3.6.1b1/libvlc/vlc/extras/tools/SHA512SUMS| sha512sum -c curl -f -L -- "http://downloads.videolan.org/pub/contrib/ragel/ragel-6.10.tar.gz" > "ragel-6.10.tar.gz.tmp" && touch ragel-6.10.tar.gz.tmp && mv ragel-6.10.tar.gz.tmp ragel-6.10.tar.gz || ( curl -f -L -- "http://www.colm.net/files/ragel/ragel-6.10.tar.gz" > "ragel-6.10.tar.gz.tmp" && touch ragel-6.10.tar.gz.tmp && mv ragel-6.10.tar.gz.tmp ragel-6.10.tar.gz && echo "Please upload package ragel-6.10.tar.gz to our FTP" ) && grep ragel-6.10.tar.gz /Users/leo/git/VLCKit-3.6.1b1/libvlc/vlc/extras/tools/SHA512SUMS| sha512sum -c curl -f -L -- "http://downloads.videolan.org/pub/contrib/protobuf/protobuf-3.1.0.tar.gz" > "protobuf-3.1.0.tar.gz.tmp" && touch protobuf-3.1.0.tar.gz.tmp && mv protobuf-3.1.0.tar.gz.tmp protobuf-3.1.0.tar.gz || ( curl -f -L -- "https://github.com/google/protobuf/releases/download/v3.1.0/protobuf-cpp-3.1.0.tar.gz" > "protobuf-3.1.0.tar.gz.tmp" && touch protobuf-3.1.0.tar.gz.tmp && mv protobuf-3.1.0.tar.gz.tmp protobuf-3.1.0.tar.gz && echo "Please upload package protobuf-3.1.0.tar.gz to our FTP" ) && grep protobuf-3.1.0.tar.gz /Users/leo/git/VLCKit-3.6.1b1/libvlc/vlc/extras/tools/SHA512SUMS| sha512sum -c curl -f -L -- "http://downloads.videolan.org/pub/contrib/ant/apache-ant-1.9.7.tar.bz2" > "apache-ant-1.9.7.tar.bz2.tmp" && touch apache-ant-1.9.7.tar.bz2.tmp && mv apache-ant-1.9.7.tar.bz2.tmp apache-ant-1.9.7.tar.bz2 || ( curl -f -L -- "http://mir2.ovh.net/ftp.apache.org/dist/ant/binaries/apache-ant-1.9.7-bin.tar.bz2" > "apache-ant-1.9.7.tar.bz2.tmp" && touch apache-ant-1.9.7.tar.bz2.tmp && mv apache-ant-1.9.7.tar.bz2.tmp apache-ant-1.9.7.tar.bz2 && echo "Please upload package apache-ant-1.9.7.tar.bz2 to our FTP" ) && grep apache-ant-1.9.7.tar.bz2 /Users/leo/git/VLCKit-3.6.1b1/libvlc/vlc/extras/tools/SHA512SUMS| sha512sum -c curl -f -L -- "http://downloads.videolan.org/pub/contrib/xz/xz-5.2.2.tar.bz2" > "xz-5.2.2.tar.bz2.tmp" && touch xz-5.2.2.tar.bz2.tmp && mv xz-5.2.2.tar.bz2.tmp xz-5.2.2.tar.bz2 || ( curl -f -L -- "http://tukaani.org/xz/xz-5.2.2.tar.bz2" > "xz-5.2.2.tar.bz2.tmp" && touch xz-5.2.2.tar.bz2.tmp && mv xz-5.2.2.tar.bz2.tmp xz-5.2.2.tar.bz2 && echo "Please upload package xz-5.2.2.tar.bz2 to our FTP" ) && grep xz-5.2.2.tar.bz2 /Users/leo/git/VLCKit-3.6.1b1/libvlc/vlc/extras/tools/SHA512SUMS| sha512sum -c % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time % Total % Received % Xferd Average Speed Time Time Time Current % TTime otal % R Time Currentece ive d % X f e r d Av e r a g e Sp e ed Time Time Time Current Dload Dl U p oad Upload l T oDtlaola d SUppelnota d LTootaad e Tolft Speed Spent Left a 0S pl e e 0 d 0 S p e0n t Left Sp 0 0 e 00e d 0 0 0 0 0 0 0 0 --:- - : - 0- - - :0--:-- 0 0 0 --: --:-- --:--:-- --:--:-- 0--:--:-0- 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 % Total % Rec 0 e-i-v:e-d- :%- -X f-erd Aver-:--:-- --:--:-- 0age Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- % Total % Received % Xf e r%d T Average Sopt0eaeld Time T ime % TRiemcee i vCed u%rre Xfnte r d A v e r a g e S p e e d T i m e Tim e D l o aTdi m eU p lCouardrent T o t a l S p e n t L e f t S pDeleoda 0 U0p l o a d0 T o t0 al 0 S p e0n t Left Spe ed 0 153 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 0 153 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 188k 100 188k 0 0 2104k 0 --:--:-- --:--:-- --:--:-- 2117k usage: sha512sum [-bctwz] [files ...] make: *** [help2man-1.47.6.tar.xz] Error 1 make: *** Deleting file `help2man-1.47.6.tar.xz' make: *** Waiting for unfinished jobs.... 100 382k 100 382k 0 0 3777k 0 --:--:-- --:--:-- --:--:-- 3788k usage: sha512sum [-bctwz] [files ...] make: *** [pkg-config-0.28-1.tar.gz] Error 1 make: *** Deleting file `pkg-config-0.28-1.tar.gz' 1 0603 1 270343kk 1 0 00 1 2 0 4 k0 3 307 5 k 0 505 5-6-k: - - : - - 0- --:--:--:--:-- -- --:--:--:--:-- -3 3-6-6:k--:-- 5548k 56 1893k 56 1077k 0 0 4789k 0 --:--:-- --:--:-- --:--:-- 4788kusage: sha512sum [-bctwz] [files ...] make: *** [ragel-6.10.tar.gz] Error 1 make: *** Deleting file `ragel-6.10.tar.gz' 100 2884k 100 2884k 0 0 9670k 0 --:--:-- --:--:-- --:--:-- 9647k: - - :0- -- --:--:--:--:-- -- -4:9-0-0:k-- --:--:-- 3334k usage: sha512sum [-bctwz] [files ...] make: *** [m4-1.4.19.tar.gz] Error 1 make: *** Deleting file `m4-1.4.19.tar.gz' 100 1164k 100 1164k 0 0 3751k 0 --:--:-- --:--:-- --:--:-- 3745k 100 1893k 100 1893k 0 0 5964k 0 --:--:-- --:--:-- --:--:-- 5954k usage: sha512sum [-bctwz] [files ...] make: *** [xz-5.2.2.tar.bz2] Error 1 make: *** Deleting file `xz-5.2.2.tar.bz2' usage: sha512sum [-bctwz] [files ...] make: *** [libtool-2.4.7.tar.gz] Error 1 make: *** Deleting file `libtool-2.4.7.tar.gz' 100 2333k 100 2333k 0 0 5309k 0 --:--:-- --:--:-- --:--:-- 5302k usage: sha512sum [-bctwz] [files ...] make: *** [automake-1.16.5.tar.gz] Error 1 make: *** Deleting file `automake-1.16.5.tar.gz' 100 4013k 100 4013k 0 0 8996k 0 --:--:-- --:--:-- --:--:-- 8978k usage: sha512sum [-bctwz] [files ...] make: *** [protobuf-3.1.0.tar.gz] Error 1 make: *** Deleting file `protobuf-3.1.0.tar.gz' 100 4289k 100 4289k 0 0 9215k 0 --:--:-- --:--:-- --:--:-- 9204k usage: sha512sum [-bctwz] [files ...] make: *** [apache-ant-1.9.7.tar.bz2] Error 1 make: *** Deleting file `apache-ant-1.9.7.tar.bz2' 100 9244k 100 9244k 0 0 16.0M 0 --:--:-- --:--:-- --:--:-- 16.0M usage: sha512sum [-bctwz] [files ...] make: *** [cmake-3.17.0.tar.gz] Error 1 make: *** Deleting file `cmake-3.17.0.tar.gz' 100 1956k 100 1956k 0 0 2221k 0 --:--:-- --:--:-- --:--:-- 2221k Please upload package autoconf-2.71.tar.gz to our FTP usage: sha512sum [-bctwz] [files ...] make: *** [autoconf-2.71.tar.gz] Error 1 make: *** Deleting file `autoconf-2.71.tar.gz' 100 1457k 100 1457k 0 0 754k 0 0:00:01 0:00:01 --:--:-- 754k Please upload package yasm-1.3.0.tar.gz to our FTP usage: sha512sum [-bctwz] [files ...] make: *** [yasm-1.3.0.tar.gz] Error 1 make: *** Deleting file `yasm-1.3.0.tar.gz'
I face the same while trying to build for iOS Simulator.
vlc4 has same issue when use xcode 16。 XCode:Version 16.0 Apple M1: MacOS 15.0.1
@leo based on your errors after calling
compileAndBuild.sh
a temporary workaround that worked for me on MacOS is to go to your vlckit dir and run this script after a failed compileAndBuild.shcd libvlc/vlc/extra/tools curl -f -L -- "http://downloads.videolan.org/pub/contrib/config.guess/config.guess-948ae97ca5703224bd3eada06b7a69f40dd15a02" > "config.guess-948ae97ca5703224bd3eada06b7a69f40dd15a02.tmp" && touch config.guess-948ae97ca5703224bd3eada06b7a69f40dd15a02.tmp && mv config.guess-948ae97ca5703224bd3eada06b7a69f40dd15a02.tmp config.guess-948ae97ca5703224bd3eada06b7a69f40dd15a02 || ( curl -f -L -- "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=948ae97ca5703224bd3eada06b7a69f40dd15a02" > "config.guess-948ae97ca5703224bd3eada06b7a69f40dd15a02.tmp" && touch config.guess-948ae97ca5703224bd3eada06b7a69f40dd15a02.tmp && mv config.guess-948ae97ca5703224bd3eada06b7a69f40dd15a02.tmp config.guess-948ae97ca5703224bd3eada06b7a69f40dd15a02 && echo "Please upload this package config.guess-948ae97ca5703224bd3eada06b7a69f40dd15a02 to our FTP" ) && grep config.guess-948ae97ca5703224bd3eada06b7a69f40dd15a02 /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check curl -f -L -- "http://downloads.videolan.org/pub/contrib/config.sub/config.sub-948ae97ca5703224bd3eada06b7a69f40dd15a02" > "config.sub-948ae97ca5703224bd3eada06b7a69f40dd15a02.tmp" && touch config.sub-948ae97ca5703224bd3eada06b7a69f40dd15a02.tmp && mv config.sub-948ae97ca5703224bd3eada06b7a69f40dd15a02.tmp config.sub-948ae97ca5703224bd3eada06b7a69f40dd15a02 || ( curl -f -L -- "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=948ae97ca5703224bd3eada06b7a69f40dd15a02" > "config.sub-948ae97ca5703224bd3eada06b7a69f40dd15a02.tmp" && touch config.sub-948ae97ca5703224bd3eada06b7a69f40dd15a02.tmp && mv config.sub-948ae97ca5703224bd3eada06b7a69f40dd15a02.tmp config.sub-948ae97ca5703224bd3eada06b7a69f40dd15a02 && echo "Please upload this package config.sub-948ae97ca5703224bd3eada06b7a69f40dd15a02 to our FTP" ) && grep config.sub-948ae97ca5703224bd3eada06b7a69f40dd15a02 /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check curl -f -L -- "http://downloads.videolan.org/pub/contrib/autoconf/autoconf-2.72.tar.gz" > "autoconf-2.72.tar.gz.tmp" && touch autoconf-2.72.tar.gz.tmp && mv autoconf-2.72.tar.gz.tmp autoconf-2.72.tar.gz || ( curl -f -L -- "http://ftp.gnu.org/gnu/autoconf/autoconf-2.72.tar.gz" > "autoconf-2.72.tar.gz.tmp" && touch autoconf-2.72.tar.gz.tmp && mv autoconf-2.72.tar.gz.tmp autoconf-2.72.tar.gz && echo "Please upload this package autoconf-2.72.tar.gz to our FTP" ) && grep autoconf-2.72.tar.gz /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check curl -f -L -- "http://downloads.videolan.org/pub/contrib/pkgconfiglite/pkg-config-0.28-1.tar.gz" > "pkg-config-0.28-1.tar.gz.tmp" && touch pkg-config-0.28-1.tar.gz.tmp && mv pkg-config-0.28-1.tar.gz.tmp pkg-config-0.28-1.tar.gz || ( curl -f -L -- "http://downloads.sourceforge.net/project/pkgconfiglite/0.28-1/pkg-config-lite-0.28-1.tar.gz" > "pkg-config-0.28-1.tar.gz.tmp" && touch pkg-config-0.28-1.tar.gz.tmp && mv pkg-config-0.28-1.tar.gz.tmp pkg-config-0.28-1.tar.gz && echo "Please upload this package pkg-config-0.28-1.tar.gz to our FTP" ) && grep pkg-config-0.28-1.tar.gz /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check curl -f -L -- "http://downloads.videolan.org/pub/contrib/m4/m4-1.4.19.tar.gz" > "m4-1.4.19.tar.gz.tmp" && touch m4-1.4.19.tar.gz.tmp && mv m4-1.4.19.tar.gz.tmp m4-1.4.19.tar.gz || ( curl -f -L -- "http://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.gz" > "m4-1.4.19.tar.gz.tmp" && touch m4-1.4.19.tar.gz.tmp && mv m4-1.4.19.tar.gz.tmp m4-1.4.19.tar.gz && echo "Please upload this package m4-1.4.19.tar.gz to our FTP" ) && grep m4-1.4.19.tar.gz /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check curl -f -L -- "http://downloads.videolan.org/pub/contrib/automake/automake-1.16.5.tar.gz" > "automake-1.16.5.tar.gz.tmp" && touch automake-1.16.5.tar.gz.tmp && mv automake-1.16.5.tar.gz.tmp automake-1.16.5.tar.gz || ( curl -f -L -- "http://ftp.gnu.org/gnu/automake/automake-1.16.5.tar.gz" > "automake-1.16.5.tar.gz.tmp" && touch automake-1.16.5.tar.gz.tmp && mv automake-1.16.5.tar.gz.tmp automake-1.16.5.tar.gz && echo "Please upload this package automake-1.16.5.tar.gz to our FTP" ) && grep automake-1.16.5.tar.gz /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check curl -f -L -- "http://downloads.videolan.org/pub/contrib/libtool/libtool-2.4.7.tar.gz" > "libtool-2.4.7.tar.gz.tmp" && touch libtool-2.4.7.tar.gz.tmp && mv libtool-2.4.7.tar.gz.tmp libtool-2.4.7.tar.gz || ( curl -f -L -- "http://ftp.gnu.org/gnu/libtool/libtool-2.4.7.tar.gz" > "libtool-2.4.7.tar.gz.tmp" && touch libtool-2.4.7.tar.gz.tmp && mv libtool-2.4.7.tar.gz.tmp libtool-2.4.7.tar.gz && echo "Please upload this package libtool-2.4.7.tar.gz to our FTP" ) && grep libtool-2.4.7.tar.gz /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check curl -f -L -- "http://downloads.videolan.org/pub/contrib/help2man/help2man-1.47.6.tar.xz" > "help2man-1.47.6.tar.xz.tmp" && touch help2man-1.47.6.tar.xz.tmp && mv help2man-1.47.6.tar.xz.tmp help2man-1.47.6.tar.xz || ( curl -f -L -- "http://ftp.gnu.org/gnu/help2man/help2man-1.47.6.tar.xz" > "help2man-1.47.6.tar.xz.tmp" && touch help2man-1.47.6.tar.xz.tmp && mv help2man-1.47.6.tar.xz.tmp help2man-1.47.6.tar.xz && echo "Please upload this package help2man-1.47.6.tar.xz to our FTP" ) && grep help2man-1.47.6.tar.xz /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check curl -f -L -- "http://downloads.videolan.org/pub/contrib/xz/xz-5.4.1.tar.bz2" > "xz-5.4.1.tar.bz2.tmp" && touch xz-5.4.1.tar.bz2.tmp && mv xz-5.4.1.tar.bz2.tmp xz-5.4.1.tar.bz2 || ( curl -f -L -- "http://tukaani.org/xz/xz-5.4.1.tar.bz2" > "xz-5.4.1.tar.bz2.tmp" && touch xz-5.4.1.tar.bz2.tmp && mv xz-5.4.1.tar.bz2.tmp xz-5.4.1.tar.bz2 && echo "Please upload this package xz-5.4.1.tar.bz2 to our FTP" ) && grep xz-5.4.1.tar.bz2 /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check curl -f -L -- "http://downloads.videolan.org/pub/contrib/cmake/cmake-3.29.5.tar.gz" > "cmake-3.29.5.tar.gz.tmp" && touch cmake-3.29.5.tar.gz.tmp && mv cmake-3.29.5.tar.gz.tmp cmake-3.29.5.tar.gz || ( curl -f -L -- "http://www.cmake.org/files/v3.29/cmake-3.29.5.tar.gz" > "cmake-3.29.5.tar.gz.tmp" && touch cmake-3.29.5.tar.gz.tmp && mv cmake-3.29.5.tar.gz.tmp cmake-3.29.5.tar.gz && echo "Please upload this package cmake-3.29.5.tar.gz to our FTP" ) && grep cmake-3.29.5.tar.gz /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check curl -f -L -- "http://downloads.videolan.org/pub/contrib/ant/apache-ant-1.9.7.tar.bz2" > "apache-ant-1.9.7.tar.bz2.tmp" && touch apache-ant-1.9.7.tar.bz2.tmp && mv apache-ant-1.9.7.tar.bz2.tmp apache-ant-1.9.7.tar.bz2 || ( curl -f -L -- "http://mir2.ovh.net/ftp.apache.org/dist/ant/binaries/apache-ant-1.9.7-bin.tar.bz2" > "apache-ant-1.9.7.tar.bz2.tmp" && touch apache-ant-1.9.7.tar.bz2.tmp && mv apache-ant-1.9.7.tar.bz2.tmp apache-ant-1.9.7.tar.bz2 && echo "Please upload this package apache-ant-1.9.7.tar.bz2 to our FTP" ) && grep apache-ant-1.9.7.tar.bz2 /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check curl -f -L -- "http://downloads.videolan.org/pub/contrib/bison/bison-3.8.2.tar.xz" > "bison-3.8.2.tar.xz.tmp" && touch bison-3.8.2.tar.xz.tmp && mv bison-3.8.2.tar.xz.tmp bison-3.8.2.tar.xz || ( curl -f -L -- "http://ftp.gnu.org/gnu/bison/bison-3.8.2.tar.xz" > "bison-3.8.2.tar.xz.tmp" && touch bison-3.8.2.tar.xz.tmp && mv bison-3.8.2.tar.xz.tmp bison-3.8.2.tar.xz && echo "Please upload this package bison-3.8.2.tar.xz to our FTP" ) && grep bison-3.8.2.tar.xz /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check curl -f -L -- "http://downloads.videolan.org/pub/contrib/nasm/nasm-2.14.tar.gz" > "nasm-2.14.tar.gz.tmp" && touch nasm-2.14.tar.gz.tmp && mv nasm-2.14.tar.gz.tmp nasm-2.14.tar.gz || ( curl -f -L -- "http://www.nasm.us/pub/nasm/releasebuilds/2.14/nasm-2.14.tar.gz" > "nasm-2.14.tar.gz.tmp" && touch nasm-2.14.tar.gz.tmp && mv nasm-2.14.tar.gz.tmp nasm-2.14.tar.gz && echo "Please upload this package nasm-2.14.tar.gz to our FTP" ) && grep nasm-2.14.tar.gz /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check curl -f -L -- "http://downloads.videolan.org/pub/contrib/gettext/gettext-0.22.tar.gz" > "gettext-0.22.tar.gz.tmp" && touch gettext-0.22.tar.gz.tmp && mv gettext-0.22.tar.gz.tmp gettext-0.22.tar.gz || ( curl -f -L -- "http://ftp.gnu.org/gnu/gettext/gettext-0.22.tar.gz" > "gettext-0.22.tar.gz.tmp" && touch gettext-0.22.tar.gz.tmp && mv gettext-0.22.tar.gz.tmp gettext-0.22.tar.gz && echo "Please upload this package gettext-0.22.tar.gz to our FTP" ) && grep gettext-0.22.tar.gz /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check curl -f -L -- "http://downloads.videolan.org/pub/contrib/meson/meson-1.4.2.tar.gz" > "meson-1.4.2.tar.gz.tmp" && touch meson-1.4.2.tar.gz.tmp && mv meson-1.4.2.tar.gz.tmp meson-1.4.2.tar.gz || ( curl -f -L -- "https://github.com/mesonbuild/meson/releases/download/1.4.2/meson-1.4.2.tar.gz" > "meson-1.4.2.tar.gz.tmp" && touch meson-1.4.2.tar.gz.tmp && mv meson-1.4.2.tar.gz.tmp meson-1.4.2.tar.gz && echo "Please upload this package meson-1.4.2.tar.gz to our FTP" ) && grep meson-1.4.2.tar.gz /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check curl -f -L -- "http://downloads.videolan.org/pub/contrib/ninja/ninja-1.11.1.tar.gz" > "ninja-1.11.1.tar.gz.tmp" && touch ninja-1.11.1.tar.gz.tmp && mv ninja-1.11.1.tar.gz.tmp ninja-1.11.1.tar.gz || ( curl -f -L -- "https://github.com/Kitware/ninja/archive/refs/tags/v1.11.1.g95dee.kitware.jobserver-1.tar.gz" > "ninja-1.11.1.tar.gz.tmp" && touch ninja-1.11.1.tar.gz.tmp && mv ninja-1.11.1.tar.gz.tmp ninja-1.11.1.tar.gz && echo "Please upload this package ninja-1.11.1.tar.gz to our FTP" ) && grep ninja-1.11.1.tar.gz /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/extras/tools/SHA512SUMS| shasum -a 512 --check
looks like tools.mak is defining the sha512sum for macos incorrectly after either MacOS update or XCode update
I am getting even jankier and trying to download https://www.colm.net/files/ragel/ragel-6.10.tar.gz and place it where it needs to be as I'm getting issues with it downloading via the buildscript...
Edited by Conor Noonan@krazykonr the version i try to compile use
autoconf-2.71.tar.gz
and not 2.72. The 2.71 is not in thehttp://downloads.videolan.org/pub/contrib/autoconf
folder. This problem may be linked to a macOS or Xcode update as I had no trouble compiling VLC a few months ago.@fkuehne Can you verify or explain why the script doesn't fall back to the original GNU server as you say?
@leo understood - I missed that, just saw that we had similar errors. It did correctly fallback to gnu ftp though, as you can tell by parsing the whole line;
curl -f -L -- "http://downloads.videolan.org/pub/contrib/autoconf/autoconf-2.71.tar.gz" > "autoconf-2.71.tar.gz.tmp" && touch autoconf-2.71.tar.gz.tmp && mv autoconf-2.71.tar.gz.tmp autoconf-2.71.tar.gz || ( curl -f -L -- "http://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.gz" > "autoconf-2.71.tar.gz.tmp" && touch autoconf-2.71.tar.gz.tmp && mv autoconf-2.71.tar.gz.tmp autoconf-2.71.tar.gz && echo "Please upload package autoconf-2.71.tar.gz to our FTP" ) && grep autoconf-2.71.tar.gz /Users/leo/git/VLCKit-3.6.1b1/libvlc/vlc/extras/tools/SHA512SUMS| sha512sum -c
The error is the shasum call
sha512sum -c
. see:Please upload package autoconf-2.71.tar.gz to our FTP usage: sha512sum [-bctwz] [files ...] <--- This shasum call causes the error make: *** [autoconf-2.71.tar.gz] Error 1 make: *** Deleting file `autoconf-2.71.tar.gz'
If you do what I said, replace
sha512sum -c
withshasum -a 512 --check
, but using your required build tool curl calls, you may have success passing this stage of the compileAndBuild scriptEdited by Conor Noonan- Please register or sign in to reply
- Felix Paul Kühne marked #739 (closed) as a duplicate of this issue
marked #739 (closed) as a duplicate of this issue
- Felix Paul Kühne marked this issue as related to #739 (closed)
marked this issue as related to #739 (closed)
- Resolved by leo
Keeping the build issues in this thread, after doing some trickery to keep the build script pushing further after shasum error, manually downloading ragel and placing it in the necessary
contrib-$platform
dirs, I get some missing directories during build.Build succeeded! [info] Finished compiling libvlc for aarch64 with SDK version 18.0, platform iphonesimulator [info] building simulator static lib for iphone Directory /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/build-iphone-arm64 doesn't exist Directory /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/build-iphone-x86_64 doesn't exist [info] building device static lib for iphone Directory /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/build-iphoneos-armv7 doesn't exist Directory /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/build-iphone-x86_64 doesn't exist Directory /Users/conornoonan/dev/vid/vlckit/libvlc/vlc/build-iphone-arm64 doesn't exist [info] all done
4 replies Last reply by leo
- Maintainer
This patch against libvlc will solve this problem on macOS 15. A merge request will come. 0001-extras-tools-prefer-shasum-over-sha512sum.patch
- Felix Paul Kühne mentioned in merge request !346 (merged)
mentioned in merge request !346 (merged)
- Felix Paul Kühne closed with commit 8001daf8
closed with commit 8001daf8
- Felix Paul Kühne closed with merge request !346 (merged)
closed with merge request !346 (merged)