[Bug 257104] graphics/libavif pixbuf knob compile error

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 11 Jul 2021 04:39:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257104

            Bug ID: 257104
           Summary: graphics/libavif pixbuf knob compile error
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: xxjack12xx@gmail.com
          Assignee: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)

===> The following configuration options are available for libavif-0.9.2:
     AOM=on: AV1 encoding/decoding via libaom
     DAV1D=on: AV1 decoding via libdav1d
     GAV1=on: AV1 decoding via libgav1
     LIBYUV=on: Colorspace conversion via libyuv
     PIXBUF=on: GDK-PixBuf library support
     RAV1E=on: AV1 encoding via librav1e
     SVTAV1=on: AV1 encoding via SVT-AV1

When pixbuf is enabled, port fails to compile with error

[ 50% 1/2] /usr/bin/cc -DAVIF_DLL -Dpixbufloader_avif_EXPORTS
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/obj/d2/ports/graphics/libavif/work/libavif-0.9.2/include -O2 -pipe
-march=haswell  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe
-march=haswell  -fstack-protector-strong -fno-strict-aliasing -fPIC  
-Weverything -Wno-bad-function-cast -Wno-cast-align -Wno-conversion
-Wno-covered-switch-default -Wno-disabled-macro-expansion -Wno-documentation
-Wno-documentation-unknown-command -Wno-double-promotion -Wno-float-equal
-Wno-missing-noreturn -Wno-padded -Wno-sign-conversion
-Wno-error=c11-extensions -Wno-poison-system-directories -Werror
-Wno-reserved-id-macro -Wno-cast-qual -std=gnu99 -MD -MT
contrib/gdk-pixbuf/CMakeFiles/pixbufloader-avif.dir/loader.c.o -MF
contrib/gdk-pixbuf/CMakeFiles/pixbufloader-avif.dir/loader.c.o.d -o
contrib/gdk-pixbuf/CMakeFiles/pixbufloader-avif.dir/loader.c.o -c
/usr/obj/d2/ports/graphics/libavif/work/libavif-0.9.2/contrib/gdk-pixbuf/loader.c
FAILED: contrib/gdk-pixbuf/CMakeFiles/pixbufloader-avif.dir/loader.c.o 
/usr/bin/cc -DAVIF_DLL -Dpixbufloader_avif_EXPORTS
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/obj/d2/ports/graphics/libavif/work/libavif-0.9.2/include -O2 -pipe
-march=haswell  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe
-march=haswell  -fstack-protector-strong -fno-strict-aliasing -fPIC  
-Weverything -Wno-bad-function-cast -Wno-cast-align -Wno-conversion
-Wno-covered-switch-default -Wno-disabled-macro-expansion -Wno-documentation
-Wno-documentation-unknown-command -Wno-double-promotion -Wno-float-equal
-Wno-missing-noreturn -Wno-padded -Wno-sign-conversion
-Wno-error=c11-extensions -Wno-poison-system-directories -Werror
-Wno-reserved-id-macro -Wno-cast-qual -std=gnu99 -MD -MT
contrib/gdk-pixbuf/CMakeFiles/pixbufloader-avif.dir/loader.c.o -MF
contrib/gdk-pixbuf/CMakeFiles/pixbufloader-avif.dir/loader.c.o.d -o
contrib/gdk-pixbuf/CMakeFiles/pixbufloader-avif.dir/loader.c.o -c
/usr/obj/d2/ports/graphics/libavif/work/libavif-0.9.2/contrib/gdk-pixbuf/loader.c
/usr/obj/d2/ports/graphics/libavif/work/libavif-0.9.2/contrib/gdk-pixbuf/loader.c:211:29:
error: no member named 'mode' in 'struct avifImageMirror'
        switch (image->imir.mode) {
                ~~~~~~~~~~~ ^
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[1]: stopped in /d2/ports/graphics/libavif
*** Error code 1

Stop.
make: stopped in /d2/ports/graphics/libavif

-- 
You are receiving this mail because:
You are the assignee for the bug.