-
-
Save betaboon/24d958d23cba72c50a852a9bfc0cf4d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nix-build '<nixpkgs>' -A pkgsCross.armv7l-hf-multiplatform.btrfs-progs | |
these derivations will be built: | |
/nix/store/pfjpwyiikjalfmc0wdinmq7wzyw61bj6-btrfs-progs-5.6-armv7l-unknown-linux-gnueabihf.drv | |
building '/nix/store/pfjpwyiikjalfmc0wdinmq7wzyw61bj6-btrfs-progs-5.6-armv7l-unknown-linux-gnueabihf.drv'... | |
unpacking sources | |
unpacking source archive /nix/store/19zwqa6vnjp9mji7ggl1fk6aby48g8y2-btrfs-progs-v5.6.tar.xz | |
source root is btrfs-progs-v5.6 | |
setting SOURCE_DATE_EPOCH to timestamp 1586115908 of file btrfs-progs-v5.6/configure | |
patching sources | |
updateAutotoolsGnuConfigScriptsPhase | |
Updating Autotools / GNU config script to a newer upstream version: ./config/config.sub | |
Updating Autotools / GNU config script to a newer upstream version: ./config/config.guess | |
configuring | |
configure flags: --disable-static --prefix=/nix/store/m1d0jgnajasn3g131c61mnax07a2ikdx-btrfs-progs-5.6-armv7l-unknown-linux-gnueabihf --build=x86_64-unknown-linux-gnu --host=armv7l-unknown-linux-gnueabihf | |
checking for armv7l-unknown-linux-gnueabihf-gcc... armv7l-unknown-linux-gnueabihf-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... yes | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether armv7l-unknown-linux-gnueabihf-gcc accepts -g... yes | |
checking for armv7l-unknown-linux-gnueabihf-gcc option to accept ISO C89... none needed | |
checking how to run the C preprocessor... armv7l-unknown-linux-gnueabihf-gcc -E | |
checking for grep that handles long lines and -e... /nix/store/ixmnsf3qlnyxbpfz1p2nwpr420dmggx0-gnugrep-3.4/bin/grep | |
checking for egrep... /nix/store/ixmnsf3qlnyxbpfz1p2nwpr420dmggx0-gnugrep-3.4/bin/grep -E | |
checking for ANSI C header files... yes | |
checking for sys/types.h... yes | |
checking for sys/stat.h... yes | |
checking for stdlib.h... yes | |
checking for string.h... yes | |
checking for memory.h... yes | |
checking for strings.h... yes | |
checking for inttypes.h... yes | |
checking for stdint.h... yes | |
checking for unistd.h... yes | |
checking minix/config.h usability... no | |
checking minix/config.h presence... no | |
checking for minix/config.h... no | |
checking whether it is safe to define __EXTENSIONS__... yes | |
checking for armv7l-unknown-linux-gnueabihf-gcc... (cached) armv7l-unknown-linux-gnueabihf-gcc | |
checking whether we are using the GNU C compiler... (cached) yes | |
checking whether armv7l-unknown-linux-gnueabihf-gcc accepts -g... (cached) yes | |
checking for armv7l-unknown-linux-gnueabihf-gcc option to accept ISO C89... (cached) none needed | |
checking whether C compiler accepts -std=gnu90... yes | |
checking build system type... x86_64-unknown-linux-gnu | |
checking host system type... armv7l-unknown-linux-gnueabihf | |
checking for an ANSI C-conforming const... yes | |
checking for working volatile... yes | |
checking whether byte ordering is bigendian... no | |
checking for special C compiler options needed for large files... no | |
checking for _FILE_OFFSET_BITS value needed for large files... 64 | |
checking for a BSD-compatible install... /nix/store/4dbvbaw2wgfgr021m6y6ay9qajiajsc5-coreutils-8.31/bin/install -c | |
checking whether ln -s works... yes | |
checking for armv7l-unknown-linux-gnueabihf-ar... armv7l-unknown-linux-gnueabihf-ar | |
checking for rm... /nix/store/4dbvbaw2wgfgr021m6y6ay9qajiajsc5-coreutils-8.31/bin/rm | |
checking for rmdir... /nix/store/4dbvbaw2wgfgr021m6y6ay9qajiajsc5-coreutils-8.31/bin/rmdir | |
checking for openat... yes | |
checking for reallocarray... yes | |
checking pkg-config is at least version 0.9.0... yes | |
checking execinfo.h usability... yes | |
checking execinfo.h presence... yes | |
checking for execinfo.h... yes | |
checking for backtrace... yes | |
checking for backtrace_symbols_fd... yes | |
checking for xmlto... /nix/store/3nwnnn6bnlv7y5adcw8r2jvlqipr0j8p-xmlto-0.0.28/bin/xmlto | |
checking for mv... /nix/store/4dbvbaw2wgfgr021m6y6ay9qajiajsc5-coreutils-8.31/bin/mv | |
checking for a sed that does not truncate output... /nix/store/b9g5nci9a8y4px65g4wq0gx3cvvwh9sm-gnused-4.8/bin/sed | |
checking for asciidoc... /nix/store/9zxp4z7l586y5bpg13wi393cvfcdbcyg-asciidoc-8.6.9/bin/asciidoc | |
checking for asciidoctor... no | |
checking for EXT2FS... yes | |
checking for COM_ERR... yes | |
checking for REISERFS... no | |
checking for FIEMAP_EXTENT_SHARED defined in linux/fiemap.h... yes | |
checking for BLKID... yes | |
checking for UUID... yes | |
checking for ZLIB... yes | |
checking for ZSTD... yes | |
checking for a Python interpreter with version >= 3.4... python | |
checking for python... /nix/store/nnfpapxzrhib9gxpj26f0i5h0ww9rfwc-python3-3.7.7/bin/python | |
checking for python version... 3.7 | |
checking for python platform... linux | |
checking for python script directory... ${prefix}/lib/python3.7/site-packages | |
checking for python extension module directory... ${exec_prefix}/lib/python3.7/site-packages | |
checking for PYTHON... yes | |
checking for lzo_version in -llzo2... yes | |
configure: creating ./config.status | |
config.status: creating Makefile.inc | |
config.status: creating Documentation/Makefile | |
config.status: creating version.h | |
config.status: creating config.h | |
btrfs-progs v5.6 | |
prefix: /nix/store/m1d0jgnajasn3g131c61mnax07a2ikdx-btrfs-progs-5.6-armv7l-unknown-linux-gnueabihf | |
exec prefix: ${prefix} | |
bindir: ${exec_prefix}/bin | |
libdir: ${exec_prefix}/lib | |
includedir: ${prefix}/include | |
compiler: armv7l-unknown-linux-gnueabihf-gcc | |
cflags: -g -O2 -Wall -D_FORTIFY_SOURCE=2 | |
ldflags: | |
programs: yes | |
shared libraries: yes | |
static libraries: no | |
documentation: yes | |
doc generator: asciidoc | |
backtrace support: yes | |
btrfs-convert: yes (ext2) | |
btrfs-restore zstd: yes | |
Python bindings: yes | |
Python interpreter: /nix/store/nnfpapxzrhib9gxpj26f0i5h0ww9rfwc-python3-3.7.7/bin/python | |
Type 'make' to compile. | |
building | |
build flags: SHELL=/nix/store/n313xks5ym0s0a5v8a5285rmnmvy6ms9-bash-4.4-p23/bin/bash | |
[CC] btrfs.o | |
[CC] dir-item.o | |
[CC] inode-map.o | |
[CC] qgroup.o | |
[CC] kernel-lib/list_sort.o | |
[CC] props.o | |
[CC] kernel-shared/ulist.o | |
[CC] check/qgroup-verify.o | |
[CC] backref.o | |
[CC] common/string-table.o | |
[CC] common/task-utils.o | |
[CC] inode.o | |
[CC] file.o | |
[CC] find-root.o | |
[CC] common/help.o | |
[CC] send-dump.o | |
[CC] common/fsfeatures.o | |
[CC] common/format-output.o | |
[CC] common/device-utils.o | |
[CC] cmds/subvolume.o | |
[CC] cmds/filesystem.o | |
[CC] cmds/device.o | |
[CC] cmds/scrub.o | |
In file included from /nix/store/qmhnrp95zqm6892fcbhias8y3x57rk0g-armv7l-unknown-linux-gnueabihf-stage-final-gcc-debug-9.3.0/armv7l-unknown-linux-gnueabihf/sys-include/string.h:494, | |
from ./kerncompat.h:25, | |
from cmds/scrub.c:19: | |
In function 'strncpy', | |
inlined from 'scrub_start' at cmds/scrub.c:1346:3: | |
/nix/store/qmhnrp95zqm6892fcbhias8y3x57rk0g-armv7l-unknown-linux-gnueabihf-stage-final-gcc-debug-9.3.0/armv7l-unknown-linux-gnueabihf/sys-include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 107 bytes from a string of length 4095 [-Wstringop-truncation] | |
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
[CC] cmds/inspect.o | |
[CC] cmds/balance.o | |
[CC] cmds/send.o | |
[CC] cmds/receive.o | |
[CC] cmds/quota.o | |
[CC] cmds/qgroup.o | |
[CC] cmds/replace.o | |
[CC] check/main.o | |
In file included from ./common/utils.h:30, | |
from check/main.c:36: | |
check/main.c: In function 'run_next_block': | |
./common/messages.h:42:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u32' {aka 'unsigned int'} [-Wformat=] | |
42 | __btrfs_error((fmt), ##__VA_ARGS__); \ | |
| ^~~~~ | |
check/main.c:6413:5: note: in expansion of macro 'error' | |
6413 | error( | |
| ^~~~~ | |
[CC] cmds/restore.o | |
[CC] cmds/rescue.o | |
[CC] cmds/rescue-chunk-recover.o | |
[CC] cmds/rescue-super-recover.o | |
[CC] cmds/property.o | |
[CC] cmds/filesystem-usage.o | |
[CC] cmds/inspect-dump-tree.o | |
[CC] cmds/inspect-dump-super.o | |
[CC] cmds/inspect-tree-stats.o | |
[CC] cmds/filesystem-du.o | |
[CC] mkfs/common.o | |
[CC] check/mode-common.o | |
[CC] check/mode-lowmem.o | |
[CC] send-stream.o | |
[CC] send-utils.o | |
[CC] kernel-lib/rbtree.o | |
[CC] btrfs-list.o | |
[CC] kernel-lib/radix-tree.o | |
[CC] extent-cache.o | |
[CC] extent_io.o | |
[CC] crypto/crc32c.o | |
[CC] common/messages.o | |
[CC] uuid-tree.o | |
[CC] utils-lib.o | |
[CC] common/rbtree-utils.o | |
[CC] ctree.o | |
[CC] disk-io.o | |
[CC] extent-tree.o | |
[CC] kernel-shared/delayed-ref.o | |
[CC] print-tree.o | |
[CC] free-space-cache.o | |
[CC] root-tree.o | |
[CC] volumes.o | |
In file included from common/utils.h:30, | |
from volumes.c:30: | |
volumes.c: In function 'btrfs_check_chunk_valid': | |
./common/messages.h:42:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u32' {aka 'unsigned int'} [-Wformat=] | |
42 | __btrfs_error((fmt), ##__VA_ARGS__); \ | |
| ^~~~~ | |
volumes.c:1879:3: note: in expansion of macro 'error' | |
1879 | error("invalid chunk item size, have %u expect [%zu, %lu)", | |
| ^~~~~ | |
[CC] transaction.o | |
[CC] kernel-shared/free-space-tree.o | |
[CC] repair.o | |
[CC] inode-item.o | |
[CC] file-item.o | |
[CC] kernel-lib/raid56.o | |
[CC] kernel-lib/tables.o | |
[CC] common/device-scan.o | |
[CC] common/path-utils.o | |
[CC] common/utils.o | |
[CC] libbtrfsutil/subvolume.o | |
[CC] libbtrfsutil/stubs.o | |
[CC] crypto/hash.o | |
[CC] crypto/xxhash.o | |
[CC] crypto/sha224-256.o | |
[CC] crypto/blake2b-ref.o | |
[AR] libbtrfs.a | |
[CC] libbtrfsutil/errors.o | |
[CC] libbtrfsutil/filesystem.o | |
[CC] libbtrfsutil/qgroup.o | |
[AR] libbtrfsutil.a | |
[LD] btrfs | |
[CC] mkfs/main.o | |
[CC] mkfs/rootdir.o | |
[LD] mkfs.btrfs | |
[CC] btrfs-map-logical.o | |
[LD] btrfs-map-logical | |
[CC] image/main.o | |
In file included from ./common/utils.h:30, | |
from image/main.c:35: | |
image/main.c: In function 'search_for_chunk_blocks': | |
./common/messages.h:42:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] | |
42 | __btrfs_error((fmt), ##__VA_ARGS__); \ | |
| ^~~~~ | |
image/main.c:1960:5: note: in expansion of macro 'error' | |
1960 | error( | |
| ^~~~~ | |
[CC] image/sanitize.o | |
[LD] btrfs-image | |
[CC] btrfs-find-root.o | |
[LD] btrfs-find-root | |
[CC] btrfstune.o | |
[LD] btrfstune | |
[CC] btrfs-select-super.o | |
[LD] btrfs-select-super | |
[CC] convert/main.o | |
[CC] convert/common.o | |
[CC] convert/source-fs.o | |
[CC] convert/source-ext2.o | |
[CC] convert/source-reiserfs.o | |
[LD] btrfs-convert | |
[LN] btrfsck | |
[CC] btrfs-corrupt-block.o | |
In file included from /nix/store/qmhnrp95zqm6892fcbhias8y3x57rk0g-armv7l-unknown-linux-gnueabihf-stage-final-gcc-debug-9.3.0/armv7l-unknown-linux-gnueabihf/sys-include/string.h:494, | |
from kerncompat.h:25, | |
from btrfs-corrupt-block.c:26: | |
In function 'strncpy', | |
inlined from 'main' at btrfs-corrupt-block.c:1217:5: | |
/nix/store/qmhnrp95zqm6892fcbhias8y3x57rk0g-armv7l-unknown-linux-gnueabihf-stage-final-gcc-debug-9.3.0/armv7l-unknown-linux-gnueabihf/sys-include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 80 equals destination size [-Wstringop-truncation] | |
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
[LD] btrfs-corrupt-block | |
[LD] libbtrfs.so.0.1 | |
[LD] libbtrfsutil.so.1.2.0 | |
[LN] libbtrfs.so.0 | |
[LN] libbtrfs.so | |
[LN] libbtrfsutil.so.1 | |
[LN] libbtrfsutil.so | |
Making all in Documentation | |
[ASCII] btrfs-ioctl.xml | |
[XMLTO] btrfs-ioctl.3 | |
[ASCII] btrfs-man5.xml | |
[XMLTO] btrfs-man5.5 | |
rm btrfs-man5.xml btrfs-ioctl.xml | |
[PY] libbtrfsutil | |
In file included from /nix/store/nnfpapxzrhib9gxpj26f0i5h0ww9rfwc-python3-3.7.7/include/python3.7m/Python.h:63, | |
from btrfsutilpy.h:27, | |
from error.c:20: | |
/nix/store/nnfpapxzrhib9gxpj26f0i5h0ww9rfwc-python3-3.7.7/include/python3.7m/pyport.h:699:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | |
699 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | |
| ^~~~~ | |
error: command 'armv7l-unknown-linux-gnueabihf-gcc' failed with exit status 1 | |
make: *** [Makefile:501: libbtrfsutil_python] Error 1 | |
builder for '/nix/store/pfjpwyiikjalfmc0wdinmq7wzyw61bj6-btrfs-progs-5.6-armv7l-unknown-linux-gnueabihf.drv' failed with exit code 2 | |
error: build of '/nix/store/pfjpwyiikjalfmc0wdinmq7wzyw61bj6-btrfs-progs-5.6-armv7l-unknown-linux-gnueabihf.drv' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment