==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: btrfs-progs 6.17-1 (Sun Oct 5 13:55:05 2025)
==> Retrieving sources...
-> Cloning btrfs-progs git repo...
Cloning into bare repository '/home/leming/work/btrfs-progs/btrfs-progs'...
-> Found initcpio-install-btrfs
-> Found initcpio-hook-btrfs
-> Found btrfs-scrub@.service
-> Found btrfs-scrub@.timer
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with b2sums...
btrfs-progs ... Skipped
initcpio-install-btrfs ... Passed
initcpio-hook-btrfs ... Passed
btrfs-scrub@.service ... Passed
btrfs-scrub@.timer ... Passed
==> Making package: btrfs-progs 6.17-1 (Sun 05 Oct 2025 01:55:17 PM MDT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...
Packages (1) lzo-2.10-5
Total Installed Size: 0.37 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 lzo...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...
Packages (43) docbook-xml-4.5-11 docbook-xsl-1.79.2-9 libxslt-1.1.43-2
perl-error-0.17030-2 perl-mailtools-2.22-2 perl-timedate-2.33-8
python-autocommand-2.2.2-7 python-babel-2.17.0-1
python-charset-normalizer-3.4.3-1 python-docutils-1:0.21.2-3
python-idna-3.10-2 python-imagesize-1.4.1-6
python-jaraco.collections-5.1.0-1 python-jaraco.context-6.0.1-1
python-jaraco.functools-4.1.0-1 python-jaraco.text-4.0.0-2
python-jinja-1:3.1.6-1 python-markupsafe-3.0.2-1
python-more-itertools-10.8.0-1 python-packaging-25.0-1
python-platformdirs-4.4.0-1 python-pygments-2.19.2-1
python-pytz-2025.2-1 python-requests-2.32.5-1
python-roman-numerals-py-3.1.0-1 python-snowballstemmer-2.2.0-7
python-sphinx-alabaster-theme-1.0.0-4
python-sphinxcontrib-applehelp-2.0.0-3
python-sphinxcontrib-devhelp-2.0.0-4
python-sphinxcontrib-htmlhelp-2.1.0-3
python-sphinxcontrib-jquery-4.1-4
python-sphinxcontrib-jsmath-1.0.1-19
python-sphinxcontrib-qthelp-2.0.0-3
python-sphinxcontrib-serializinghtml-2.0.0-3
python-urllib3-2.5.0-1 python-wheel-0.45.1-1 zlib-ng-2.2.5-1
asciidoc-10.2.1-2 git-2.51.0-1 python-setuptools-1:80.9.0-2
python-sphinx-8.2.3-1 python-sphinx_rtd_theme-2.0.0-2
xmlto-0.0.29-1
Total Download Size: 15.57 MiB
Total Installed Size: 170.57 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
python-babel-2.17.0-1-any downloading...
python-sphinx-8.2.3-1-any downloading...
python-sphinx_rtd_theme-2.0.0-2-any downloading...
python-pygments-2.19.2-1-any downloading...
python-docutils-1:0.21.2-3-any downloading...
python-jinja-1:3.1.6-1-any downloading...
python-urllib3-2.5.0-1-any downloading...
python-snowballstemmer-2.2.0-7-any downloading...
python-charset-normalizer-3.4.3-1-aarch64 downloading...
python-requests-2.32.5-1-any downloading...
python-sphinxcontrib-jquery-4.1-4-any downloading...
python-idna-3.10-2-any downloading...
python-pytz-2025.2-1-any downloading...
python-sphinxcontrib-htmlhelp-2.1.0-3-any downloading...
python-sphinxcontrib-applehelp-2.0.0-3-any downloading...
python-sphinxcontrib-serializinghtml-2.0.0-3-any downloading...
python-sphinxcontrib-qthelp-2.0.0-3-any downloading...
xmlto-0.0.29-1-aarch64 downloading...
python-sphinxcontrib-devhelp-2.0.0-4-any downloading...
python-sphinx-alabaster-theme-1.0.0-4-any downloading...
python-imagesize-1.4.1-6-any downloading...
python-roman-numerals-py-3.1.0-1-any downloading...
python-sphinxcontrib-jsmath-1.0.1-19-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing docbook-xml...
installing libxslt...
Optional dependencies for libxslt
python: Python bindings [installed]
installing docbook-xsl...
installing asciidoc...
Optional dependencies for asciidoc
graphviz: graphviz-filter
lilypond: music-filter
imagemagick: music-filter
source-highlight: source-highlight-filter
dblatex: pdf generation
fop: alternative pdf generation
w3m: text generation
lynx: alternative text generation
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing zlib-ng...
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]
less: the default pager for git [installed]
installing python-more-itertools...
installing python-jaraco.functools...
installing python-jaraco.context...
installing python-autocommand...
installing python-jaraco.text...
Optional dependencies for python-jaraco.text
python-inflect: for show-newlines script
installing python-jaraco.collections...
installing python-packaging...
installing python-platformdirs...
installing python-wheel...
Optional dependencies for python-wheel
python-keyring: for wheel.signatures
python-xdg: for wheel.signatures
python-setuptools: for legacy bdist_wheel subcommand [pending]
installing python-setuptools...
installing python-pytz...
installing python-babel...
installing python-docutils...
Optional dependencies for python-docutils
python-myst-parser: to parse input in "Markdown" (CommonMark) format
python-pillow: for some image manipulation operations
python-pygments: for syntax highlighting of code directives and roles
[pending]
installing python-imagesize...
installing python-markupsafe...
installing python-jinja...
Optional dependencies for python-jinja
python-babel: for i18n support [installed]
installing python-pygments...
installing python-charset-normalizer...
installing python-idna...
installing python-urllib3...
Optional dependencies for python-urllib3
python-brotli: Brotli support
python-brotlicffi: Brotli support
python-h2: HTTP/2 support
python-pysocks: SOCKS support
python-zstandard: Zstandard support
installing python-requests...
Optional dependencies for python-requests
python-chardet: alternative character encoding library
python-pysocks: SOCKS proxy support
installing python-roman-numerals-py...
installing python-snowballstemmer...
Optional dependencies for python-snowballstemmer
python-pystemmer: for improved performance
installing python-sphinx-alabaster-theme...
installing python-sphinxcontrib-applehelp...
installing python-sphinxcontrib-devhelp...
installing python-sphinxcontrib-htmlhelp...
installing python-sphinxcontrib-jsmath...
installing python-sphinxcontrib-qthelp...
installing python-sphinxcontrib-serializinghtml...
installing python-sphinx...
Optional dependencies for python-sphinx
imagemagick: for ext.imgconverter
texlive-fontsextra: for the default admonition title icons in PDF output
texlive-latexextra: for generation of PDF documentation
installing python-sphinxcontrib-jquery...
installing python-sphinx_rtd_theme...
installing xmlto...
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'git' with GID 970.
Creating user 'git' (git daemon user) with UID 970 and GID 970.
(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 initcpio-install-btrfs
-> Found initcpio-hook-btrfs
-> Found btrfs-scrub@.service
-> Found btrfs-scrub@.timer
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Creating working copy of btrfs-progs git repo...
Cloning into 'btrfs-progs'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting build()...
Generate build-system by:
aclocal: aclocal (GNU automake) 1.18.1
autoconf: autoconf (GNU Autoconf) 2.72
autoheader: autoheader (GNU Autoconf) 2.72
automake: automake (GNU automake) 1.18.1
Now type './configure' and 'make' to compile.
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 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 vfork.h... no
checking for sys/param.h... yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking target system type... aarch64-unknown-linux-gnu
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking whether byte ordering is bigendian... no
checking whether C compiler accepts -std=gnu11... yes
checking for gcc option to enable large file support... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ar... ar
checking for rm... /usr/bin/rm
checking for rmdir... /usr/bin/rmdir
checking for __GLIBC__ defined in features.h... yes
checking for __builtin_add_overflow... yes
checking for __builtin_sub_overflow... yes
checking for __builtin_mul_overflow... yes
checking for __builtin_cpu_supports__pclmul... no
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking for malloc.h... yes
checking for mntent.h... yes
checking for stdint.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for sys/param.h... (cached) yes
checking for sys/socket.h... yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for _Bool... yes
checking for stdbool.h that conforms to C99 or later... yes
checking for linux/perf_event.h... yes
checking for linux/hw_breakpoint.h... yes
checking for linux/fsverity.h... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_rdev... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uid_t... yes
checking for gid_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for working chown... yes
checking for error_at_line... yes
checking for fork... yes
checking for vfork... yes
checking for getpagesize... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for library containing getmntent... none required
checking whether lstat correctly handles trailing slash... yes
checking for GNU libc compatible malloc... yes
checking for working mmap... yes
checking for GNU libc compatible realloc... yes
checking for fchdir... yes
checking for fdatasync... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for getmntent... (cached) yes
checking for getpagesize... (cached) yes
checking for gettimeofday... yes
checking for lchown... yes
checking for localtime_r... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for mkfifo... yes
checking for munmap... yes
checking for openat... yes
checking for realpath... yes
checking for regcomp... yes
checking for rmdir... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strndup... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoull... yes
checking for sysinfo... yes
checking for uname... yes
checking for printf.h... yes
checking for register_printf_specifier... yes
checking for register_printf_modifier... yes
checking for clock_gettime... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for execinfo.h... yes
checking for backtrace... yes
checking for backtrace_symbols_fd... yes
checking for sphinx-build... /usr/bin/sphinx-build
checking for a sed that does not truncate output... /usr/bin/sed
checking for ext2fs... yes
checking for com_err... yes
checking for reiserfscore >= 3.6.27... no
checking for libgcrypt >= 1.8.0... yes
checking for FIEMAP_EXTENT_SHARED defined in linux/fiemap.h... yes
checking for EXT4_EPOCH_MASK defined in ext2fs/ext2_fs.h... yes
checking for linux/blkzoned.h... yes
checking for struct blk_zone.capacity... yes
checking for BLKGETZONESZ defined in linux/blkzoned.h... yes
checking for blkid... yes
checking for uuid... yes
checking for zlib... yes
checking for libzstd >= 1.0.0... yes
checking for lzo_version in -llzo2... yes
checking for libudev... yes
checking for a Python interpreter with version >= 3.4... python
checking for python... /usr/bin/python
checking for python version... 3.13
checking for python platform... linux
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.13/site-packages
checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.13/site-packages
checking for python-3.13... yes
configure: creating ./config.status
config.status: creating Makefile.inc
config.status: creating Documentation/Makefile
config.status: creating libbtrfs/version.h
config.status: creating libbtrfsutil/libbtrfsutil.pc
config.status: creating libbtrfsutil/python/version.py
config.status: creating include/config.h
btrfs-progs: v6.17
libbtrfs: 0.1.4 (deprecated)
libbtrfsutil: 1.3.2
prefix: /usr
exec prefix: ${prefix}
bindir: ${exec_prefix}/bin
libdir: ${exec_prefix}/lib
includedir: ${prefix}/include
pkgconfigdir: ${libdir}/pkgconfig
compiler: gcc
CFLAGS: -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection
LDFLAGS: -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now
programs: yes
shared libraries: yes
static libraries: yes
documentation: yes
doc generator: sphinx
backtrace support: yes
btrfs-convert: yes (ext2)
zstd support: yes
lzo support: yes
fsverity support: yes
Python bindings: yes
Python interpreter: /usr/bin/python
crypto provider: libgcrypt 1.11.2
libudev: yes
zoned device: yes
Type 'make' to compile.
CC kernel-lib/list_sort.o
CC kernel-lib/raid56.o
CC btrfs.o
CC kernel-lib/rbtree.o
CC kernel-shared/ctree.o
CC kernel-shared/delayed-ref.o
CC kernel-shared/dir-item.o
CC kernel-shared/disk-io.o
CC kernel-shared/extent-io-tree.o
CC kernel-shared/extent-tree.o
CC kernel-lib/tables.o
CC kernel-shared/async-thread.o
CC kernel-shared/accessors.o
CC kernel-shared/backref.o
CC kernel-shared/extent_io.o
CC kernel-shared/file-item.o
CC kernel-shared/file.o
CC kernel-shared/free-space-cache.o
CC kernel-shared/free-space-tree.o
CC kernel-shared/inode-item.o
CC kernel-shared/inode.o
CC kernel-shared/locking.o
CC kernel-shared/messages.o
CC kernel-shared/print-tree.o
CC kernel-shared/root-tree.o
CC kernel-shared/transaction.o
CC kernel-shared/tree-checker.o
CC kernel-shared/ulist.o
CC kernel-shared/uuid-tree.o
CC common/array.o
CC common/compat.o
CC common/cpu-utils.o
CC common/device-scan.o
CC common/device-utils.o
CC common/extent-cache.o
CC common/extent-tree-utils.o
CC common/root-tree-utils.o
CC common/filesystem-utils.o
CC common/format-output.o
CC common/fsfeatures.o
CC common/help.o
CC common/messages.o
CC common/open-utils.o
CC kernel-shared/volumes.o
CC kernel-shared/zoned.o
CC common/rbtree-utils.o
CC common/parse-utils.o
CC common/send-stream.o
CC common/send-utils.o
CC common/sort-utils.o
CC common/string-table.o
CC common/string-utils.o
CC common/task-utils.o
CC common/units.o
CC common/sysfs-utils.o
CC common/inject-error.o
CC common/utils.o
CC check/qgroup-verify.o
CC cmds/receive-dump.o
CC check/repair.o
CC crypto/crc32c.o
CC crypto/xxhash.o
CC libbtrfsutil/stubs.o
CC libbtrfsutil/subvolume.o
CC cmds/subvolume.o
CC cmds/subvolume-list.o
CC cmds/filesystem.o
CC cmds/device.o
CC cmds/inspect.o
CC crypto/hash.o
CC cmds/balance.o
CC cmds/quota.o
CC cmds/qgroup.o
CC cmds/scrub.o
CC cmds/replace.o
CC cmds/restore.o
CC cmds/send.o
CC cmds/receive.o
CC cmds/rescue.o
In file included from /usr/include/unistd.h:1217,
from /usr/include/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from /usr/include/sys/wait.h:36,
from cmds/scrub.c:21:
In function 'read',
inlined from 'scrub_read_file.constprop' at cmds/scrub.c:602:10:
/usr/include/bits/unistd.h:32:501: warning: '__read_alias' specified size between 18446744071562084353 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
32 | return __glibc_fortify (read, __nbytes, sizeof (char),
| ^
cmds/scrub.c: In function 'scrub_read_file.constprop':
cmds/scrub.c:582:7: note: destination object allocated here
In file included from /usr/include/bits/unistd.h:23:
/usr/include/bits/unistd-decl.h:29:16: note: in a call to function '__read_alias' declared with attribute 'access (write_only, 2, 3)'
29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf,
| ^~~~~~~~~~~~
CC cmds/rescue-super-recover.o
CC cmds/rescue-fix-data-checksum.o
CC common/path-utils.o
CC cmds/property.o
CC cmds/filesystem-usage.o
CC cmds/inspect-dump-tree.o
CC cmds/inspect-dump-super.o
CC cmds/filesystem-du.o
CC cmds/reflink.o
CC check/main.o
CC mkfs/common.o
CC cmds/rescue-chunk-recover.o
CC libbtrfsutil/errors.o
CC check/mode-lowmem.o
CC libbtrfsutil/filesystem.o
CC cmds/inspect-tree-stats.o
CC libbtrfsutil/qgroup.o
CC mkfs/main.o
CC check/mode-common.o
CC mkfs/rootdir.o
CC btrfs-map-logical.o
CC common/clear-cache.o
CC image/main.o
CC image/sanitize.o
CC image/image-create.o
CC image/common.o
CC image/image-restore.o
CC btrfs-find-root.o
CC tune/main.o
CC tune/change-uuid.o
CC tune/change-metadata-uuid.o
CC tune/convert-bgt.o
CC btrfs-select-super.o
CC tune/quota.o
CC convert/main.o
CC convert/common.o
CC convert/source-ext2.o
CC convert/source-fs.o
CC convert/source-reiserfs.o
CC btrfs-corrupt-block.o
CC tune/seeding.o
CC libbtrfs/send-stream.o
CC libbtrfs/send-utils.o
CC libbtrfs/crc32c.o
LD libbtrfsutil.so.1.3.2
Making all in Documentation
AR libbtrfsutil.a
CC tune/change-csum.o
LD btrfs
LD mkfs.btrfs
LD btrfs-map-logical
LD btrfs-image
LD btrfs-find-root
LD btrfs-select-super
LD btrfs-convert
LD libbtrfs.so.0.1.4
LN libbtrfsutil.so
LN libbtrfsutil.so.1
LN libbtrfsutil.so.1.3
AR libbtrfs.a
PY libbtrfsutil
LN btrfsck
LD btrfs-corrupt-block
LN libbtrfs.so
LN libbtrfs.so.0
LN libbtrfs.so.0.1
LD btrfstune
SPHINX man
==> Entering fakeroot environment...
==> Starting package()...
Making install in Documentation
PY libbtrfsutil
SPHINX man
running install
/usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
By 2025-Oct-31, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
running install_lib
creating /build/btrfs-progs/pkg/btrfs-progs/usr/lib/python3.13/site-packages
copying build/lib.linux-aarch64-cpython-313/btrfsutil.cpython-313-aarch64-linux-gnu.so -> /build/btrfs-progs/pkg/btrfs-progs/usr/lib/python3.13/site-packages
running install_egg_info
running egg_info
creating btrfsutil.egg-info
writing btrfsutil.egg-info/PKG-INFO
writing dependency_links to btrfsutil.egg-info/dependency_links.txt
writing top-level names to btrfsutil.egg-info/top_level.txt
writing manifest file 'btrfsutil.egg-info/SOURCES.txt'
reading manifest file 'btrfsutil.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'btrfsutil.egg-info/SOURCES.txt'
Copying btrfsutil.egg-info to /build/btrfs-progs/pkg/btrfs-progs/usr/lib/python3.13/site-packages/btrfsutil-6.17-py3.13.egg-info
running install_scripts
/usr/bin/install -c -d -m 755 /build/btrfs-progs/pkg/btrfs-progs/usr/share/man/man2
/usr/bin/install -c -d -m 755 /build/btrfs-progs/pkg/btrfs-progs/usr/share/man/man5
/usr/bin/install -c -d -m 755 /build/btrfs-progs/pkg/btrfs-progs/usr/share/man/man8
/usr/bin/install -c -m 644 _build/man/*.2 /build/btrfs-progs/pkg/btrfs-progs/usr/share/man/man2
/usr/bin/install -c -m 644 _build/man/*.5 /build/btrfs-progs/pkg/btrfs-progs/usr/share/man/man5
/usr/bin/install -c -m 644 _build/man/*.8 /build/btrfs-progs/pkg/btrfs-progs/usr/share/man/man8
/usr/bin/install -c -m 644 btrfsck.8 /build/btrfs-progs/pkg/btrfs-progs/usr/share/man/man8
/usr/bin/install -c -m755 -d /build/btrfs-progs/pkg/btrfs-progs/usr/bin
/usr/bin/install -c btrfs mkfs.btrfs btrfs-map-logical btrfs-image btrfs-find-root btrfstune btrfs-select-super btrfs-convert /build/btrfs-progs/pkg/btrfs-progs/usr/bin
/usr/bin/install -c fsck.btrfs /build/btrfs-progs/pkg/btrfs-progs/usr/bin
# btrfsck is a link to btrfs in the src tree, make it so for installed file as well
ln -s -f btrfs /build/btrfs-progs/pkg/btrfs-progs/usr/bin/btrfsck
/usr/bin/install -c -m755 -d /build/btrfs-progs/pkg/btrfs-progs/usr/lib/udev/rules.d
/usr/bin/install -c -m644 64-btrfs-dm.rules 64-btrfs-zoned.rules /build/btrfs-progs/pkg/btrfs-progs/usr/lib/udev/rules.d
/usr/bin/install -c -m755 -d /build/btrfs-progs/pkg/btrfs-progs/usr/lib
/usr/bin/install -c libbtrfs.so.0.1.4 libbtrfsutil.so.1.3.2 libbtrfs.so libbtrfs.so.0 libbtrfs.so.0.1 libbtrfsutil.so libbtrfsutil.so.1 libbtrfsutil.so.1.3 libbtrfs.a libbtrfsutil.a /build/btrfs-progs/pkg/btrfs-progs/usr/lib
cp -d libbtrfs.so libbtrfs.so.0 libbtrfs.so.0.1 libbtrfsutil.so libbtrfsutil.so.1 libbtrfsutil.so.1.3 /build/btrfs-progs/pkg/btrfs-progs/usr/lib
/usr/bin/install -c -m755 -d /build/btrfs-progs/pkg/btrfs-progs/usr/include/btrfs
/usr/bin/install -c -m644 libbtrfs/send-stream.h libbtrfs/send-utils.h libbtrfs/send.h kernel-lib/rbtree_types.h libbtrfs/kerncompat.h libbtrfs/ioctl.h libbtrfs/ctree.h libbtrfs/version.h /build/btrfs-progs/pkg/btrfs-progs/usr/include/btrfs
/usr/bin/install -c -m644 libbtrfsutil/btrfsutil.h /build/btrfs-progs/pkg/btrfs-progs/usr/include
/usr/bin/install -c -m755 -d /build/btrfs-progs/pkg/btrfs-progs/usr/lib/pkgconfig
/usr/bin/install -c -m644 libbtrfsutil/libbtrfsutil.pc /build/btrfs-progs/pkg/btrfs-progs/usr/lib/pkgconfig
==> 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 "btrfs-progs"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: btrfs-progs 6.17-1 (Sun 05 Oct 2025 01:56:53 PM MDT)
==> Cleaning up...