[Bug 1870085] Re: xfsdump ftbfs in focal (all archs)

Tiago Stürmer Daitx 1870085 at bugs.launchpad.net
Mon May 18 21:30:21 UTC 2020


Version 3.1.9 builds fine on Groovy.

** Changed in: xfsdump (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to xfsdump in Ubuntu.
https://bugs.launchpad.net/bugs/1870085

Title:
  xfsdump ftbfs in focal (all archs)

Status in xfsdump package in Ubuntu:
  Fix Released
Status in xfsdump source package in Focal:
  Confirmed

Bug description:
  seen in the second focal test rebuild
  https://launchpad.net/ubuntu/+archive/test-rebuild-20200327-focal/+build/18987191/+files/buildlog_ubuntu-focal-amd64.xfsdump_3.1.6+nmu2build1_BUILDING.txt.gz

        |                        ^~~~~~
  drive.c:361:24: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
  drive.c: In function ‘drive_allochdrs’:
  drive.c:402:29: warning: incompatible implicit declaration of built-in function ‘calloc’
    402 |  grhdrp = ( global_hdr_t * )calloc( 1, sizeof( global_hdr_t ));
        |                             ^~~~~~
  drive.c:402:29: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
      [CC]     drive_scsitape.o
  In file included from drive_scsitape.c:38:
  types.h:38: warning: "UUID_STR_LEN" redefined
     38 | #define UUID_STR_LEN 36
        | 
  In file included from drive_scsitape.c:34:
  /usr/include/uuid/uuid.h:65: note: this is the location of the previous definition
     65 | #define UUID_STR_LEN 37
        | 
  drive_scsitape.c: In function ‘do_return_read_buf’:
  drive_scsitape.c:997:9: warning: variable ‘ownedcnt’ set but not used [-Wunused-but-set-variable]
    997 |  size_t ownedcnt;
        |         ^~~~~~~~
  drive_scsitape.c: In function ‘do_seek_mark’:
  drive_scsitape.c:1346:13: warning: variable ‘recoff’ set but not used [-Wunused-but-set-variable]
   1346 |    uint32_t recoff;
        |             ^~~~~~
      [CC]     drive_simple.o
  In file included from drive_simple.c:39:
  types.h:38: warning: "UUID_STR_LEN" redefined
     38 | #define UUID_STR_LEN 36
        | 
  In file included from /usr/include/xfs/linux.h:8,
                   from /usr/include/xfs/xfs.h:9,
                   from drive_simple.c:19:
  /usr/include/uuid/uuid.h:65: note: this is the location of the previous definition
     65 | #define UUID_STR_LEN 37
        | 
  In file included from drive_simple.c:40:
  util.h:90:6: error: unknown type name ‘xfs_bstat_t’; did you mean ‘xfs_bstime_t’?
     90 |      xfs_bstat_t *statp );
        |      ^~~~~~~~~~~
        |      xfs_bstime_t
  util.h:99:10: error: unknown type name ‘bstat_cbfp_t’; did you mean ‘bstat_seekfp_t’?
     99 |          bstat_cbfp_t fp,
        |          ^~~~~~~~~~~~
        |          bstat_seekfp_t
  util.h:105:10: error: unknown type name ‘xfs_bstat_t’; did you mean ‘xfs_bstime_t’?
    105 |          xfs_bstat_t *buf,
        |          ^~~~~~~~~~~
        |          xfs_bstime_t
  util.h:110:9: error: unknown type name ‘xfs_bstat_t’; did you mean ‘xfs_bstime_t’?
    110 |         xfs_bstat_t *statp );
        |         ^~~~~~~~~~~
        |         xfs_bstime_t
  util.h:115:7: error: unknown type name ‘xfs_inogrp_t’; did you mean ‘xfs_ino_t’?
    115 |       xfs_inogrp_t *inogrp ),
        |       ^~~~~~~~~~~~
        |       xfs_ino_t
  util.h:116:9: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’
    116 |         void * arg1,
        |         ^~~~
  util.h:134:5: error: unknown type name ‘xfs_bstat_t’; did you mean ‘xfs_bstime_t’?
    134 |     xfs_bstat_t *statp,
        |     ^~~~~~~~~~~
        |     xfs_bstime_t
  util.h:138:11: error: unknown type name ‘xfs_bstat_t’; did you mean ‘xfs_bstime_t’?
    138 |           xfs_bstat_t *statp,
        |           ^~~~~~~~~~~
        |           xfs_bstime_t
  util.h:140:5: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’
    140 |     void *arg1,
        |     ^~~~
  drive_simple.c: In function ‘do_return_read_buf’:
  drive_simple.c:686:9: warning: variable ‘ownedcnt’ set but not used [-Wunused-but-set-variable]
    686 |  size_t ownedcnt;
        |         ^~~~~~~~
  drive_simple.c: In function ‘do_set_mark’:
  drive_simple.c:1062:9: warning: variable ‘nwritten’ set but not used [-Wunused-but-set-variable]
   1062 |    int  nwritten;
        |         ^~~~~~~~
  make[3]: *** [../include/buildrules:47: drive_simple.o] Error 1
  make[2]: *** [include/buildrules:23: dump] Error 2
  make[1]: *** [Makefile:53: default] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfsdump/+bug/1870085/+subscriptions



More information about the foundations-bugs mailing list