1

Topic: Cannot compile ffmpeg from Hyperbola's repo

The debian.tar.gz file cannot be downloaded and I couldn't find it online. Is it possible to upload all debian.tar.gz files used by Hyperbola to Hyperbola's servers as those tend to be replaced in Debian by newer versions? Many thanks.

2

Re: Cannot compile ffmpeg from Hyperbola's repo

Already done! wink
Our build-server is doing that all the time, structure is for every mirror the same: https://mirror.fsf.org/hyperbola/gnu-pl … hyperbola/

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

3 (edited by aloniv 2022-04-12 10:51:12)

Re: Cannot compile ffmpeg from Hyperbola's repo

Thanks! Unfortunately, I still cannot create the package using makepkg. Here is the compilation log.

$ makepkg -s
==> Making package: ffmpeg 2:4.4-1 (Tue 12 Apr 13:43:31 IDT 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found ffmpeg-4.4.tar.xz
  -> Found ffmpeg-4.4.tar.xz.asc
  -> Found ffmpeg_4.4-5.debian.tar.xz
  -> Found 0001-libavutil-clean-up-unused-FF_SYMVER-macro.patch
  -> Found 0001-ffbuild-libversion.sh-add-shebang.patch
  -> Found CVE-2021-33815.patch
  -> Found vmaf-model-path.patch
==> Validating source files with sha512sums...
    ffmpeg-4.4.tar.xz ... Passed
    ffmpeg-4.4.tar.xz.asc ... Skipped
    ffmpeg_4.4-5.debian.tar.xz ... Passed
    0001-libavutil-clean-up-unused-FF_SYMVER-macro.patch ... Passed
    0001-ffbuild-libversion.sh-add-shebang.patch ... Passed
    CVE-2021-33815.patch ... Passed
    vmaf-model-path.patch ... Passed
==> Verifying source file signatures with gpg...
    ffmpeg-4.4.tar.xz ... Passed
==> Extracting sources...
  -> Extracting ffmpeg-4.4.tar.xz with bsdtar
  -> Extracting ffmpeg_4.4-5.debian.tar.xz with bsdtar
==> Starting prepare()...
Applying patch debian/patches/0001-avcodec-arm-sbcenc-avoid-callee-preserved-vfp-regist.patch
patching file libavcodec/arm/sbcdsp_neon.S

Now at patch debian/patches/0001-avcodec-arm-sbcenc-avoid-callee-preserved-vfp-regist.patch
patching file libavutil/internal.h
Hunk #1 succeeded at 118 (offset -69 lines).
patching file ffbuild/libversion.sh
patching file libavcodec/exr.c
patching file libavfilter/vf_libvmaf.c
Hunk #1 succeeded at 72 with fuzz 2.
==> Starting build()...
ERROR: jack 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.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
==> ERROR: A failure occurred in build().
    Aborting...

EDIT: changing enable-libjack to disable-libjack in the PKGBUILD seems to fix it.

4

Re: Cannot compile ffmpeg from Hyperbola's repo

It seems the rework of jack is conflicting here. But that's only a first thesis. This will need more time for a look.

EDIT: Yes, that was the correct part. Will rework the PKGBUILD and commit a fix today.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

5

Re: Cannot compile ffmpeg from Hyperbola's repo

A little later, but not forgotten: Commit was done.

https://git.hyperbola.info:50100/~team/ … 007393ae47

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!