mpv-player / mpv-build

🔨 Helper scripts to compile mpv on Linux
http://mpv.io
404 stars 104 forks source link

Raspbian Buster issue autoreconf: aclocal failed with exit status: 255 #143

Closed 23ewrdtf closed 1 year ago

23ewrdtf commented 3 years ago

Hi,

I tried to follow this instructions to build mpv on a Raspberry Pi https://nwgat.ninja/quick-easy-compiling-mpv-for-raspberry-pi/

Any help/advice appreciated.

- sudo apt-get install -y gperf bison flex autoconf automake make texinfo help2man libtool libtool-bin ncurses-dev git yasm mercurial cmake cmake-curses-gui libfribidi-dev checkinstall libfontconfig1-dev libgl1-mesa-dev libgles2-mesa-dev gnutls-dev libsmbclient-dev libpulse-dev libbluray-dev libdvdread-dev libluajit-5.1-dev libjpeg-dev libv4l-dev libcdio-cdda-dev libcdio-paranoia-dev
- git clone https://github.com/mpv-player/mpv-build.git
- cd mpv-build
- echo --enable-mmal >> ffmpeg_options
- ./use-mpv-release
- ./use-ffmpeg-release
- ./update
- ./rebuild -j4
- sudo ./install
cat /etc/*-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Here is a log. It fails at pi@raspberrypi:~/mpv-build $ ./rebuild -j4

- sudo apt-get install -y gperf bison flex autoconf automake make texinfo help2man libtool libtool-bin ncurses-dev git yasm mercurial cmake cmake-curses-gui libfribidi-dev checkinstall libfontconfig1-dev libgl1-mesa-dev libgles2-mesa-dev gnutls-dev libsmbclient-dev libpulse-dev libbluray-dev libdvdread-dev libluajit-5.1-dev libjpeg-dev libv4l-dev libcdio-cdda-dev libcdio-paranoia-dev

- pi@raspberrypi:~ $ git clone https://github.com/mpv-player/mpv-build.git
Cloning into 'mpv-build'...
remote: Enumerating objects: 17, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 1029 (delta 8), reused 12 (delta 5), pack-reused 1012
Receiving objects: 100% (1029/1029), 179.84 KiB | 925.00 KiB/s, done.
Resolving deltas: 100% (626/626), done.

- pi@raspberrypi:~ $ cd mpv-build

- pi@raspberrypi:~/mpv-build $ echo --enable-mmal >> ffmpeg_options

- pi@raspberrypi:~/mpv-build $ ./use-mpv-release
Run ./update to actually update the sources based on the new selection.
Run ./rebuild to update the source and to compile the selected branch.
pi@raspberrypi:~/mpv-build $ ./use-ffmpeg-release
Run ./update to actually update the sources based on the new selection.
Run ./rebuild to update the source and to compile the selected branch.

- pi@raspberrypi:~/mpv-build $ ./update
+ git pull --rebase
Already up to date.
Current branch master is up to date.
+ do_clone_all
+ do_clone ffmpeg https://github.com/FFmpeg/FFmpeg.git
+ set -ex
+ test -e ffmpeg
+ git clone https://github.com/FFmpeg/FFmpeg.git ffmpeg
Cloning into 'ffmpeg'...
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 612452 (delta 0), reused 1 (delta 0), pack-reused 612446
Receiving objects: 100% (612452/612452), 247.18 MiB | 3.24 MiB/s, done.
Resolving deltas: 100% (480081/480081), done.
Checking out files: 100% (7420/7420), done.
+ cd ffmpeg
+ git remote set-url origin https://github.com/FFmpeg/FFmpeg.git
+ git fetch
+ do_clone libass https://github.com/libass/libass.git
+ set -ex
+ test -e libass
+ git clone https://github.com/libass/libass.git libass
Cloning into 'libass'...
remote: Enumerating objects: 64, done.
remote: Counting objects: 100% (64/64), done.
remote: Compressing objects: 100% (44/44), done.
remote: Total 7991 (delta 27), reused 44 (delta 12), pack-reused 7927
Receiving objects: 100% (7991/7991), 2.65 MiB | 1.31 MiB/s, done.
Resolving deltas: 100% (5457/5457), done.
+ cd libass
+ git remote set-url origin https://github.com/libass/libass.git
+ git fetch
+ do_clone mpv https://github.com/mpv-player/mpv.git
+ set -ex
+ test -e mpv
+ git clone https://github.com/mpv-player/mpv.git mpv
Cloning into 'mpv'...
remote: Enumerating objects: 40, done.
remote: Counting objects: 100% (40/40), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 287667 (delta 16), reused 3 (delta 1), pack-reused 287627
Receiving objects: 100% (287667/287667), 91.73 MiB | 2.79 MiB/s, done.
Resolving deltas: 100% (226765/226765), done.
+ cd mpv
+ git remote set-url origin https://github.com/mpv-player/mpv.git
+ git fetch
+ checkout ffmpeg master
+ local branch=master
+ [ -z  ]
+ [ -d config/ ]
+ [ -f config/branch-ffmpeg ]
+ cat config/branch-ffmpeg
+ branch=release
+ do_releasetag ffmpeg
+ local prefix=
+ prefix=n
+ cd ffmpeg
+ + gitgrep -v rc
 tag+ grep -v dev

+ + versort_with_prefixtail n -n
 1
+ sed -n -e s/^n\([0-9]\)/\1/p
+ sort+  -n -t . -k 1,1 -k 2,2sed -k -e 3,3 s/^/n/ -k
 4,4
+ version=n4.3.1
+ git checkout refs/tags/n4.3.1
Checking out files: 100% (1371/1371), done.
Note: checking out 'refs/tags/n4.3.1'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 6b6b9e593d Changelog: update
+ checkout libass master
+ local branch=master
+ [ -z  ]
+ [ -d config/ ]
+ [ -f config/branch-libass ]
+ do_gitmaster libass
+ set -ex
+ cd libass
+ git checkout origin/master
Note: checking out 'origin/master'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 7a85325 configure: Fix --enable-large-tiles
+ git remote prune origin
+ checkout mpv master
+ local branch=master
+ [ -z  ]
+ [ -d config/ ]
+ [ -f config/branch-mpv ]
+ cat config/branch-mpv
+ branch=release
+ do_releasetag mpv
+ local prefix=
+ prefix=v
+ cd mpv
+ git tag
+ grep -v rc
+ versort_with_prefix v
+ grep -v dev
+ sed -n -e s/^v\([0-9]\)/\1/p
+ sed -e s/^/v/
+ sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4
+ tail -n 1
+ version=v0.33.0
+ git checkout refs/tags/v0.33.0
Checking out files: 100% (37/37), done.
Note: checking out 'refs/tags/v0.33.0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0728b51498 Release 0.33.0
+ do_update_debian_versions
+ scripts/debian-update-versions
+ do_bootstrap
+ scripts/mpv-bootstrap
Downloading https://waf.io/waf-2.0.20...
Checksum verified.

- pi@raspberrypi:~/mpv-build $ ./rebuild -j4
+ git pull --rebase
Already up to date.
Current branch master is up to date.
+ do_clone_all
+ do_clone ffmpeg https://github.com/FFmpeg/FFmpeg.git
+ set -ex
+ test -e ffmpeg
+ cd ffmpeg
+ git remote set-url origin https://github.com/FFmpeg/FFmpeg.git
+ git fetch
+ do_clone libass https://github.com/libass/libass.git
+ set -ex
+ test -e libass
+ cd libass
+ git remote set-url origin https://github.com/libass/libass.git
+ git fetch
+ do_clone mpv https://github.com/mpv-player/mpv.git
+ set -ex
+ test -e mpv
+ cd mpv
+ git remote set-url origin https://github.com/mpv-player/mpv.git
+ git fetch
+ checkout ffmpeg master
+ local branch=master
+ [ -z  ]
+ [ -d config/ ]
+ [ -f config/branch-ffmpeg ]
+ cat config/branch-ffmpeg
+ branch=release
+ do_releasetag ffmpeg
+ local prefix=
+ prefix=n
+ cd ffmpeg
+ git tag
+ grep -v dev
+ versort_with_prefix n
+ + sed -e s/^/n/
+ sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4
+ sed -n -e s/^n\([0-9]\)/\1/p
grep+ tail -n 1
 -v rc
+ version=n4.3.1
+ git checkout refs/tags/n4.3.1
HEAD is now at 6b6b9e593d Changelog: update
+ checkout libass master
+ local branch=master
+ [ -z  ]
+ [ -d config/ ]
+ [ -f config/branch-libass ]
+ do_gitmaster libass
+ set -ex
+ cd libass
+ git checkout origin/master
HEAD is now at 7a85325 configure: Fix --enable-large-tiles
+ git remote prune origin
+ checkout mpv master
+ local branch=master
+ [ -z  ]
+ [ -d config/ ]
+ [ -f config/branch-mpv ]
+ cat config/branch-mpv
+ branch=release
+ do_releasetag mpv
+ local prefix=
+ prefix=v
+ cd mpv
+ + grep -v rc
+ grep -v dev
git tag
+ versort_with_prefix v
+ sed -e s/^/v/
+ sed -n -e s/^v\([0-9]\)/\1/p
+ tail -n 1
+ sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4
+ version=v0.33.0
+ git checkout refs/tags/v0.33.0
HEAD is now at 0728b51498 Release 0.33.0
+ do_update_debian_versions
+ scripts/debian-update-versions
+ do_bootstrap
+ scripts/mpv-bootstrap
Found 'waf', skipping download.
'distclean' finished successfully (0.040s)
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4 --output=aclocal.m4t
Unquoted string "teaching" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 2.
Unquoted string "research" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 2.
Unquoted string "applications" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 3.
Unquoted string "cuts" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 7.
Unquoted string "files" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 9.
Unquoted string "developers" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 9.
Unquoted string "coinor" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 11.
Unquoted string "coinor" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 12.
Semicolon seems to be missing at /usr/share/automake-1.16/Automake/Config.pm line 13.
Semicolon seems to be missing at /usr/share/automake-1.16/Automake/Config.pm line 14.
Unquoted string "debian" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 15.
Array found where operator expected at /usr/share/automake-1.16/Automake/Config.pm line 15, near "maintainers@lists"
Unquoted string "alioth" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 15.
Unquoted string "debian" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 15.
Unquoted string "org" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 15.
Unquoted string "libjs" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 17.
Unquoted string "coinor" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 18.
Semicolon seems to be missing at /usr/share/automake-1.16/Automake/Config.pm line 19.
Bareword found where operator expected at /usr/share/automake-1.16/Automake/Config.pm line 20, near "320efbaf626ddba948d00383d72911d3993965f22a34cf3b8df88cc9beb763e0"
        (Missing operator before efbaf626ddba948d00383d72911d3993965f22a34cf3b8df88cc9beb763e0?)
Bareword found where operator expected at /usr/share/automake-1.16/Automake/Config.pm line 21, near "83fd9f4a4469abe1af0a5391a7ae6fae56fb8ac0"
        (Missing operator before fd9f4a4469abe1af0a5391a7ae6fae56fb8ac0?)
Bareword found where operator expected at /usr/share/automake-1.16/Automake/Config.pm line 22, near "2fe8c8817f80bd67342b901698e426b6"
        (Missing operator before fe8c8817f80bd67342b901698e426b6?)
Unquoted string "documentation" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 23.
Bareword found where operator expected at /usr/share/automake-1.16/Automake/Config.pm line 24, near ")
 The"
        (Missing operator before The?)
Bareword found where operator expected at /usr/share/automake-1.16/Automake/Config.pm line 24, near ") is"
        (Missing operator before is?)
Unquoted string "teaching" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 25.
Unquoted string "research" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 25.
Unquoted string "applications" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 26.
Unquoted string "cuts" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 30.
Unquoted string "examples" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 32.
Unquoted string "https" may clash with future reserved word at /usr/share/automake-1.16/Automake/Config.pm line 33.
"use" not allowed in expression at /usr/share/automake-1.16/Automake/Config.pm line 2, at end of line
syntax error at /usr/share/automake-1.16/Automake/Config.pm line 2, near "for use in "
"use" not allowed in expression at /usr/share/automake-1.16/Automake/Config.pm line 7, at end of line
Invalid version format (non-numeric data) at /usr/share/automake-1.16/Automake/Config.pm line 9, near "This package contains "
"use" not allowed in expression at /usr/share/automake-1.16/Automake/Config.pm line 25, at end of line
"use" not allowed in expression at /usr/share/automake-1.16/Automake/Config.pm line 30, at end of line
Invalid version format (non-numeric data) at /usr/share/automake-1.16/Automake/Config.pm line 32, near "This package contains "
Unknown regexp modifier "/r" at /usr/share/automake-1.16/Automake/Config.pm line 33, at end of line
Unknown regexp modifier "/j" at /usr/share/automake-1.16/Automake/Config.pm line 33, at end of line
Unknown regexp modifier "/e" at /usr/share/automake-1.16/Automake/Config.pm line 33, at end of line
/usr/share/automake-1.16/Automake/Config.pm has too many errors.
Compilation failed in require at /usr/bin/aclocal line 36.
BEGIN failed--compilation aborted at /usr/bin/aclocal line 36.
autoreconf: aclocal failed with exit status: 255
Dudemanguy commented 1 year ago

If you still have problems, please open a new issue.