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

[ffmpeg] Build failure on x64-linux #42857

Closed
MVDW-Java opened this issue Dec 22, 2024 · 1 comment
Closed

[ffmpeg] Build failure on x64-linux #42857

MVDW-Java opened this issue Dec 22, 2024 · 1 comment
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@MVDW-Java
Copy link

Package: ffmpeg[avcodec,avdevice,avfilter,avformat,core,dav1d,openh264,opus,swresample,swscale,theora,vorbis,vpx,webp,zlib]:[email protected]#11

Host Environment

  • Host: x64-linux
  • Compiler: GNU 14.2.1
  • vcpkg-tool version: 2024-12-09-1005b78fa1bf1dde1a20c2734cba4ea61ca94d9a
    vcpkg-scripts version: b322364 2024-12-16 (6 days ago)

To Reproduce

vcpkg install --no-print-usage

Failure logs

-- Using cached ffmpeg-ffmpeg-n6.1.1.tar.gz.
-- Cleaning sources at /home/mvdw/Documents/GitHub/ladybird/Build/vcpkg/buildtrees/ffmpeg/src/n6.1.1-95b141da41.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/mvdw/Documents/GitHub/ladybird/Build/vcpkg/downloads/ffmpeg-ffmpeg-n6.1.1.tar.gz
-- Applying patch 0001-create-lib-libraries.patch
-- Applying patch 0002-fix-msvc-link.patch
-- Applying patch 0003-fix-windowsinclude.patch
-- Applying patch 0004-dependencies.patch
-- Applying patch 0005-fix-nasm.patch
-- Applying patch 0007-fix-lib-naming.patch
-- Applying patch 0012-Fix-ssl-110-detection.patch
-- Applying patch 0013-define-WINVER.patch
-- Applying patch 0020-fix-aarch64-libswscale.patch
-- Applying patch 0040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch
-- Applying patch 0041-add-const-for-opengl-definition.patch
-- Applying patch 0042-fix-arm64-linux.patch
-- Using source at /home/mvdw/Documents/GitHub/ladybird/Build/vcpkg/buildtrees/ffmpeg/src/n6.1.1-95b141da41.clean
-- Found external ninja('1.12.1').
-- Getting CMake variables for x64-linux
-- Building Options: --enable-pic --disable-doc --enable-debug --enable-runtime-cpudetect --disable-autodetect --target-os=linux --enable-pthreads --cc=cc --cxx=c++ --nm=nm --ar='ar' --ranlib=ranlib --strip=strip --disable-ffmpeg --disable-ffplay --disable-ffprobe --enable-avcodec --enable-avdevice --enable-avformat --enable-avfilter --disable-postproc --enable-swresample --enable-swscale --disable-alsa --disable-amf --disable-libaom --disable-libass --disable-avisynth --disable-bzlib --enable-libdav1d --disable-libfdk-aac --disable-libfontconfig --disable-libfreetype --disable-libfribidi --disable-iconv --disable-libilbc --disable-lzma --disable-libmp3lame --disable-libmodplug --disable-cuda --disable-nvenc --disable-nvdec  --disable-cuvid --disable-ffnvcodec --disable-opencl --disable-opengl --enable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --enable-libopus --disable-sdl2 --disable-libsnappy --disable-libsoxr --disable-libspeex --disable-libssh --disable-libtensorflow --disable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --disable-libx264 --disable-libx265 --disable-libxml2 --enable-zlib --disable-libsrt --disable-libmfx --enable-cross-compile --disable-static --enable-shared --pkg-config=/bin/pkg-config
-- Building Release Options: --enable-optimizations --extra-ldflags=-L"/home/mvdw/Documents/GitHub/ladybird/Build/release/vcpkg_installed/x64-linux/lib"
-- Building ffmpeg for Release
-- Fixing pkgconfig file: /home/mvdw/Documents/GitHub/ladybird/Build/vcpkg/packages/ffmpeg_x64-linux/lib/pkgconfig/libavcodec.pc
-- Fixing pkgconfig file: /home/mvdw/Documents/GitHub/ladybird/Build/vcpkg/packages/ffmpeg_x64-linux/lib/pkgconfig/libavdevice.pc
-- Fixing pkgconfig file: /home/mvdw/Documents/GitHub/ladybird/Build/vcpkg/packages/ffmpeg_x64-linux/lib/pkgconfig/libavfilter.pc
-- Fixing pkgconfig file: /home/mvdw/Documents/GitHub/ladybird/Build/vcpkg/packages/ffmpeg_x64-linux/lib/pkgconfig/libavformat.pc
-- Fixing pkgconfig file: /home/mvdw/Documents/GitHub/ladybird/Build/vcpkg/packages/ffmpeg_x64-linux/lib/pkgconfig/libavutil.pc
-- Fixing pkgconfig file: /home/mvdw/Documents/GitHub/ladybird/Build/vcpkg/packages/ffmpeg_x64-linux/lib/pkgconfig/libswresample.pc
-- Fixing pkgconfig file: /home/mvdw/Documents/GitHub/ladybird/Build/vcpkg/packages/ffmpeg_x64-linux/lib/pkgconfig/libswscale.pc
CMake Error at /home/mvdw/Documents/GitHub/ladybird/Build/release/vcpkg_installed/x64-linux/share/vcpkg-pkgconfig-get-modules/x_vcpkg_pkgconfig_get_modules.cmake:31 (execute_process):
  execute_process failed command indexes:

    1: "Abnormal exit with child return code: Segmentation fault"

