Bug#916017: pax FTBFS with glibc 2.28
Hi Adrian, >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) > ^ Thanks, I guess it will need , I’ll take care of it in the next couple of days. bye, //mirabilos -- “It is inappropriate to require that a time represented as seconds since the Epoch precisely represent the number of seconds between the referenced time and the Epoch.” -- IEEE Std 1003.1b-1993 (POSIX) Section B.2.2.2
Bug#916017: pax FTBFS with glibc 2.28
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