[Android-tools-devel] Bug#892170: android-platform-system-extras FTBFS with libf2fs-dev 1.10.0-1
Adrian Bunk
bunk at debian.org
Tue Mar 6 11:27:01 UTC 2018
Source: android-platform-system-extras
Version: 7.0.0+r33-1
Severity: serious
Tags: buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/android-platform-system-extras.html
...
make -f debian/libf2fs_utils.mk
make[2]: Entering directory '/build/1st/android-platform-system-extras-7.0.0+r33'
cc f2fs_utils/f2fs_utils.c f2fs_utils/f2fs_ioutils.c f2fs_utils/f2fs_dlutils.c f2fs_utils/make_f2fs_main.c -o libf2fs_utils.so.0 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/android -I/usr/include/f2fs-tools -include stddef.h -Wl,-z,relro -fPIC -shared -Wl,-soname,libf2fs_utils.so.0 -Wl,-rpath=/usr/lib/x86_64-linux-gnu/android -L/usr/lib/x86_64-linux-gnu/android -lsparse -ldl
f2fs_utils/f2fs_utils.c: In function 'reset_f2fs_info':
f2fs_utils/f2fs_utils.c:53:9: error: 'struct f2fs_configuration' has no member named 'fd'; did you mean 'kd'?
config.fd = -1;
^~
kd
f2fs_utils/f2fs_utils.c: In function 'make_f2fs_sparse_fd':
f2fs_utils/f2fs_utils.c:67:2: error: too many arguments to function 'f2fs_init_configuration'
f2fs_init_configuration(&config);
^~~~~~~~~~~~~~~~~~~~~~~
In file included from f2fs_utils/f2fs_utils.c:34:0:
/usr/include/f2fs-tools/f2fs_fs.h:1170:13: note: declared here
extern void f2fs_init_configuration(void);
^~~~~~~~~~~~~~~~~~~~~~~
In file included from f2fs_utils/f2fs_ioutils.c:45:0:
/usr/include/f2fs-tools/f2fs_fs.h:80:13: error: conflicting types for '__u64'
typedef u64 __u64;
^~~~~
In file included from /usr/include/asm-generic/types.h:7:0,
from /usr/include/x86_64-linux-gnu/asm/types.h:5,
from f2fs_utils/f2fs_ioutils.c:32:
/usr/include/asm-generic/int-ll64.h:31:42: note: previous declaration of '__u64' was here
__extension__ typedef unsigned long long __u64;
^~~~~
In file included from f2fs_utils/f2fs_ioutils.c:45:0:
/usr/include/f2fs-tools/f2fs_fs.h:83:13: error: conflicting types for '__le64'
typedef u64 __le64;
^~~~~~
In file included from /usr/include/linux/fs.h:15:0,
from f2fs_utils/f2fs_ioutils.c:36:
/usr/include/linux/types.h:28:25: note: previous declaration of '__le64' was here
typedef __u64 __bitwise __le64;
^~~~~~
In file included from f2fs_utils/f2fs_ioutils.c:45:0:
/usr/include/f2fs-tools/f2fs_fs.h:86:13: error: conflicting types for '__be64'
typedef u64 __be64;
^~~~~~
In file included from /usr/include/linux/fs.h:15:0,
from f2fs_utils/f2fs_ioutils.c:36:
/usr/include/linux/types.h:29:25: note: previous declaration of '__be64' was here
typedef __u64 __bitwise __be64;
^~~~~~
f2fs_utils/f2fs_ioutils.c: In function 'dev_write_fd':
f2fs_utils/f2fs_ioutils.c:99:21: error: 'struct f2fs_configuration' has no member named 'fd'; did you mean 'kd'?
if (lseek64(config.fd, (off64_t)offset, SEEK_SET) < 0)
^~
kd
f2fs_utils/f2fs_ioutils.c:101:33: error: 'struct f2fs_configuration' has no member named 'fd'; did you mean 'kd'?
ssize_t written = write(config.fd, buf, len);
^~
kd
f2fs_utils/f2fs_ioutils.c: At top level:
f2fs_utils/f2fs_ioutils.c:141:6: error: conflicting types for 'f2fs_finalize_device'
void f2fs_finalize_device(struct f2fs_configuration *c)
^~~~~~~~~~~~~~~~~~~~
In file included from f2fs_utils/f2fs_ioutils.c:45:0:
/usr/include/f2fs-tools/f2fs_fs.h:1176:12: note: previous declaration of 'f2fs_finalize_device' was here
extern int f2fs_finalize_device(void);
^~~~~~~~~~~~~~~~~~~~
f2fs_utils/f2fs_ioutils.c: In function 'f2fs_trim_device':
f2fs_utils/f2fs_ioutils.c:146:1: error: number of arguments doesn't match prototype
{
^
In file included from f2fs_utils/f2fs_ioutils.c:46:0:
/usr/include/f2fs-tools/f2fs_format_utils.h:15:5: error: prototype declaration
int f2fs_trim_device(int, u_int64_t);
^~~~~~~~~~~~~~~~
f2fs_utils/f2fs_ioutils.c: In function 'dev_write':
f2fs_utils/f2fs_ioutils.c:165:13: error: 'struct f2fs_configuration' has no member named 'fd'; did you mean 'kd'?
if (config.fd >= 0) {
^~
kd
f2fs_utils/f2fs_ioutils.c: In function 'dev_fill':
f2fs_utils/f2fs_ioutils.c:176:13: error: 'struct f2fs_configuration' has no member named 'fd'; did you mean 'kd'?
if (config.fd >= 0) {
^~
kd
f2fs_utils/f2fs_dlutils.c:48:6: error: conflicting types for 'f2fs_init_configuration'
void f2fs_init_configuration(struct f2fs_configuration *config) {
^~~~~~~~~~~~~~~~~~~~~~~
In file included from f2fs_utils/f2fs_dlutils.c:36:0:
/usr/include/f2fs-tools/f2fs_fs.h:1170:13: note: previous declaration of 'f2fs_init_configuration' was here
extern void f2fs_init_configuration(void);
^~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [debian/libf2fs_utils.mk:11: build] Error 1
More information about the Android-tools-devel
mailing list