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

[libvpx] Build error on x86-mingw-static under msys2 32-bit #35592

Closed
HybridEidolon opened this issue Dec 10, 2023 · 2 comments · Fixed by #35593
Closed

[libvpx] Build error on x86-mingw-static under msys2 32-bit #35592

HybridEidolon opened this issue Dec 10, 2023 · 2 comments · Fixed by #35593
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@HybridEidolon
Copy link
Contributor

libvpx does not build correctly when building for x86-mingw-static on msys2 mingw64-i686, when run from a mingw64 32-bit shell.

Package: libvpx:x86-mingw-static -> 1.13.1

Host Environment

  • Host: x64-windows
  • Compiler: GNU 13.2.0
  • vcpkg-tool version: 2023-11-16-4c1df40a3c5c5e18de299a99e9accb03c2a82e1e
    vcpkg-scripts version: 000d1bd 2023-12-08 (2 days ago)

To Reproduce

vcpkg install
Failure logs

-- Using cached webmproject-libvpx-v1.13.1.tar.gz.
-- Cleaning sources at C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/Eidolon/Code/cpp/vcpkg/downloads/webmproject-libvpx-v1.13.1.tar.gz
-- Applying patch 0002-Fix-nasm-debug-format-flag.patch
-- Applying patch 0003-add-uwp-v142-and-v143-support.patch
-- Applying patch 0004-remove-library-suffixes.patch
-- Applying patch 0005-fix-arm64-build.patch
-- Using source at C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean
-- Using cached msys2-make-4.4.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-bash-5.2.021-1-x86_64.pkg.tar.zst.
-- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst.
-- Using cached msys2-file-5.45-1-x86_64.pkg.tar.zst.
-- Using cached msys2-gawk-5.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-grep-1~3.0-6-x86_64.pkg.tar.zst.
-- Using cached msys2-gzip-1.13-1-x86_64.pkg.tar.zst.
-- Using cached msys2-diffutils-3.10-1-x86_64.pkg.tar.zst.
-- Using cached msys2-pkgconf-2.1.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.4.9-3-x86_64.pkg.tar.zst.
-- Using cached msys2-libintl-0.22.4-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libiconv-1.17-1-x86_64.pkg.tar.zst.
-- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-gcc-libs-13.2.0-2-x86_64.pkg.tar.zst.
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst.
-- Using cached msys2-liblzma-5.4.5-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libzstd-1.5.5-1-x86_64.pkg.tar.zst.
-- Using cached msys2-zlib-1.3-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libreadline-8.2.007-1-x86_64.pkg.tar.zst.
-- Using cached msys2-mpfr-4.2.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libpcre-8.45-4-x86_64.pkg.tar.zst.
-- Using cached msys2-ncurses-6.4-2-x86_64.pkg.tar.zst.
-- Using msys root at C:/Users/Eidolon/Code/cpp/vcpkg/downloads/tools/msys2/aa4647291c43dbb2
-- Getting CMake variables for x86-mingw-static
-- Build info. Target: x86-win32-gcc; Options: --disable-examples --disable-tools --disable-docs --disable-unit-tests --enable-pic --enable-static --disable-shared
-- Configuring libvpx for Release
-- Building libvpx for Release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: C:/Users/Eidolon/Code/cpp/vcpkg/downloads/tools/msys2/aa4647291c43dbb2/usr/bin/bash.exe --noprofile --norc -c "make -j25"
    Working Directory: C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/x86-mingw-static-rel
    Error code: 2
    See logs for more information:
      C:\Users\Eidolon\Code\cpp\vcpkg\buildtrees\libvpx\build-x86-mingw-static-rel-out.log
      C:\Users\Eidolon\Code\cpp\vcpkg\buildtrees\libvpx\build-x86-mingw-static-rel-err.log

Call Stack (most recent call first):
  buildtrees/versioning_/versions/libvpx/1484fb529e99fdedd95f2b46f65738a9e95fcaa1/portfile.cmake:250 (vcpkg_execute_required_process)
  scripts/ports.cmake:170 (include)



