==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: jbig2dec 0.20-1 (Thu Oct 12 18:19:20 2023)
==> Retrieving sources...
  -> Cloning jbig2dec git repo...
Cloning into bare repository '/home/leming/work/jbig2dec/jbig2dec'...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    jbig2dec ... Skipped
==> Making package: jbig2dec 0.20-1 (Thu Oct 12 18:19:42 2023)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (1) libpng-1.6.40-2

Total Installed Size:  0.50 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libpng...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (4) perl-error-0.17029-5  perl-mailtools-2.21-7  perl-timedate-2.33-5
             git-2.42.0-1

Total Installed Size:  37.55 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing git...
Optional dependencies for git
    tk: gitk and git gui
    openssh: ssh transport and crypto
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
:: Running post-transaction hooks...
(1/1) Warn about old perl modules
[?25h==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of jbig2dec git repo...
Cloning into 'jbig2dec'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
checking for autoconf... 
fgrep: warning: fgrep is obsolescent; using grep -F
checking for automake 1.7 or later...
Checking for libtoolize... libtoolize
Generating configuration files for jbig2dec, please wait....
  aclocal 
  libtoolize
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
  autoheader
  creating config_types.h.in
  automake --add-missing 
configure.ac:25: installing './ar-lib'
configure.ac:23: installing './compile'
configure.ac:26: installing './config.guess'
configure.ac:26: installing './config.sub'
configure.ac:8: installing './install-sh'
configure.ac:8: installing './missing'
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
  autoconf
configure.ac:9: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.ac:9: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:9865: AM_CONFIG_HEADER is expanded from...
configure.ac:9: the top level
configure.ac:26: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
configure.ac:26: You should run autoupdate.
aclocal.m4:8545: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:26: the top level
configure.ac:26: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:26: put the 'win32-dll' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:8545: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:26: the top level
configure.ac:27: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:27: You should run autoupdate.
aclocal.m4:122: AC_PROG_LIBTOOL is expanded from...
configure.ac:27: the top level
configure.ac:37: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:37: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:37: the top level
configure.ac:68: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:68: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:68: the top level
configure.ac:103: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:103: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.ac:103: the top level
I am going to run ./configure with no arguments - if you wish 
to pass any to it, please specify them on the ./autogen.sh command line.
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for library containing pow... -lm
checking for png_create_write_struct in -lpng... yes
checking for deflate in -lz... yes
checking for egrep... (cached) /usr/bin/grep -E
checking for libintl.h... yes
checking for stddef.h... yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking for stdint.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking for working memcmp... yes
checking for memset... yes
checking for strdup... yes
checking for getopt_long... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config_types.h
config.status: creating jbig2dec.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

==> Starting pkgver()...
==> Starting build()...
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for library containing pow... -lm
checking for png_create_write_struct in -lpng... yes
checking for deflate in -lz... yes
checking for egrep... (cached) /usr/bin/grep -E
checking for libintl.h... yes
checking for stddef.h... yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking for stdint.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking for working memcmp... yes
checking for memset... yes
checking for strdup... yes
checking for getopt_long... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config_types.h
config.status: creating jbig2dec.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
make  all-am
make[1]: Entering directory '/build/jbig2dec/src/jbig2dec'
  CC       jbig2dec.o
  CC       sha1.o
  CC       jbig2.lo
  CC       jbig2_arith.lo
  CC       jbig2_arith_int.lo
jbig2dec.c: In function 'jbig2dec_peak':
jbig2dec.c:129:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
jbig2dec.c:129:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
jbig2dec.c:129:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
......
jbig2dec.c: In function 'main':
jbig2dec.c:781:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
jbig2dec.c:781:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
  CC       jbig2_arith_iaid.lo
  CC       jbig2_huffman.lo
  CC       jbig2_hufftab.lo
  CC       jbig2_segment.lo
  CC       jbig2_page.lo
  CC       jbig2_symbol_dict.lo
  CC       jbig2_text.lo
  CC       jbig2_generic.lo
  CC       jbig2_refinement.lo
  CC       jbig2_mmr.lo
  CC       jbig2_halftone.lo
  CC       jbig2_image.lo
  CC       jbig2_image_pbm.lo
  CC       memento.lo
  CC       jbig2_image_png.o
jbig2_image_pbm.c: In function 'jbig2_image_read_pbm':
jbig2_image_pbm.c:154:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  CC       test_sha1-sha1.o
  CC       test_huffman-jbig2_huffman.o
  CC       test_arith-jbig2_arith.o
  CCLD     test_sha1
  CCLD     libjbig2dec.la
  CCLD     jbig2dec
  CCLD     test_huffman
  CCLD     test_arith
make[1]: Leaving directory '/build/jbig2dec/src/jbig2dec'
==> Entering fakeroot environment...
==> Starting package()...
make[1]: Entering directory '/build/jbig2dec/src/jbig2dec'
 /usr/bin/mkdir -p '/build/jbig2dec/pkg/jbig2dec/usr/include'
 /usr/bin/mkdir -p '/build/jbig2dec/pkg/jbig2dec/usr/lib/pkgconfig'
 /usr/bin/mkdir -p '/build/jbig2dec/pkg/jbig2dec/usr/share/man/man1'
 /usr/bin/mkdir -p '/build/jbig2dec/pkg/jbig2dec/usr/lib'
 /usr/bin/install -c -m 644 jbig2.h '/build/jbig2dec/pkg/jbig2dec/usr/include'
 /usr/bin/install -c -m 644 jbig2dec.pc '/build/jbig2dec/pkg/jbig2dec/usr/lib/pkgconfig'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   libjbig2dec.la '/build/jbig2dec/pkg/jbig2dec/usr/lib'
 /usr/bin/install -c -m 644 jbig2dec.1 '/build/jbig2dec/pkg/jbig2dec/usr/share/man/man1'
libtool: install: /usr/bin/install -c .libs/libjbig2dec.so.0.0.0 /build/jbig2dec/pkg/jbig2dec/usr/lib/libjbig2dec.so.0.0.0
libtool: install: (cd /build/jbig2dec/pkg/jbig2dec/usr/lib && { ln -s -f libjbig2dec.so.0.0.0 libjbig2dec.so.0 || { rm -f libjbig2dec.so.0 && ln -s libjbig2dec.so.0.0.0 libjbig2dec.so.0; }; })
libtool: install: (cd /build/jbig2dec/pkg/jbig2dec/usr/lib && { ln -s -f libjbig2dec.so.0.0.0 libjbig2dec.so || { rm -f libjbig2dec.so && ln -s libjbig2dec.so.0.0.0 libjbig2dec.so; }; })
libtool: install: /usr/bin/install -c .libs/libjbig2dec.lai /build/jbig2dec/pkg/jbig2dec/usr/lib/libjbig2dec.la
libtool: install: /usr/bin/install -c .libs/libjbig2dec.a /build/jbig2dec/pkg/jbig2dec/usr/lib/libjbig2dec.a
libtool: install: chmod 644 /build/jbig2dec/pkg/jbig2dec/usr/lib/libjbig2dec.a
libtool: install: ranlib /build/jbig2dec/pkg/jbig2dec/usr/lib/libjbig2dec.a
libtool: warning: remember to run 'libtool --finish /usr/lib'
 /usr/bin/mkdir -p '/build/jbig2dec/pkg/jbig2dec/usr/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c jbig2dec '/build/jbig2dec/pkg/jbig2dec/usr/bin'
libtool: warning: 'libjbig2dec.la' has not been installed in '/usr/lib'
libtool: install: /usr/bin/install -c .libs/jbig2dec /build/jbig2dec/pkg/jbig2dec/usr/bin/jbig2dec
make[1]: Leaving directory '/build/jbig2dec/src/jbig2dec'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "jbig2dec"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: jbig2dec 0.20-1 (Thu Oct 12 18:20:36 2023)
==> Cleaning up...