[FFmpeg-devel] ffmpeg configure fails inside bazel sandbox

Šimon Tóth happy.cerberus at gmail.com
Wed Jun 30 12:38:56 EEST 2021


Greetings!

I'm trying to integrate ffmpeg into my build and run into a roadblock with
the confgure succeeding when I run it manually, but failing inside the
sandbox.

I'm not really sure if this is due to some Bazel weirdness or ffmpeg going
haywire while running inside the sandbox.

I'm attaching the full log, but here is the interesting part of the
configure:

gcc -D_FORTIFY_SOURCE=1 -fstack-protector -fcolor-diagnostics -Wall
-Wthread-safety -Wself-assign -fno-omit-frame-pointer -O0 -DDEBUG
DEBUG_PREFIX_MAP_PWD=. -isysroot __BAZEL_XCODE_SDKROOT__
-F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks
-F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks
-mmacosx-version-min=11.3 -no-canonical-prefixes
-Wno-builtin-macro-redefined -D__DATE__=redacted -D__TIMESTAMP__=redacted
-D__TIME__=redacted -target arm64-apple-macosx -c -o
/var/folders/rx/1z6cg57d549ffksq5tr8fnvc0000gn/T//ffconf.o7sKUDSO/test.o
/var/folders/rx/1z6cg57d549ffksq5tr8fnvc0000gn/T//ffconf.o7sKUDSO/test.c
clang: error: no such file or directory: 'DEBUG_PREFIX_MAP_PWD=.'

Any pointers would be greatly appreciated.

-- 
Simon Toth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 261385 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210630/7aa608e4/attachment.obj>


More information about the ffmpeg-devel mailing list