Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Building ffmpeg keeps failing on latest master branch #516

Closed
dummy-amit opened this issue Aug 7, 2020 · 5 comments
Closed

Building ffmpeg keeps failing on latest master branch #516

dummy-amit opened this issue Aug 7, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@dummy-amit
Copy link

Description
Building ffmpeg keeps failing on latest master branch

Expected behavior
Expected to get android.aar and ffmpeg binaries

Current behavior
Build is failing with this log
INFO: Cleaning workspace for ffmpeg sed: can't read /home/amit/work/mobile-ffmpeg/src/ffmpeg/libavutil/log.c: No such file or directory /home/amit/work/mobile-ffmpeg/build/android-ffmpeg.sh: line 360: ./configure: No such file or directory

Logs
https://ghostbin.co/paste/2kk6h

Environment

  • Platform: Android
  • Architecture: All
  • Version (if applicable) 4.4LTS
  • Source branch (if applicable) master
  • Android NDK version (if applicable) 21.3.6528147

Other
Build works fine if I go couple commits back i.e. 8bc3165
But fails on latest commit on master

@tanersener tanersener self-assigned this Aug 10, 2020
@tanersener tanersener added the enhancement New feature or request label Aug 10, 2020
@tanersener
Copy link
Owner

I can't reach ghostbin.co and see your logs. But as far as I know, some linux distributions which use curl and gnutls based git clients can't clone the master. They fail with the following error.

Cloning into 'mobile-ffmpeg-master'...
remote: Enumerating objects: 30317, done.
remote: Counting objects: 100% (30317/30317), done.
remote: Compressing objects: 100% (23151/23151), done.
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

The meaning of this message is: repository is too big and some git clients don't work well with big repos. So, I'm not sure if we can fix this easily. Tried various git configuration settings but couldn't find a working one.

As a workaround, you can:

  • Download the source code (as a zip or tar.gz file) from release v4.4
  • Download master.git.tar.gz from release v4.4
  • Unpack the source and master.git.tar.gz into the same folder. master.git.tar.gz includes the git folder of the repository
  • After that you can run top level build scripts

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions
Copy link

github-actions bot commented Feb 9, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@tanersener tanersener mentioned this issue Mar 7, 2021
@tanersener tanersener added wontfix This will not be worked on and removed needs-analysis labels Mar 20, 2021
@tanersener
Copy link
Owner

This is one of the issues we're facing because MobileFFmpeg repository became too big. We don't have an easy solution for this. I suggest switching to FFmpegKit if you get this error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants