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 #43591

Open
Fane-Nathan opened this issue Feb 2, 2025 · 1 comment
Open

[ffmpeg] Build failure on x64-linux #43591

Fane-Nathan opened this issue Feb 2, 2025 · 1 comment
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@Fane-Nathan
Copy link

Package: ffmpeg[avcodec,avdevice,avfilter,avformat,core,swresample,swscale]:[email protected]

Host Environment

  • Host: x64-linux
  • Compiler: GNU 14.2.1
  • vcpkg-tool version: 2025-01-29-a75ad067f470c19f030361064e32a2585392bee2
    vcpkg-scripts version: 0ca64b4 2025-01-31 (28 hours ago)

To Reproduce

vcpkg install

Failure logs

-- Using cached ffmpeg-ffmpeg-n6.1.tar.gz
-- Cleaning sources at /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/buildtrees/ffmpeg/src/n6.1-f7bac3f35b.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/downloads/ffmpeg-ffmpeg-n6.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-fix-debug-build.patch
-- Applying patch 0005-fix-nasm.patch
-- Applying patch 0006-fix-StaticFeatures.patch
-- Applying patch 0007-fix-lib-naming.patch
-- Applying patch 0009-Fix-fdk-detection.patch
-- Applying patch 0011-Fix-x265-detection.patch
-- Applying patch 0012-Fix-ssl-110-detection.patch
-- Applying patch 0013-define-WINVER.patch
-- Applying patch 0015-Fix-xml2-detection.patch
-- Applying patch 0020-fix-aarch64-libswscale.patch
-- Applying patch 0022-fix-iconv.patch
-- Using source at /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/buildtrees/ffmpeg/src/n6.1-f7bac3f35b.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 --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 --disable-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 --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --disable-libopus --disable-sdl2 --disable-libsnappy --disable-libsoxr --disable-libspeex --disable-libssh --disable-libtensorflow --disable-libtesseract --disable-libtheora --disable-libvorbis --disable-libvpx --disable-libwebp --disable-libx264 --disable-libx265 --disable-libxml2 --disable-zlib --disable-libsrt --disable-libmfx --enable-cross-compile --pkg-config-flags=--static
-- Building Release Options: --enable-optimizations --extra-ldflags=-L"/home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/vcpkg_installed/x64-linux/lib"
-- Building ffmpeg for Release
-- Building Debug Options: --debug --disable-optimizations --extra-ldflags=-L"/home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/vcpkg_installed/x64-linux/debug/lib"
-- Building ffmpeg for Debug
-- Fixing pkgconfig file: /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/packages/ffmpeg_x64-linux/lib/pkgconfig/libavcodec.pc
-- Fixing pkgconfig file: /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/packages/ffmpeg_x64-linux/lib/pkgconfig/libavdevice.pc
-- Fixing pkgconfig file: /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/packages/ffmpeg_x64-linux/lib/pkgconfig/libavfilter.pc
-- Fixing pkgconfig file: /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/packages/ffmpeg_x64-linux/lib/pkgconfig/libavformat.pc
-- Fixing pkgconfig file: /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/packages/ffmpeg_x64-linux/lib/pkgconfig/libavutil.pc
-- Fixing pkgconfig file: /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/packages/ffmpeg_x64-linux/lib/pkgconfig/libswresample.pc
-- Fixing pkgconfig file: /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/packages/ffmpeg_x64-linux/lib/pkgconfig/libswscale.pc
-- Fixing pkgconfig file: /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/packages/ffmpeg_x64-linux/debug/lib/pkgconfig/libavcodec.pc
-- Fixing pkgconfig file: /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/packages/ffmpeg_x64-linux/debug/lib/pkgconfig/libavdevice.pc
-- Fixing pkgconfig file: /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/packages/ffmpeg_x64-linux/debug/lib/pkgconfig/libavfilter.pc
-- Fixing pkgconfig file: /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/packages/ffmpeg_x64-linux/debug/lib/pkgconfig/libavformat.pc
-- Fixing pkgconfig file: /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/packages/ffmpeg_x64-linux/debug/lib/pkgconfig/libavutil.pc
-- Fixing pkgconfig file: /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/packages/ffmpeg_x64-linux/debug/lib/pkgconfig/libswresample.pc
-- Fixing pkgconfig file: /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/thirdparty/vcpkg/packages/ffmpeg_x64-linux/debug/lib/pkgconfig/libswscale.pc
CMake Error at /home/felixnathaniel/CLionProjects/Voice_recognition/whisper-cpp-server/vcpkg_installed/x64-linux/share/vcpkg-pkgconfig-get-modules/x_vcpkg_pkgconfig_get_modules.cmake:27 (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/e350faae831bb8d75c4ebcee81d9161484aecdba/portfile.cmake:756 (x_vcpkg_pkgconfig_get_modules)
  scripts/ports.cmake:196 (include)



Additional context

vcpkg.json
{
  "name": "whisper-cpp-server",
  "version-string": "1.0.0",
  "builtin-baseline": "0c20b2a97c390e106150837042d921b0939e7ecb",
  "dependencies": [
    {
      "name": "sdl2",
      "version>=": "2.28.4#1",
      "$comment": "    find_package(SDL2 CONFIG REQUIRED)\n\n    target_link_libraries(main\n\n        PRIVATE\n\n        $<TARGET_NAME_IF_EXISTS:SDL2::SDL2main>\n\n        $<IF:$<TARGET_EXISTS:SDL2::SDL2>,SDL2::SDL2,SDL2::SDL2-static>\n\n    )\n"
    },
    {
      "name": "uwebsockets",
      "version>=": "20.47.0"
    },
    {
      "name": "libsamplerate",
      "version>=": "0.2.2#1",
      "$comment": "  # this is heuristically generated, and may not be correct\n\n  find_package(SampleRate CONFIG REQUIRED)\n\n  target_link_libraries(main PRIVATE SampleRate::samplerate)\n"
    },
    {
      "name": "ffmpeg",
      "version>=": "6.1"
    },
    {
      "name": "speexdsp",
      "version>=": "1.2.1#1"
    },
    {
      "name": "cpp-httplib",
      "version>=": "0.14.1"
    },
    {
      "name": "nlohmann-json",
      "version>=": "3.11.2"
    },
    {
      "name": "libuv",
      "version>=": "1.46.0"
    }
  ]
}

@Mengna-Li
Copy link
Contributor

Duplicate of #41576 #42084.

@Mengna-Li Mengna-Li added the requires:repro The issue is not currently repro-able label Feb 5, 2025
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