amiaopensource / homebrew-amiaos

Homebrew tap for AMIA Open Source
MIT License
27 stars 14 forks source link

ffmpegdecklink: fontconfig not found using pkg-config #360

Open jshupert opened 11 months ago

jshupert commented 11 months ago

Friends, I have ubuntu 18.04 and I am attempting to install vrecord. I have been using the wisdom from https://github.com/amiaopensource/vrecord/blob/main/Resources/Documentation/linux_installation.md

when I do brew install vrecord

with ==> Installing amiaopensource/amiaos/vrecord dependency: amiaopensource/amiaos/ffmpegdecklink ==> ./configure --disable-shared --enable-version3 --cc=gcc-13 --host-cflags= --host-ldflags= --enable-gpl --enable-libfreet Last 15 lines from /home/eng/.cache/Homebrew/Logs/ffmpegdecklink/01.configure: --enable-libfontconfig --disable-libjack --disable-indev=jack --enable-nonfree --enable-decklink --extra-cflags=-I/home/linuxbrew/.linuxbrew/include --extra-ldflags=-L/home/linuxbrew/.linuxbrew/include

ERROR: fontconfig not found using pkg-config config.log

jshupert commented 11 months ago

I should mention that i did install libfontconfig1-dev

sudo apt install libfontconfig1-dev [sudo] password for eng: Reading package lists... Done Building dependency tree
Reading state information... Done libfontconfig1-dev is already the newest version (2.12.6-0ubuntu2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

but that did not solve my problem.

I stll see record -p

Command 'vrecord' not found, did you mean:

command 'arecord' from deb alsa-utils command 'record' from deb xawtv-tools

my ffmpeg seems to report

ffmpeg version 3.4.11-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04) configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared

I could probably live without fontconfig is it not only used to do text overlay??

thanks

jshupert commented 11 months ago

and there is this

eng@z820vid1:~$ sudo apt install fontconfig Reading package lists... Done

and this

brew install fontconfig Warning: fontconfig 2.14.2 is already installed and up-to-date. To reinstall 2.14.2, run: brew reinstall fontconfig

Building dependency tree
Reading state information... Done fontconfig is already the newest version (2.12.6-0ubuntu2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

retokromer commented 11 months ago

ffmpeg version 3.4.11-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers

This is a very old FFmpeg: it was cut form the development branch almost six years ago. The current release is 6.0 and 6.1 should follow soonish.

Yet vrecord uses it’s own FFmpeg, which in automatically installed by our ffmpegdecklink formula and this is exactly what gives you the error message.

Currently I cannot test on Ubuntu 18.04, but “only” on 23.04, 22.04.3 LTS and 20.04.6 LTS. Possibly @privatezero has an older one?

privatezero commented 11 months ago

Earliest version I have access to is 22.04.3 also - however, I've been able to reproduce the problem. I had a functioning build of ffmpegdecklink, but now when I attempt brew --reinstall ffmpegdecklink it errors with the same issue of ERROR: fontconfig not found using pkg-config. Seems like something might have changed again.

@retokromer, can you reproduce the problem on your end?

retokromer commented 11 months ago

@privatezero I didn’t try yet, because I also have regular access “only” to three newer Ubuntu versions. I’ll give a try with those later during the weekend.

retokromer commented 11 months ago

@privatezero By chance, have you tested with https://github.com/amiaopensource/homebrew-amiaos/pull/349 yet?

privatezero commented 11 months ago

@retokromer I just tested with https://github.com/amiaopensource/homebrew-amiaos/pull/349, and had the same result (also, sorry for missing that PR somehow!).

I'll be able to test on a different install of Ubuntu tomorrow to see if that changes anything.

I'm looking at the logs, and it does appear that fontconfig is on the PKG_CONFIG_PATH, so not sure why it isn't finding it in the configuration.

PKG_CONFIG_PATH: /home/linuxbrew/.linuxbrew/opt/zlib/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libpng/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/freetype/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/ncurses/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/readline/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libxcrypt/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/util-linux/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/expat/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/fontconfig/lib/pkgconfig: ... ...

retokromer commented 11 months ago

@privatezero I could reproduce as well, but so far I could not find any reason why this occurs. On my end I tested on 23.04, 22.04.3 LTS and 20.04.6 LTS.

privatezero commented 11 months ago

Possibly related - I just tried a test brew install of ffmpeg --HEAD, and it also is failing with a pkg-conifg error (in this case unable to find libass) for something that is also seemingly installed and part of the PKG_CONFIG_PATH.

retokromer commented 11 months ago

Interesting … there are two FFmpeg patches upstream, but those are for the releases, not the head.

privatezero commented 11 months ago

@retokromer strange - I have just tested on a computer running 23.04 and I am able to make it through the configuration step successfully. (Build fails later due to a different issue - possibly related to this.

Still not sure what the difference between success/failure here is as the PKG_CONFIG_PATH looks identical. I wonder if it would be worth developing some instructions about how to build ffmpegdecklink independently of brew. (That would also require a slight tweak to vrecord so that it doesn't only look for ffmpeg-dl in Cellar)

retokromer commented 11 months ago

FYI @privatezero : As the official FFmpeg formula doesn’t allow options since quite a while, we are maintaining an alternate formula, which is referenced also from the FFmpeg website. In addition, at my company we actually use a little modified vrecord in order to use the “regular” FFmpeg on the computer rather than the one “hidden“ in Cellar.

privatezero commented 11 months ago

@jshupert @retokromer, I believe I have found a resolution to this issue - please try running:

brew reinstall bzip2 && brew reinstall fontconfig and then try installing ffmpegdecklink again. This seems to have fixed this particular issue on the machine I reproduced this problem on.

It is possible that after this you will run into the compilation issue that is addressed via @retokromer's alternate FFmpeg formula, but we'll cross that bridge when we get there!

Let us know if this works and we'll update guidance, and should compilation fail for a new reason, please file a new issue so we can address it there.

jshupert commented 11 months ago

I did

brew reinstall bzip2 && brew reinstall fontconfig

==> Fetching bzip2 ==> Downloading https://ghcr.io/v2/homebrew/core/bzip2/manifests/1.0.8-2 Already downloaded: /home/eng/.cache/Homebrew/downloads/c1a79a32cc9082c99fc318e6b2596b8b1f6e99abacb32bcbe88f979e4be5e4ea--bzip2-1.0.8-2.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/bzip2/blobs/sha256:a731afa70daa Already downloaded: /home/eng/.cache/Homebrew/downloads/db074a718e02557eff8cf3cd1476e2fedc40d4ec894870c864b8251d75dec576--bzip2--1.0.8.x86_64_linux.bottle.2.tar.gz ==> Reinstalling bzip2 ==> Pouring bzip2--1.0.8.x86_64_linux.bottle.2.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/bzip2/1.0.8: 31 files, 606.2KB ==> Running brew cleanup bzip2... Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew). ==> Fetching fontconfig ==> Downloading https://ghcr.io/v2/homebrew/core/fontconfig/manifests/2.14.2 Already downloaded: /home/eng/.cache/Homebrew/downloads/661b3d30dc143679f93265d36ce47323212b212b53bb099e319b0dba9c05594e--fontconfig-2.14.2.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/fontconfig/blobs/sha256:d92379c Already downloaded: /home/eng/.cache/Homebrew/downloads/ceb37ad5228cff05c71ef1212341f8aa7395f3240325d76884e4896376235aaa--fontconfig--2.14.2.x86_64_linux.bottle.tar.gz ==> Reinstalling fontconfig ==> Pouring fontconfig--2.14.2.x86_64_linux.bottle.tar.gz ==> Regenerating font cache, this may take a while ==> /home/linuxbrew/.linuxbrew/Cellar/fontconfig/2.14.2/bin/fc-cache -frv 🍺 /home/linuxbrew/.linuxbrew/Cellar/fontconfig/2.14.2: 93 files, 2.5MB ==> Running brew cleanup fontconfig... Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).

then i did

brew install vrecord Running brew update --auto-update... ==> Auto-updated Homebrew! Updated 3 taps (amiaopensource/amiaos, homebrew/core and homebrew/cask). ==> New Formulae apify-cli python-click bazel-diff python-flit-core cargo-all-features python-lxml cargo-binutils python-markupsafe cargo-deps python-mutagen cloud-sql-proxy python-packaging imgdiet python-pycurl kor python-pyparsing ldid-procursus python-pyproject-hooks libjcat python-pytz libxmlb terraform-graph-beautifier mariadb@11.0 tf-profile meson-python toxiproxy mgis udp2raw-multiplatform orbiton vunnel ==> New Casks hypercal simple-web-server updf piphero sparkplate viso

You have 6 outdated formulae installed.

==> Fetching dependencies for amiaopensource/amiaos/vrecord: linux-headers@5.15, gcc, freetype, sqlite, libedit, glib, amiaopensource/amiaos/ffmpegdecklink, atk, autoconf, automake, lzo, pixman, cairo, fribidi, shared-mime-info, gdk-pixbuf, graphite2, harfbuzz, libxdamage, elfutils, glslang, gzip, libpciaccess, libdrm, wayland, libva, libvdpau, libxshmfence, libxv, llvm@15, lm-sensors, wayland-protocols, mesa, mesa-glu, freeglut, libepoxy, libpthread-stubs, pango, hicolor-icon-theme, libxcomposite, gtk+, amiaopensource/amiaos/gtkdialog and cowsay ==> Fetching linux-headers@5.15 ==> Downloading https://ghcr.io/v2/homebrew/core/linux-headers/5.15/manifests/5. ######################################################################### 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/linux-headers/5.15/blobs/sha256 ######################################################################### 100.0% ==> Fetching gcc ==> Downloading https://ghcr.io/v2/homebrew/core/gcc/manifests/13.2.0 ######################################################################### 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gcc/blobs/sha256:fea0256da0e5ef ######################################################################### 100.0% ==> Fetching freetype ==> Downloading https://ghcr.io/v2/homebrew/core/freetype/manifests/2.13.2 ######################################################################### 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/freetype/blobs/sha256:7f4f7449a ######################################################################### 100.0% ==> Fetching sqlite ==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.43.0_1 ######################################################################### 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/blobs/sha256:596c57775ee ######################################################################### 100.0% ==> Fetching libedit ==> Downloading https://ghcr.io/v2/homebrew/core/libedit/manifests/20230828-3.1 ######################################################################### 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libedit/blobs/sha256:5cb9c8007d ######################################################################### 100.0% ==> Fetching glib ==> Downloading https://ghcr.io/v2/homebrew/core/glib/manifests/2.76.5 ######################################################################### 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/glib/blobs/sha256:1d594c51f52eb ######################################################################### 100.0% ==> Fetching amiaopensource/amiaos/ffmpegdecklink ==> Downloading https://github.com/FFmpeg/FFmpeg/commit/effadce6c756247ea8bae32d ######################################################################### 100.0% ==> Downloading https://gitlab.archlinux.org/archlinux/packaging/packages/ffmpeg ######################################################################### 100.0% ==> Downloading https://ffmpeg.org/releases/ffmpeg-6.0.tar.xz ######################################################################### 100.0% ==> Fetching atk ==> Downloading https://ghcr.io/v2/homebrew/core/atk/manifests/2.38.0 Already downloaded: /home/eng/.cache/Homebrew/downloads/6d75a288f0b7231cb715f7159e434214d42f8eb230ee059fceaf8d82133d0a68--atk-2.38.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/atk/blobs/sha256:4ffb42482b22fe Already downloaded: /home/eng/.cache/Homebrew/downloads/384b90f93a5c92e54d6c130adcab35dc01c41aea01e152c55d2aa7aed080a4fa--atk--2.38.0.x86_64_linux.bottle.tar.gz ==> Fetching autoconf ==> Downloading https://ghcr.io/v2/homebrew/core/autoconf/manifests/2.71 Already downloaded: /home/eng/.cache/Homebrew/downloads/057cde2b686872aeeff2e91dc36d037807d7342dd50929fbdfea8bcc572fbed0--autoconf-2.71.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/autoconf/blobs/sha256:9f9a73292 Already downloaded: /home/eng/.cache/Homebrew/downloads/3f68a25ba78c87e7d08c6b529f89c0d5e80144bf3b5f8242e7d70bb64d597e6b--autoconf--2.71.x86_64_linux.bottle.tar.gz ==> Fetching automake ==> Downloading https://ghcr.io/v2/homebrew/core/automake/manifests/1.16.5 Already downloaded: /home/eng/.cache/Homebrew/downloads/6863d3ffa73c5a5cbf1f1ea9e47b60784d09b232ac9e56149c1b931d9ec44d8b--automake-1.16.5.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/automake/blobs/sha256:59808c20f Already downloaded: /home/eng/.cache/Homebrew/downloads/0636fd23d95938f0a6e5eb2b50a90af1d0dd25f60cd244d5fec8311308396045--automake--1.16.5.x86_64_linux.bottle.tar.gz ==> Fetching lzo ==> Downloading https://ghcr.io/v2/homebrew/core/lzo/manifests/2.10 Already downloaded: /home/eng/.cache/Homebrew/downloads/d4aa5b0c239912c53bc857d1012c6b7feb4acb509618f5e100f95bf8521f08e7--lzo-2.10.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/lzo/blobs/sha256:8413f94bb69f33 Already downloaded: /home/eng/.cache/Homebrew/downloads/bf79b88e4561dca80855574f799df351d822240a7d2c0d7121b509fe0c8028db--lzo--2.10.x86_64_linux.bottle.tar.gz ==> Fetching pixman ==> Downloading https://ghcr.io/v2/homebrew/core/pixman/manifests/0.42.2-1 Already downloaded: /home/eng/.cache/Homebrew/downloads/2b0d8f2c63712ce503fa54309b732051a7ca5cd31bd561aa4aaba331bf26bcef--pixman-0.42.2-1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/pixman/blobs/sha256:9cf9d788868 Already downloaded: /home/eng/.cache/Homebrew/downloads/0ee8565c7a71d85c06ae9e99556dc63bf084c9ecf4a408c0a2c5e5cec92f0f87--pixman--0.42.2.x86_64_linux.bottle.1.tar.gz ==> Fetching cairo ==> Downloading https://ghcr.io/v2/homebrew/core/cairo/manifests/1.16.0_5 Already downloaded: /home/eng/.cache/Homebrew/downloads/f9e86ee818c57a136b1c1c82caecdf07bb8eaad8e31f5e59e456a10d6d1a1cc5--cairo-1.16.0_5.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/cairo/blobs/sha256:678c795a1113 Already downloaded: /home/eng/.cache/Homebrew/downloads/49b71a01f3a2ca0ab14d79d998e6b654e2ede4d5e52e6f5657e277b965d73f97--cairo--1.16.0_5.x86_64_linux.bottle.tar.gz ==> Fetching fribidi ==> Downloading https://ghcr.io/v2/homebrew/core/fribidi/manifests/1.0.13 Already downloaded: /home/eng/.cache/Homebrew/downloads/0a8bdd323a3d26862d77249d5999ab774d1966995ddac29d67eb9a63d53552ff--fribidi-1.0.13.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/fribidi/blobs/sha256:4771f18b93 Already downloaded: /home/eng/.cache/Homebrew/downloads/412fe768961d2da09311a516b222d046f8a8db62ad1c55783475486dbb0b6b88--fribidi--1.0.13.x86_64_linux.bottle.tar.gz ==> Fetching shared-mime-info ==> Downloading https://ghcr.io/v2/homebrew/core/shared-mime-info/manifests/2.2 Already downloaded: /home/eng/.cache/Homebrew/downloads/2c9f3cd44de9ab2002edcd3ea75c4962573b88993dc7533a9e97a2501bc08964--shared-mime-info-2.2.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/shared-mime-info/blobs/sha256:4 Already downloaded: /home/eng/.cache/Homebrew/downloads/1fa9ab1bb4609d027c20dca203ac91d8babde69cd7ceebc21fcaeb1f20a78cbb--shared-mime-info--2.2.x86_64_linux.bottle.tar.gz ==> Fetching gdk-pixbuf ==> Downloading https://ghcr.io/v2/homebrew/core/gdk-pixbuf/manifests/2.42.10_1 Already downloaded: /home/eng/.cache/Homebrew/downloads/bafdc7649c7c2533d65c51456f0dd34af1f319c68d3462c6f9906e57a9805859--gdk-pixbuf-2.42.10_1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/gdk-pixbuf/blobs/sha256:a105370 Already downloaded: /home/eng/.cache/Homebrew/downloads/a824e7e420860eb7248b96ed4ad7d343e3f7df85288e8d65052caff6311ca70a--gdk-pixbuf--2.42.10_1.x86_64_linux.bottle.tar.gz ==> Fetching graphite2 ==> Downloading https://ghcr.io/v2/homebrew/core/graphite2/manifests/1.3.14 Already downloaded: /home/eng/.cache/Homebrew/downloads/bbb4dd2ef1846301d1eb08053e19e11ca9c780f93f4d3b2d638fd94a9bf54a0c--graphite2-1.3.14.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/graphite2/blobs/sha256:0e811b07 Already downloaded: /home/eng/.cache/Homebrew/downloads/989209ff4e3184ca932b34747ddb2be2667405f91883affec53952d73590a99c--graphite2--1.3.14.x86_64_linux.bottle.tar.gz ==> Fetching harfbuzz ==> Downloading https://ghcr.io/v2/homebrew/core/harfbuzz/manifests/8.1.1 Already downloaded: /home/eng/.cache/Homebrew/downloads/4e9f189228b4168a3e39087fb07e7d351a438943022efb78f1a06b717083a3dd--harfbuzz-8.1.1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/harfbuzz/blobs/sha256:6e559f1a8 Already downloaded: /home/eng/.cache/Homebrew/downloads/a86d404402f3a6575d14a021f263b85fab2028825cbaddc82cfbc4a8ab7bcdb0--harfbuzz--8.1.1.x86_64_linux.bottle.tar.gz ==> Fetching libxdamage ==> Downloading https://ghcr.io/v2/homebrew/core/libxdamage/manifests/1.1.6 Already downloaded: /home/eng/.cache/Homebrew/downloads/50018b7fcdbe09635a711eccf8418338e8694b3a512e0d4ede72bed9279a3f3a--libxdamage-1.1.6.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libxdamage/blobs/sha256:6d888f5 Already downloaded: /home/eng/.cache/Homebrew/downloads/e6b12d7e075e37efdcf1d09dc1d62282720108f81e8c584e5244dc44264e7b32--libxdamage--1.1.6.x86_64_linux.bottle.tar.gz ==> Fetching elfutils ==> Downloading https://ghcr.io/v2/homebrew/core/elfutils/manifests/0.189-1 Already downloaded: /home/eng/.cache/Homebrew/downloads/ea8076d67c63c64f2874c3ba9a4757d63953f8baf566fc30be0bf867542fc7fb--elfutils-0.189-1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/elfutils/blobs/sha256:e1116a1bf Already downloaded: /home/eng/.cache/Homebrew/downloads/4f5543bb9c187fe6750c9b1b198b606534b2e5bff2ac1c5fa42692474f573032--elfutils--0.189.x86_64_linux.bottle.1.tar.gz ==> Fetching glslang ==> Downloading https://ghcr.io/v2/homebrew/core/glslang/manifests/13.0.0 ######################################################################### 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/glslang/blobs/sha256:4dd35b0b9c ######################################################################### 100.0% ==> Fetching gzip ==> Downloading https://ghcr.io/v2/homebrew/core/gzip/manifests/1.13 Already downloaded: /home/eng/.cache/Homebrew/downloads/0d91669a675feb86cf04cb9efa0a1c54becc70551ccea0dfebd112e85f506766--gzip-1.13.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/gzip/blobs/sha256:118bb27498a81 Already downloaded: /home/eng/.cache/Homebrew/downloads/154ccf7f1086b16480cf727e1be858ddfbb6a1e2a032460e10650c16e81a79e8--gzip--1.13.x86_64_linux.bottle.tar.gz ==> Fetching libpciaccess ==> Downloading https://ghcr.io/v2/homebrew/core/libpciaccess/manifests/0.17 Already downloaded: /home/eng/.cache/Homebrew/downloads/b5d8d29f5fccf7d75c1c07d4330192eb2fe2ff6c800b8985c971aed45bf4aabe--libpciaccess-0.17.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libpciaccess/blobs/sha256:6ea67 Already downloaded: /home/eng/.cache/Homebrew/downloads/6322eb89fb4370b946253030df0a642ade1660809aa60a8d14891c29b8f7bb03--libpciaccess--0.17.x86_64_linux.bottle.tar.gz ==> Fetching libdrm ==> Downloading https://ghcr.io/v2/homebrew/core/libdrm/manifests/2.4.116 Already downloaded: /home/eng/.cache/Homebrew/downloads/6660b3f139000a2af3b25c6416b3cf2f32a0958ce502457ed275a2e927959b7b--libdrm-2.4.116.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libdrm/blobs/sha256:f0f99c7cedf Already downloaded: /home/eng/.cache/Homebrew/downloads/5b93a3c64230aaecbfc2a10fb19bcf9ec8931e9a456ed5f702a7d8fd18868ab1--libdrm--2.4.116.x86_64_linux.bottle.tar.gz ==> Fetching wayland ==> Downloading https://ghcr.io/v2/homebrew/core/wayland/manifests/1.22.0 Already downloaded: /home/eng/.cache/Homebrew/downloads/9d1ab23e427eee7f2fded84a4e3e931f8142b01ff680bce1f9a17672c015a520--wayland-1.22.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/wayland/blobs/sha256:bb61e1add3 Already downloaded: /home/eng/.cache/Homebrew/downloads/ed8ba8e732a72f994d7e3550b9ee1d56dba3128b1ebbaee4bbf9942ffdeee21c--wayland--1.22.0.x86_64_linux.bottle.tar.gz ==> Fetching libva ==> Downloading https://ghcr.io/v2/homebrew/core/libva/manifests/2.19.0 Already downloaded: /home/eng/.cache/Homebrew/downloads/94432fd130d133fa204c993231afcd4f7f05b3817a8646faf47059059b1a02aa--libva-2.19.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libva/blobs/sha256:644cb7da12a2 Already downloaded: /home/eng/.cache/Homebrew/downloads/af9040e1048b3f0ada275cf08999c9f63c4a7a60abf840c3c7195f6077528274--libva--2.19.0.x86_64_linux.bottle.tar.gz ==> Fetching libvdpau ==> Downloading https://ghcr.io/v2/homebrew/core/libvdpau/manifests/1.5 Already downloaded: /home/eng/.cache/Homebrew/downloads/74016dc7c1e5ace4dd28cc15bff05414c9aae00b8eabbb8f77f6c0ffc07b1b3e--libvdpau-1.5.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libvdpau/blobs/sha256:efe7bfed2 Already downloaded: /home/eng/.cache/Homebrew/downloads/08a51ea4adb00cf4a7287d20ed7847b9f7f440ef9a036c4506f94daa241daa2d--libvdpau--1.5.x86_64_linux.bottle.tar.gz ==> Fetching libxshmfence ==> Downloading https://ghcr.io/v2/homebrew/core/libxshmfence/manifests/1.3.2 Already downloaded: /home/eng/.cache/Homebrew/downloads/fddc5995c5100e7a1a5f4edc93820688b962fcde4a8e3bb755b4344b2044cd35--libxshmfence-1.3.2.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libxshmfence/blobs/sha256:53119 Already downloaded: /home/eng/.cache/Homebrew/downloads/aa5cc3089c096e84072b8e87a2da5c0aaa5f106a11e1f16138d61e32e1db4daf--libxshmfence--1.3.2.x86_64_linux.bottle.tar.gz ==> Fetching libxv ==> Downloading https://ghcr.io/v2/homebrew/core/libxv/manifests/1.0.12 Already downloaded: /home/eng/.cache/Homebrew/downloads/424e6a5c0999a9a27afb8440c69c7153776aca97089b40d7bf1ff769893de3ff--libxv-1.0.12.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libxv/blobs/sha256:db2f06d9ccdd Already downloaded: /home/eng/.cache/Homebrew/downloads/070732e810d0aa875c42c84be18e9cee552d6c024911036e2f86d917f8eb066f--libxv--1.0.12.x86_64_linux.bottle.tar.gz ==> Fetching llvm@15 ==> Downloading https://ghcr.io/v2/homebrew/core/llvm/15/manifests/15.0.7 Already downloaded: /home/eng/.cache/Homebrew/downloads/07d6b5a728fda40fb890ce488f96df4ad9896f32eef6f5ab4aa053d753c06614--llvm@15-15.0.7.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/llvm/15/blobs/sha256:943261dfc1 Already downloaded: /home/eng/.cache/Homebrew/downloads/41bf881f378cce6a58101f541025e985f38ef35e93d840cd32ac4a7ffb9f047c--llvm@15--15.0.7.x86_64_linux.bottle.tar.gz ==> Fetching lm-sensors ==> Downloading https://ghcr.io/v2/homebrew/core/lm-sensors/manifests/3.6.0 Already downloaded: /home/eng/.cache/Homebrew/downloads/8cdb949c52dc07e99e98df315647bbf6d80b93993283087caf5c49f93f98c811--lm-sensors-3.6.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/lm-sensors/blobs/sha256:9cab2dd Already downloaded: /home/eng/.cache/Homebrew/downloads/254371a742c8eff51baccc13ed195f25e5ba0c1c1a3963ebca9d7328ef0ca4bf--lm-sensors--3.6.0.x86_64_linux.bottle.tar.gz ==> Fetching wayland-protocols ==> Downloading https://ghcr.io/v2/homebrew/core/wayland-protocols/manifests/1.3 Already downloaded: /home/eng/.cache/Homebrew/downloads/b146629886844dcb31e6bf8bee61b6f08c12cb2f6ea971b4bf2200d56f2e7874--wayland-protocols-1.32.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/wayland-protocols/blobs/sha256: Already downloaded: /home/eng/.cache/Homebrew/downloads/c1b80b784f115367595fa85c2a309eacb2966dfeee9dc9340fe6f11eaceef377--wayland-protocols--1.32.x86_64_linux.bottle.tar.gz ==> Fetching mesa ==> Downloading https://ghcr.io/v2/homebrew/core/mesa/manifests/22.3.6_1 Already downloaded: /home/eng/.cache/Homebrew/downloads/5ac76f9e58a33f51c6ed9958a7f37639d9d64019c32a0abdf1e5c409c57fad3a--mesa-22.3.6_1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/mesa/blobs/sha256:4b57f13f3c984 Already downloaded: /home/eng/.cache/Homebrew/downloads/0bdc0c17efec83d3644e33c4d07503ced2942db2b3ebc2a305b69843af9b6eae--mesa--22.3.6_1.x86_64_linux.bottle.tar.gz ==> Fetching mesa-glu ==> Downloading https://ghcr.io/v2/homebrew/core/mesa-glu/manifests/9.0.2 Already downloaded: /home/eng/.cache/Homebrew/downloads/e6794eaec6dc84cd01b55952c25333870ea68d8efb304ee403b4df8c5a502151--mesa-glu-9.0.2.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/mesa-glu/blobs/sha256:bec2f7c24 Already downloaded: /home/eng/.cache/Homebrew/downloads/51cef91badc366660c1166be64702c506ee8b32eab7e6b8e497ab33afcc4f653--mesa-glu--9.0.2.x86_64_linux.bottle.tar.gz ==> Fetching freeglut ==> Downloading https://ghcr.io/v2/homebrew/core/freeglut/manifests/3.4.0 Already downloaded: /home/eng/.cache/Homebrew/downloads/04cce940d336114a6176f89434d1ec692f817951680d0a9c54da4b6b407ee68c--freeglut-3.4.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/freeglut/blobs/sha256:d77517509 Already downloaded: /home/eng/.cache/Homebrew/downloads/b5408f431431aaf6e71b0597df3c649e07b1ef56470c05626a35c7df5e05cb14--freeglut--3.4.0.x86_64_linux.bottle.tar.gz ==> Fetching libepoxy ==> Downloading https://ghcr.io/v2/homebrew/core/libepoxy/manifests/1.5.10 Already downloaded: /home/eng/.cache/Homebrew/downloads/fd91321dc6032305294ad3c7c3851bc80f1505f18512e4753036c509ba4b4e2c--libepoxy-1.5.10.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libepoxy/blobs/sha256:8798e1682 Already downloaded: /home/eng/.cache/Homebrew/downloads/cc4e0578eb067464d195adb339a0704ffa9996663994537006c2ade96468b63d--libepoxy--1.5.10.x86_64_linux.bottle.tar.gz ==> Fetching libpthread-stubs ==> Downloading https://ghcr.io/v2/homebrew/core/libpthread-stubs/manifests/0.5 Already downloaded: /home/eng/.cache/Homebrew/downloads/1b61f8cef4357ee8d50d9e14c4a894eb6007deb89794f1267d8be224624e7c3f--libpthread-stubs-0.5.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libpthread-stubs/blobs/sha256:3 Already downloaded: /home/eng/.cache/Homebrew/downloads/9303859b7ec49183b0eeae06a75185abe8ccac4dacce9390940c0f414fe57221--libpthread-stubs--0.5.x86_64_linux.bottle.tar.gz ==> Fetching pango ==> Downloading https://ghcr.io/v2/homebrew/core/pango/manifests/1.50.14 Already downloaded: /home/eng/.cache/Homebrew/downloads/9c0c4eff2aee3f88e99725c8ca269b1bd37db7bb38fbec2fe3da6a1c42b75171--pango-1.50.14.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/pango/blobs/sha256:c0e091a6c225 Already downloaded: /home/eng/.cache/Homebrew/downloads/4b65d240abbc21c1eacc6a8c193971e070154c00fdde21088262a1d3515b2f0f--pango--1.50.14.x86_64_linux.bottle.tar.gz ==> Fetching hicolor-icon-theme ==> Downloading https://ghcr.io/v2/homebrew/core/hicolor-icon-theme/manifests/0. Already downloaded: /home/eng/.cache/Homebrew/downloads/713c984987cfb15e35fc3fa0e951f5ab343f2154fdeab925615cb11b5bef9389--hicolor-icon-theme-0.17.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/hicolor-icon-theme/blobs/sha256 Already downloaded: /home/eng/.cache/Homebrew/downloads/351809716bc1148a7f33133c45dbe2582908251ab441f2d32bb2935f790e0ca5--hicolor-icon-theme--0.17.x86_64_linux.bottle.tar.gz ==> Fetching libxcomposite ==> Downloading https://ghcr.io/v2/homebrew/core/libxcomposite/manifests/0.4.6 Already downloaded: /home/eng/.cache/Homebrew/downloads/7fc8e41cd459f7731aa7c11cf18de856342549947bb8eaf108f62eb5eb22f4e6--libxcomposite-0.4.6.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libxcomposite/blobs/sha256:7c69 Already downloaded: /home/eng/.cache/Homebrew/downloads/e558ef25f845b83129012a27414de5f64b47a4b4634a34ce38ab1d2f36d90d89--libxcomposite--0.4.6.x86_64_linux.bottle.tar.gz ==> Fetching gtk+ ==> Downloading https://ghcr.io/v2/homebrew/core/gtkx/manifests/2.24.33_1 Already downloaded: /home/eng/.cache/Homebrew/downloads/2e7b85dfbe86ff6aecab459e700b2f8fd24983a265a1fae7c87fe13caf810d76--gtk+-2.24.33_1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/gtkx/blobs/sha256:3ccb9319c9550 Already downloaded: /home/eng/.cache/Homebrew/downloads/e1d7cd21d77638dcba9b33f93f67f0c04405e77a8b2eb3a82c0e3bc7357e6c6b--gtk+--2.24.33_1.x86_64_linux.bottle.tar.gz ==> Fetching amiaopensource/amiaos/gtkdialog ==> Downloading https://github.com/puppylinux-woof-CE/gtkdialog/archive/0.8.4d.t Already downloaded: /home/eng/.cache/Homebrew/downloads/9ad1b9aa93836cdde8a71070ff94b52c7c4d75777648ab8dc3bab09b9d35dd8e--gtkdialog-0.8.4d.tar.gz ==> Fetching cowsay ==> Downloading https://ghcr.io/v2/homebrew/core/cowsay/manifests/3.04_1 Already downloaded: /home/eng/.cache/Homebrew/downloads/e12a574f60711e86551096e1305206b764a37dc1b23a5a16d0d5246662acb87d--cowsay-3.04_1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/cowsay/blobs/sha256:8d35c9dfb46 Already downloaded: /home/eng/.cache/Homebrew/downloads/131f439d8e72e327436775a544833c974310341f08bfeeae69f3103c11de879c--cowsay--3.04_1.x86_64_linux.bottle.tar.gz ==> Fetching amiaopensource/amiaos/vrecord ==> Downloading https://github.com/amiaopensource/vrecord/archive/refs/tags/v202 Already downloaded: /home/eng/.cache/Homebrew/downloads/7572b62b0bb2f7e515765a4e3864654bea01a8f07e1ff4f10780084b95d45597--vrecord-2023-08-07.tar.gz ==> Installing vrecord from amiaopensource/amiaos ==> Installing dependencies for amiaopensource/amiaos/vrecord: linux-headers@5.15, gcc, freetype, sqlite, libedit, glib, amiaopensource/amiaos/ffmpegdecklink, atk, autoconf, automake, lzo, pixman, cairo, fribidi, shared-mime-info, gdk-pixbuf, graphite2, harfbuzz, libxdamage, elfutils, glslang, gzip, libpciaccess, libdrm, wayland, libva, libvdpau, libxshmfence, libxv, llvm@15, lm-sensors, wayland-protocols, mesa, mesa-glu, freeglut, libepoxy, libpthread-stubs, pango, hicolor-icon-theme, libxcomposite, gtk+, amiaopensource/amiaos/gtkdialog and cowsay ==> Installing amiaopensource/amiaos/vrecord dependency: linux-headers@5.15 ==> Pouring linux-headers@5.15--5.15.129.x86_64_linux.bottle.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/linux-headers@5.15/5.15.129: 961 files, 5.7MB ==> Installing amiaopensource/amiaos/vrecord dependency: gcc ==> Pouring gcc--13.2.0.x86_64_linux.bottle.tar.gz ==> Creating the GCC specs file: /home/linuxbrew/.linuxbrew/Cellar/gcc/13.2.0/bi 🍺 /home/linuxbrew/.linuxbrew/Cellar/gcc/13.2.0: 1,668 files, 320.2MB ==> Installing amiaopensource/amiaos/vrecord dependency: freetype ==> Pouring freetype--2.13.2.x86_64_linux.bottle.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/freetype/2.13.2: 68 files, 2.9MB ==> Installing amiaopensource/amiaos/vrecord dependency: sqlite ==> Pouring sqlite--3.43.0_1.x86_64_linux.bottle.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/sqlite/3.43.0_1: 12 files, 6.0MB ==> Installing amiaopensource/amiaos/vrecord dependency: libedit ==> Pouring libedit--20230828-3.1.x86_64_linux.bottle.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/libedit/20230828-3.1: 54 files, 793.0KB ==> Installing amiaopensource/amiaos/vrecord dependency: glib ==> Pouring glib--2.76.5.x86_64_linux.bottle.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/glib/2.76.5: 462 files, 26.1MB ==> Installing amiaopensource/amiaos/vrecord dependency: amiaopensource/ami ==> Patching ==> Applying effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch patching file libavcodec/x86/mathops.h ==> Applying add-av_stream_get_first_dts-for-chromium.patch patching file libavformat/avformat.h Hunk #1 succeeded at 1019 with fuzz 2 (offset -109 lines). patching file libavformat/mux_utils.c Hunk #1 succeeded at 40 with fuzz 2 (offset 3 lines). ==> ./configure --disable-shared --enable-version3 --cc=gcc-13 --host-cflags= -- Last 15 lines from /home/eng/.cache/Homebrew/Logs/ffmpegdecklink/01.configure: --enable-libfontconfig --disable-libjack --disable-indev=jack --enable-nonfree --enable-decklink --extra-cflags=-I/home/linuxbrew/.linuxbrew/include --extra-ldflags=-L/home/linuxbrew/.linuxbrew/include

ERROR: fontconfig not found using pkg-config

If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem.

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/amiaopensource/homebrew-amiaos/issues

These open issues may also help: ffmpegdecklink: x264 not found using pkg-config https://github.com/amiaopensource/homebrew-amiaos/issues/362 ffmpegdecklink: fontconfig not found using pkg-config https://github.com/amiaopensource/homebrew-amiaos/issues/360

so I thin that did not work for me

should I have done something diffrent from brew install vrecord

jshupert commented 11 months ago

i did a brew upgrade

and then a brew reinstall ffmpegdecklink

pkg-config --print-errors x264 pkg-config --print-errors fontconfig

did not return anything

it almost ..to me seems worse before it was just fontconfig now it is a x264 problem .. aswell. Maybe I am not understanding

Thanks - for any assistance

jshupert commented 11 months ago

vrecord -p does not launch the desired prog

Should I update my os cat /etc/*release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04

to Ubuntu 20.04 ?

thanks

jshupert commented 11 months ago

is it possible to alter the ffmpeg config when it "all happens" in brew? with brew install vrecord

can it be done a step at a time? can I edit the configure script?

retokromer commented 11 months ago

@jshupert

jshupert commented 11 months ago

I could update to 22.04 LTS if that would "solve" my problems Mostly ... I wish to be able to run vrecord even if that means reInstalling the OS.

I need to solve this - what i think is - ERROR: fontconfig not found using pkg-config

cheers and thanks

retokromer commented 11 months ago

You could try

sudo apt-get install libfontconfig1-dev
jshupert commented 11 months ago

Yeah I think I tried that last week

tried just now

sudo apt-get install libfontconfig1-dev [sudo] password for eng: Reading package lists... Done Building dependency tree
Reading state information... Done libfontconfig1-dev is already the newest version (2.12.6-0ubuntu2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

and still no j0y

brew install vrecord Running brew update --auto-update... ==> Auto-updated Homebrew! Updated 2 taps (homebrew/core and homebrew/cask). ==> New Formulae powerlevel10k ==> New Casks rippling

You have 1 outdated formula installed.

==> Fetching dependencies for amiaopensource/amiaos/vrecord: linux-headers@5.15, amiaopensource/amiaos/ffmpegdecklink, atk, autoconf, automake, lzo, pixman, cairo, fribidi, shared-mime-info, gdk-pixbuf, graphite2, harfbuzz, libxdamage, elfutils, glslang, gzip, libpciaccess, libdrm, wayland, libva, libvdpau, libxshmfence, libxv, llvm@15, lm-sensors, wayland-protocols, mesa, mesa-glu, freeglut, libepoxy, libpthread-stubs, pango, hicolor-icon-theme, libxcomposite, gtk+, amiaopensource/amiaos/gtkdialog and cowsay ==> Fetching linux-headers@5.15 ==> Downloading https://ghcr.io/v2/homebrew/core/linux-headers/5.15/manifests/5. ######################################################################### 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/linux-headers/5.15/blobs/sha256 ######################################################################### 100.0% ==> Fetching amiaopensource/amiaos/ffmpegdecklink ==> Downloading https://github.com/FFmpeg/FFmpeg/commit/effadce6c756247ea8bae32d Already downloaded: /home/eng/.cache/Homebrew/downloads/a69d9379ef65ead2df9b7bcdd51b88390155ebe749aad80abb09ec661c242f0b--effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch ==> Downloading https://gitlab.archlinux.org/archlinux/packaging/packages/ffmpeg Already downloaded: /home/eng/.cache/Homebrew/downloads/89c5a789bbb2e059f601e58af1ca10f4db2a1939f591f896a0240cb1cfb2b8bb--add-av_stream_get_first_dts-for-chromium.patch ==> Downloading https://ffmpeg.org/releases/ffmpeg-6.0.tar.xz Already downloaded: /home/eng/.cache/Homebrew/downloads/cde06afa988dec3565a51f2a2b503db685b5a78ba8ecc7f3c95562c750a9d838--ffmpeg-6.0.tar.xz ==> Fetching atk ==> Downloading https://ghcr.io/v2/homebrew/core/atk/manifests/2.38.0 Already downloaded: /home/eng/.cache/Homebrew/downloads/6d75a288f0b7231cb715f7159e434214d42f8eb230ee059fceaf8d82133d0a68--atk-2.38.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/atk/blobs/sha256:4ffb42482b22fe Already downloaded: /home/eng/.cache/Homebrew/downloads/384b90f93a5c92e54d6c130adcab35dc01c41aea01e152c55d2aa7aed080a4fa--atk--2.38.0.x86_64_linux.bottle.tar.gz ==> Fetching autoconf ==> Downloading https://ghcr.io/v2/homebrew/core/autoconf/manifests/2.71 Already downloaded: /home/eng/.cache/Homebrew/downloads/057cde2b686872aeeff2e91dc36d037807d7342dd50929fbdfea8bcc572fbed0--autoconf-2.71.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/autoconf/blobs/sha256:9f9a73292 Already downloaded: /home/eng/.cache/Homebrew/downloads/3f68a25ba78c87e7d08c6b529f89c0d5e80144bf3b5f8242e7d70bb64d597e6b--autoconf--2.71.x86_64_linux.bottle.tar.gz ==> Fetching automake ==> Downloading https://ghcr.io/v2/homebrew/core/automake/manifests/1.16.5 Already downloaded: /home/eng/.cache/Homebrew/downloads/6863d3ffa73c5a5cbf1f1ea9e47b60784d09b232ac9e56149c1b931d9ec44d8b--automake-1.16.5.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/automake/blobs/sha256:59808c20f Already downloaded: /home/eng/.cache/Homebrew/downloads/0636fd23d95938f0a6e5eb2b50a90af1d0dd25f60cd244d5fec8311308396045--automake--1.16.5.x86_64_linux.bottle.tar.gz ==> Fetching lzo ==> Downloading https://ghcr.io/v2/homebrew/core/lzo/manifests/2.10 Already downloaded: /home/eng/.cache/Homebrew/downloads/d4aa5b0c239912c53bc857d1012c6b7feb4acb509618f5e100f95bf8521f08e7--lzo-2.10.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/lzo/blobs/sha256:8413f94bb69f33 Already downloaded: /home/eng/.cache/Homebrew/downloads/bf79b88e4561dca80855574f799df351d822240a7d2c0d7121b509fe0c8028db--lzo--2.10.x86_64_linux.bottle.tar.gz ==> Fetching pixman ==> Downloading https://ghcr.io/v2/homebrew/core/pixman/manifests/0.42.2-1 Already downloaded: /home/eng/.cache/Homebrew/downloads/2b0d8f2c63712ce503fa54309b732051a7ca5cd31bd561aa4aaba331bf26bcef--pixman-0.42.2-1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/pixman/blobs/sha256:9cf9d788868 Already downloaded: /home/eng/.cache/Homebrew/downloads/0ee8565c7a71d85c06ae9e99556dc63bf084c9ecf4a408c0a2c5e5cec92f0f87--pixman--0.42.2.x86_64_linux.bottle.1.tar.gz ==> Fetching cairo ==> Downloading https://ghcr.io/v2/homebrew/core/cairo/manifests/1.16.0_5 Already downloaded: /home/eng/.cache/Homebrew/downloads/f9e86ee818c57a136b1c1c82caecdf07bb8eaad8e31f5e59e456a10d6d1a1cc5--cairo-1.16.0_5.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/cairo/blobs/sha256:678c795a1113 Already downloaded: /home/eng/.cache/Homebrew/downloads/49b71a01f3a2ca0ab14d79d998e6b654e2ede4d5e52e6f5657e277b965d73f97--cairo--1.16.0_5.x86_64_linux.bottle.tar.gz ==> Fetching fribidi ==> Downloading https://ghcr.io/v2/homebrew/core/fribidi/manifests/1.0.13 Already downloaded: /home/eng/.cache/Homebrew/downloads/0a8bdd323a3d26862d77249d5999ab774d1966995ddac29d67eb9a63d53552ff--fribidi-1.0.13.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/fribidi/blobs/sha256:4771f18b93 Already downloaded: /home/eng/.cache/Homebrew/downloads/412fe768961d2da09311a516b222d046f8a8db62ad1c55783475486dbb0b6b88--fribidi--1.0.13.x86_64_linux.bottle.tar.gz ==> Fetching shared-mime-info ==> Downloading https://ghcr.io/v2/homebrew/core/shared-mime-info/manifests/2.2 Already downloaded: /home/eng/.cache/Homebrew/downloads/2c9f3cd44de9ab2002edcd3ea75c4962573b88993dc7533a9e97a2501bc08964--shared-mime-info-2.2.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/shared-mime-info/blobs/sha256:4 Already downloaded: /home/eng/.cache/Homebrew/downloads/1fa9ab1bb4609d027c20dca203ac91d8babde69cd7ceebc21fcaeb1f20a78cbb--shared-mime-info--2.2.x86_64_linux.bottle.tar.gz ==> Fetching gdk-pixbuf ==> Downloading https://ghcr.io/v2/homebrew/core/gdk-pixbuf/manifests/2.42.10_1 Already downloaded: /home/eng/.cache/Homebrew/downloads/bafdc7649c7c2533d65c51456f0dd34af1f319c68d3462c6f9906e57a9805859--gdk-pixbuf-2.42.10_1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/gdk-pixbuf/blobs/sha256:a105370 Already downloaded: /home/eng/.cache/Homebrew/downloads/a824e7e420860eb7248b96ed4ad7d343e3f7df85288e8d65052caff6311ca70a--gdk-pixbuf--2.42.10_1.x86_64_linux.bottle.tar.gz ==> Fetching graphite2 ==> Downloading https://ghcr.io/v2/homebrew/core/graphite2/manifests/1.3.14 Already downloaded: /home/eng/.cache/Homebrew/downloads/bbb4dd2ef1846301d1eb08053e19e11ca9c780f93f4d3b2d638fd94a9bf54a0c--graphite2-1.3.14.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/graphite2/blobs/sha256:0e811b07 Already downloaded: /home/eng/.cache/Homebrew/downloads/989209ff4e3184ca932b34747ddb2be2667405f91883affec53952d73590a99c--graphite2--1.3.14.x86_64_linux.bottle.tar.gz ==> Fetching harfbuzz ==> Downloading https://ghcr.io/v2/homebrew/core/harfbuzz/manifests/8.1.1 Already downloaded: /home/eng/.cache/Homebrew/downloads/4e9f189228b4168a3e39087fb07e7d351a438943022efb78f1a06b717083a3dd--harfbuzz-8.1.1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/harfbuzz/blobs/sha256:6e559f1a8 Already downloaded: /home/eng/.cache/Homebrew/downloads/a86d404402f3a6575d14a021f263b85fab2028825cbaddc82cfbc4a8ab7bcdb0--harfbuzz--8.1.1.x86_64_linux.bottle.tar.gz ==> Fetching libxdamage ==> Downloading https://ghcr.io/v2/homebrew/core/libxdamage/manifests/1.1.6 Already downloaded: /home/eng/.cache/Homebrew/downloads/50018b7fcdbe09635a711eccf8418338e8694b3a512e0d4ede72bed9279a3f3a--libxdamage-1.1.6.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libxdamage/blobs/sha256:6d888f5 Already downloaded: /home/eng/.cache/Homebrew/downloads/e6b12d7e075e37efdcf1d09dc1d62282720108f81e8c584e5244dc44264e7b32--libxdamage--1.1.6.x86_64_linux.bottle.tar.gz ==> Fetching elfutils ==> Downloading https://ghcr.io/v2/homebrew/core/elfutils/manifests/0.189-1 Already downloaded: /home/eng/.cache/Homebrew/downloads/ea8076d67c63c64f2874c3ba9a4757d63953f8baf566fc30be0bf867542fc7fb--elfutils-0.189-1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/elfutils/blobs/sha256:e1116a1bf Already downloaded: /home/eng/.cache/Homebrew/downloads/4f5543bb9c187fe6750c9b1b198b606534b2e5bff2ac1c5fa42692474f573032--elfutils--0.189.x86_64_linux.bottle.1.tar.gz ==> Fetching glslang ==> Downloading https://ghcr.io/v2/homebrew/core/glslang/manifests/13.0.0 Already downloaded: /home/eng/.cache/Homebrew/downloads/446bb5e969300f4b583b5bfb3047890ff3a569574e6fef63cc235004b175184a--glslang-13.0.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/glslang/blobs/sha256:4dd35b0b9c Already downloaded: /home/eng/.cache/Homebrew/downloads/af3b5afc9e8d808357c2e6c1ffa42ee85910e2fde9d8613ea885cd21799fde2d--glslang--13.0.0.x86_64_linux.bottle.tar.gz ==> Fetching gzip ==> Downloading https://ghcr.io/v2/homebrew/core/gzip/manifests/1.13 Already downloaded: /home/eng/.cache/Homebrew/downloads/0d91669a675feb86cf04cb9efa0a1c54becc70551ccea0dfebd112e85f506766--gzip-1.13.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/gzip/blobs/sha256:118bb27498a81 Already downloaded: /home/eng/.cache/Homebrew/downloads/154ccf7f1086b16480cf727e1be858ddfbb6a1e2a032460e10650c16e81a79e8--gzip--1.13.x86_64_linux.bottle.tar.gz ==> Fetching libpciaccess ==> Downloading https://ghcr.io/v2/homebrew/core/libpciaccess/manifests/0.17 Already downloaded: /home/eng/.cache/Homebrew/downloads/b5d8d29f5fccf7d75c1c07d4330192eb2fe2ff6c800b8985c971aed45bf4aabe--libpciaccess-0.17.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libpciaccess/blobs/sha256:6ea67 Already downloaded: /home/eng/.cache/Homebrew/downloads/6322eb89fb4370b946253030df0a642ade1660809aa60a8d14891c29b8f7bb03--libpciaccess--0.17.x86_64_linux.bottle.tar.gz ==> Fetching libdrm ==> Downloading https://ghcr.io/v2/homebrew/core/libdrm/manifests/2.4.116 Already downloaded: /home/eng/.cache/Homebrew/downloads/6660b3f139000a2af3b25c6416b3cf2f32a0958ce502457ed275a2e927959b7b--libdrm-2.4.116.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libdrm/blobs/sha256:f0f99c7cedf Already downloaded: /home/eng/.cache/Homebrew/downloads/5b93a3c64230aaecbfc2a10fb19bcf9ec8931e9a456ed5f702a7d8fd18868ab1--libdrm--2.4.116.x86_64_linux.bottle.tar.gz ==> Fetching wayland ==> Downloading https://ghcr.io/v2/homebrew/core/wayland/manifests/1.22.0 Already downloaded: /home/eng/.cache/Homebrew/downloads/9d1ab23e427eee7f2fded84a4e3e931f8142b01ff680bce1f9a17672c015a520--wayland-1.22.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/wayland/blobs/sha256:bb61e1add3 Already downloaded: /home/eng/.cache/Homebrew/downloads/ed8ba8e732a72f994d7e3550b9ee1d56dba3128b1ebbaee4bbf9942ffdeee21c--wayland--1.22.0.x86_64_linux.bottle.tar.gz ==> Fetching libva ==> Downloading https://ghcr.io/v2/homebrew/core/libva/manifests/2.19.0 Already downloaded: /home/eng/.cache/Homebrew/downloads/94432fd130d133fa204c993231afcd4f7f05b3817a8646faf47059059b1a02aa--libva-2.19.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libva/blobs/sha256:644cb7da12a2 Already downloaded: /home/eng/.cache/Homebrew/downloads/af9040e1048b3f0ada275cf08999c9f63c4a7a60abf840c3c7195f6077528274--libva--2.19.0.x86_64_linux.bottle.tar.gz ==> Fetching libvdpau ==> Downloading https://ghcr.io/v2/homebrew/core/libvdpau/manifests/1.5 Already downloaded: /home/eng/.cache/Homebrew/downloads/74016dc7c1e5ace4dd28cc15bff05414c9aae00b8eabbb8f77f6c0ffc07b1b3e--libvdpau-1.5.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libvdpau/blobs/sha256:efe7bfed2 Already downloaded: /home/eng/.cache/Homebrew/downloads/08a51ea4adb00cf4a7287d20ed7847b9f7f440ef9a036c4506f94daa241daa2d--libvdpau--1.5.x86_64_linux.bottle.tar.gz ==> Fetching libxshmfence ==> Downloading https://ghcr.io/v2/homebrew/core/libxshmfence/manifests/1.3.2 Already downloaded: /home/eng/.cache/Homebrew/downloads/fddc5995c5100e7a1a5f4edc93820688b962fcde4a8e3bb755b4344b2044cd35--libxshmfence-1.3.2.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libxshmfence/blobs/sha256:53119 Already downloaded: /home/eng/.cache/Homebrew/downloads/aa5cc3089c096e84072b8e87a2da5c0aaa5f106a11e1f16138d61e32e1db4daf--libxshmfence--1.3.2.x86_64_linux.bottle.tar.gz ==> Fetching libxv ==> Downloading https://ghcr.io/v2/homebrew/core/libxv/manifests/1.0.12 Already downloaded: /home/eng/.cache/Homebrew/downloads/424e6a5c0999a9a27afb8440c69c7153776aca97089b40d7bf1ff769893de3ff--libxv-1.0.12.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libxv/blobs/sha256:db2f06d9ccdd Already downloaded: /home/eng/.cache/Homebrew/downloads/070732e810d0aa875c42c84be18e9cee552d6c024911036e2f86d917f8eb066f--libxv--1.0.12.x86_64_linux.bottle.tar.gz ==> Fetching llvm@15 ==> Downloading https://ghcr.io/v2/homebrew/core/llvm/15/manifests/15.0.7 Already downloaded: /home/eng/.cache/Homebrew/downloads/07d6b5a728fda40fb890ce488f96df4ad9896f32eef6f5ab4aa053d753c06614--llvm@15-15.0.7.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/llvm/15/blobs/sha256:943261dfc1 Already downloaded: /home/eng/.cache/Homebrew/downloads/41bf881f378cce6a58101f541025e985f38ef35e93d840cd32ac4a7ffb9f047c--llvm@15--15.0.7.x86_64_linux.bottle.tar.gz ==> Fetching lm-sensors ==> Downloading https://ghcr.io/v2/homebrew/core/lm-sensors/manifests/3.6.0 Already downloaded: /home/eng/.cache/Homebrew/downloads/8cdb949c52dc07e99e98df315647bbf6d80b93993283087caf5c49f93f98c811--lm-sensors-3.6.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/lm-sensors/blobs/sha256:9cab2dd Already downloaded: /home/eng/.cache/Homebrew/downloads/254371a742c8eff51baccc13ed195f25e5ba0c1c1a3963ebca9d7328ef0ca4bf--lm-sensors--3.6.0.x86_64_linux.bottle.tar.gz ==> Fetching wayland-protocols ==> Downloading https://ghcr.io/v2/homebrew/core/wayland-protocols/manifests/1.3 Already downloaded: /home/eng/.cache/Homebrew/downloads/b146629886844dcb31e6bf8bee61b6f08c12cb2f6ea971b4bf2200d56f2e7874--wayland-protocols-1.32.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/wayland-protocols/blobs/sha256: Already downloaded: /home/eng/.cache/Homebrew/downloads/c1b80b784f115367595fa85c2a309eacb2966dfeee9dc9340fe6f11eaceef377--wayland-protocols--1.32.x86_64_linux.bottle.tar.gz ==> Fetching mesa ==> Downloading https://ghcr.io/v2/homebrew/core/mesa/manifests/22.3.6_1 Already downloaded: /home/eng/.cache/Homebrew/downloads/5ac76f9e58a33f51c6ed9958a7f37639d9d64019c32a0abdf1e5c409c57fad3a--mesa-22.3.6_1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/mesa/blobs/sha256:4b57f13f3c984 Already downloaded: /home/eng/.cache/Homebrew/downloads/0bdc0c17efec83d3644e33c4d07503ced2942db2b3ebc2a305b69843af9b6eae--mesa--22.3.6_1.x86_64_linux.bottle.tar.gz ==> Fetching mesa-glu ==> Downloading https://ghcr.io/v2/homebrew/core/mesa-glu/manifests/9.0.2 Already downloaded: /home/eng/.cache/Homebrew/downloads/e6794eaec6dc84cd01b55952c25333870ea68d8efb304ee403b4df8c5a502151--mesa-glu-9.0.2.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/mesa-glu/blobs/sha256:bec2f7c24 Already downloaded: /home/eng/.cache/Homebrew/downloads/51cef91badc366660c1166be64702c506ee8b32eab7e6b8e497ab33afcc4f653--mesa-glu--9.0.2.x86_64_linux.bottle.tar.gz ==> Fetching freeglut ==> Downloading https://ghcr.io/v2/homebrew/core/freeglut/manifests/3.4.0 Already downloaded: /home/eng/.cache/Homebrew/downloads/04cce940d336114a6176f89434d1ec692f817951680d0a9c54da4b6b407ee68c--freeglut-3.4.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/freeglut/blobs/sha256:d77517509 Already downloaded: /home/eng/.cache/Homebrew/downloads/b5408f431431aaf6e71b0597df3c649e07b1ef56470c05626a35c7df5e05cb14--freeglut--3.4.0.x86_64_linux.bottle.tar.gz ==> Fetching libepoxy ==> Downloading https://ghcr.io/v2/homebrew/core/libepoxy/manifests/1.5.10 Already downloaded: /home/eng/.cache/Homebrew/downloads/fd91321dc6032305294ad3c7c3851bc80f1505f18512e4753036c509ba4b4e2c--libepoxy-1.5.10.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libepoxy/blobs/sha256:8798e1682 Already downloaded: /home/eng/.cache/Homebrew/downloads/cc4e0578eb067464d195adb339a0704ffa9996663994537006c2ade96468b63d--libepoxy--1.5.10.x86_64_linux.bottle.tar.gz ==> Fetching libpthread-stubs ==> Downloading https://ghcr.io/v2/homebrew/core/libpthread-stubs/manifests/0.5 Already downloaded: /home/eng/.cache/Homebrew/downloads/1b61f8cef4357ee8d50d9e14c4a894eb6007deb89794f1267d8be224624e7c3f--libpthread-stubs-0.5.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libpthread-stubs/blobs/sha256:3 Already downloaded: /home/eng/.cache/Homebrew/downloads/9303859b7ec49183b0eeae06a75185abe8ccac4dacce9390940c0f414fe57221--libpthread-stubs--0.5.x86_64_linux.bottle.tar.gz ==> Fetching pango ==> Downloading https://ghcr.io/v2/homebrew/core/pango/manifests/1.50.14 Already downloaded: /home/eng/.cache/Homebrew/downloads/9c0c4eff2aee3f88e99725c8ca269b1bd37db7bb38fbec2fe3da6a1c42b75171--pango-1.50.14.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/pango/blobs/sha256:c0e091a6c225 Already downloaded: /home/eng/.cache/Homebrew/downloads/4b65d240abbc21c1eacc6a8c193971e070154c00fdde21088262a1d3515b2f0f--pango--1.50.14.x86_64_linux.bottle.tar.gz ==> Fetching hicolor-icon-theme ==> Downloading https://ghcr.io/v2/homebrew/core/hicolor-icon-theme/manifests/0. Already downloaded: /home/eng/.cache/Homebrew/downloads/713c984987cfb15e35fc3fa0e951f5ab343f2154fdeab925615cb11b5bef9389--hicolor-icon-theme-0.17.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/hicolor-icon-theme/blobs/sha256 Already downloaded: /home/eng/.cache/Homebrew/downloads/351809716bc1148a7f33133c45dbe2582908251ab441f2d32bb2935f790e0ca5--hicolor-icon-theme--0.17.x86_64_linux.bottle.tar.gz ==> Fetching libxcomposite ==> Downloading https://ghcr.io/v2/homebrew/core/libxcomposite/manifests/0.4.6 Already downloaded: /home/eng/.cache/Homebrew/downloads/7fc8e41cd459f7731aa7c11cf18de856342549947bb8eaf108f62eb5eb22f4e6--libxcomposite-0.4.6.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libxcomposite/blobs/sha256:7c69 Already downloaded: /home/eng/.cache/Homebrew/downloads/e558ef25f845b83129012a27414de5f64b47a4b4634a34ce38ab1d2f36d90d89--libxcomposite--0.4.6.x86_64_linux.bottle.tar.gz ==> Fetching gtk+ ==> Downloading https://ghcr.io/v2/homebrew/core/gtkx/manifests/2.24.33_1 Already downloaded: /home/eng/.cache/Homebrew/downloads/2e7b85dfbe86ff6aecab459e700b2f8fd24983a265a1fae7c87fe13caf810d76--gtk+-2.24.33_1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/gtkx/blobs/sha256:3ccb9319c9550 Already downloaded: /home/eng/.cache/Homebrew/downloads/e1d7cd21d77638dcba9b33f93f67f0c04405e77a8b2eb3a82c0e3bc7357e6c6b--gtk+--2.24.33_1.x86_64_linux.bottle.tar.gz ==> Fetching amiaopensource/amiaos/gtkdialog ==> Downloading https://github.com/puppylinux-woof-CE/gtkdialog/archive/0.8.4d.t Already downloaded: /home/eng/.cache/Homebrew/downloads/9ad1b9aa93836cdde8a71070ff94b52c7c4d75777648ab8dc3bab09b9d35dd8e--gtkdialog-0.8.4d.tar.gz ==> Fetching cowsay ==> Downloading https://ghcr.io/v2/homebrew/core/cowsay/manifests/3.04_1 Already downloaded: /home/eng/.cache/Homebrew/downloads/e12a574f60711e86551096e1305206b764a37dc1b23a5a16d0d5246662acb87d--cowsay-3.04_1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/cowsay/blobs/sha256:8d35c9dfb46 Already downloaded: /home/eng/.cache/Homebrew/downloads/131f439d8e72e327436775a544833c974310341f08bfeeae69f3103c11de879c--cowsay--3.04_1.x86_64_linux.bottle.tar.gz ==> Fetching amiaopensource/amiaos/vrecord ==> Downloading https://github.com/amiaopensource/vrecord/archive/refs/tags/v202 Already downloaded: /home/eng/.cache/Homebrew/downloads/7572b62b0bb2f7e515765a4e3864654bea01a8f07e1ff4f10780084b95d45597--vrecord-2023-08-07.tar.gz ==> Installing vrecord from amiaopensource/amiaos ==> Installing dependencies for amiaopensource/amiaos/vrecord: linux-headers@5.15, amiaopensource/amiaos/ffmpegdecklink, atk, autoconf, automake, lzo, pixman, cairo, fribidi, shared-mime-info, gdk-pixbuf, graphite2, harfbuzz, libxdamage, elfutils, glslang, gzip, libpciaccess, libdrm, wayland, libva, libvdpau, libxshmfence, libxv, llvm@15, lm-sensors, wayland-protocols, mesa, mesa-glu, freeglut, libepoxy, libpthread-stubs, pango, hicolor-icon-theme, libxcomposite, gtk+, amiaopensource/amiaos/gtkdialog and cowsay ==> Installing amiaopensource/amiaos/vrecord dependency: linux-headers@5.15 ==> Pouring linux-headers@5.15--5.15.130.x86_64_linux.bottle.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/linux-headers@5.15/5.15.130: 961 files, 5.7MB ==> Installing amiaopensource/amiaos/vrecord dependency: amiaopensource/ami ==> Patching ==> Applying effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch patching file libavcodec/x86/mathops.h ==> Applying add-av_stream_get_first_dts-for-chromium.patch patching file libavformat/avformat.h Hunk #1 succeeded at 1019 with fuzz 2 (offset -109 lines). patching file libavformat/mux_utils.c Hunk #1 succeeded at 40 with fuzz 2 (offset 3 lines). ==> ./configure --disable-shared --enable-version3 --cc=gcc-13 --host-cflags= -- Last 15 lines from /home/eng/.cache/Homebrew/Logs/ffmpegdecklink/01.configure: --enable-libfontconfig --disable-libjack --disable-indev=jack --enable-nonfree --enable-decklink --extra-cflags=-I/home/linuxbrew/.linuxbrew/include --extra-ldflags=-L/home/linuxbrew/.linuxbrew/include

ERROR: fontconfig not found using pkg-config

If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem.

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/amiaopensource/homebrew-amiaos/issues

I

jshupert commented 11 months ago

thanks for trying

jshupert commented 11 months ago

is this a clue??

from from /home/eng/.cache/Homebrew/Logs/ffmpegdecklink/01.configure

/home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /home/linuxbrew/.linuxbrew/opt/libpng/lib/libpng16.so.16: undefined reference to `pow@GLIBC_2.29' collect2: error: ld returned 1 exit status ERROR: fontconfig not found using pkg-config

jshupert commented 11 months ago

/home/eng/.cache/Homebrew/Logs/ffmpegdecklink/ffbuild

sorry that is from the above

/home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /home/linuxbrew/.linuxbrew/opt/libpng/lib/libpng16.so.16: undefined reference to `pow@GLIBC_2.29' collect2: error: ld returned 1 exit status ERROR: fontconfig not found using pkg-config

privatezero commented 11 months ago

Hi @jshupert - yes you can check the config as it is happening in brew by loading in interactive mode (brew install -i ffmpegdecklink).

When you ran pkg-config --print-errors fontconfig, which pkg-config were you testing - was it the one associated with Brew? If you run which -a pkg-config you should be able to check for all installed versions of pkg-config. To test the options that are being applied in the ffmpegdecklink/vrecord install you need to check the one that is associated with Brew by using the full path in your command. (So probably something like /home/linuxbrew/.linuxbrew/bin/pkg-config --print-errors fontconfig

photonclock commented 9 months ago

Hi, I'm trying to install ffmpegdecklink on macOS 12.6.8 via homebrew. Was excited to try this out, but the install is failing. brew output below. The error referenced this thread so posting here. I already tried one of the troubleshooting steps noted above:

brew reinstall bzip2 && brew reinstall fontconfig and then try installing ffmpegdecklink again. This seems to have fixed this particular issue on the machine I reproduced this problem on.

Computer:IOFireWireFamily.kext username$ brew install ffmpegdecklink
==> Downloading https://formulae.brew.sh/api/formula.jws.json
##################################################################################################################################################################################################################### 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
##################################################################################################################################################################################################################### 100.0%
==> Fetching amiaopensource/amiaos/ffmpegdecklink
==> Downloading https://github.com/FFmpeg/FFmpeg/commit/effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch?full_index=1
Already downloaded: /Users/username/Library/Caches/Homebrew/downloads/a69d9379ef65ead2df9b7bcdd51b88390155ebe749aad80abb09ec661c242f0b--effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch
==> Downloading https://gitlab.archlinux.org/archlinux/packaging/packages/ffmpeg/-/raw/5670ccd86d3b816f49ebc18cab878125eca2f81f/add-av_stream_get_first_dts-for-chromium.patch
Already downloaded: /Users/username/Library/Caches/Homebrew/downloads/89c5a789bbb2e059f601e58af1ca10f4db2a1939f591f896a0240cb1cfb2b8bb--add-av_stream_get_first_dts-for-chromium.patch
==> Downloading https://ffmpeg.org/releases/ffmpeg-6.0.tar.xz
Already downloaded: /Users/username/Library/Caches/Homebrew/downloads/cde06afa988dec3565a51f2a2b503db685b5a78ba8ecc7f3c95562c750a9d838--ffmpeg-6.0.tar.xz
==> Installing ffmpegdecklink from amiaopensource/amiaos
==> Patching
==> Applying effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch
patching file libavcodec/x86/mathops.h
==> Applying add-av_stream_get_first_dts-for-chromium.patch
patching file libavformat/avformat.h
Hunk #1 succeeded at 1019 with fuzz 2 (offset -109 lines).
patching file libavformat/mux_utils.c
Hunk #1 succeeded at 40 with fuzz 2 (offset 3 lines).
==> ./configure --disable-shared --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libsnappy --enable-libtheo
==> make
Last 15 lines from /Users/username/Library/Logs/Homebrew/ffmpegdecklink/02.make:
make: *** [doc/ffmpeg.html] Error 1
make: *** [doc/ffplay.html] Error 1
make: *** [doc/ffprobe.html] Error 1
makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
make: *** [doc/ffmpeg-all.html] Error 1
makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
make: *** [doc/ffprobe-all.html] Error 1
makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
make: *** [doc/ffmpeg-utils.html] Error 1
makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
make: *** [doc/ffmpeg-scaler.html] Error 1
STRIP   libswscale/x86/output.o
STRIP   libavutil/x86/tx_float.o
STRIP   libavcodec/x86/vp9itxfm.o
rm libavfilter/metal/vf_yadif_videotoolbox.metal.air libavfilter/metal/vf_yadif_videotoolbox.metallib libavfilter/metal/vf_yadif_videotoolbox.metallib.c

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/amiaopensource/homebrew-amiaos/issues

These open issues may also help:
ffmpegdecklink: fontconfig not found using pkg-config https://github.com/amiaopensource/homebrew-amiaos/issues/360
ffmpegdecklink: x264 not found using pkg-config https://github.com/amiaopensource/homebrew-amiaos/issues/362
photonclock commented 9 months ago

--HEAD does not resolve the issue:

brew install --HEAD ffmpegdecklink
==> Fetching amiaopensource/amiaos/ffmpegdecklink
==> Downloading https://gitlab.archlinux.org/archlinux/packaging/packages/ffmpeg/-/raw/5670ccd86d3b816f49ebc18cab878125eca2f81f/add-av_stream_get_first_dts-for-chromium.patch
Already downloaded: /Users/username/Library/Caches/Homebrew/downloads/89c5a789bbb2e059f601e58af1ca10f4db2a1939f591f896a0240cb1cfb2b8bb--add-av_stream_get_first_dts-for-chromium.patch
==> Cloning https://github.com/FFmpeg/FFmpeg.git
Cloning into '/Users/username/Library/Caches/Homebrew/ffmpegdecklink--git'...
Updating files: 100% (8189/8189), done.
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
==> Installing ffmpegdecklink from amiaopensource/amiaos
==> Downloading https://formulae.brew.sh/api/formula.jws.json
##O=-#     #                                                                                                                                                                       
==> Patching
==> Applying add-av_stream_get_first_dts-for-chromium.patch
patching file libavformat/avformat.h
Hunk #1 succeeded at 1030 with fuzz 2 (offset -98 lines).
patching file libavformat/mux_utils.c
Hunk #1 succeeded at 40 with fuzz 2 (offset 3 lines).
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory @ rb_file_s_rename - (VERSION, VERSION.txt)
photonclock commented 9 months ago

Solved above issue by installing without docs (modded the rb config file)

retokromer commented 9 months ago

We actually to this in the alternate FFmpeg formula: https://github.com/homebrew-ffmpeg/homebrew-ffmpeg/blob/7ae371613d410335887373fd682330f35f7c3989/Formula/ffmpeg.rb#L166

photonclock commented 9 months ago

We actually to this in the alternate FFmpeg formula: https://github.com/homebrew-ffmpeg/homebrew-ffmpeg/blob/7ae371613d410335887373fd682330f35f7c3989/Formula/ffmpeg.rb#L166

Cool. Is there way for me to use that in the homebrew install process so I could reinstall using that formula? I'm not experienced with the nuances of homebrew and how to reference a specific commit with a 'brew install'.

retokromer commented 9 months ago

You can make and modify a local copy of the formula and run brew install on this local copy.