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] Add support for dav1d,fontconfig,freetype,fribidi,ilbc,modplug,opengl,openjpeg,libssh,tensorflow,tesseract,webp,libxml2 dependencies. #15787

Merged
merged 86 commits into from
Apr 7, 2021

Conversation

Sibras
Copy link
Contributor

@Sibras Sibras commented Jan 21, 2021

  • [ffmpeg] Add support for fontconfig,freetype,fribidi,modplug,openjpeg,libssh,tesseract,libxml2 dependencies.
  • [ffmpeg] Add suport for libass,dav1d,libilbc, tensorflow.
  • [tesseract] Use vcpkg_fixup_pkgconfig.
  • [libxml2] Correct pkgconfig lib name.
  • [libwebp] Use vcpkg_fixup_pkgconfig.
  • [libssh] Export pkgconfig on windows.
  • [modplug] Export pkgconfig on windows.
  • [fribidi] Use vcpkg_fixup_pkgconfig.
  • [openjpeg] Correct required static link libs in pkgconfig.
  • [ffnvcodec] Set uwp as unsupported.
  • [aubio] Fix building with updated FFmpeg.
  • [pangolin] Fix building with updated FFmpeg.
  • [libvpx] Enable arm-uwp builds.
  • [fontconfig] Disable unused dependencies

Also added a convenience dependency to select all available dependencies in a single option "ffmpeg[all]". Also have ffmpeg[all-gpl] and ffmpeg[all-nonfree] as supersets of ffmpeg[all] with additional dependencies as allowed by the different licensing (ffmpeg[all] is default lgpl)

Some of the dependencies do not work on certain configurations so they are disabled where necessary.

Closes: #13227
Closes: #13111

@JackBoosY JackBoosY self-assigned this Jan 21, 2021
@JackBoosY JackBoosY added the category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist label Jan 21, 2021
ports/fribidi/portfile.cmake Outdated Show resolved Hide resolved
@JackBoosY
Copy link
Contributor

Ping @cenit for review again.

Copy link
Contributor

@cenit cenit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only a minor change maybe might be preferable

ports/libmodplug/portfile.cmake Outdated Show resolved Hide resolved
ports/openjpeg/portfile.cmake Outdated Show resolved Hide resolved
ports/libssh/CONTROL Outdated Show resolved Hide resolved
ports/openjpeg/portfile.cmake Outdated Show resolved Hide resolved
@JackBoosY
Copy link
Contributor

Need test all features.

@rdstevens
Copy link

rdstevens commented Jan 27, 2021

config.log
C:\code\sibras\vcpkg>vcpkg install ffmpeg[all-gpl]:x64-windows-static

ERROR: libssh not found using pkg-config

C:\code\sibras\vcpkg>vcpkg install libssh:x64-windows-static
Computing installation plan...
The following packages are already installed:
libssh[core,crypto,mbedtls]:x64-windows-static -> 0.9.5#2
Package libssh:x64-windows-static is already installed

Total elapsed time: 377.6 us

The package libssh is compatible with built-in CMake targets:

find_package(libssh CONFIG REQUIRED)
target_link_libraries(main PRIVATE ssh)

@JackBoosY
Copy link
Contributor

When building pangolin:x64-linux:

