Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hunk #1 FAILED at 2669. #30

Open
j796160836 opened this issue Aug 16, 2017 · 1 comment
Open

Hunk #1 FAILED at 2669. #30

j796160836 opened this issue Aug 16, 2017 · 1 comment

Comments

@j796160836
Copy link

Hi, I cannot using your script to build.
It stuck at building ffmpeg

Building ffmpeg for android ...
Couldn't patch ffmpeg configure script!

I saw details log, it says

patching file configure
Hunk #1 FAILED at 2669.
1 out of 1 hunk FAILED -- saving rejects to file configure.rej

How can I do to solve this problem?

@jaccek
Copy link

jaccek commented Aug 30, 2017

This project has been updated 3 years ago. configure file of ffmpeg has been changed since that time. I've solved this issue by replacing content of patches/ffmpeg-configure.patch file to code below

--- configure.orig	2014-06-22 18:55:31.000000000 -0700
+++ configure	2014-06-22 18:55:38.000000000 -0700
@@ -3333,10 +3333,10 @@
 SLIBSUF=".so"
 SLIBNAME='$(SLIBPREF)$(FULLNAME)$(SLIBSUF)'
 SLIBNAME_WITH_VERSION='$(SLIBNAME).$(LIBVERSION)'
-SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMAJOR)'
+SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME)-$(LIBMAJOR)$(SLIBSUF)'
 LIB_INSTALL_EXTRA_CMD='$$(RANLIB) "$(LIBDIR)/$(LIBNAME)"'
-SLIB_INSTALL_NAME='$(SLIBNAME_WITH_VERSION)'
-SLIB_INSTALL_LINKS='$(SLIBNAME_WITH_MAJOR) $(SLIBNAME)'
+SLIB_INSTALL_NAME='$(SLIBNAME_WITH_MAJOR)'
+SLIB_INSTALL_LINKS='$(SLIBNAME)'
 VERSION_SCRIPT_POSTPROCESS_CMD="cat"

 asflags_filter=echo
 cflags_filter=echo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants