Any device build fail, e2fsprogs/debugfs

faillog:

making all in debugfs
make[6]: Entering directory '/home/ubuntu/lede/build_dir/host/e2fsprogs-1.43.7/debugfs'
	CC create_inode.o
./../misc/create_inode.c: In function 'set_inode_xattr':
./../misc/create_inode.c:140:9: warning: implicit declaration of function 'llistxattr'; did you mean 'lstat64'? [-Wimplicit-function-declaration]
  size = llistxattr(filename, NULL, 0);
         ^~~~~~~~~~
         lstat64
./../misc/create_inode.c:176:16: warning: implicit declaration of function 'lgetxattr'; did you mean 'getdate_r'? [-Wimplicit-function-declaration]
   value_size = lgetxattr(filename, name, NULL, 0);
                ^~~~~~~~~
                getdate_r
./../misc/create_inode.c: At top level:
./../misc/create_inode.c:399:18: error: conflicting types for 'copy_file_range'
 static errcode_t copy_file_range(ext2_filsys fs, int fd, ext2_file_t e2_file,
                  ^~~~~~~~~~~~~~~
In file included from ./../misc/create_inode.c:19:0:
/usr/include/unistd.h:1110:9: note: previous declaration of 'copy_file_range' was here
 ssize_t copy_file_range (int __infd, __off64_t *__pinoff,
         ^~~~~~~~~~~~~~~
Makefile:422: recipe for target 'create_inode.o' failed
make[6]: *** [create_inode.o] Error 1
make[6]: Leaving directory '/home/ubuntu/lede/build_dir/host/e2fsprogs-1.43.7/debugfs'
Makefile:404: recipe for target 'all-progs-recursive' failed
make[5]: *** [all-progs-recursive] Error 1
make[5]: Leaving directory '/home/ubuntu/lede/build_dir/host/e2fsprogs-1.43.7'
Makefile:339: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/ubuntu/lede/build_dir/host/e2fsprogs-1.43.7'
Makefile:50: recipe for target '/home/ubuntu/lede/build_dir/host/e2fsprogs-1.43.7/.built' failed
make[3]: *** [/home/ubuntu/lede/build_dir/host/e2fsprogs-1.43.7/.built] Error 2
make[3]: Leaving directory '/home/ubuntu/lede/tools/e2fsprogs'
tools/Makefile:148: recipe for target 'tools/e2fsprogs/compile' failed
make[2]: *** [tools/e2fsprogs/compile] Error 2
make[2]: Leaving directory '/home/ubuntu/lede'
tools/Makefile:146: recipe for target '/home/ubuntu/lede/staging_dir/target-mipsel_24kc_musl/stamp/.tools_compile_yynyyyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyynynnyyynny' failed
make[1]: *** [/home/ubuntu/lede/staging_dir/target-mipsel_24kc_musl/stamp/.tools_compile_yynyyyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyynynnyyynny] Error 2
make[1]: Leaving directory '/home/ubuntu/lede'
/home/ubuntu/lede/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2

I'm doing with https://openwrt.org/docs/guide-developer/quickstart-build-images
build system is Ubuntu 18.04 dev
anyone have idea?
thanks

https://github.com/openwrt/openwrt/pull/781

1 Like