Comments (7)
The compilation process tells me: "check failed: build libpng"
I feel a little sad!!!
from ffmpeg-apple-arm64-build.
build-libpng.log
正克隆到 'libpng'...
error: RPC 失败。curl 56 LibreSSL SSL_read: Operation timed out, errno 60
error: 预期仍然需要 50 个字节的正文
fatal: 在引用列表之后应该有一个 flush 包
check failed: download of libpng failed
from ffmpeg-apple-arm64-build.
he @Vargol
After I add the agent
X265 has such an error. What should I do?
iTerm log
➜ ffmpeg-compile git clone https://github.com/Vargol/ffmpeg-apple-arm64-build.git
正克隆到 'ffmpeg-apple-arm64-build'...
remote: Enumerating objects: 192, done.
remote: Counting objects: 100% (65/65), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 192 (delta 54), reused 50 (delta 42), pack-reused 127
接收对象中: 100% (192/192), 2.32 MiB | 1.35 MiB/s, 完成.
处理 delta 中: 100% (125/125), 完成.
➜ ffmpeg-compile cd ffmpeg-apple-arm64-build
➜ ffmpeg-apple-arm64-build git:(master) ./build.sh
No action set, all failures wil stop the script
base directory is /Users/lee/ffmpeg-compile/ffmpeg-apple-arm64-build
script directory is /Users/lee/ffmpeg-compile/ffmpeg-apple-arm64-build/build
test directory is /Users/lee/ffmpeg-compile/ffmpeg-apple-arm64-build/test
working directory is /Users/lee/ffmpeg-compile/ffmpeg-apple-arm64-build
tool directory is /Users/lee/ffmpeg-compile/ffmpeg-apple-arm64-build/tool
output directory is /Users/lee/ffmpeg-compile/ffmpeg-apple-arm64-build/out
prepare workspace
use 12 cpu threads
compile cmake
took 361s
compile pkg-config
took 97s
compile FriBidi
took 17s
compile zlib
took 8s
compile libpng
took 45s
compile brotli
took 35s
compile freetype
took 33s
compile harfbuzz
took 116s
compile libass
took 13s
compile x265
check failed: build x265
build-x265.log
/Users/lee/ffmpeg-compile/ffmpeg-apple-arm64-build/x265/x265_git/source/common/x86/ipfilter8.asm:576: ... from macro `PROLOGUE' defined here
[ 98%] Built target common
[100%] Linking CXX static library libx265.a
[100%] Built target x265-static
+ checkStatus 0 'build of x265 failed'
+ '[' 0 -ne 0 ']'
+ ln -sf ../10bit/libx265.a libx265_main10.a
+ ln -sf ../12bit/libx265.a libx265_main12.a
+ mv libx265.a libx265_main.a
+ libtool -static -o libx265.a libx265_main.a libx265_main10.a libx265_main12.a
Usage: /usr/local/opt/libtool/libexec/gnubin/libtool [OPTION]... [MODE-ARG]...
Try 'libtool --help' for more information.
+ checkStatus 1 'merge of x265 objects failed'
+ '[' 1 -ne 0 ']'
+ echo 'check failed: merge of x265 objects failed'
check failed: merge of x265 objects failed
+ exit 1
from ffmpeg-apple-arm64-build.
Hi, I'm afraid I'm on holidays so away from my computers.
This script was really designed to compile ffmpeg for arm64 from scratch with noting more than the Xcode tools installed.
I believe your current error is due to it using gnu's libtool (I'm guessing installed by brew) instead of apple's libtool.
I know macports causes some incompatibility too.
in the main build.sh script there is this line
export PATH=echo $PATH | sed 's/:/\n/g' | grep -v '/opt/local' | xargs | tr ' ' ':'
designed to stop it using anything installed by macports.
For now try hard coding libtool -static -o libx265.a libx265_main.a libx265_main10.a libx265_main12.a
to
/usr/bin/libtool -static -o libx265.a libx265_main.a libx265_main10.a libx265_main12.a
for now.
from ffmpeg-apple-arm64-build.
@Vargol
You mean comment out the "export PATH=echo $PATH | sed 's/:/\n/g' | grep -v '/opt/local' | xargs | tr ' ' ':'"?
...
/Users/lee/ffmpeg-compile/ffmpeg-apple-arm64-build/x265/x265_git/source/common/x86/ipfilter8.asm:576: ... from macro `PROLOGUE' defined here
[ 98%] Built target common
[100%] Linking CXX static library libx265.a
[100%] Built target x265-static
+ checkStatus 0 'build of x265 failed'
+ '[' 0 -ne 0 ']'
+ ln -sf ../10bit/libx265.a libx265_main10.a
+ ln -sf ../12bit/libx265.a libx265_main12.a
+ mv libx265.a libx265_main.a
+ libtool -static -o libx265.a libx265_main.a libx265_main10.a libx265_main12.a
Usage: /usr/local/opt/libtool/libexec/gnubin/libtool [OPTION]... [MODE-ARG]...
Try 'libtool --help' for more information.
+ checkStatus 1 'merge of x265 objects failed'
+ '[' 1 -ne 0 ']'
+ echo 'check failed: merge of x265 objects failed'
check failed: merge of x265 objects failed
+ exit 1
I try again and get the same error...
from ffmpeg-apple-arm64-build.
from ffmpeg-apple-arm64-build.
no response for a few months , closing the issue
from ffmpeg-apple-arm64-build.
Related Issues (20)
- Unable to compile on fresh install of M2 Ventura HOT 3
- MacBook Pro M1 Max - error compiling FFmpeg - libpng16.dylib arm64 but attempting to link with file built for macOS-x86_64 HOT 22
- check failed: build ffmpeg HOT 3
- Feature Request: bring avisynth branch up to date HOT 2
- Error applying option 'blend' to filter 'tvai_up': Option not found HOT 2
- aom av1: illegal instruction during test HOT 3
- check failed: installation of brotli failed HOT 17
- Can't Build AOM - i386 HOT 4
- What's the issue with just compiling the damn thing? HOT 3
- macOS Sonoma, new issues: brotli, libass, svt-av1 HOT 10
- check failed: build FriBidi HOT 1
- check failed: build pkg-config HOT 3
- fatal error: 'arm_neon_sve_bridge.h' file not found HOT 2
- check failed: build of ffmpeg failed HOT 24
- Github Actions HOT 1
- Skipping parts HOT 4
- fontconfig fails on undefined brotli symbols HOT 6
- Typo in build.sh HOT 1
- Adding ffplay to the build HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg-apple-arm64-build.