Public bug reported:

https://launchpadlibrarian.net/418304619/buildlog_ubuntu-cosmic-
amd64.pax_1%3A20171021-2_BUILDING.txt.gz

gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DPAX_SAFE_PATH=\"/usr/bin:/bin\" 
-DLONG_OFF_T -DHAVE_LINKAT -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra 
-Wformat -fno-strict-aliasing -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now 
-Wl,--as-needed -o pax \
    ar.c ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c \
    ftree.c gen_subs.c getoldopt.c options.c pat_rep.c pax.c \
    sel_subs.c tables.c tar.c tty_subs.c
In file included from cpio.c:47:
cpio.c: In function ‘vcpio_rd’:
pax.h:266:16: warning: implicit declaration of function ‘makedev’; did you mean 
‘map_dev’? [-Wimplicit-function-declaration]
 #define TODEV  makedev
                ^~~~~~~
cpio.c:628:20: note: in expansion of macro ‘TODEV’
  arcn->sb.st_dev = TODEV(devmajor, devminor);
                    ^~~~~
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),
                                                  ^~~~~
pax.h:262:18: warning: implicit declaration of function ‘minor’; did you mean 
‘mknod’? [-Wimplicit-function-declaration]
 #define MINOR(x) minor(x)
                  ^~~~~
gen_subs.c:124:22: note: in expansion of macro ‘MINOR’
       (unsigned long)MINOR(sbp->st_rdev));
                      ^~~~~
pax.c: In function ‘gen_init’:
pax.c:422:34: warning: passing argument 3 to restrict-qualified parameter 
aliases with argument 2 [-Wrestrict]
      (sigaction(SIGHUP, &o_hand, &o_hand) < 0)))
                         ~~~~~~~  ^~~~~~~
pax.c:427:35: warning: passing argument 3 to restrict-qualified parameter 
aliases with argument 2 [-Wrestrict]
      (sigaction(SIGTERM, &o_hand, &o_hand) < 0)))
                          ~~~~~~~  ^~~~~~~
pax.c:432:34: warning: passing argument 3 to restrict-qualified parameter 
aliases with argument 2 [-Wrestrict]
      (sigaction(SIGINT, &o_hand, &o_hand) < 0)))
                         ~~~~~~~  ^~~~~~~
pax.c:437:35: warning: passing argument 3 to restrict-qualified parameter 
aliases with argument 2 [-Wrestrict]
      (sigaction(SIGQUIT, &o_hand, &o_hand) < 0)))
                          ~~~~~~~  ^~~~~~~
pax.c:442:35: warning: passing argument 3 to restrict-qualified parameter 
aliases with argument 2 [-Wrestrict]
      (sigaction(SIGXCPU, &o_hand, &o_hand) < 0)))
                          ~~~~~~~  ^~~~~~~
In file included from tar.c:47:
tar.c: In function ‘ustar_rd’:
pax.h:266:16: warning: implicit declaration of function ‘makedev’; did you mean 
‘map_dev’? [-Wimplicit-function-declaration]
 #define TODEV  makedev
                ^~~~~~~
tar.c:842:22: note: in expansion of macro ‘TODEV’
   arcn->sb.st_rdev = TODEV(devmajor, devminor);
                      ^~~~~
tar.c: In function ‘ustar_wr’:
pax.h:261:18: warning: implicit declaration of function ‘major’ 
[-Wimplicit-function-declaration]
 #define MAJOR(x) major(x)
                  ^~~~~
tar.c:992:22: note: in expansion of macro ‘MAJOR’
   if (ul_oct((u_long)MAJOR(arcn->sb.st_rdev), hd->devmajor,
                      ^~~~~
pax.h:262:18: warning: implicit declaration of function ‘minor’; did you mean 
‘mknod’? [-Wimplicit-function-declaration]
 #define MINOR(x) minor(x)
                  ^~~~~
tar.c:994:21: note: in expansion of macro ‘MINOR’
      ul_oct((u_long)MINOR(arcn->sb.st_rdev), hd->devminor,
                     ^~~~~
/usr/bin/ld: /tmp/ccFBbAl3.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/ccFBbAl3.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/ccWOdv7t.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/ccCa7Dlf.o: in function `ustar_rd':
./tar.c:842: undefined reference to `makedev'
/usr/bin/ld: /tmp/ccCa7Dlf.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

** Affects: pax (Ubuntu)
     Importance: High
         Status: New


** Tags: ftbfs rls-cc-incoming

** Changed in: pax (Ubuntu)
   Importance: Undecided => High

** Tags added: ftbfs rls-cc-incoming

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

Title:
  pax ftbfs in cosmic

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to