==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_e4ad7c90-d570-4c89-ae4c-5134d94a8372]...done
==> Making package: fbida 2.14-6.1 (Wed Apr 29 23:21:20 2026)
==> Retrieving sources...
  -> Downloading fbida-2.14.tar.gz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0100 289.8k 100 289.8k   0      0 593.5k      0                              0100 289.8k 100 289.8k   0      0 593.5k      0                              0100 289.8k 100 289.8k   0      0 593.4k      0                              0
  -> Downloading fbida-2.14.tar.gz.asc...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0100    836 100    836   0      0   7626      0                              0100    836 100    836   0      0   7621      0                              0100    836 100    836   0      0   7618      0                              0
  -> Found ida-desktop.patch
  -> Downloading fbida-gcc10.patch...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0100   1847   0   1847   0      0   3876      0                              0100   1847   0   1847   0      0   3876      0                              0100   1847   0   1847   0      0   3876      0                              0
==> Validating source files with sha1sums...
    fbida-2.14.tar.gz ... Passed
    fbida-2.14.tar.gz.asc ... Skipped
    ida-desktop.patch ... Passed
    fbida-gcc10.patch ... Passed
==> Validating source files with sha256sums...
    fbida-2.14.tar.gz ... Passed
    fbida-2.14.tar.gz.asc ... Skipped
    ida-desktop.patch ... Passed
    fbida-gcc10.patch ... Passed
==> Verifying source file signatures with gpg...
    fbida-2.14.tar.gz ... Passed
==> Making package: fbida 2.14-6.1 (Wed Apr 29 21:21:24 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (40)           New Version     Net Change

extra/cairo            1.18.4-1          1.59 MiB
extra/default-cursors  3-1               0.00 MiB
extra/fontconfig       2:2.17.1-1        1.12 MiB
extra/freetype2        2.14.3-1          1.66 MiB
extra/gpgmepp          2.0.0-2           0.56 MiB
extra/jbigkit          2.1-8             0.16 MiB
extra/lcms2            2.19-1            0.68 MiB
extra/libdeflate       1.25-1            0.14 MiB
extra/libdrm           2.4.131-1         1.28 MiB
core/libedit           20251016_3.1-1    0.26 MiB
extra/libglvnd         1.7.0-3           3.34 MiB
extra/libjpeg-turbo    3.1.4.1-1         2.43 MiB
extra/libpciaccess     0.19-1            0.06 MiB
extra/libpng           1.6.58-1          0.58 MiB
extra/libtiff          4.7.1-2           1.26 MiB
extra/libx11           1.8.13-1          9.78 MiB
extra/libxau           1.0.12-1          0.02 MiB
extra/libxcb           1.17.0-1          3.87 MiB
extra/libxdmcp         1.1.5-2           0.13 MiB
extra/libxext          1.3.7-1           0.30 MiB
extra/libxrender       0.9.12-1          0.09 MiB
extra/libxshmfence     1.3.3-1           0.02 MiB
extra/libxxf86vm       1.1.7-1           0.03 MiB
extra/llvm-libs        22.1.3-1        160.11 MiB
extra/lm_sensors       1:3.6.2-1         0.48 MiB
core/lzo               2.10-5            0.38 MiB
core/nspr              4.38.2-1          0.71 MiB
core/nss               3.123.1-1         5.22 MiB
extra/openjpeg2        2.5.4-1          13.37 MiB
extra/pixman           0.46.4-1          0.74 MiB
extra/poppler          26.04.0-1         6.55 MiB
extra/spirv-tools      1:1.4.341.0-2     7.59 MiB
extra/wayland          1.25.0-1          0.84 MiB
extra/xcb-proto        1.17.0-4          1.03 MiB
extra/xorgproto        2025.1-1          1.47 MiB
extra/libepoxy         1.5.10-3          2.64 MiB
extra/libexif          0.6.26-1          3.12 MiB
extra/libwebp          1.6.0-2           1.04 MiB
extra/mesa             1:26.0.5-1       50.73 MiB
extra/poppler-glib     26.04.0-1         3.27 MiB

Total Installed Size:  288.63 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing libexif...
installing xcb-proto...
installing xorgproto...
installing libxdmcp...
installing libxau...
installing libxcb...
installing libx11...
installing libxext...
installing libpciaccess...
installing libdrm...
Optional dependencies for libdrm
    cairo: needed for modetest tool [pending]
installing libxshmfence...
installing libxxf86vm...
installing libedit...
installing llvm-libs...
installing lm_sensors...
Optional dependencies for lm_sensors
    rrdtool: for logging with sensord
    perl: for sensor detection and configuration convert [installed]
installing spirv-tools...
installing default-cursors...
Optional dependencies for default-cursors
    adwaita-cursors: default cursor theme
installing wayland...
installing mesa...
Optional dependencies for mesa
    opengl-man-pages: for the OpenGL API man pages
installing libglvnd...
installing libepoxy...
installing libjpeg-turbo...
Optional dependencies for libjpeg-turbo
    java-runtime>11: for TurboJPEG Java wrapper
installing libpng...
installing freetype2...
Optional dependencies for freetype2
    harfbuzz: Improved autohinting
installing fontconfig...
Creating fontconfig configuration...
Rebuilding fontconfig cache...
installing libxrender...
installing lzo...
installing pixman...
installing cairo...
installing jbigkit...
installing libdeflate...
installing libwebp...
Optional dependencies for libwebp
    libwebp-utils: WebP conversion and inspection tools
installing libtiff...
Optional dependencies for libtiff
    freeglut: for using tiffgt
installing lcms2...
installing openjpeg2...
installing nspr...
installing nss...
installing gpgmepp...
installing poppler...
Optional dependencies for poppler
    poppler-data: highly recommended encoding data to display PDF documents with certain encodings and characters
installing poppler-glib...
:: Running post-transaction hooks...
(1/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(2/4) Arming ConditionNeedsUpdate...
(3/4) Updating fontconfig configuration...
(4/4) Updating fontconfig cache...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (15)       New Version  Net Change

extra/fftw         3.3.11-1       8.83 MiB
extra/fribidi      1.0.16-2       0.24 MiB
extra/graphite     1:1.3.14-6     0.20 MiB
extra/harfbuzz     14.2.0-1       4.74 MiB
extra/libice       1.1.2-1        0.36 MiB
extra/liblqr       0.4.3-1        0.08 MiB
extra/libraqm      0.10.5-1       0.18 MiB
extra/libsm        1.2.6-1        0.26 MiB
extra/libxft       2.3.9-1        0.13 MiB
extra/libxmu       1.3.1-1        0.34 MiB
extra/libxp        1.0.4-3        0.14 MiB
extra/libxt        1.3.1-1        2.02 MiB
extra/imagemagick  7.1.2.21-1    24.22 MiB
extra/libxpm       3.5.19-1       0.16 MiB
extra/openmotif    2.3.8-4        6.29 MiB

Total Installed Size:  48.19 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing libice...
installing libsm...
installing libxt...
installing libxpm...
installing fftw...
Optional dependencies for fftw
    fftw-openmpi: for OpenMPI integration
installing liblqr...
installing fribidi...
installing graphite...
Optional dependencies for graphite
    graphite-docs: Documentation
installing harfbuzz...
Optional dependencies for harfbuzz
    harfbuzz-utils: utilities
installing libraqm...
installing imagemagick...
Optional dependencies for imagemagick
    ghostscript: PS/PDF support
    jbigkit: JBIG support [installed]
    libheif: HEIF support
    libjpeg-turbo: JPEG support [installed]
    libjxl: JPEG XL support
    libraw: DNG support
    librsvg: SVG support
    libtiff: TIFF support [installed]
    libultrahdr: UHDR support
    libwebp: WEBP support [installed]
    libwmf: WMF support
    libzip: OpenRaster support
    ocl-icd: OpenCL support
    openexr: OpenEXR support
    openjpeg2: JPEG2000 support [installed]
    djvulibre: DJVU support
    pango: Text rendering
installing libxft...
installing libxmu...
installing libxp...
installing openmotif...
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Checking for old perl modules...
(3/3) Updating the info directory file...
==> Retrieving sources...
  -> Found fbida-2.14.tar.gz
  -> Found fbida-2.14.tar.gz.asc
  -> Found ida-desktop.patch
  -> Found fbida-gcc10.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting fbida-2.14.tar.gz with bsdtar
==> Starting prepare()...
patching file desktop/ida.desktop
patching file fbi.c
Hunk #1 succeeded at 100 (offset 14 lines).
patching file filter.c
patching file idaconfig.h
patching file readers.c
Hunk #1 succeeded at 6 with fuzz 2 (offset -1 lines).
patching file viewer.c
Hunk #1 succeeded at 39 (offset 1 line).
==> Starting build()...
checking for libdir name ... 
run: /sbin/ldconfig -p | grep -q lib64 && echo lib64 || echo lib
... result is lib

checking for X11 app-defaults prefix ... 
run:  for dir in /etc/X11/app-defaults /usr/X11R6/lib/X11/app-defaults /usr/share/X11/app-defaults /usr/lib/X11/app-defaults ; do test -d  || continue; dirname ; break; done
... result is /usr/lib/X11

checking for linux/fb.h ... 
run: echo '\#include <linux/fb.h>' | cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION='2.13' -I. -Wno-pointer-sign -Ijpeg/            -E -
... result is yes

checking for cairo-gl (using pkg-config) ... 
run:  pkg-config cairo-gl
... result is no

checking for pcd_open in pcd ... 
run: cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION='2.13' -I. -Wno-pointer-sign -Ijpeg/            -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs      -o __actest __actest.c -lpcd 
/usr/bin/ld: cannot find -lpcd: No such file or directory
collect2: error: ld returned 1 exit status
... result is no

checking for DGifOpenFileName in gif ... 
run: cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION='2.13' -I. -Wno-pointer-sign -Ijpeg/            -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs      -o __actest __actest.c -lgif 
/usr/bin/ld: cannot find -lgif: No such file or directory
collect2: error: ld returned 1 exit status
... result is no

checking for libwebp (using pkg-config) ... 
run:  pkg-config libwebp
... result is yes

checking for XmStringGenerate in Xm ... 
run: cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION='2.13' -I. -Wno-pointer-sign -Ijpeg/            -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs      -o __actest __actest.c -lXm -L/usr/X11R6/lib -lXpm -lXt -lXext -lX11
... result is yes

checking for libjpeg version ... 
run:  ./scripts/jpeg-version.sh
... result is 80

checking for fopencookie ... 
run: cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION='2.13' -I. -Wno-pointer-sign -Ijpeg/            -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs      -o __actest __actest.c 
... result is yes

checking for sane_init in sane ... 
run: cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION='2.13' -I. -Wno-pointer-sign -Ijpeg/            -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs      -o __actest __actest.c -lsane 
/usr/bin/ld: cannot find -lsane: No such file or directory
collect2: error: ld returned 1 exit status
... result is no

checking for curl_easy_init in curl ... 
run: cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION='2.13' -I. -Wno-pointer-sign -Ijpeg/            -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs      -o __actest __actest.c -lcurl 
... result is yes

checking for lirc_init in lirc_client ... 
run: cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION='2.13' -I. -Wno-pointer-sign -Ijpeg/            -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs      -o __actest __actest.c -llirc_client 
/usr/bin/ld: cannot find -llirc_client: No such file or directory
collect2: error: ld returned 1 exit status
... result is no


Make.config written, edit if needed

cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION="2.13" -I. -Wno-pointer-sign -Ijpeg/80 -I/usr/include/pixman-1 -Wp,-MD,mk/exiftran.tmp -c -o exiftran.o exiftran.c
cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION="2.13" -I. -Wno-pointer-sign -Ijpeg/80 -I/usr/include/pixman-1 -Wp,-MD,mk/genthumbnail.tmp -c -o genthumbnail.o genthumbnail.c
cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION="2.13" -I. -Wno-pointer-sign -Ijpeg/80 -I/usr/include/pixman-1 -Wp,-MD,mk/jpegtools.tmp -c -o jpegtools.o jpegtools.c
cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION="2.13" -I. -Wno-pointer-sign -Ijpeg/80 -I/usr/include/pixman-1 -Wp,-MD,mk/jpeg_80_transupp.tmp -c -o jpeg/80/transupp.o jpeg/80/transupp.c
cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION="2.13" -I. -Wno-pointer-sign -Ijpeg/80 -I/usr/include/pixman-1 -Wp,-MD,mk/filter.tmp -c -o filter.o filter.c
cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION="2.13" -I. -Wno-pointer-sign -Ijpeg/80 -I/usr/include/pixman-1 -Wp,-MD,mk/op.tmp -c -o op.o op.c
cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION="2.13" -I. -Wno-pointer-sign -Ijpeg/80 -I/usr/include/pixman-1 -Wp,-MD,mk/readers.tmp -c -o readers.o readers.c
cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION="2.13" -I. -Wno-pointer-sign -Ijpeg/80 -I/usr/include/pixman-1 -Wp,-MD,mk/rd_read-jpeg.tmp -c -o rd/read-jpeg.o rd/read-jpeg.c
cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION="2.13" -I. -Wno-pointer-sign -Ijpeg/80 -Wp,-MD,mk/thumbnail.cgi.tmp -c -o thumbnail.cgi.o thumbnail.cgi.c
jpeg/80/transupp.c: In function ‘do_crop’:
jpeg/80/transupp.c:107:9: error: too many arguments to function ‘jcopy_block_row’; expected 0, have 3
  107 |         jcopy_block_row(src_buffer[offset_y] + x_crop_blocks,
      |         ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from jpeg/80/jpeglib.h:1150,
                 from jpeg/80/transupp.c:21:
jpeg/80/jpegint.h:382:14: note: declared here
  382 | EXTERN(void) jcopy_block_row JPP((JBLOCKROW input_row, JBLOCKROW output_row,
      |              ^~~~~~~~~~~~~~~
cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION="2.13" -I. -Wno-pointer-sign -Ijpeg/80 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/webp -Wp,-MD,mk/fbi.tmp -c -o fbi.o fbi.c
jpeg/80/transupp.c: In function ‘do_flip_h_no_crop’:
jpeg/80/transupp.c:172:13: error: too many arguments to function ‘jcopy_block_row’; expected 0, have 3
  172 |             jcopy_block_row(buffer[offset_y] + blk_x + x_crop_blocks,
      |             ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/jpegint.h:382:14: note: declared here
  382 | EXTERN(void) jcopy_block_row JPP((JBLOCKROW input_row, JBLOCKROW output_row,
      |              ^~~~~~~~~~~~~~~
jpeg/80/transupp.c: In function ‘do_flip_h’:
jpeg/80/transupp.c:234:13: error: too many arguments to function ‘jcopy_block_row’; expected 0, have 3
  234 |             jcopy_block_row(src_row_ptr + dst_blk_x + x_crop_blocks,
      |             ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/jpegint.h:382:14: note: declared here
  382 | EXTERN(void) jcopy_block_row JPP((JBLOCKROW input_row, JBLOCKROW output_row,
      |              ^~~~~~~~~~~~~~~
jpeg/80/transupp.c: In function ‘do_flip_v’:
jpeg/80/transupp.c:315:11: error: too many arguments to function ‘jcopy_block_row’; expected 0, have 3
  315 |           jcopy_block_row(src_buffer[offset_y] + x_crop_blocks,
      |           ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/jpegint.h:382:14: note: declared here
  382 | EXTERN(void) jcopy_block_row JPP((JBLOCKROW input_row, JBLOCKROW output_row,
      |              ^~~~~~~~~~~~~~~
jpeg/80/transupp.c: In function ‘do_rot_180’:
jpeg/80/transupp.c:621:15: error: too many arguments to function ‘jcopy_block_row’; expected 0, have 3
  621 |               jcopy_block_row(src_row_ptr + dst_blk_x + x_crop_blocks,
      |               ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/jpegint.h:382:14: note: declared here
  382 | EXTERN(void) jcopy_block_row JPP((JBLOCKROW input_row, JBLOCKROW output_row,
      |              ^~~~~~~~~~~~~~~
jpeg/80/transupp.c: At top level:
jpeg/80/transupp.c:784:1: error: conflicting types for ‘jtransform_parse_crop_spec’; have ‘boolean(jpeg_transform_info *, const char *)’ {aka ‘int(jpeg_transform_info *, const char *)’}
  784 | jtransform_parse_crop_spec (jpeg_transform_info *info, const char *spec)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from jpeg/80/transupp.c:22:
jpeg/80/transupp.h:159:17: note: previous declaration of ‘jtransform_parse_crop_spec’ with type ‘boolean(void)’ {aka ‘int(void)’}
  159 | EXTERN(boolean) jtransform_parse_crop_spec
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.c:870:1: error: conflicting types for ‘jtransform_request_workspace’; have ‘boolean(struct jpeg_decompress_struct *, jpeg_transform_info *)’ {aka ‘int(struct jpeg_decompress_struct *, jpeg_transform_info *)’}
  870 | jtransform_request_workspace (j_decompress_ptr srcinfo,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.h:162:17: note: previous declaration of ‘jtransform_request_workspace’ with type ‘boolean(void)’ {aka ‘int(void)’}
  162 | EXTERN(boolean) jtransform_request_workspace
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.c: In function ‘jtransform_request_workspace’:
jpeg/80/transupp.c:892:3: error: too many arguments to function ‘jpeg_core_output_dimensions’; expected 0, have 1
  892 |   jpeg_core_output_dimensions(srcinfo);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~
jpeg/80/jpeglib.h:1059:14: note: declared here
 1059 | EXTERN(void) jpeg_core_output_dimensions JPP((j_decompress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.c:898:12: error: too many arguments to function ‘jtransform_perfect_transform’; expected 0, have 5
  898 |       if (!jtransform_perfect_transform(srcinfo->output_width,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.h:177:17: note: declared here
  177 | EXTERN(boolean) jtransform_perfect_transform
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.c:905:12: error: too many arguments to function ‘jtransform_perfect_transform’; expected 0, have 5
  905 |       if (!jtransform_perfect_transform(srcinfo->output_width,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.h:177:17: note: declared here
  177 | EXTERN(boolean) jtransform_perfect_transform
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.c:1067:7: error: too many arguments to function ‘jdiv_round_up’; expected 0, have 2
 1067 |       jdiv_round_up((long) info->output_width,
      |       ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/jpegint.h:377:14: note: declared here
  377 | EXTERN(long) jdiv_round_up JPP((long a, long b));
      |              ^~~~~~~~~~~~~
jpeg/80/transupp.c:1070:7: error: too many arguments to function ‘jdiv_round_up’; expected 0, have 2
 1070 |       jdiv_round_up((long) info->output_height,
      |       ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/jpegint.h:377:14: note: declared here
  377 | EXTERN(long) jdiv_round_up JPP((long a, long b));
      |              ^~~~~~~~~~~~~
jpeg/80/transupp.c: At top level:
jpeg/80/transupp.c:1309:1: error: conflicting types for ‘jtransform_adjust_parameters’; have ‘struct jvirt_barray_control **(struct jpeg_decompress_struct *, struct jpeg_compress_struct *, struct jvirt_barray_control **, jpeg_transform_info *)’
 1309 | jtransform_adjust_parameters (j_decompress_ptr srcinfo,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.h:165:28: note: previous declaration of ‘jtransform_adjust_parameters’ with type ‘struct jvirt_barray_control **(void)’
  165 | EXTERN(jvirt_barray_ptr *) jtransform_adjust_parameters
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.c: In function ‘jtransform_adjust_parameters’:
jpeg/80/transupp.c:1333:7: error: too many arguments to function ‘jpeg_set_colorspace’; expected 0, have 2
 1333 |       jpeg_set_colorspace(dstinfo, JCS_GRAYSCALE);
      |       ^~~~~~~~~~~~~~~~~~~ ~~~~~~~
jpeg/80/jpeglib.h:968:14: note: declared here
  968 | EXTERN(void) jpeg_set_colorspace JPP((j_compress_ptr cinfo,
      |              ^~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.c: At top level:
jpeg/80/transupp.c:1404:1: error: conflicting types for ‘jtransform_execute_transform’; have ‘void(struct jpeg_decompress_struct *, struct jpeg_compress_struct *, struct jvirt_barray_control **, jpeg_transform_info *)’
 1404 | jtransform_execute_transform (j_decompress_ptr srcinfo,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.h:170:14: note: previous declaration of ‘jtransform_execute_transform’ with type ‘void(void)’
  170 | EXTERN(void) jtransform_execute_transform
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.c:1477:1: error: conflicting types for ‘jtransform_perfect_transform’; have ‘boolean(JDIMENSION,  JDIMENSION,  int,  int,  JXFORM_CODE)’ {aka ‘int(unsigned int,  unsigned int,  int,  int,  JXFORM_CODE)’}
 1477 | jtransform_perfect_transform(JDIMENSION image_width, JDIMENSION image_height,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.h:177:17: note: previous declaration of ‘jtransform_perfect_transform’ with type ‘boolean(void)’ {aka ‘int(void)’}
  177 | EXTERN(boolean) jtransform_perfect_transform
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.c:1516:1: error: conflicting types for ‘jcopy_markers_setup’; have ‘void(struct jpeg_decompress_struct *, JCOPY_OPTION)’
 1516 | jcopy_markers_setup (j_decompress_ptr srcinfo, JCOPY_OPTION option)
      | ^~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.h:205:14: note: previous declaration of ‘jcopy_markers_setup’ with type ‘void(void)’
  205 | EXTERN(void) jcopy_markers_setup
      |              ^~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.c: In function ‘jcopy_markers_setup’:
jpeg/80/transupp.c:1523:5: error: too many arguments to function ‘jpeg_save_markers’; expected 0, have 3
 1523 |     jpeg_save_markers(srcinfo, JPEG_COM, 0xFFFF);
      |     ^~~~~~~~~~~~~~~~~ ~~~~~~~
jpeg/80/jpeglib.h:1063:14: note: declared here
 1063 | EXTERN(void) jpeg_save_markers
      |              ^~~~~~~~~~~~~~~~~
jpeg/80/transupp.c:1528:7: error: too many arguments to function ‘jpeg_save_markers’; expected 0, have 3
 1528 |       jpeg_save_markers(srcinfo, JPEG_APP0 + m, 0xFFFF);
      |       ^~~~~~~~~~~~~~~~~ ~~~~~~~
jpeg/80/jpeglib.h:1063:14: note: declared here
 1063 | EXTERN(void) jpeg_save_markers
      |              ^~~~~~~~~~~~~~~~~
jpeg/80/transupp.c: At top level:
jpeg/80/transupp.c:1541:1: error: conflicting types for ‘jcopy_markers_execute’; have ‘void(struct jpeg_decompress_struct *, struct jpeg_compress_struct *, JCOPY_OPTION)’
 1541 | jcopy_markers_execute (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
      | ^~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.h:208:14: note: previous declaration of ‘jcopy_markers_execute’ with type ‘void(void)’
  208 | EXTERN(void) jcopy_markers_execute
      |              ^~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.c: In function ‘jcopy_markers_execute’:
jpeg/80/transupp.c:1579:5: error: too many arguments to function ‘jpeg_write_marker’; expected 0, have 4
 1579 |     jpeg_write_marker(dstinfo, marker->marker,
      |     ^~~~~~~~~~~~~~~~~ ~~~~~~~
jpeg/80/jpeglib.h:1006:14: note: declared here
 1006 | EXTERN(void) jpeg_write_marker
      |              ^~~~~~~~~~~~~~~~~
cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION="2.13" -I. -Wno-pointer-sign -Ijpeg/80 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/webp -Wp,-MD,mk/vt.tmp -c -o vt.o vt.c
genthumbnail.c: In function ‘compress_thumbnail’:
genthumbnail.c:128:19: error: too many arguments to function ‘jpeg_std_error’; expected 0, have 1
  128 |     thc.dst.err = jpeg_std_error(&thc.err);
      |                   ^~~~~~~~~~~~~~ ~~~~~~~~
In file included from genthumbnail.c:8:
jpeg/80/jpeglib.h:928:33: note: declared here
  928 | EXTERN(struct jpeg_error_mgr *) jpeg_std_error
      |                                 ^~~~~~~~~~~~~~
jpeg/80/jpeglib.h:939:5: error: too many arguments to function ‘jpeg_CreateCompress’; expected 0, have 3
  939 |     jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
      |     ^~~~~~~~~~~~~~~~~~~ ~~~~~~~
genthumbnail.c:129:5: note: in expansion of macro ‘jpeg_create_compress’
  129 |     jpeg_create_compress(&thc.dst);
      |     ^~~~~~~~~~~~~~~~~~~~
jpeg/80/jpeglib.h:944:14: note: declared here
  944 | EXTERN(void) jpeg_CreateCompress JPP((j_compress_ptr cinfo,
      |              ^~~~~~~~~~~~~~~~~~~
genthumbnail.c:138:5: error: too many arguments to function ‘jpeg_set_defaults’; expected 0, have 1
  138 |     jpeg_set_defaults(&thc.dst);
      |     ^~~~~~~~~~~~~~~~~ ~~~~~~~~
jpeg/80/jpeglib.h:966:14: note: declared here
  966 | EXTERN(void) jpeg_set_defaults JPP((j_compress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~
genthumbnail.c:139:5: error: too many arguments to function ‘jpeg_start_compress’; expected 0, have 2
  139 |     jpeg_start_compress(&thc.dst, TRUE);
      |     ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~
jpeg/80/jpeglib.h:990:14: note: declared here
  990 | EXTERN(void) jpeg_start_compress JPP((j_compress_ptr cinfo,
      |              ^~~~~~~~~~~~~~~~~~~
genthumbnail.c:142:9: error: too many arguments to function ‘jpeg_write_scanlines’; expected 0, have 3
  142 |         jpeg_write_scanlines(&thc.dst, (void*)ida_image_scanline(img, i), 1);
      |         ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
jpeg/80/jpeglib.h:992:20: note: declared here
  992 | EXTERN(JDIMENSION) jpeg_write_scanlines JPP((j_compress_ptr cinfo,
      |                    ^~~~~~~~~~~~~~~~~~~~
genthumbnail.c:144:5: error: too many arguments to function ‘jpeg_finish_compress’; expected 0, have 1
  144 |     jpeg_finish_compress(&(thc.dst));
      |     ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
jpeg/80/jpeglib.h:995:14: note: declared here
  995 | EXTERN(void) jpeg_finish_compress JPP((j_compress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~
genthumbnail.c:145:5: error: too many arguments to function ‘jpeg_destroy_compress’; expected 0, have 1
  145 |     jpeg_destroy_compress(&(thc.dst));
      |     ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
jpeg/80/jpeglib.h:949:14: note: declared here
  949 | EXTERN(void) jpeg_destroy_compress JPP((j_compress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~~
jpegtools.c:276:28: error: initialization of ‘boolean (*)(struct jpeg_decompress_struct *, int)’ {aka ‘int (*)(struct jpeg_decompress_struct *, int)’} from incompatible pointer type ‘boolean (*)(void)’ {aka ‘int (*)(void)’} [-Wincompatible-pointer-types]
  276 |     .resync_to_restart   = jpeg_resync_to_restart,
      |                            ^~~~~~~~~~~~~~~~~~~~~~
jpegtools.c:276:28: note: (near initialization for ‘thumbnail_src.resync_to_restart’)
In file included from jpegtools.c:35:
jpeg/80/jpeglib.h:1095:17: note: ‘jpeg_resync_to_restart’ declared here
 1095 | EXTERN(boolean) jpeg_resync_to_restart JPP((j_decompress_ptr cinfo,
      |                 ^~~~~~~~~~~~~~~~~~~~~~
jpegtools.c: In function ‘do_thumbnail’:
jpegtools.c:298:18: error: too many arguments to function ‘jpeg_std_error’; expected 0, have 1
  298 |     th.src.err = jpeg_std_error(&th.jsrcerr);
      |                  ^~~~~~~~~~~~~~ ~~~~~~~~~~~
jpeg/80/jpeglib.h:928:33: note: declared here
  928 | EXTERN(struct jpeg_error_mgr *) jpeg_std_error
      |                                 ^~~~~~~~~~~~~~
jpeg/80/jpeglib.h:942:5: error: too many arguments to function ‘jpeg_CreateDecompress’; expected 0, have 3
  942 |     jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
      |     ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~
jpegtools.c:299:5: note: in expansion of macro ‘jpeg_create_decompress’
  299 |     jpeg_create_decompress(&th.src);
      |     ^~~~~~~~~~~~~~~~~~~~~~
jpeg/80/jpeglib.h:946:14: note: declared here
  946 | EXTERN(void) jpeg_CreateDecompress JPP((j_decompress_ptr cinfo,
      |              ^~~~~~~~~~~~~~~~~~~~~
jpegtools.c:303:18: error: too many arguments to function ‘jpeg_std_error’; expected 0, have 1
  303 |     th.dst.err = jpeg_std_error(&th.jdsterr);
      |                  ^~~~~~~~~~~~~~ ~~~~~~~~~~~
jpeg/80/jpeglib.h:928:33: note: declared here
  928 | EXTERN(struct jpeg_error_mgr *) jpeg_std_error
      |                                 ^~~~~~~~~~~~~~
jpeg/80/jpeglib.h:939:5: error: too many arguments to function ‘jpeg_CreateCompress’; expected 0, have 3
  939 |     jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
      |     ^~~~~~~~~~~~~~~~~~~ ~~~~~~~
jpegtools.c:304:5: note: in expansion of macro ‘jpeg_create_compress’
  304 |     jpeg_create_compress(&th.dst);
      |     ^~~~~~~~~~~~~~~~~~~~
jpeg/80/jpeglib.h:944:14: note: declared here
  944 | EXTERN(void) jpeg_CreateCompress JPP((j_compress_ptr cinfo,
      |              ^~~~~~~~~~~~~~~~~~~
jpegtools.c:311:5: error: too many arguments to function ‘jpeg_destroy_decompress’; expected 0, have 1
  311 |     jpeg_destroy_decompress(&th.src);
      |     ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~
jpeg/80/jpeglib.h:950:14: note: declared here
  950 | EXTERN(void) jpeg_destroy_decompress JPP((j_decompress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~~~~
jpegtools.c:312:5: error: too many arguments to function ‘jpeg_destroy_compress’; expected 0, have 1
  312 |     jpeg_destroy_compress(&th.dst);
      |     ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~
jpeg/80/jpeglib.h:949:14: note: declared here
  949 | EXTERN(void) jpeg_destroy_compress JPP((j_compress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~~
jpegtools.c: In function ‘do_transform’:
jpegtools.c:430:5: error: too many arguments to function ‘jcopy_markers_setup’; expected 0, have 2
  430 |     jcopy_markers_setup(src, JCOPYOPT_ALL);
      |     ^~~~~~~~~~~~~~~~~~~ ~~~
In file included from jpegtools.c:36:
jpeg/80/transupp.h:205:14: note: declared here
  205 | EXTERN(void) jcopy_markers_setup
      |              ^~~~~~~~~~~~~~~~~~~
jpegtools.c:431:27: error: too many arguments to function ‘jpeg_read_header’; expected 0, have 2
  431 |     if (JPEG_HEADER_OK != jpeg_read_header(src, TRUE))
      |                           ^~~~~~~~~~~~~~~~ ~~~
jpeg/80/jpeglib.h:1019:13: note: declared here
 1019 | EXTERN(int) jpeg_read_header JPP((j_decompress_ptr cinfo,
      |             ^~~~~~~~~~~~~~~~
jpegtools.c:453:5: error: too many arguments to function ‘jtransform_request_workspace’; expected 0, have 2
  453 |     jtransform_request_workspace(src, &transformoption);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~
jpeg/80/transupp.h:162:17: note: declared here
  162 | EXTERN(boolean) jtransform_request_workspace
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpegtools.c:454:23: error: too many arguments to function ‘jpeg_read_coefficients’; expected 0, have 1
  454 |     src_coef_arrays = jpeg_read_coefficients(src);
      |                       ^~~~~~~~~~~~~~~~~~~~~~ ~~~
jpeg/80/jpeglib.h:1073:28: note: declared here
 1073 | EXTERN(jvirt_barray_ptr *) jpeg_read_coefficients JPP((j_decompress_ptr cinfo));
      |                            ^~~~~~~~~~~~~~~~~~~~~~
jpegtools.c:455:5: error: too many arguments to function ‘jpeg_copy_critical_parameters’; expected 0, have 2
  455 |     jpeg_copy_critical_parameters(src, dst);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~
jpeg/80/jpeglib.h:1076:14: note: declared here
 1076 | EXTERN(void) jpeg_copy_critical_parameters JPP((j_decompress_ptr srcinfo,
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpegtools.c:456:23: error: too many arguments to function ‘jtransform_adjust_parameters’; expected 0, have 4
  456 |     dst_coef_arrays = jtransform_adjust_parameters
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  457 |         (src, dst, src_coef_arrays, &transformoption);
      |          ~~~           
jpeg/80/transupp.h:165:28: note: declared here
  165 | EXTERN(jvirt_barray_ptr *) jtransform_adjust_parameters
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpegtools.c:460:5: error: too many arguments to function ‘jpeg_write_coefficients’; expected 0, have 2
  460 |     jpeg_write_coefficients(dst, dst_coef_arrays);
      |     ^~~~~~~~~~~~~~~~~~~~~~~ ~~~
jpeg/80/jpeglib.h:1074:14: note: declared here
 1074 | EXTERN(void) jpeg_write_coefficients JPP((j_compress_ptr cinfo,
      |              ^~~~~~~~~~~~~~~~~~~~~~~
jpegtools.c:463:5: error: too many arguments to function ‘jcopy_markers_execute’; expected 0, have 3
  463 |     jcopy_markers_execute(src, dst, JCOPYOPT_ALL);
      |     ^~~~~~~~~~~~~~~~~~~~~ ~~~
jpeg/80/transupp.h:208:14: note: declared here
  208 | EXTERN(void) jcopy_markers_execute
      |              ^~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.h:187:49: error: too many arguments to function ‘jtransform_execute_transform’; expected 0, have 4
  187 | #define jtransform_execute_transformation       jtransform_execute_transform
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpegtools.c:466:5: note: in expansion of macro ‘jtransform_execute_transformation’
  466 |     jtransform_execute_transformation(src, dst,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/transupp.h:170:14: note: declared here
  170 | EXTERN(void) jtransform_execute_transform
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
jpegtools.c:471:5: error: too many arguments to function ‘jpeg_finish_compress’; expected 0, have 1
  471 |     jpeg_finish_compress(dst);
      |     ^~~~~~~~~~~~~~~~~~~~ ~~~
jpeg/80/jpeglib.h:995:14: note: declared here
  995 | EXTERN(void) jpeg_finish_compress JPP((j_compress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~
jpegtools.c:472:5: error: too many arguments to function ‘jpeg_finish_decompress’; expected 0, have 1
  472 |     jpeg_finish_decompress(src);
      |     ^~~~~~~~~~~~~~~~~~~~~~ ~~~
jpeg/80/jpeglib.h:1036:17: note: declared here
 1036 | EXTERN(boolean) jpeg_finish_decompress JPP((j_decompress_ptr cinfo));
      |                 ^~~~~~~~~~~~~~~~~~~~~~
jpegtools.c: In function ‘jpeg_transform_fp’:
jpegtools.c:491:15: error: too many arguments to function ‘jpeg_std_error’; expected 0, have 1
  491 |     src.err = jpeg_std_error(&jsrcerr.jpeg);
      |               ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~
jpeg/80/jpeglib.h:928:33: note: declared here
  928 | EXTERN(struct jpeg_error_mgr *) jpeg_std_error
      |                                 ^~~~~~~~~~~~~~
jpeg/80/jpeglib.h:942:5: error: too many arguments to function ‘jpeg_CreateDecompress’; expected 0, have 3
  942 |     jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
      |     ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~
jpegtools.c:496:5: note: in expansion of macro ‘jpeg_create_decompress’
  496 |     jpeg_create_decompress(&src);
      |     ^~~~~~~~~~~~~~~~~~~~~~
jpeg/80/jpeglib.h:946:14: note: declared here
  946 | EXTERN(void) jpeg_CreateDecompress JPP((j_decompress_ptr cinfo,
      |              ^~~~~~~~~~~~~~~~~~~~~
jpegtools.c:497:5: error: too many arguments to function ‘jpeg_stdio_src’; expected 0, have 2
  497 |     jpeg_stdio_src(&src, in);
      |     ^~~~~~~~~~~~~~ ~~~~
jpeg/80/jpeglib.h:955:14: note: declared here
  955 | EXTERN(void) jpeg_stdio_src JPP((j_decompress_ptr cinfo, FILE * infile));
      |              ^~~~~~~~~~~~~~
jpegtools.c:500:15: error: too many arguments to function ‘jpeg_std_error’; expected 0, have 1
  500 |     dst.err = jpeg_std_error(&jdsterr);
      |               ^~~~~~~~~~~~~~ ~~~~~~~~
jpeg/80/jpeglib.h:928:33: note: declared here
  928 | EXTERN(struct jpeg_error_mgr *) jpeg_std_error
      |                                 ^~~~~~~~~~~~~~
jpeg/80/jpeglib.h:939:5: error: too many arguments to function ‘jpeg_CreateCompress’; expected 0, have 3
  939 |     jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
      |     ^~~~~~~~~~~~~~~~~~~ ~~~~~~~
jpegtools.c:501:5: note: in expansion of macro ‘jpeg_create_compress’
  501 |     jpeg_create_compress(&dst);
      |     ^~~~~~~~~~~~~~~~~~~~
jpeg/80/jpeglib.h:944:14: note: declared here
  944 | EXTERN(void) jpeg_CreateCompress JPP((j_compress_ptr cinfo,
      |              ^~~~~~~~~~~~~~~~~~~
jpegtools.c:502:5: error: too many arguments to function ‘jpeg_stdio_dest’; expected 0, have 2
  502 |     jpeg_stdio_dest(&dst, out);
      |     ^~~~~~~~~~~~~~~ ~~~~
jpeg/80/jpeglib.h:954:14: note: declared here
  954 | EXTERN(void) jpeg_stdio_dest JPP((j_compress_ptr cinfo, FILE * outfile));
      |              ^~~~~~~~~~~~~~~
jpegtools.c:508:5: error: too many arguments to function ‘jpeg_destroy_decompress’; expected 0, have 1
  508 |     jpeg_destroy_decompress(&src);
      |     ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~
jpeg/80/jpeglib.h:950:14: note: declared here
  950 | EXTERN(void) jpeg_destroy_decompress JPP((j_decompress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~~~~
jpegtools.c:509:5: error: too many arguments to function ‘jpeg_destroy_compress’; expected 0, have 1
  509 |     jpeg_destroy_compress(&dst);
      |     ^~~~~~~~~~~~~~~~~~~~~ ~~~~
jpeg/80/jpeglib.h:949:14: note: declared here
  949 | EXTERN(void) jpeg_destroy_compress JPP((j_compress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~~
jpegtools.c:513:5: error: too many arguments to function ‘jpeg_destroy_decompress’; expected 0, have 1
  513 |     jpeg_destroy_decompress(&src);
      |     ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~
jpeg/80/jpeglib.h:950:14: note: declared here
  950 | EXTERN(void) jpeg_destroy_decompress JPP((j_decompress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~~~~
jpegtools.c:514:5: error: too many arguments to function ‘jpeg_destroy_compress’; expected 0, have 1
  514 |     jpeg_destroy_compress(&dst);
      |     ^~~~~~~~~~~~~~~~~~~~~ ~~~~
jpeg/80/jpeglib.h:949:14: note: declared here
  949 | EXTERN(void) jpeg_destroy_compress JPP((j_compress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~~
cc -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/fbida -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION="2.13" -I. -Wno-pointer-sign -Ijpeg/80 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/webp -Wp,-MD,mk/kbd.tmp -c -o kbd.o kbd.c
make: *** [mk/Compile.mk:60: genthumbnail.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [mk/Compile.mk:60: jpeg/80/transupp.o] Error 1
make: *** [mk/Compile.mk:60: jpegtools.o] Error 1
rd/read-jpeg.c:63:28: error: initialization of ‘boolean (*)(struct jpeg_decompress_struct *, int)’ {aka ‘int (*)(struct jpeg_decompress_struct *, int)’} from incompatible pointer type ‘boolean (*)(void)’ {aka ‘int (*)(void)’} [-Wincompatible-pointer-types]
   63 |     .resync_to_restart   = jpeg_resync_to_restart,
      |                            ^~~~~~~~~~~~~~~~~~~~~~
rd/read-jpeg.c:63:28: note: (near initialization for ‘thumbnail_mgr.resync_to_restart’)
In file included from rd/read-jpeg.c:6:
jpeg/80/jpeglib.h:1095:17: note: ‘jpeg_resync_to_restart’ declared here
 1095 | EXTERN(boolean) jpeg_resync_to_restart JPP((j_decompress_ptr cinfo,
      |                 ^~~~~~~~~~~~~~~~~~~~~~
rd/read-jpeg.c: In function ‘jerror_exit’:
rd/read-jpeg.c:76:5: error: too many arguments to function ‘jpeg_destroy_decompress’; expected 0, have 1
   76 |     jpeg_destroy_decompress(cinfo);
      |     ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~
jpeg/80/jpeglib.h:950:14: note: declared here
  950 | EXTERN(void) jpeg_destroy_decompress JPP((j_decompress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~~~~
rd/read-jpeg.c: In function ‘jpeg_init’:
rd/read-jpeg.c:91:20: error: too many arguments to function ‘jpeg_std_error’; expected 0, have 1
   91 |     h->cinfo.err = jpeg_std_error(&h->jerr);
      |                    ^~~~~~~~~~~~~~ ~~~~~~~~
jpeg/80/jpeglib.h:928:33: note: declared here
  928 | EXTERN(struct jpeg_error_mgr *) jpeg_std_error
      |                                 ^~~~~~~~~~~~~~
jpeg/80/jpeglib.h:942:5: error: too many arguments to function ‘jpeg_CreateDecompress’; expected 0, have 3
  942 |     jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
      |     ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~
rd/read-jpeg.c:96:5: note: in expansion of macro ‘jpeg_create_decompress’
   96 |     jpeg_create_decompress(&h->cinfo);
      |     ^~~~~~~~~~~~~~~~~~~~~~
jpeg/80/jpeglib.h:946:14: note: declared here
  946 | EXTERN(void) jpeg_CreateDecompress JPP((j_decompress_ptr cinfo,
      |              ^~~~~~~~~~~~~~~~~~~~~
rd/read-jpeg.c:97:5: error: too many arguments to function ‘jpeg_save_markers’; expected 0, have 3
   97 |     jpeg_save_markers(&h->cinfo, JPEG_COM,    0xffff); /* comment */
      |     ^~~~~~~~~~~~~~~~~ ~~~~~~~~~
jpeg/80/jpeglib.h:1063:14: note: declared here
 1063 | EXTERN(void) jpeg_save_markers
      |              ^~~~~~~~~~~~~~~~~
rd/read-jpeg.c:98:5: error: too many arguments to function ‘jpeg_save_markers’; expected 0, have 3
   98 |     jpeg_save_markers(&h->cinfo, JPEG_APP0+1, 0xffff); /* EXIF */
      |     ^~~~~~~~~~~~~~~~~ ~~~~~~~~~
jpeg/80/jpeglib.h:1063:14: note: declared here
 1063 | EXTERN(void) jpeg_save_markers
      |              ^~~~~~~~~~~~~~~~~
rd/read-jpeg.c:99:5: error: too many arguments to function ‘jpeg_stdio_src’; expected 0, have 2
   99 |     jpeg_stdio_src(&h->cinfo, h->infile);
      |     ^~~~~~~~~~~~~~ ~~~~~~~~~
jpeg/80/jpeglib.h:955:14: note: declared here
  955 | EXTERN(void) jpeg_stdio_src JPP((j_decompress_ptr cinfo, FILE * infile));
      |              ^~~~~~~~~~~~~~
rd/read-jpeg.c:100:5: error: too many arguments to function ‘jpeg_read_header’; expected 0, have 2
  100 |     jpeg_read_header(&h->cinfo, TRUE);
      |     ^~~~~~~~~~~~~~~~ ~~~~~~~~~
jpeg/80/jpeglib.h:1019:13: note: declared here
 1019 | EXTERN(int) jpeg_read_header JPP((j_decompress_ptr cinfo,
      |             ^~~~~~~~~~~~~~~~
rd/read-jpeg.c:143:9: error: too many arguments to function ‘jpeg_destroy_decompress’; expected 0, have 1
  143 |         jpeg_destroy_decompress(&h->cinfo);
      |         ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
jpeg/80/jpeglib.h:950:14: note: declared here
  950 | EXTERN(void) jpeg_destroy_decompress JPP((j_decompress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~~~~
jpeg/80/jpeglib.h:942:5: error: too many arguments to function ‘jpeg_CreateDecompress’; expected 0, have 3
  942 |     jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
      |     ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~
rd/read-jpeg.c:146:9: note: in expansion of macro ‘jpeg_create_decompress’
  146 |         jpeg_create_decompress(&h->cinfo);
      |         ^~~~~~~~~~~~~~~~~~~~~~
jpeg/80/jpeglib.h:946:14: note: declared here
  946 | EXTERN(void) jpeg_CreateDecompress JPP((j_decompress_ptr cinfo,
      |              ^~~~~~~~~~~~~~~~~~~~~
rd/read-jpeg.c:148:9: error: too many arguments to function ‘jpeg_read_header’; expected 0, have 2
  148 |         jpeg_read_header(&h->cinfo, TRUE);
      |         ^~~~~~~~~~~~~~~~ ~~~~~~~~~
jpeg/80/jpeglib.h:1019:13: note: declared here
 1019 | EXTERN(int) jpeg_read_header JPP((j_decompress_ptr cinfo,
      |             ^~~~~~~~~~~~~~~~
rd/read-jpeg.c:152:5: error: too many arguments to function ‘jpeg_start_decompress’; expected 0, have 1
  152 |     jpeg_start_decompress(&h->cinfo);
      |     ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
jpeg/80/jpeglib.h:1032:17: note: declared here
 1032 | EXTERN(boolean) jpeg_start_decompress JPP((j_decompress_ptr cinfo));
      |                 ^~~~~~~~~~~~~~~~~~~~~
rd/read-jpeg.c: In function ‘jpeg_read’:
rd/read-jpeg.c:178:5: error: too many arguments to function ‘jpeg_read_scanlines’; expected 0, have 3
  178 |     jpeg_read_scanlines(&h->cinfo, &row, 1);
      |     ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
jpeg/80/jpeglib.h:1033:20: note: declared here
 1033 | EXTERN(JDIMENSION) jpeg_read_scanlines JPP((j_decompress_ptr cinfo,
      |                    ^~~~~~~~~~~~~~~~~~~
rd/read-jpeg.c: In function ‘jpeg_done’:
rd/read-jpeg.c:188:5: error: too many arguments to function ‘jpeg_destroy_decompress’; expected 0, have 1
  188 |     jpeg_destroy_decompress(&h->cinfo);
      |     ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
jpeg/80/jpeglib.h:950:14: note: declared here
  950 | EXTERN(void) jpeg_destroy_decompress JPP((j_decompress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~~~~
make: *** [mk/Compile.mk:60: rd/read-jpeg.o] Error 1
vt.c: In function ‘console_switch_signal’:
vt.c:42:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   42 |             write(2,"vt: SIGUSR1\n",12);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vt.c:48:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   48 |             write(2,"vt: SIGUSR2\n",12);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vt.c: In function ‘console_switch_release’:
vt.c:57:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   57 |         write(2,"vt: release\n",12);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vt.c: In function ‘console_switch_acquire’:
vt.c:65:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   65 |         write(2,"vt: acquire\n",12);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vt.c: In function ‘console_set_vt’:
vt.c:162:5: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  162 |     chown(vtname, getuid(), getgid());
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vt.c:183:5: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  183 |     dup(0);
      |     ^~~~~~
vt.c:184:5: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  184 |     dup(0);
      |     ^~~~~~
fbi.c: In function ‘read_image’:
fbi.c:567:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  567 |     fread(blk,1,sizeof(blk),fp);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_e4ad7c90-d570-4c89-ae4c-5134d94a8372/build