[66/77] : && /usr/bin/c++ -std=c++0x -Wall -Wextra -fPIC -g  examples/HelloPangolin/CMakeFiles/HelloPangolin.dir/main.cpp.o -o examples/HelloPangolin/HelloPangolin  src/libpangolin.a  -lrt  -lpthread  -pthread  -Wl,--no-undefined  /usr/lib/x86_64-linux-gnu/libGL.so  /usr/lib/x86_64-linux-gnu/libGLU.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libGLEWd.a  /usr/lib/x86_64-linux-gnu/libSM.so  /usr/lib/x86_64-linux-gnu/libICE.so  /usr/lib/x86_64-linux-gnu/libX11.so  /usr/lib/x86_64-linux-gnu/libXext.so  /usr/lib/x86_64-linux-gnu/libpython3.6m.so  -ldl  -lutil  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavdevice.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavfilter.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavformat.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavcodec.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavresample.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpostproc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libswresample.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libswscale.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavutil.a  -lX11  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libass.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libharfbuzz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbz2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libdav1d.a  -lc  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libilbc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfdk-aac.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfontconfig.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfreetyped.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libexpat.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libuuid.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlidec-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlicommon-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfribidi.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/liblzmad.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libmp3lame.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libmodplug.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libOpenCL.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libopenjp2.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libssl.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libcrypto.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libopus.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libSDL2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libsnappyd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libsoxr.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libspeex.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtheoraenc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libogg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libvorbis.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libvorbisenc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libvpx.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwavpack.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpdemuxd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpmuxd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpdecoderd.a  -lpthread  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libx264.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libx265.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtiffd.a  /usr/lib/x86_64-linux-gnu/libGL.so  /usr/lib/x86_64-linux-gnu/libGLU.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libGLEWd.a  /usr/lib/x86_64-linux-gnu/libSM.so  /usr/lib/x86_64-linux-gnu/libICE.so  /usr/lib/x86_64-linux-gnu/libX11.so  /usr/lib/x86_64-linux-gnu/libXext.so  /usr/lib/x86_64-linux-gnu/libpython3.6m.so  -ldl  -lutil  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavdevice.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavfilter.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavformat.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavcodec.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavresample.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpostproc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libswresample.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libswscale.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavutil.a  -lX11  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libass.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libharfbuzz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbz2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libdav1d.a  -lc  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libilbc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfdk-aac.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfontconfig.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfreetyped.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libexpat.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libuuid.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlidec-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlicommon-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfribidi.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/liblzmad.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libmp3lame.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libmodplug.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libOpenCL.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libopenjp2.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libssl.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libcrypto.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libopus.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libSDL2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libsnappyd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libsoxr.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libspeex.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtheoraenc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libogg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libvorbis.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libvorbisenc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libvpx.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwavpack.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpdemuxd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpmuxd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpdecoderd.a  -lpthread  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libx264.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libx265.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtiffd.a && :
FAILED: examples/HelloPangolin/HelloPangolin 
: && /usr/bin/c++ -std=c++0x -Wall -Wextra -fPIC -g  examples/HelloPangolin/CMakeFiles/HelloPangolin.dir/main.cpp.o -o examples/HelloPangolin/HelloPangolin  src/libpangolin.a  -lrt  -lpthread  -pthread  -Wl,--no-undefined  /usr/lib/x86_64-linux-gnu/libGL.so  /usr/lib/x86_64-linux-gnu/libGLU.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libGLEWd.a  /usr/lib/x86_64-linux-gnu/libSM.so  /usr/lib/x86_64-linux-gnu/libICE.so  /usr/lib/x86_64-linux-gnu/libX11.so  /usr/lib/x86_64-linux-gnu/libXext.so  /usr/lib/x86_64-linux-gnu/libpython3.6m.so  -ldl  -lutil  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavdevice.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavfilter.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavformat.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavcodec.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavresample.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpostproc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libswresample.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libswscale.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavutil.a  -lX11  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libass.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libharfbuzz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbz2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libdav1d.a  -lc  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libilbc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfdk-aac.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfontconfig.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfreetyped.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libexpat.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libuuid.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlidec-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlicommon-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfribidi.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/liblzmad.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libmp3lame.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libmodplug.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libOpenCL.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libopenjp2.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libssl.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libcrypto.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libopus.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libSDL2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libsnappyd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libsoxr.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libspeex.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtheoraenc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libogg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libvorbis.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libvorbisenc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libvpx.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwavpack.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpdemuxd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpmuxd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpdecoderd.a  -lpthread  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libx264.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libx265.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtiffd.a  /usr/lib/x86_64-linux-gnu/libGL.so  /usr/lib/x86_64-linux-gnu/libGLU.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libGLEWd.a  /usr/lib/x86_64-linux-gnu/libSM.so  /usr/lib/x86_64-linux-gnu/libICE.so  /usr/lib/x86_64-linux-gnu/libX11.so  /usr/lib/x86_64-linux-gnu/libXext.so  /usr/lib/x86_64-linux-gnu/libpython3.6m.so  -ldl  -lutil  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavdevice.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavfilter.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavformat.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavcodec.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavresample.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpostproc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libswresample.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libswscale.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libavutil.a  -lX11  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libass.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libharfbuzz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbz2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libdav1d.a  -lc  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libilbc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfdk-aac.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfontconfig.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfreetyped.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libexpat.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libuuid.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlidec-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlicommon-static.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfribidi.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/liblzmad.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libmp3lame.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libmodplug.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libOpenCL.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libopenjp2.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libssl.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libcrypto.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libopus.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libSDL2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libsnappyd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libsoxr.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libspeex.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtheoraenc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libogg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libvorbis.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libvorbisenc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libvpx.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwavpack.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpdemuxd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpmuxd.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libwebpdecoderd.a  -lpthread  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libx264.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libx265.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libjpeg.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtiffd.a && :
/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libx265.a(threadpool.cpp.o): In function `numa_free_nodemask':
/usr/include/numa.h:183: undefined reference to `numa_bitmask_free'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libx265.a(threadpool.cpp.o): In function `numa_free_cpumask':
/usr/include/numa.h:279: undefined reference to `numa_bitmask_free'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libx265.a(threadpool.cpp.o): In function `x265::ThreadPool::allocThreadPools(x265_param*, int&, bool)':
/mnt/vcpkg-ci/buildtrees/x265/src/f1b45711b7-44018d5a0c.clean/source/common/threadpool.cpp:268: undefined reference to `numa_available'
/mnt/vcpkg-ci/buildtrees/x265/src/f1b45711b7-44018d5a0c.clean/source/common/threadpool.cpp:283: undefined reference to `numa_allocate_cpumask'
/mnt/vcpkg-ci/buildtrees/x265/src/f1b45711b7-44018d5a0c.clean/source/common/threadpool.cpp:286: undefined reference to `numa_node_to_cpus'
/mnt/vcpkg-ci/buildtrees/x265/src/f1b45711b7-44018d5a0c.clean/source/common/threadpool.cpp:288: undefined reference to `numa_bitmask_weight'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libx265.a(threadpool.cpp.o): In function `x265::ThreadPool::create(int, int, unsigned long)':
/mnt/vcpkg-ci/buildtrees/x265/src/f1b45711b7-44018d5a0c.clean/source/common/threadpool.cpp:489: undefined reference to `numa_available'
/mnt/vcpkg-ci/buildtrees/x265/src/f1b45711b7-44018d5a0c.clean/source/common/threadpool.cpp:491: undefined reference to `numa_allocate_nodemask'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libx265.a(threadpool.cpp.o): In function `x265::ThreadPool::setThreadNodeAffinity(void*)':
/mnt/vcpkg-ci/buildtrees/x265/src/f1b45711b7-44018d5a0c.clean/source/common/threadpool.cpp:583: undefined reference to `numa_available'
/mnt/vcpkg-ci/buildtrees/x265/src/f1b45711b7-44018d5a0c.clean/source/common/threadpool.cpp:585: undefined reference to `numa_run_on_node_mask'
/mnt/vcpkg-ci/buildtrees/x265/src/f1b45711b7-44018d5a0c.clean/source/common/threadpool.cpp:586: undefined reference to `numa_set_interleave_mask'
/mnt/vcpkg-ci/buildtrees/x265/src/f1b45711b7-44018d5a0c.clean/source/common/threadpool.cpp:587: undefined reference to `numa_set_localalloc'
/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libx265.a(threadpool.cpp.o): In function `x265::ThreadPool::getNumaNodeCount()':
/mnt/vcpkg-ci/buildtrees/x265/src/f1b45711b7-44018d5a0c.clean/source/common/threadpool.cpp:606: undefined reference to `numa_available'
/mnt/vcpkg-ci/buildtrees/x265/src/f1b45711b7-44018d5a0c.clean/source/common/threadpool.cpp:607: undefined reference to `numa_max_node'
collect2: error: ld returned 1 exit status

@JackBoosY JackBoosY added the info:reviewed Pull Request changes follow basic guidelines label Mar 31, 2021
@PhoebeHui
Copy link
Contributor

We have same issue #16990 reported about gdal:x64-osx, however, I haven't repro this issue locally.

...
./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
configure.ac:4448: the top level
configure.ac:5611: warning: The macro `AC_CHECKING' is obsolete.
configure.ac:5611: You should run autoupdate.
./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
configure.ac:5611: the top level
configure.ac:6009: warning: AC_OUTPUT should be used without arguments.
configure.ac:6009: You should run autoupdate.
autoreconf: running: /usr/local/Cellar/autoconf/2.71/bin/autoheader --force
autoreconf: configure.ac: not using Automake
autoreconf: './config.sub' is updated
autoreconf: './config.guess' is updated
configure.ac: error: required file 'config.rpath' not found
autoreconf: Leaving directory '.'


@JackBoosY
Copy link
Contributor

Can you please solve the file conflicts again?

Thanks,

@JackBoosY JackBoosY removed the info:reviewed Pull Request changes follow basic guidelines label Apr 2, 2021
@JackBoosY
Copy link
Contributor

I will ensure that this PR is merged as soon as possible.

@JackBoosY
Copy link
Contributor

@vicroms @strega-nil Please merge this PR first.

@JackBoosY JackBoosY added the info:reviewed Pull Request changes follow basic guidelines label Apr 7, 2021
@strega-nil strega-nil merged commit 85a48c1 into microsoft:master Apr 7, 2021
@strega-nil
Copy link
Contributor

Thanks so much @Sibras :)

This was referenced Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ffmpeg] libwebp support [FFmpeg] Add New Feature(libass,libfreetype,fontconfig)
8 participants