Created
October 6, 2025 22:03
-
-
Save ourway/75b08998a78b2ba11c10d2727c0dd42c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ➜ ffmpeg-docker git:(main) ✗ docker --debug build -t ffmpeg . > error.log | |
| [+] Building 6.6s (11/15) docker:default | |
| => [internal] load build definition from Dockerfile 0.0s | |
| => => transferring dockerfile: 2.43kB 0.0s | |
| => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 3) 0.0s | |
| => [internal] load metadata for docker.io/library/alpine:3.12 0.6s | |
| => [auth] library/alpine:pull token for registry-1.docker.io 0.0s | |
| => [internal] load .dockerignore 0.0s | |
| => => transferring context: 2B 0.0s | |
| => [build 1/7] FROM docker.io/library/alpine:3.12@sha256:c75ac27b49326926b803b9ed43bf088bc220d22556de1bc5f72d742c91398f69 0.0s | |
| => CACHED [stage-1 2/5] RUN apk add --update ca-certificates openssl pcre lame libogg libass libvpx libvorbis libwebp libtheora opus rtmpdump x264-dev x265-dev 0.0s | |
| => CACHED [build 2/7] RUN apk add --update build-base coreutils freetype-dev gcc lame-dev libogg-dev libass libass-dev libvpx-dev libvorbis-dev libwebp-dev libtheora-dev 0.0s | |
| => CACHED [build 3/7] RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories && apk add --update fdk-aac-dev 0.0s | |
| => CACHED [build 4/7] RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && apk add --update rav1e-dev 0.0s | |
| => CACHED [build 5/7] RUN cd /tmp && wget https://www.ffmpeg.org/releases/ffmpeg-4.4.tar.bz2 && tar xf ffmpeg-4.4.tar.bz2 && rm ffmpeg-4.4.tar.bz2 0.0s | |
| => ERROR [build 6/7] RUN cd /tmp/ffmpeg-4.4 && ./configure --enable-version3 --enable-gpl --enable-nonfree --enable-small --enable-libmp3lame --enable-libx264 --enable-libx265 -- 5.8s | |
| ------ | |
| > [build 6/7] RUN cd /tmp/ffmpeg-4.4 && ./configure --enable-version3 --enable-gpl --enable-nonfree --enable-small --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libopus --enable-libfdk-aac --enable-libass --enable-libwebp --enable-librtmp --enable-librav1e --enable-postproc --enable-avresample --enable-libfreetype --enable-openssl --disable-debug --disable-doc --disable-ffplay --extra-cflags="-I/opt/ffmpeg/include" --extra-ldflags="-L/opt/ffmpeg/lib" --extra-libs="-lpthread -lm" --prefix="/opt/ffmpeg" && make && make install && make distclean: | |
| 5.753 ERROR: libfdk_aac not found | |
| 5.754 | |
| 5.754 If you think configure made a mistake, make sure you are using the latest | |
| 5.754 version from Git. If the latest version fails, report the problem to the | |
| 5.754 [email protected] mailing list or IRC #ffmpeg on irc.freenode.net. | |
| 5.755 Include the log file "ffbuild/config.log" produced by configure as this will help | |
| 5.755 solve the problem. | |
| ------ | |
| 1 warning found: | |
| - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 3) | |
| The 'as' keyword should match the case of the 'from' keyword | |
| More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/ | |
| Dockerfile:3 | |
| -------------------- | |
| 1 | ############################### | |
| 2 | # Build the FFmpeg-build image. | |
| 3 | >>> FROM alpine:3.12 as build | |
| 4 | | |
| 5 | | |
| -------------------- | |
| Dockerfile:48 | |
| -------------------- | |
| 47 | # Compile ffmpeg. | |
| 48 | >>> RUN cd /tmp/ffmpeg-4.4 && \ | |
| 49 | >>> ./configure \ | |
| 50 | >>> --enable-version3 \ | |
| 51 | >>> --enable-gpl \ | |
| 52 | >>> --enable-nonfree \ | |
| 53 | >>> --enable-small \ | |
| 54 | >>> --enable-libmp3lame \ | |
| 55 | >>> --enable-libx264 \ | |
| 56 | >>> --enable-libx265 \ | |
| 57 | >>> --enable-libvpx \ | |
| 58 | >>> --enable-libtheora \ | |
| 59 | >>> --enable-libvorbis \ | |
| 60 | >>> --enable-libopus \ | |
| 61 | >>> --enable-libfdk-aac \ | |
| 62 | >>> --enable-libass \ | |
| 63 | >>> --enable-libwebp \ | |
| 64 | >>> --enable-librtmp \ | |
| 65 | >>> --enable-librav1e \ | |
| 66 | >>> --enable-postproc \ | |
| 67 | >>> --enable-avresample \ | |
| 68 | >>> --enable-libfreetype \ | |
| 69 | >>> --enable-openssl \ | |
| 70 | >>> --disable-debug \ | |
| 71 | >>> --disable-doc \ | |
| 72 | >>> --disable-ffplay \ | |
| 73 | >>> --extra-cflags="-I${PREFIX}/include" \ | |
| 74 | >>> --extra-ldflags="-L${PREFIX}/lib" \ | |
| 75 | >>> --extra-libs="-lpthread -lm" \ | |
| 76 | >>> --prefix="${PREFIX}" && \ | |
| 77 | >>> make && make install && make distclean | |
| 78 | | |
| -------------------- | |
| ERROR: failed to build: failed to solve: process "/bin/sh -c cd /tmp/ffmpeg-4.4 && ./configure --enable-version3 --enable-gpl --enable-nonfree --enable-small --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libopus --enable-libfdk-aac --enable-libass --enable-libwebp --enable-librtmp --enable-librav1e --enable-postproc --enable-avresample --enable-libfreetype --enable-openssl --disable-debug --disable-doc --disable-ffplay --extra-cflags=\"-I${PREFIX}/include\" --extra-ldflags=\"-L${PREFIX}/lib\" --extra-libs=\"-lpthread -lm\" --prefix=\"${PREFIX}\" && make && make install && make distclean" did not complete successfully: exit code: 1 | |
| 3777893 v0.27.0 /usr/libexec/docker/cli-plugins/docker-buildx --debug buildx build -t ffmpeg . | |
| github.com/docker/buildx/commands.runBuildWithOptions | |
| github.com/docker/buildx/commands/build.go:452 | |
| github.com/docker/buildx/commands.runBuild | |
| github.com/docker/buildx/commands/build.go:374 | |
| github.com/docker/buildx/commands.buildCmd.func1 | |
| github.com/docker/buildx/commands/build.go:488 | |
| github.com/docker/cli/cli-plugins/plugin.RunPlugin.func1.1.2 | |
| github.com/docker/[email protected]+incompatible/cli-plugins/plugin/plugin.go:65 | |
| github.com/spf13/cobra.(*Command).execute | |
| github.com/spf13/[email protected]/command.go:1015 | |
| github.com/spf13/cobra.(*Command).ExecuteC | |
| github.com/spf13/[email protected]/command.go:1148 | |
| github.com/spf13/cobra.(*Command).Execute | |
| github.com/spf13/[email protected]/command.go:1071 | |
| github.com/docker/cli/cli-plugins/plugin.RunPlugin | |
| github.com/docker/[email protected]+incompatible/cli-plugins/plugin/plugin.go:80 | |
| main.runPlugin | |
| github.com/docker/buildx/cmd/buildx/main.go:64 | |
| main.run | |
| github.com/docker/buildx/cmd/buildx/main.go:78 | |
| main.main | |
| github.com/docker/buildx/cmd/buildx/main.go:88 | |
| runtime.main | |
| runtime/proc.go:283 | |
| runtime.goexit | |
| runtime/asm_amd64.s:1700 | |
| 1848 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock | |
| github.com/moby/buildkit/executor/runcexecutor.exitError | |
| /root/build-deb/engine/vendor/github.com/moby/buildkit/executor/runcexecutor/executor.go:391 | |
| github.com/moby/buildkit/executor/runcexecutor.(*runcExecutor).Run | |
| /root/build-deb/engine/vendor/github.com/moby/buildkit/executor/runcexecutor/executor.go:339 | |
| github.com/moby/buildkit/solver/llbsolver/ops.(*ExecOp).Exec | |
| /root/build-deb/engine/vendor/github.com/moby/buildkit/solver/llbsolver/ops/exec.go:497 | |
| github.com/moby/buildkit/solver.(*sharedOp).Exec.func2 | |
| /root/build-deb/engine/vendor/github.com/moby/buildkit/solver/jobs.go:1120 | |
| github.com/moby/buildkit/util/flightcontrol.(*call[...]).run | |
| /root/build-deb/engine/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:122 | |
| sync.(*Once).doSlow | |
| /usr/local/go/src/sync/once.go:78 | |
| sync.(*Once).Do | |
| /usr/local/go/src/sync/once.go:69 | |
| runtime.goexit | |
| /usr/local/go/src/runtime/asm_amd64.s:1700 | |
| 3777893 v0.27.0 /usr/libexec/docker/cli-plugins/docker-buildx --debug buildx build -t ffmpeg . | |
| google.golang.org/grpc.(*ClientConn).Invoke | |
| google.golang.org/[email protected]/call.go:35 | |
| github.com/moby/buildkit/api/services/control.(*controlClient).Solve | |
| github.com/moby/[email protected]/api/services/control/control_grpc.pb.go:88 | |
| github.com/moby/buildkit/client.(*Client).solve.func2 | |
| github.com/moby/[email protected]/client/solve.go:278 | |
| golang.org/x/sync/errgroup.(*Group).add.func1 | |
| golang.org/x/[email protected]/errgroup/errgroup.go:130 | |
| runtime.goexit | |
| runtime/asm_amd64.s:1700 | |
| 1848 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock | |
| github.com/moby/buildkit/solver.(*edge).execOp | |
| /root/build-deb/engine/vendor/github.com/moby/buildkit/solver/edge.go:963 | |
| github.com/moby/buildkit/solver/internal/pipe.NewWithFunction[...].func2 | |
| /root/build-deb/engine/vendor/github.com/moby/buildkit/solver/internal/pipe/pipe.go:78 | |
| runtime.goexit | |
| /usr/local/go/src/runtime/asm_amd64.s:1700 | |
| 3777893 v0.27.0 /usr/libexec/docker/cli-plugins/docker-buildx --debug buildx build -t ffmpeg . | |
| github.com/moby/buildkit/client.(*Client).solve.func2 | |
| github.com/moby/[email protected]/client/solve.go:295 | |
| golang.org/x/sync/errgroup.(*Group).add.func1 | |
| golang.org/x/[email protected]/errgroup/errgroup.go:130 | |
| 1848 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock | |
| github.com/moby/buildkit/solver/llbsolver/ops.(*ExecOp).Exec | |
| /root/build-deb/engine/vendor/github.com/moby/buildkit/solver/llbsolver/ops/exec.go:518 | |
| github.com/moby/buildkit/solver.(*sharedOp).Exec.func2 | |
| /root/build-deb/engine/vendor/github.com/moby/buildkit/solver/jobs.go:1120 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment