* Package: sys-fs/ufsutils-8.2_p3 * Repository: gentoo * Maintainer: bsd@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ufsutils_8.2.orig.tar.gz to /var/tmp/portage/sys-fs/ufsutils-8.2_p3/work >>> Unpacking ufsutils_8.2-3.debian.tar.gz to /var/tmp/portage/sys-fs/ufsutils-8.2_p3/work >>> Source unpacked in /var/tmp/portage/sys-fs/ufsutils-8.2_p3/work >>> Preparing source in /var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2 ... * Applying various patches (bugfixes/updates) ... * 00_include.patch ... [ ok ] * 00_libport.patch ... [ ok ] * 00_mount.patch ... [ ok ] * 00_param.patch ... [ ok ] * 00_portable_ufs_types.patch ... [ ok ] * 01_libufs.patch ... [ ok ] * 02_badsect.ufs.patch ... [ ok ] * 02_bsdlabel.ufs.patch ... [ ok ] * 02_dump.ufs.patch ... [ ok ] * 02_dumpfs.ufs.patch ... [ ok ] * 02_ffsinfo.patch ... [ ok ] * 02_fsck.ufs.patch ... [ ok ] * 02_fsdb.ufs.patch ... [ ok ] * 02_growfs.ufs.patch ... [ ok ] * 02_mkfs.ufs.patch ... [ ok ] * 02_tunefs.ufs.patch ... [ ok ] * 03_ufsmount.patch ... [ ok ] * 04_portable_berase.patch ... [ ok ] * 05_wipe_otherfs.patch ... [ ok ] * 99_makefiles.patch ... [ ok ] * Done with patching >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2 ... make -j1 -j1 make -C lib/port make[1]: Entering directory '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2/lib/port' cc -o blockdev.o -D_LIBPORT -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -c blockdev.c cc -o getdisklabel.o -D_LIBPORT -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -c getdisklabel.c ar rcs libport.a blockdev.o getdisklabel.o make[1]: Leaving directory '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2/lib/port' make -C lib/libufs make[1]: Entering directory '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2/lib/libufs' cc -o block.o -D_LIBUFS -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -c block.c cc -o cgroup.o -D_LIBUFS -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -c cgroup.c cc -o inode.o -D_LIBUFS -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -c inode.c cc -o sblock.o -D_LIBUFS -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -c sblock.c cc -o type.o -D_LIBUFS -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -c type.c ar rcs libufs.a block.o cgroup.o inode.o sblock.o type.o make[1]: Leaving directory '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2/lib/libufs' make -C sbin/badsect make[1]: Entering directory '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2/sbin/badsect' cc -o badsect.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I../../lib/libufs -c badsect.c cc -o badsect.ufs -Wl,-O1 -Wl,--as-needed badsect.o -L../../lib/libufs -lufs -lbsd make[1]: Leaving directory '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2/sbin/badsect' make -C sbin/dumpfs make[1]: Entering directory '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2/sbin/dumpfs' cc -o dumpfs.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I../../lib/libufs -c dumpfs.c cc -o dumpfs.ufs -Wl,-O1 -Wl,--as-needed dumpfs.o -L../../lib/libufs/ -lufs -lbsd make[1]: Leaving directory '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2/sbin/dumpfs' make -C sbin/fsck_ffs make[1]: Entering directory '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2/sbin/fsck_ffs' cc -o dir.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c dir.c cc -o ea.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c ea.c cc -o fsutil.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c fsutil.c fsutil.c: In function ‘inoinfo’: fsutil.c:142:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] errx(EEXIT, "inoinfo: inumber %d out of range", inum); ^ cc -o inode.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c inode.c inode.c: In function ‘ginode’: inode.c:289:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] errx(EEXIT, "bad inode number %d to ginode", inumber); ^ inode.c: In function ‘getnextinode’: inode.c:323:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] errx(EEXIT, "bad inode number %d to nextinode", inumber); ^ inode.c: In function ‘setinodebuf’: inode.c:402:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] errx(EEXIT, "bad inode number %d to setinodebuf", inum); ^ inode.c: In function ‘getinoinfo’: inode.c:493:14: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] errx(EEXIT, "cannot find inode %d", inumber); ^ cc -o pass1.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c pass1.c cc -o pass1b.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c pass1b.c cc -o pass2.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c pass2.c cc -o pass3.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c pass3.c cc -o pass4.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c pass4.c pass4.c: In function ‘pass4’: pass4.c:114:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] errx(EEXIT, "BAD STATE %d FOR INODE I=%d", ^ cc -o pass5.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c pass5.c cc -o setup.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c setup.c cc -o utilities.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c utilities.c cc -o ../../sys/ufs/ffs/ffs_subr.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c ../../sys/ufs/ffs/ffs_subr.c cc -o ../../sys/ufs/ffs/ffs_tables.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c ../../sys/ufs/ffs/ffs_tables.c cc -o gjournal.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c gjournal.c cc -o ../mount/getmntopts.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c ../mount/getmntopts.c ar rcs libfsck.ufs.a dir.o ea.o fsutil.o inode.o pass1.o pass1b.o pass2.o pass3.o pass4.o pass5.o setup.o utilities.o ../../sys/ufs/ffs/ffs_subr.o ../../sys/ufs/ffs/ffs_tables.o gjournal.o ../mount/getmntopts.o cc -o main.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I. -I../../lib/libufs -I../mount -c main.c main.c: In function ‘checkfilesys’: main.c:499:11: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("%d inodes missing\n", -files); ^ main.c: In function ‘chkdoreload’: main.c:604:2: warning: #warning "FIXME: use linux mount call" [-Wcpp] #warning "FIXME: use linux mount call" ^ cc -o fsck.ufs -Wl,-O1 -Wl,--as-needed main.o -L../../lib/port -lport -L. -lfsck.ufs -L../../lib/libufs -lufs -lbsd make[1]: Leaving directory '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2/sbin/fsck_ffs' make -C sbin/fsdb make[1]: Entering directory '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2/sbin/fsdb' cc -o fsdb.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I../fsck_ffs -c fsdb.c fsdb.c: In function ‘prompt’: fsdb.c:226:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] snprintf(pstring, sizeof(pstring), "fsdb (inum: %d)> ", curinum); ^ fsdb.c:226:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] fsdb.c: In function ‘focus’: fsdb.c:313:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("inode %d out of range; range is [%d,%d]\n", \ ^ fsdb.c:326:5: note: in expansion of macro ‘GETINUM’ GETINUM(1,inum); ^ fsdb.c:313:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] printf("inode %d out of range; range is [%d,%d]\n", \ ^ fsdb.c:326:5: note: in expansion of macro ‘GETINUM’ GETINUM(1,inum); ^ fsdb.c:313:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("inode %d out of range; range is [%d,%d]\n", \ ^ fsdb.c:326:5: note: in expansion of macro ‘GETINUM’ GETINUM(1,inum); ^ fsdb.c: In function ‘zapi’: fsdb.c:313:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("inode %d out of range; range is [%d,%d]\n", \ ^ fsdb.c:348:5: note: in expansion of macro ‘GETINUM’ GETINUM(1,inum); ^ fsdb.c:313:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] printf("inode %d out of range; range is [%d,%d]\n", \ ^ fsdb.c:348:5: note: in expansion of macro ‘GETINUM’ GETINUM(1,inum); ^ fsdb.c:313:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("inode %d out of range; range is [%d,%d]\n", \ ^ fsdb.c:348:5: note: in expansion of macro ‘GETINUM’ GETINUM(1,inum); ^ fsdb.c: In function ‘uplink’: fsdb.c:379:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("inode %d link count now %d\n", curinum, DIP(curinode, di_nlink)); ^ fsdb.c: In function ‘downlink’: fsdb.c:389:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("inode %d link count now %d\n", curinum, DIP(curinode, di_nlink)); ^ fsdb.c: In function ‘findblk’: fsdb.c:505:10: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("block %llu: inode block (%d-%d)\n", ^ fsdb.c:505:10: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] fsdb.c: In function ‘founddatablk’: fsdb.c:605:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("%llu: data block of inode %d\n", ^ fsdb.c: In function ‘ln’: fsdb.c:313:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("inode %d out of range; range is [%d,%d]\n", \ ^ fsdb.c:759:5: note: in expansion of macro ‘GETINUM’ GETINUM(1,inum); ^ fsdb.c:313:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] printf("inode %d out of range; range is [%d,%d]\n", \ ^ fsdb.c:759:5: note: in expansion of macro ‘GETINUM’ GETINUM(1,inum); ^ fsdb.c:313:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("inode %d out of range; range is [%d,%d]\n", \ ^ fsdb.c:759:5: note: in expansion of macro ‘GETINUM’ GETINUM(1,inum); ^ fsdb.c:765:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("Ino %d entered as `%s'\n", inum, argv[2]); ^ fsdb.c: In function ‘chinum’: fsdb.c:313:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("inode %d out of range; range is [%d,%d]\n", \ ^ fsdb.c:811:5: note: in expansion of macro ‘GETINUM’ GETINUM(2,inum); ^ fsdb.c:313:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] printf("inode %d out of range; range is [%d,%d]\n", \ ^ fsdb.c:811:5: note: in expansion of macro ‘GETINUM’ GETINUM(2,inum); ^ fsdb.c:313:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("inode %d out of range; range is [%d,%d]\n", \ ^ fsdb.c:811:5: note: in expansion of macro ‘GETINUM’ GETINUM(2,inum); ^ cc -o fsdbutil.o -I../../sys -I../../lib/port -include port.h -include bsd/bsd.h -D_GNU_SOURCE -march=native -O2 -pipe -I../fsck_ffs -c fsdbutil.c fsdbutil.c: In function ‘printstat’: fsdbutil.c:141:9: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration] major(DIP(dp, di_rdev)), minor(DIP(dp, di_rdev))); ^ fsdbutil.c:141:34: warning: implicit declaration of function ‘minor’ [-Wimplicit-function-declaration] major(DIP(dp, di_rdev)), minor(DIP(dp, di_rdev))); ^ fsdbutil.c: In function ‘printblocks’: fsdbutil.c:305:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("Blocks for inode %d:\n", inum); ^ fsdbutil.c: In function ‘checkactivedir’: fsdbutil.c:355:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] warnx("inode %d not a directory", curinum); ^ fsdbutil.c: In function ‘printactive’: fsdbutil.c:380:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("current inode %d: unallocated inode\n", curinum); ^ fsdbutil.c:383:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ino_t {aka long unsigned int}’ [-Wformat=] printf("current inode %d: screwy itype 0%o (mode 0%o)?\n", ^ cc -o fsdb.ufs -Wl,-O1 -Wl,--as-needed fsdb.o fsdbutil.o -ledit -L../../lib/libufs -lufs -L../fsck_ffs -lfsck.ufs -lbsd fsdbutil.o: In function `printstat': fsdbutil.c:(.text+0xa17): undefined reference to `minor' fsdbutil.c:(.text+0xa3c): undefined reference to `major' fsdbutil.c:(.text+0xa67): undefined reference to `minor' fsdbutil.c:(.text+0xa8c): undefined reference to `major' collect2: error: ld returned 1 exit status ../../Makefile.common:51: recipe for target 'fsdb.ufs' failed make[1]: *** [fsdb.ufs] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2/sbin/fsdb' Makefile:15: recipe for target 'sbin/fsdb' failed make: *** [sbin/fsdb] Error 2 * ERROR: sys-fs/ufsutils-8.2_p3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-fs/ufsutils-8.2_p3::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/ufsutils-8.2_p3::gentoo'`. * The complete build log is located at '/var/log/portage/sys-fs:ufsutils-8.2_p3:20160417-063022.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2' * S: '/var/tmp/portage/sys-fs/ufsutils-8.2_p3/work/ufsutils-8.2'