C:\Users\Eidolon\Code\cpp\vcpkg\buildtrees\libvpx\build-x86-mingw-static-rel-err.log
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/vpx_scale.c: In function 'Scale2D':
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/vpx_scale.c:278:26: error: 'vp8_horizontal_line_5_4_scale' undeclared (first use in this function)
  278 |       horiz_line_scale = vp8_horizontal_line_5_4_scale;
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/vpx_scale.c:278:26: note: each undeclared identifier is reported only once for each function it appears in
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/vpx_scale.c:282:26: error: 'vp8_horizontal_line_5_3_scale' undeclared (first use in this function)
  282 |       horiz_line_scale = vp8_horizontal_line_5_3_scale;
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/vpx_scale.c:286:26: error: 'vp8_horizontal_line_2_1_scale' undeclared (first use in this function)
  286 |       horiz_line_scale = vp8_horizontal_line_2_1_scale;
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/vpx_scale.c:298:25: error: 'vp8_vertical_band_5_4_scale' undeclared (first use in this function)
  298 |       vert_band_scale = vp8_vertical_band_5_4_scale;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/vpx_scale.c:304:25: error: 'vp8_vertical_band_5_3_scale' undeclared (first use in this function)
  304 |       vert_band_scale = vp8_vertical_band_5_3_scale;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/vpx_scale.c:313:27: error: 'vp8_vertical_band_2_1_scale' undeclared (first use in this function)
  313 |         vert_band_scale = vp8_vertical_band_2_1_scale;
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/vpx_scale.c:317:27: error: 'vp8_vertical_band_2_1_scale_i' undeclared (first use in this function)
  317 |         vert_band_scale = vp8_vertical_band_2_1_scale_i;
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:166: vpx_scale/generic/vpx_scale.c.o] Error 1
make[1]: *** Waiting for unfinished jobs....
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/yv12extend.c:105:6: warning: no previous prototype for 'vp8_yv12_extend_frame_borders_c' [-Wmissing-prototypes]
  105 | void vp8_yv12_extend_frame_borders_c(YV12_BUFFER_CONFIG *ybf) {
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/yv12extend.c:169:6: warning: no previous prototype for 'vpx_extend_frame_borders_c' [-Wmissing-prototypes]
  169 | void vpx_extend_frame_borders_c(YV12_BUFFER_CONFIG *ybf) {
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/yv12extend.c:173:6: warning: no previous prototype for 'vpx_extend_frame_inner_borders_c' [-Wmissing-prototypes]
  173 | void vpx_extend_frame_inner_borders_c(YV12_BUFFER_CONFIG *ybf) {
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/yv12extend.c:193:6: warning: no previous prototype for 'vp8_yv12_copy_frame_c' [-Wmissing-prototypes]
  193 | void vp8_yv12_copy_frame_c(const YV12_BUFFER_CONFIG *src_ybc,
      |      ^~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/yv12extend.c:235:6: warning: no previous prototype for 'vpx_yv12_copy_frame_c' [-Wmissing-prototypes]
  235 | void vpx_yv12_copy_frame_c(const YV12_BUFFER_CONFIG *src_ybc,
      |      ^~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/yv12extend.c:311:6: warning: no previous prototype for 'vpx_yv12_copy_y_c' [-Wmissing-prototypes]
  311 | void vpx_yv12_copy_y_c(const YV12_BUFFER_CONFIG *src_ybc,
      |      ^~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/gen_scalers.c:36:6: warning: no previous prototype for 'vp8_horizontal_line_5_4_scale_c' [-Wmissing-prototypes]
   36 | void vp8_horizontal_line_5_4_scale_c(const unsigned char *source,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/gen_scalers.c:64:6: warning: no previous prototype for 'vp8_vertical_band_5_4_scale_c' [-Wmissing-prototypes]
   64 | void vp8_vertical_band_5_4_scale_c(unsigned char *source,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/gen_scalers.c:110:6: warning: no previous prototype for 'vp8_horizontal_line_5_3_scale_c' [-Wmissing-prototypes]
  110 | void vp8_horizontal_line_5_3_scale_c(const unsigned char *source,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/gen_scalers.c:137:6: warning: no previous prototype for 'vp8_vertical_band_5_3_scale_c' [-Wmissing-prototypes]
  137 | void vp8_vertical_band_5_3_scale_c(unsigned char *source,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/gen_scalers.c:181:6: warning: no previous prototype for 'vp8_horizontal_line_2_1_scale_c' [-Wmissing-prototypes]
  181 | void vp8_horizontal_line_2_1_scale_c(const unsigned char *source,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/gen_scalers.c:200:6: warning: no previous prototype for 'vp8_vertical_band_2_1_scale_c' [-Wmissing-prototypes]
  200 | void vp8_vertical_band_2_1_scale_c(unsigned char *source,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/generic/gen_scalers.c:209:6: warning: no previous prototype for 'vp8_vertical_band_2_1_scale_i_c' [-Wmissing-prototypes]
  209 | void vp8_vertical_band_2_1_scale_i_c(unsigned char *source,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/vpx_scale_rtcd.c:15:6: warning: no previous prototype for 'vpx_scale_rtcd' [-Wmissing-prototypes]
   15 | void vpx_scale_rtcd() { once(setup_rtcd_internal); }
      |      ^~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/vpx_scale_rtcd.c: In function 'vpx_scale_rtcd':
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/vpx_scale_rtcd.c:15:30: error: 'setup_rtcd_internal' undeclared (first use in this function)
   15 | void vpx_scale_rtcd() { once(setup_rtcd_internal); }
      |                              ^~~~~~~~~~~~~~~~~~~
C:/Users/Eidolon/Code/cpp/vcpkg/buildtrees/libvpx/src/v1.13.1-e2ef06ab13.clean/vpx_scale/vpx_scale_rtcd.c:15:30: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [Makefile:166: vpx_scale/vpx_scale_rtcd.c.o] Error 1
make: *** [Makefile:17: .DEFAULT] Error 2
C:\Users\Eidolon\Code\cpp\vcpkg\buildtrees\libvpx\build-x86-mingw-static-rel-out.log
    [CREATE] vpx_scale_rtcd.h
    [CREATE] vpx_dsp_rtcd.h
    [CREATE] vp8_rtcd.h
    [CREATE] vp9_rtcd.h
    [DEP] vpx/src/vpx_decoder.c.d
    [DEP] vpx/src/vpx_encoder.c.d
    [DEP] vpx/src/vpx_codec.c.d
    [DEP] vpx/src/vpx_image.c.d
    [DEP] vpx_scale/generic/vpx_scale.c.d
    [DEP] vpx_mem/vpx_mem.c.d
    [DEP] vpx_scale/generic/yv12config.c.d
    [DEP] vpx_scale/generic/yv12extend.c.d
    [DEP] vpx_scale/generic/gen_scalers.c.d
    [DEP] vpx_scale/vpx_scale_rtcd.c.d
    [DEP] vpx_ports/emms_mmx.c.d
    [DEP] vpx_dsp/prob.c.d
    [DEP] vpx_dsp/bitwriter.c.d
    [DEP] vpx_dsp/bitwriter_buffer.c.d
    [DEP] vpx_dsp/psnr.c.d
    [DEP] vpx_dsp/bitreader.c.d
    [DEP] vpx_dsp/bitreader_buffer.c.d
    [DEP] vpx_dsp/intrapred.c.d
    [DEP] vpx_dsp/add_noise.c.d
    [DEP] vpx_dsp/deblock.c.d
    [DEP] vpx_dsp/vpx_convolve.c.d
    [DEP] vpx_dsp/x86/post_proc_sse2.c.d
    [DEP] vpx_dsp/x86/vpx_subpixel_4t_intrin_sse2.c.d
    [DEP] vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c.d
    [DEP] vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c.d
    [DEP] vpx_dsp/loopfilter.c.d
    [DEP] vpx_dsp/x86/loopfilter_sse2.c.d
    [DEP] vpx_dsp/x86/loopfilter_avx2.c.d
    [DEP] vpx_dsp/fwd_txfm.c.d
    [DEP] vpx_dsp/x86/fwd_txfm_sse2.c.d
    [DEP] vpx_dsp/x86/fwd_txfm_avx2.c.d
    [DEP] vpx_dsp/inv_txfm.c.d
    [DEP] vpx_dsp/x86/inv_txfm_sse2.c.d
    [DEP] vpx_dsp/x86/inv_txfm_ssse3.c.d
    [DEP] vpx_dsp/quantize.c.d
    [DEP] vpx_dsp/x86/quantize_sse2.c.d
    [DEP] vpx_dsp/x86/quantize_ssse3.c.d
    [DEP] vpx_dsp/x86/quantize_avx.c.d
    [DEP] vpx_dsp/x86/quantize_avx2.c.d
    [DEP] vpx_dsp/avg.c.d
    [DEP] vpx_dsp/x86/avg_intrin_sse2.c.d
    [DEP] vpx_dsp/x86/avg_intrin_avx2.c.d
    [DEP] vpx_dsp/skin_detection.c.d
    [DEP] vpx_dsp/sad.c.d
    [DEP] vpx_dsp/subtract.c.d
    [DEP] vpx_dsp/sum_squares.c.d
    [DEP] vpx_dsp/x86/sum_squares_sse2.c.d
    [DEP] vpx_dsp/x86/sad4d_avx2.c.d
    [DEP] vpx_dsp/x86/sad_avx2.c.d
    [DEP] vpx_dsp/x86/subtract_avx2.c.d
    [DEP] vpx_dsp/x86/sad4d_avx512.c.d
    [DEP] vpx_dsp/variance.c.d
    [DEP] vpx_dsp/x86/avg_pred_sse2.c.d
    [DEP] vpx_dsp/x86/variance_sse2.c.d
    [DEP] vpx_dsp/x86/variance_avx2.c.d
    [DEP] vpx_dsp/vpx_dsp_rtcd.c.d
    [DEP] vpx_util/vpx_thread.c.d
    [DEP] vpx_util/vpx_write_yuv_frame.c.d
    [DEP] vp8/common/alloccommon.c.d
    [DEP] vp8/common/blockd.c.d
    [DEP] vp8/common/dequantize.c.d
    [DEP] vp8/common/entropy.c.d
    [DEP] vp8/common/entropymode.c.d
    [DEP] vp8/common/entropymv.c.d
    [DEP] vp8/common/extend.c.d
    [DEP] vp8/common/filter.c.d
    [DEP] vp8/common/findnearmv.c.d
    [DEP] vp8/common/generic/systemdependent.c.d
    [DEP] vp8/common/idct_blk.c.d
    [DEP] vp8/common/idctllm.c.d
    [DEP] vp8/common/rtcd.c.d
    [DEP] vp8/common/vp8_loopfilter.c.d
    [DEP] vp8/common/loopfilter_filters.c.d
    [DEP] vp8/common/mbpitch.c.d
    [DEP] vp8/common/modecont.c.d
    [DEP] vp8/common/quant_common.c.d
    [DEP] vp8/common/reconinter.c.d
    [DEP] vp8/common/reconintra.c.d
    [DEP] vp8/common/reconintra4x4.c.d
    [DEP] vp8/common/setupintrarecon.c.d
    [DEP] vp8/common/swapyv12buffer.c.d
    [DEP] vp8/common/treecoder.c.d
    [DEP] vp8/common/x86/vp8_asm_stubs.c.d
    [DEP] vp8/common/x86/loopfilter_x86.c.d
    [DEP] vp8/common/mfqe.c.d
    [DEP] vp8/common/postproc.c.d
    [DEP] vp8/common/x86/idct_blk_mmx.c.d
    [DEP] vp8/common/x86/idct_blk_sse2.c.d
    [DEP] vp8/common/x86/bilinear_filter_sse2.c.d
    [DEP] vp8/vp8_cx_iface.c.d
    [DEP] vp8/encoder/bitstream.c.d
    [DEP] vp8/encoder/boolhuff.c.d
    [DEP] vp8/encoder/copy_c.c.d
    [DEP] vp8/encoder/dct.c.d
    [DEP] vp8/encoder/encodeframe.c.d
    [DEP] vp8/encoder/encodeintra.c.d
    [DEP] vp8/encoder/encodemb.c.d
    [DEP] vp8/encoder/encodemv.c.d
    [DEP] vp8/encoder/ethreading.c.d
    [DEP] vp8/encoder/firstpass.c.d
    [DEP] vp8/encoder/denoising.c.d
    [DEP] vp8/encoder/lookahead.c.d
    [DEP] vp8/encoder/mcomp.c.d
    [DEP] vp8/encoder/modecosts.c.d
    [DEP] vp8/encoder/onyx_if.c.d
    [DEP] vp8/encoder/pickinter.c.d
    [DEP] vp8/encoder/picklpf.c.d
    [DEP] vp8/encoder/vp8_quantize.c.d
    [DEP] vp8/encoder/ratectrl.c.d
    [DEP] vp8/encoder/rdopt.c.d
    [DEP] vp8/encoder/segmentation.c.d
    [DEP] vp8/common/vp8_skin_detection.c.d
    [DEP] vp8/encoder/tokenize.c.d
    [DEP] vp8/encoder/treewriter.c.d
    [DEP] vp8/encoder/temporal_filter.c.d
    [DEP] vp8/encoder/x86/vp8_quantize_sse2.c.d
    [DEP] vp8/encoder/x86/vp8_quantize_ssse3.c.d
    [DEP] vp8/encoder/x86/quantize_sse4.c.d
    [DEP] vp8/encoder/x86/denoising_sse2.c.d
    [DEP] vp8/encoder/x86/vp8_enc_stubs_sse2.c.d
    [DEP] vp8/vp8_dx_iface.c.d
    [DEP] vp8/decoder/dboolhuff.c.d
    [DEP] vp8/decoder/decodemv.c.d
    [DEP] vp8/decoder/decodeframe.c.d
    [DEP] vp8/decoder/detokenize.c.d
    [DEP] vp8/decoder/onyxd_if.c.d
    [DEP] vp8/decoder/threading.c.d
    [DEP] vp9/vp9_iface_common.c.d
    [DEP] vp9/common/vp9_alloccommon.c.d
    [DEP] vp9/common/vp9_blockd.c.d
    [DEP] vp9/common/vp9_entropy.c.d
    [DEP] vp9/common/vp9_entropymode.c.d
    [DEP] vp9/common/vp9_entropymv.c.d
    [DEP] vp9/common/vp9_frame_buffers.c.d
    [DEP] vp9/common/vp9_idct.c.d
    [DEP] vp9/common/vp9_filter.c.d
    [DEP] vp9/common/vp9_pred_common.c.d
    [DEP] vp9/common/vp9_rtcd.c.d
    [DEP] vp9/common/vp9_scale.c.d
    [DEP] vp9/common/vp9_seg_common.c.d
    [DEP] vp9/common/vp9_tile_common.c.d
    [DEP] vp9/common/vp9_loopfilter.c.d
    [DEP] vp9/common/vp9_thread_common.c.d
    [DEP] vp9/common/vp9_mvref_common.c.d
    [DEP] vp9/common/vp9_quant_common.c.d
    [DEP] vp9/common/vp9_reconinter.c.d
    [DEP] vp9/common/vp9_reconintra.c.d
    [DEP] vp9/common/vp9_common_data.c.d
    [DEP] vp9/common/vp9_scan.c.d
    [DEP] vp9/common/x86/vp9_idct_intrin_sse2.c.d
    [DEP] vp9/vp9_cx_iface.c.d
    [DEP] vp9/encoder/vp9_bitstream.c.d
    [DEP] vp9/encoder/vp9_context_tree.c.d
    [DEP] vp9/encoder/vp9_cost.c.d
    [DEP] vp9/encoder/vp9_dct.c.d
    [DEP] vp9/encoder/vp9_encodeframe.c.d
    [DEP] vp9/encoder/vp9_encodemb.c.d
    [DEP] vp9/encoder/vp9_encodemv.c.d
    [DEP] vp9/encoder/vp9_ethread.c.d
    [DEP] vp9/encoder/vp9_extend.c.d
    [DEP] vp9/encoder/vp9_firstpass.c.d
    [DEP] vp9/encoder/vp9_frame_scale.c.d
    [DEP] vp9/encoder/vp9_lookahead.c.d
    [DEP] vp9/encoder/vp9_multi_thread.c.d
    [DEP] vp9/encoder/vp9_mcomp.c.d
    [DEP] vp9/encoder/vp9_encoder.c.d
    [DEP] vp9/encoder/vp9_picklpf.c.d
    [DEP] vp9/encoder/vp9_quantize.c.d
    [DEP] vp9/encoder/vp9_ratectrl.c.d
    [DEP] vp9/encoder/vp9_rd.c.d
    [DEP] vp9/encoder/vp9_rdopt.c.d
    [DEP] vp9/encoder/vp9_pickmode.c.d
    [DEP] vp9/encoder/vp9_segmentation.c.d
    [DEP] vp9/encoder/vp9_speed_features.c.d
    [DEP] vp9/encoder/vp9_subexp.c.d
    [DEP] vp9/encoder/vp9_svc_layercontext.c.d
    [DEP] vp9/encoder/vp9_resize.c.d
    [DEP] vp9/encoder/vp9_tokenize.c.d
    [DEP] vp9/encoder/vp9_treewriter.c.d
    [DEP] vp9/encoder/vp9_aq_variance.c.d
    [DEP] vp9/encoder/vp9_aq_360.c.d
    [DEP] vp9/encoder/vp9_aq_cyclicrefresh.c.d
    [DEP] vp9/encoder/vp9_aq_complexity.c.d
    [DEP] vp9/encoder/vp9_alt_ref_aq.c.d
    [DEP] vp9/encoder/vp9_skin_detection.c.d
    [DEP] vp9/encoder/vp9_noise_estimate.c.d
    [DEP] vp9/encoder/vp9_ext_ratectrl.c.d
    [DEP] vp9/encoder/vp9_temporal_filter.c.d
    [DEP] vp9/encoder/vp9_mbgraph.c.d
    [DEP] vp9/encoder/x86/temporal_filter_sse4.c.d
    [DEP] vp9/encoder/x86/vp9_quantize_sse2.c.d
    [DEP] vp9/encoder/x86/vp9_quantize_ssse3.c.d
    [DEP] vp9/encoder/x86/vp9_quantize_avx2.c.d
    [DEP] vp9/encoder/x86/vp9_diamond_search_sad_avx.c.d
    [DEP] vp9/encoder/x86/vp9_dct_intrin_sse2.c.d
    [DEP] vp9/encoder/x86/vp9_frame_scale_ssse3.c.d
    [DEP] vp9/encoder/x86/vp9_error_avx2.c.d
    [DEP] vp9/vp9_dx_iface.c.d
    [DEP] vp9/decoder/vp9_decodemv.c.d
    [DEP] vp9/decoder/vp9_decodeframe.c.d
    [DEP] vp9/decoder/vp9_detokenize.c.d
    [DEP] vp9/decoder/vp9_decoder.c.d
    [DEP] vp9/decoder/vp9_dsubexp.c.d
    [DEP] vp9/decoder/vp9_job_queue.c.d
    [DEP] vpx_config.c.d
    [DEP] vpx_dsp/x86/intrapred_sse2.asm.d
    [DEP] vpx_dsp/x86/intrapred_ssse3.asm.d
    [DEP] vpx_dsp/x86/add_noise_sse2.asm.d
    [DEP] vpx_dsp/x86/deblock_sse2.asm.d
    [DEP] vpx_dsp/x86/vpx_subpixel_8t_sse2.asm.d
    [DEP] vpx_dsp/x86/vpx_subpixel_bilinear_sse2.asm.d
    [DEP] vpx_dsp/x86/vpx_subpixel_8t_ssse3.asm.d
    [DEP] vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm.d
    [DEP] vpx_dsp/x86/vpx_convolve_copy_sse2.asm.d
    [DEP] vpx_dsp/x86/inv_wht_sse2.asm.d
    [DEP] vpx_dsp/x86/sad4d_sse2.asm.d
    [DEP] vpx_dsp/x86/sad_sse2.asm.d
    [DEP] vpx_dsp/x86/subtract_sse2.asm.d
    [DEP] vpx_dsp/x86/subpel_variance_sse2.asm.d
    [DEP] vp8/common/x86/dequantize_mmx.asm.d
    [DEP] vp8/common/x86/idctllm_mmx.asm.d
    [DEP] vp8/common/x86/recon_mmx.asm.d
    [DEP] vp8/common/x86/subpixel_mmx.asm.d
    [DEP] vp8/common/x86/idctllm_sse2.asm.d
    [DEP] vp8/common/x86/subpixel_sse2.asm.d
    [DEP] vp8/common/x86/recon_sse2.asm.d
    [DEP] vp8/common/x86/loopfilter_sse2.asm.d
    [DEP] vp8/common/x86/iwalsh_sse2.asm.d
    [DEP] vp8/common/x86/subpixel_ssse3.asm.d
    [DEP] vp8/common/x86/mfqe_sse2.asm.d
    [DEP] vp8/encoder/x86/copy_sse2.asm.d
    [DEP] vp8/encoder/x86/copy_sse3.asm.d
    [DEP] vp8/encoder/x86/dct_sse2.asm.d
    [DEP] vp8/encoder/x86/fwalsh_sse2.asm.d
    [DEP] vp8/encoder/x86/block_error_sse2.asm.d
    [DEP] vp8/encoder/x86/temporal_filter_apply_sse2.asm.d
    [DEP] vp9/encoder/x86/vp9_dct_sse2.asm.d
    [DEP] vp9/encoder/x86/vp9_error_sse2.asm.d
    [DEP] vp9/ratectrl_rtc.cc.d
    [DEP] vp8/vp8_ratectrl_rtc.cc.d
    [CC] vpx/src/vpx_decoder.c.o
    [CC] vpx/src/vpx_encoder.c.o
    [CC] vpx/src/vpx_codec.c.o
    [CC] vpx/src/vpx_image.c.o
    [CC] vpx_mem/vpx_mem.c.o
    [CC] vpx_scale/generic/vpx_scale.c.o
    [CC] vpx_scale/generic/yv12config.c.o
    [CC] vpx_scale/generic/yv12extend.c.o
    [CC] vpx_scale/generic/gen_scalers.c.o
    [CC] vpx_scale/vpx_scale_rtcd.c.o
    [CC] vpx_ports/emms_mmx.c.o
    [CC] vpx_dsp/prob.c.o

Additional context

vcpkg.json
{
  "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
  "name": "test-package",
  "version": "1.0.0",
  "dependencies": [
    "libvpx",
    "libvorbis",
    "libyuv"
  ],
  "builtin-baseline": "000d1bda1ffa95a73e0b40334fa4103d6f4d3d48"
}

@HybridEidolon
Copy link
Contributor Author

The generated headers vp8_rtcd.h, vp9_rtcd.h, vpx_config.h and vpx_scale_rtcd.h are all empty. These are generated by perl scripts, but the perl scripts are not executing successfully during the configuration step, and the portfile still continues to the build step anyway.

@HybridEidolon
Copy link
Contributor Author

Using perl for msys2 instead of the vcpkg-obtained perl works. I'll make a PR in a minute.

@FrankXie05 FrankXie05 self-assigned this Dec 11, 2023
@FrankXie05 FrankXie05 added the category:port-bug The issue is with a library, which is something the port should already support label Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants