Skip to content

Error running build when update libavif - 121, 967 & 137 #2832

Open
@ycwan

Description

@ycwan
 Running git update for libavif ...
┌ libavif git  ........................................... [Updates found]
libavif_api_job_fix.patch
        Patch could not be applied with `patch`. Continuing without patching.
├ Running uninstall...
├ Running cmake...
├ Running build...
Likely error (tail of the failed operation logfile):
  121 |         res = svt_av1_enc_init_handle(&codec->internal->svt_encoder, NULL, svt_config);
      |               ^~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/MABS/build/libavif-git/src/codec_svt.c:8:
C:/MABS/local64/include/svt-av1/EbSvtAv1Enc.h:967:20: note: declared here
  967 | EB_API EbErrorType svt_av1_enc_init_handle(
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
C:/MABS/build/libavif-git/src/codec_svt.c:137:19: error: 'EbSvtAv1EncConfiguration' has no member named 'logical_processors'
  137 |         svt_config->logical_processors = encoder->maxThreads;
      |                   ^~
ninja: build stopped: subcommand failed.
build failed. Check C:/MABS/build/libavif-git/build-64bit/ab-suite.build.log
This is required for other packages, so this script will exit.
  Creating diagnostics file...

Attach C:\MABS\build\logs.zip to the GitHub issue.
Make sure the suite is up-to-date before reporting an issue. It might've been fixed already.

Try running the build again at a later time.

logs.zip

ab-suite.build.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions