
Applying ./patches/100-lzma.patch using plaintext: 
patching file squashfs-tools/Makefile

Applying ./patches/110-no_nonstatic_inline.patch using plaintext: 
patching file squashfs-tools/mksquashfs.c

Applying ./patches/120-add-fixed-timestamp-support.patch using plaintext: 
patching file squashfs-tools/mksquashfs.c
make[4]: Entering directory '/home/bastian/ledebot/source/build_dir/host/squashfs3.0/squashfs-tools'
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2   -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function 'write_file':
mksquashfs.c:80:22: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]
      fprintf(stderr, "FATAL ERROR:" s, ##args);\
                      ^
mksquashfs.c:1204:5: note: in expansion of macro 'BAD_ERROR'
     BAD_ERROR("Out of memory allocating write_file buffer, could not allocate %ld blocks (%d Kbytes)\n", allocated_blocks, allocated_blocks << (block_log - 10));
     ^
mksquashfs.c: In function 'dir_scan':
mksquashfs.c:1567:2: warning: implicit declaration of function 'dir_scan2' [-Wimplicit-function-declaration]
  dir_scan2(inode, dir_info);
  ^
mksquashfs.c: In function 'dir_scan2':
mksquashfs.c:67:14: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '__off_t {aka long int}' [-Wformat=]
       printf("mksquashfs: "s, ## args);\
              ^
mksquashfs.c:1644:6: note: in expansion of macro 'INFO'
      INFO("file %s, uncompressed size %lld bytes %s\n", filename, buf->st_size, duplicate_file ? "DUPLICATE" : "");
      ^
mksquashfs.c:67:14: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '__off_t {aka long int}' [-Wformat=]
       printf("mksquashfs: "s, ## args);\
              ^
mksquashfs.c:1700:7: note: in expansion of macro 'INFO'
       INFO("file %s, uncompressed size %lld bytes LINK\n", filename, buf->st_size);
       ^
mksquashfs.c: In function 'write_file':
mksquashfs.c:1242:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
     ftruncate(fd, bytes);
     ^
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2   -c -o read_fs.o read_fs.c
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2   -c -o sort.o sort.c
sort.c: In function 'sort_files_and_write':
sort.c:50:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '__off_t {aka long int}' [-Wformat=]
       if(!silent) printf("mksquashfs: "s, ## args); \
                          ^
sort.c:246:6: note: in expansion of macro 'INFO'
      INFO("file %s, uncompressed size %lld bytes %s\n",
      ^
sort.c:50:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '__off_t {aka long int}' [-Wformat=]
       if(!silent) printf("mksquashfs: "s, ## args); \
                          ^
sort.c:254:5: note: in expansion of macro 'INFO'
     INFO("file %s, uncompressed size %lld bytes LINK\n",
     ^
g++ mksquashfs.o read_fs.o sort.o -L/home/bastian/ledebot/source/staging_dir/host/lib -llzma-old -o mksquashfs-lzma
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2   -c -o unsquashfs.o unsquashfs.c
unsquashfs.c: In function 'create_inode':
unsquashfs.c:553:11: warning: too many arguments for format [-Wformat-extra-args]
     ERROR("create_inode: could not create %s device %s, because you're not superuser!\n",
           ^
unsquashfs.c:59:23: note: in definition of macro 'ERROR'
       fprintf(stderr, s, ## args); \
                       ^
g++ unsquashfs.o -L/home/bastian/ledebot/source/staging_dir/host/lib -llzma-old -o unsquashfs-lzma
make[4]: Leaving directory '/home/bastian/ledebot/source/build_dir/host/squashfs3.0/squashfs-tools'
