Source: pax Version: 1:20171021-2 Severity: serious Tags: ftbfs https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pax.html
... cpio.c: In function 'vcpio_wr': pax.h:261:18: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] #define MAJOR(x) major(x) ^~~~~ cpio.c:777:53: note: in expansion of macro 'MAJOR' t_major = (anonarch & ANON_INODES) ? 0UL : (u_long)MAJOR(arcn->sb.st_dev); ^~~~~ pax.h:262:18: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] #define MINOR(x) minor(x) ^~~~~ cpio.c:778:53: note: in expansion of macro 'MINOR' t_minor = (anonarch & ANON_INODES) ? 0UL : (u_long)MINOR(arcn->sb.st_dev); ^~~~~ In file included from gen_subs.c:55: gen_subs.c: In function 'ls_list': pax.h:261:18: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] #define MAJOR(x) major(x) ^~~~~ gen_subs.c:123:50: note: in expansion of macro 'MAJOR' (void)fprintf(fp, "%4lu,%4lu ", (unsigned long)MAJOR(sbp->st_rdev), ^~~~~ ... /usr/bin/ld: /tmp/cc4cCtFm.o: in function `vcpio_rd': ./cpio.c:628: undefined reference to `makedev' /usr/bin/ld: ./cpio.c:631: undefined reference to `makedev' /usr/bin/ld: /tmp/cc4cCtFm.o: in function `vcpio_wr': ./cpio.c:777: undefined reference to `major' /usr/bin/ld: ./cpio.c:778: undefined reference to `minor' /usr/bin/ld: ./cpio.c:850: undefined reference to `major' /usr/bin/ld: ./cpio.c:852: undefined reference to `minor' /usr/bin/ld: /tmp/ccSVOR4l.o: in function `ls_list': ./gen_subs.c:124: undefined reference to `minor' /usr/bin/ld: ./gen_subs.c:123: undefined reference to `major' /usr/bin/ld: /tmp/cc0rXSax.o: in function `ustar_rd': ./tar.c:842: undefined reference to `makedev' /usr/bin/ld: /tmp/cc0rXSax.o: in function `ustar_wr': ./tar.c:992: undefined reference to `major' /usr/bin/ld: ./tar.c:994: undefined reference to `minor' collect2: error: ld returned 1 exit status make: *** [debian/rules:55: debian/.build_stamp] Error 1