Bug 1891658 - FTBFS with libavif 0.8.2
Summary: FTBFS with libavif 0.8.2
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: efl
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-27 01:13 UTC by Mamoru TASAKA
Modified: 2020-12-27 05:15 UTC (History)
4 users (show)

Fixed In Version: efl-1.25.1-4.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-27 05:15:11 UTC
Type: Bug


Attachments (Terms of Use)

Description Mamoru TASAKA 2020-10-27 01:13:41 UTC
Description of problem:
efl-1.25.1-2.fc34 now FTBFS with libavif 0.8.2

/builddir/build/BUILD/efl-1.25.1/src/modules/evas/image_loaders/avif/evas_image_load_avif.c:68:10: error: too many arguments to function ‘avifDecoderParse’
   68 |    res = avifDecoderParse(decoder, &raw);
      |          ^~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/efl-1.25.1/src/modules/evas/image_loaders/avif/evas_image_load_avif.c:7:
/usr/include/avif/avif.h:707:12: note: declared here
  707 | avifResult avifDecoderParse(avifDecoder * decoder);
      |            ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/efl-1.25.1/src/modules/evas/image_loaders/avif/evas_image_load_avif.c: In function ‘evas_image_load_file_data_avif_internal’:
/builddir/build/BUILD/efl-1.25.1/src/modules/evas/image_loaders/avif/evas_image_load_avif.c:155:15: error: too many arguments to function ‘avifDecoderParse’
  155 |         res = avifDecoderParse(decoder, &raw);
      |               ^~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/efl-1.25.1/src/modules/evas/image_loaders/avif/evas_image_load_avif.c:7:
/usr/include/avif/avif.h:707:12: note: declared here
  707 | avifResult avifDecoderParse(avifDecoder * decoder);
      |            ^~~~~~~~~~~~~~~~


Additional info:

Reported upstream:
https://phab.enlightenment.org/T8844
For now I am going to disable libavif support because this affects efl -> xmms2 -> LXDE live spin

Comment 1 Mamoru TASAKA 2020-10-27 01:51:08 UTC
With efl-1.25.1-3.fc34 once libavif support is disabled.

Comment 2 Andreas Schneider 2020-11-02 14:33:05 UTC
What do we plan to do with Fedora 33? Disable AVIF or start fixing it. It is likely that libavif API will change in future again till they release version 1.0.

Comment 3 Mamoru TASAKA 2020-11-02 14:59:11 UTC
For me, I am not a maintainer of efl, I want to keep an eye on this because efl affects LXDE live spin, so either (i.e. disabling AVIF support or fixing this) is okay to me.

Note that I've already written a trial patch on: https://phab.enlightenment.org/file/download/jld3unadesnjhxefwaer/PHID-FILE-bpukruq2iwezauxd4egy/efl-1.25.1-libavif-0.8.2-UNTESTED.patch which may be good but currently I have no means to check if the patch _actually_ works (I don't know how to _actually_ use libavif with efl)

Comment 4 Mamoru TASAKA 2020-12-27 05:15:11 UTC
Once closing this.


Note You need to log in before you can comment on or make changes to this bug.