xfsdump ftbfs in focal (all archs)

Bug #1870085 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xfsdump (Ubuntu)
High
Unassigned
Focal
High
Unassigned

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

Matthias Klose (doko)
Changed in xfsdump (Ubuntu):
status: New → Confirmed
importance: Undecided → High
tags: added: ftbfs rls-ff-incoming
Steve Langasek (vorlon)
tags: removed: rls-ff-incoming
tags: added: id-5e860f0d0ee0b0440fb5667c
Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :

Version 3.1.9 builds fine on Groovy.

Changed in xfsdump (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers