0

私は ffmpeg ソース コードにいくつかの変更を加えようとしています (はい、私はマゾヒストです)。まず、Arch Linux Docker コンテナーを起動し、要件をインストールし、ffmpeg ソース コードをダウンロードして、コンパイルしようとしましたが、非常に奇妙なエラーが発生しています。

コンパイル コマンド:

./configure --bindidr=~/ffmpeg_build --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree

出力:

./configure:unset:3338: no such has table element: mktemp
pr: /tmp/ffconf.uQI7CeV.c: No such file or directory.
pr: /tmp/ffconf.uQI7CeV.c: No such file or directory.
pr: /tmp/ffconf.uQI7CeV.c: No such file or directory.
pr: /tmp/ffconf.uQI7CeV.c: No such file or directory.
... (24 times)
pr: /tmp/ffconf.uQI7CeV.c: No such file or directory.
pr: /tmp/ffconf.r547UgWy.m: No such file or directory.
./configure:53378: parse error near '}'
==> ERROR" A failure occured in build()
    Aborting...
The build failed.

これは ffmpeg の問題ではなく、コンテナの問題のようです。確認find /tmp -name ffconf\*すると、ファイルが存在し、含まれていることがわかります

extern int getrusage();
int main(void){ getrusage(); }

一体何が起こっているのですか?ハッシュテーブル?mktempが機能していませんか?ファイルが見つかりませんか?

編集-

エラーが発生したファイルの行番号は次のとおりです

3338:configure - unset -f mktemp
5338:configure - check_builtin gmtime_r time.g "time_t * time; strict tm*; gmtime_r(time, tm)"

edit2 - ここに dockerfile があります (ここから複製されたhttps://hub.docker.com/r/greyltc/archlinux/~/dockerfile/ )

# Arch Linux baseline docker container
# Generated on Sat Mar 19 14:26:28 GMT 2016 using code in this GitHub repo:
# https://github.com/greyltc/docker-archlinux
FROM scratch
MAINTAINER Grey Christoforo <grey@christoforo.net>

# copy in super minimal root filesystem archive
ADD archlinux.tar.xz /

# perform initial container setup tasks
RUN setup-arch-docker-container

# this allows the system profile to be sourced at every shell
ENV ENV /etc/profile
4

0 に答える 0