==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: file 5.46-4.1 (Fri May  9 12:29:38 2025)
==> Retrieving sources...
  -> Updating file git repo...
  -> Found 0001-PR-579-net147-Fix-stack-overrun.patch
  -> Found 0002-PR-571-jschleus-Some-zip-files-are-misclassified-as-data.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    file ... Passed
    0001-PR-579-net147-Fix-stack-overrun.patch ... Passed
    0002-PR-571-jschleus-Some-zip-files-are-misclassified-as-data.patch ... Passed
==> Making package: file 5.46-4.1 (Fri May  9 12:30:01 2025)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (4) perl-error-0.17030-1  perl-mailtools-2.22-1  perl-timedate-2.33-7
             git-2.49.0-1

Total Installed Size:  39.83 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
    git-zsh-completion: upstream zsh completion
    tk: gitk and git gui
    openssh: ssh transport and crypto
    man: show help with `git command --help`
    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 [installed]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'git' with GID 971.
Creating user 'git' (git daemon user) with UID 971 and GID 971.
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Arming ConditionNeedsUpdate...
(4/4) Checking for old perl modules...
[?25h==> Retrieving sources...
  -> Found 0001-PR-579-net147-Fix-stack-overrun.patch
  -> Found 0002-PR-571-jschleus-Some-zip-files-are-misclassified-as-data.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of file git repo...
Cloning into 'file'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
Applying patch 0001-PR-579-net147-Fix-stack-overrun.patch...
patching file src/readelf.c
patch: setting attribute security.SMACK64 for security.SMACK64: Operation not permitted
Applying patch 0002-PR-571-jschleus-Some-zip-files-are-misclassified-as-data.patch...
patching file magic/Magdir/archive
patch: setting attribute security.SMACK64 for security.SMACK64: Operation not permitted
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, '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'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:106: installing './compile'
configure.ac:87: installing './config.guess'
configure.ac:87: installing './config.sub'
configure.ac:3: installing './install-sh'
configure.ac:3: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
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 whether make supports nested variables... yes
checking xargs -n works... yes
checking for builtin ELF support... yes
checking for ELF core file support... yes
checking for zlib support... 
checking for bzlib support... 
checking for xzlib support... 
checking for zstdlib support... 
checking for lzlib support... 
checking for lrziplib support... 
checking for libseccomp support... yes
checking for file formats in man section 5... yes
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
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 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 wchar.h... yes
checking for minix/config.h... no
checking for sys/param.h... yes
checking for vfork.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking whether byte ordering is bigendian... no
checking whether ln -s works... yes
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 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... no
checking how to associate runtime and link libraries... printf %s\n
checking for ranlib... ranlib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
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 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... no
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking for sys/mkdev.h... no
checking for sys/sysmacros.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdint.h... (cached) yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking for unistd.h... (cached) yes
checking for byteswap.h... yes
checking for spawn.h... yes
checking for utime.h... yes
checking for wchar.h... (cached) yes
checking for wctype.h... yes
checking for getopt.h... yes
checking for err.h... yes
checking for xlocale.h... no
checking for sys/bswap.h... no
checking for sys/mman.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/utime.h... no
checking for sys/time.h... yes
checking for sys/sysmacros.h... (cached) yes
checking for sys/ioctl.h... yes
checking for zlib.h... yes
checking for bzlib.h... yes
checking for lzma.h... yes
checking for zstd.h... yes
checking for zstd_errors.h... yes
checking for lzlib.h... no
checking for Lrzip.h... no
checking for sig_t... yes
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_rdev... yes
checking for struct tm.tm_gmtoff... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for gcc options needed to detect all undeclared functions... none needed
checking for struct tm.tm_zone... yes
checking for tm_zone in struct tm... yes
checking whether tzname is declared... yes
checking for tzname... yes
checking for tm_isdst in struct tm... yes
checking whether daylight is declared... yes
checking for daylight... yes
checking for gcc option to enable large file support... -D_FILE_OFFSET_BITS=64
checking for gcc option for timestamps after 2038... -D_TIME_BITS=64
checking for declarations of fseeko and ftello... yes
checking for mbstate_t... yes
checking for struct option in getopt... yes
checking for pid_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for int32_t... yes
checking for uint64_t... yes
checking for int64_t... yes
checking for intptr_t... yes
checking for uintptr_t... yes
checking for getpagesize... yes
checking for fork... yes
checking for vfork... yes
checking for working mmap... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for gcc compiler warnings... yes
checking for strndup... yes
checking for mkstemp... yes
checking for mkostemp... yes
checking for utimes... yes
checking for utime... yes
checking for wcwidth... yes
checking for strtof... yes
checking for newlocale... yes
checking for uselocale... yes
checking for freelocale... yes
checking for memmem... yes
checking for pipe2... yes
checking for posix_spawnp... yes
checking for getopt_long... yes
checking for asprintf... yes
checking for vasprintf... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for getline... yes
checking for ctime_r... yes
checking for asctime_r... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for pread... yes
checking for strcasestr... yes
checking for fmtcheck... no
checking for dprintf... yes
checking for gzopen in -lz... yes
checking for BZ2_bzCompressInit in -lbz2... yes
checking for lzma_stream_decoder in -llzma... yes
checking for ZSTD_createDStream in -lzstd... yes
checking for LZ_decompress_open in -llz... no
checking for lrzip_new in -llrzip... no
checking for seccomp_init in -lseccomp... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating magic/Makefile
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating python/Makefile
config.status: creating libmagic.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make  all-recursive
make[1]: Entering directory '/build/file/src/file'
Making all in src
make[2]: Entering directory '/build/file/src/file/src'
sed -e "s/X.YY/$(echo 5.46 | tr -d .)/" < ../src/magic.h.in > magic.h
make  all-am
make[3]: Entering directory '/build/file/src/file/src'
  CC       file.o
  CC       seccomp.o
  CC       buffer.lo
  CC       magic.lo
  CC       apprentice.lo
  CC       softmagic.lo
  CC       ascmagic.lo
  CC       encoding.lo
  CC       compress.lo
  CC       is_csv.lo
  CC       is_json.lo
apprentice.c: In function 'load_1':
apprentice.c:1360:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
apprentice.c:1391:3: note: here
apprentice.c: In function 'getstr':
apprentice.c:3032:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
apprentice.c:3034:3: note: here
apprentice.c:3035:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
apprentice.c:3041:3: note: here
apprentice.c:3042:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
apprentice.c:3062:3: note: here
apprentice.c: In function 'check_format_type':
apprentice.c:2622:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
apprentice.c:2624:2: note: here
  CC       is_simh.lo
  CC       is_tar.lo
  CC       readelf.lo
  CC       print.lo
  CC       fsmagic.lo
  CC       funcs.lo
  CC       apptype.lo
  CC       der.lo
  CC       cdf.lo
  CC       cdf_time.lo
  CC       readcdf.lo
  CC       fmtcheck.lo
In file included from readelf.c:1951:
elfclass.h: In function 'file_tryelf':
elfclass.h:58:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
elfclass.h:64:2: note: here
In file included from readelf.c:1957:
elfclass.h:58:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
elfclass.h:64:2: note: here
readelf.c: In function 'dophn_exec':
readelf.c:1769:187: warning: this statement may fall through [-Wimplicit-fallthrough=]
readelf.c:1778:3: note: here
  CCLD     libmagic.la
  CCLD     file
make[3]: Leaving directory '/build/file/src/file/src'
make[2]: Leaving directory '/build/file/src/file/src'
Making all in magic
make[2]: Entering directory '/build/file/src/file/magic'
../src/file -C -m magic
make[2]: Leaving directory '/build/file/src/file/magic'
Making all in tests
make[2]: Entering directory '/build/file/src/file/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/file/src/file/tests'
Making all in doc
make[2]: Entering directory '/build/file/src/file/doc'
sed -e s@__CSECTION__@1@g \
    -e s@__FSECTION__@5@g \
    -e s@__VERSION__@5.46@g \
    -e s@__MAGIC__@/usr/share/file/misc/magic@g ./file.man > file.1
sed -e s@__CSECTION__@1@g \
    -e s@__FSECTION__@5@g \
    -e s@__VERSION__@5.46@g \
    -e s@__MAGIC__@/usr/share/file/misc/magic@g ./magic.man > magic.5
sed -e s@__CSECTION__@1@g \
    -e s@__FSECTION__@5@g \
    -e s@__VERSION__@5.46@g \
    -e s@__MAGIC__@/usr/share/file/misc/magic@g ./libmagic.man > libmagic.3
make[2]: Leaving directory '/build/file/src/file/doc'
Making all in python
make[2]: Entering directory '/build/file/src/file/python'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/file/src/file/python'
make[2]: Entering directory '/build/file/src/file'
make[2]: Leaving directory '/build/file/src/file'
make[1]: Leaving directory '/build/file/src/file'
==> Entering fakeroot environment...
==> Starting package()...
Making install in src
make[1]: Entering directory '/build/file/src/file/src'
make  install-am
make[2]: Entering directory '/build/file/src/file/src'
make[3]: Entering directory '/build/file/src/file/src'
 /usr/bin/mkdir -p '/build/file/pkg/file/usr/include'
 /usr/bin/mkdir -p '/build/file/pkg/file/usr/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libmagic.la '/build/file/pkg/file/usr/lib'
 /usr/bin/install -c -m 644 magic.h '/build/file/pkg/file/usr/include'
libtool: install: /usr/bin/install -c .libs/libmagic.so.1.0.0 /build/file/pkg/file/usr/lib/libmagic.so.1.0.0
libtool: install: (cd /build/file/pkg/file/usr/lib && { ln -s -f libmagic.so.1.0.0 libmagic.so.1 || { rm -f libmagic.so.1 && ln -s libmagic.so.1.0.0 libmagic.so.1; }; })
libtool: install: (cd /build/file/pkg/file/usr/lib && { ln -s -f libmagic.so.1.0.0 libmagic.so || { rm -f libmagic.so && ln -s libmagic.so.1.0.0 libmagic.so; }; })
libtool: install: /usr/bin/install -c .libs/libmagic.lai /build/file/pkg/file/usr/lib/libmagic.la
libtool: warning: remember to run 'libtool --finish /usr/lib'
 /usr/bin/mkdir -p '/build/file/pkg/file/usr/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c file '/build/file/pkg/file/usr/bin'
libtool: warning: 'libmagic.la' has not been installed in '/usr/lib'
libtool: install: /usr/bin/install -c .libs/file /build/file/pkg/file/usr/bin/file
make[3]: Leaving directory '/build/file/src/file/src'
make[2]: Leaving directory '/build/file/src/file/src'
make[1]: Leaving directory '/build/file/src/file/src'
Making install in magic
make[1]: Entering directory '/build/file/src/file/magic'
make[2]: Entering directory '/build/file/src/file/magic'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/file/pkg/file/usr/share/file/misc'
 /usr/bin/install -c -m 644 magic.mgc '/build/file/pkg/file/usr/share/file/misc'
make[2]: Leaving directory '/build/file/src/file/magic'
make[1]: Leaving directory '/build/file/src/file/magic'
Making install in tests
make[1]: Entering directory '/build/file/src/file/tests'
make[2]: Entering directory '/build/file/src/file/tests'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/build/file/src/file/tests'
make[1]: Leaving directory '/build/file/src/file/tests'
Making install in doc
make[1]: Entering directory '/build/file/src/file/doc'
make[2]: Entering directory '/build/file/src/file/doc'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/file/pkg/file/usr/share/man/man1'
 /usr/bin/mkdir -p '/build/file/pkg/file/usr/share/man/man4'
 /usr/bin/mkdir -p '/build/file/pkg/file/usr/share/man/man3'
 /usr/bin/mkdir -p '/build/file/pkg/file/usr/share/man/man5'
 /usr/bin/install -c -m 644 libmagic.3 '/build/file/pkg/file/usr/share/man/man3'
 /usr/bin/install -c -m 644 file.1 '/build/file/pkg/file/usr/share/man/man1'
 /usr/bin/install -c -m 644 magic.5 '/build/file/pkg/file/usr/share/man/man5'
make[2]: Leaving directory '/build/file/src/file/doc'
make[1]: Leaving directory '/build/file/src/file/doc'
Making install in python
make[1]: Entering directory '/build/file/src/file/python'
make[2]: Entering directory '/build/file/src/file/python'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/build/file/src/file/python'
make[1]: Leaving directory '/build/file/src/file/python'
make[1]: Entering directory '/build/file/src/file'
make[2]: Entering directory '/build/file/src/file'
make[2]: Nothing to be done for 'install-data-am'.
 /usr/bin/mkdir -p '/build/file/pkg/file/usr/lib/pkgconfig'
 /usr/bin/install -c -m 644 libmagic.pc '/build/file/pkg/file/usr/lib/pkgconfig'
make[2]: Leaving directory '/build/file/src/file'
make[1]: Leaving directory '/build/file/src/file'
==> Tidying install...
  -> Removing empty directories...
  -> 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 "file"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: file 5.46-4.1 (Fri May  9 12:31:16 2025)
==> Cleaning up...