Call Stack (most recent call first):
  buildtrees/versioning_/versions/ffmpeg/15b90b33b76e69c2d9b876b32c4c9b47c97846ed/portfile.cmake:892 (x_vcpkg_pkgconfig_get_modules)
  scripts/ports.cmake:196 (include)



Additional context

vcpkg.json
{
  "builtin-baseline": "b322364f06308bdd24823f9d8f03fe0cc86fd46f",
  "dependencies": [
    {
      "name": "angle",
      "platform": "osx"
    },
    {
      "name": "curl",
      "features": [
        "brotli",
        "http2"
      ]
    },
    {
      "name": "dirent",
      "platform": "windows"
    },
    {
      "name": "ffmpeg",
      "platform": "!android",
      "features": [
        "avcodec",
        "avformat",
        "dav1d",
        "openh264",
        "opus",
        "webp",
        "theora",
        "vorbis",
        "vpx",
        "zlib"
      ]
    },
    {
      "name": "fontconfig",
      "platform": "linux | freebsd | openbsd | osx | windows"
    },
    {
      "name": "harfbuzz",
      "platform": "linux | freebsd | openbsd | windows",
      "features": [
        "freetype",
        "icu"
      ]
    },
    {
      "name": "harfbuzz",
      "platform": "osx",
      "features": [
        "coretext",
        "icu"
      ]
    },
    "icu",
    "libjpeg-turbo",
    "libjxl",
    {
      "name": "libpng",
      "features": [
        "apng"
      ]
    },
    "libproxy",
    {
      "name": "libavif",
      "features": [
        "dav1d"
      ]
    },
    {
      "name": "libwebp",
      "features": [
        "anim",
        "libwebpmux",
        "simd"
      ]
    },
    {
      "name": "mman",
      "platform": "windows"
    },
    {
      "name": "pthread",
      "platform": "windows"
    },
    "simdutf",
    {
      "name": "skia",
      "platform": "osx",
      "features": [
        "metal",
        "fontconfig",
        "harfbuzz",
        "icu"
      ]
    },
    {
      "name": "skia",
      "platform": "linux | freebsd | openbsd | windows",
      "features": [
        "freetype",
        "fontconfig",
        "harfbuzz",
        "icu",
        "vulkan"
      ]
    },
    {
      "name": "skia",
      "platform": "android"
    },
    "sqlite3",
    {
      "name": "vulkan",
      "platform": "!android"
    },
    {
      "name": "vulkan-headers",
      "platform": "!android"
    },
    "woff2"
  ],
  "overrides": [
    {
      "name": "angle",
      "version": "chromium_5414#9"
    },
    {
      "name": "curl",
      "version": "8.10.1#0"
    },
    {
      "name": "ffmpeg",
      "version": "6.1.1#11"
    },
    {
      "name": "fontconfig",
      "version": "2.14.2#1"
    },
    {
      "name": "icu",
      "version": "74.2#2"
    },
    {
      "name": "libjpeg-turbo",
      "version": "3.0.2"
    },
    {
      "name": "libjxl",
      "version": "0.11.1"
    },
    {
      "name": "libpng",
      "version": "1.6.43#3"
    },
    {
      "name": "libproxy",
      "version": "0.4.18#3"
    },
    {
      "name": "libavif",
      "version": "1.0.4#1"
    },
    {
      "name": "libwebp",
      "version": "1.4.0#1"
    },
    {
      "name": "simdutf",
      "version": "5.6.0#0"
    },
    {
      "name": "skia",
      "version": "129#0"
    },
    {
      "name": "sqlite3",
      "version": "3.46.1"
    },
    {
      "name": "woff2",
      "version": "1.0.2#4"
    }
  ]
}

@MonicaLiu0311 MonicaLiu0311 added the requires:repro The issue is not currently repro-able label Dec 23, 2024
@MonicaLiu0311
Copy link
Contributor

Duplicate of #41576 #42084.

@MonicaLiu0311 MonicaLiu0311 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

2 participants