sysutils/ffs2recov
Utility to recover UFS2 filesystems
| Flavor | Version | Run | OSVersion | Arch | License | Restricted | Status | |
|---|---|---|---|---|---|---|---|---|
| 1.0_1 | 620 | 4.0 | amd64 | bsd2 | 0 | fail |
License Permissions:
Events
| Machine | Type | Time | Message |
|---|---|---|---|
| m4064b | info | 2025-11-04 01:33:29.476315 | Test Started |
| m4064b | fail | 2025-11-04 01:33:49.475834 | make build returned non-zero: 1 |
| m4064b | fail | 2025-11-04 01:33:49.553894 | Test complete. |
Log
[1m===> Building for ffs2recov-1.0_1[0m
--- objwarn ---
--- .depend ---
--- objwarn ---
Warning: Object directory not changed from original /magus/work/usr/mports/sysutils/ffs2recov/work/ffs2recov
--- .depend ---
echo ffs2recov: /usr/lib/libc.a /usr/lib/libufs.a >> .depend
--- main.pieo ---
--- block.pieo ---
--- inode.pieo ---
--- io.pieo ---
--- super.pieo ---
--- ffs2recov.8.gz ---
--- main.pieo ---
cc -fpie -DPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.main.pieo -MTmain.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=unused-but-set-parameter -Wno-error=cast-function-type-mismatch -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c main.c -o main.pieo
--- block.pieo ---
cc -fpie -DPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.block.pieo -MTblock.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=unused-but-set-parameter -Wno-error=cast-function-type-mismatch -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c block.c -o block.pieo
--- inode.pieo ---
cc -fpie -DPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.inode.pieo -MTinode.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=unused-but-set-parameter -Wno-error=cast-function-type-mismatch -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c inode.c -o inode.pieo
--- io.pieo ---
cc -fpie -DPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.io.pieo -MTio.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=unused-but-set-parameter -Wno-error=cast-function-type-mismatch -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c io.c -o io.pieo
--- super.pieo ---
cc -fpie -DPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.super.pieo -MTsuper.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=unused-but-set-parameter -Wno-error=cast-function-type-mismatch -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c super.c -o super.pieo
--- ffs2recov.8.gz ---
gzip -cn ffs2recov.8 > ffs2recov.8.gz
--- io.pieo ---
In file included from io.c:52:
./ffs2recov.h:78:12: error: conflicting types for 'getinode'
78 | extern int getinode(struct uufsd *, void *, struct ufs2_dinode *);
| ^
/usr/include/libufs.h:141:5: note: previous declaration is here
141 | int getinode(struct uufsd *, union dinodep *, ino_t);
| ^
--- super.pieo ---
In file included from super.c:53:
./ffs2recov.h:78:12: error: conflicting types for 'getinode'
78 | extern int getinode(struct uufsd *, void *, struct ufs2_dinode *);
| ^
/usr/include/libufs.h:141:5: note: previous declaration is here
141 | int getinode(struct uufsd *, union dinodep *, ino_t);
| ^
--- inode.pieo ---
inode.c:73:5: error: conflicting types for 'getinode'
73 | int getinode(struct uufsd *, void *, struct ufs2_dinode *);
| ^
/usr/include/libufs.h:141:5: note: previous declaration is here
141 | int getinode(struct uufsd *, union dinodep *, ino_t);
| ^
--- super.pieo ---
super.c:148:10: warning: cast to smaller integer type 'int' from 'int32_t *' (aka 'int *') [-Wpointer-to-int-cast]
148 | moff = ((int)(&((struct fs *)NULL)->fs_magic)) % DEV_BSIZE;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
super.c:149:10: warning: cast to smaller integer type 'int' from 'int32_t *' (aka 'int *') [-Wpointer-to-int-cast]
149 | mdif = ((int)(&((struct fs *)NULL)->fs_magic)) & -DEV_BSIZE;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- io.pieo ---
1 error generated.
--- inode.pieo ---
inode.c:280:1: error: conflicting types for 'getinode'
280 | getinode(
| ^
/usr/include/libufs.h:141:5: note: previous declaration is here
141 | int getinode(struct uufsd *, union dinodep *, ino_t);
| ^
--- main.pieo ---
In file included from main.c:58:
./ffs2recov.h:78:12: error: conflicting types for 'getinode'
78 | extern int getinode(struct uufsd *, void *, struct ufs2_dinode *);
| ^
--- inode.pieo ---
inode.c:346:45: warning: format specifies type 'int' but the argument has type 'ino_t' (aka 'unsigned long') [-Wformat]
346 | fprintf(stderr, "Duping inode %d (%s)\n", inum, name);
| ~~ ^~~~
| %lu
--- main.pieo ---
/usr/include/libufs.h:141:5: note: previous declaration is here
141 | int getinode(struct uufsd *, union dinodep *, ino_t);
| ^
--- inode.pieo ---
inode.c:351:57: warning: format specifies type 'int' but the argument has type 'ino_t' (aka 'unsigned long') [-Wformat]
351 | fprintf(stderr, "short read on inode %d, skipping\n", inum);
| ~~ ^~~~
| %lu
--- io.pieo ---
*** [io.pieo] Error code 1
make: stopped in /magus/work/usr/mports/sysutils/ffs2recov/work/ffs2recov
--- inode.pieo ---
inode.c:373:26: warning: format specifies type 'int' but the argument has type 'ino_t' (aka 'unsigned long') [-Wformat]
372 | "%s:%d memory allocation failed for inode %d, %llu bytes\n",
| ~~
| %lu
373 | __FILE__, __LINE__, inum,
| ^~~~
inode.c:378:24: warning: incompatible pointer types passing 'struct direct *' to parameter of type 'union dinodep *' [-Wincompatible-pointer-types]
378 | if (!getinode(disk, dir, inode)) {
| ^~~
/usr/include/libufs.h:141:45: note: passing argument to parameter here
141 | int getinode(struct uufsd *, union dinodep *, ino_t);
| ^
--- block.pieo ---
In file included from block.c:52:
./ffs2recov.h:78:12: error: conflicting types for 'getinode'
--- inode.pieo ---
inode.c:378:29: error: incompatible pointer to integer conversion passing 'struct ufs2_dinode *' to parameter of type 'ino_t' (aka 'unsigned long') [-Wint-conversion]
378 | if (!getinode(disk, dir, inode)) {
| ^~~~~
/usr/include/libufs.h:141:52: note: passing argument to parameter here
--- block.pieo ---
78 | extern int getinode(struct uufsd *, void *, struct ufs2_dinode *);
| ^
/usr/include/libufs.h:141:5: note: previous declaration is here
141 | int getinode(struct uufsd *, union dinodep *, ino_t);
| ^
--- inode.pieo ---
141 | int getinode(struct uufsd *, union dinodep *, ino_t);
| ^
4 warnings and 3 errors generated.
--- super.pieo ---
2 warnings and 1 error generated.
--- block.pieo ---
1 error generated.
--- main.pieo ---
main.c:363:23: warning: incompatible pointer types passing 'struct direct *' to parameter of type 'union dinodep *' [-Wincompatible-pointer-types]
363 | if (getinode(disk, dir, &inode)) {
| ^~~
/usr/include/libufs.h:141:45: note: passing argument to parameter here
141 | int getinode(struct uufsd *, union dinodep *, ino_t);
| ^
main.c:363:28: error: incompatible pointer to integer conversion passing 'struct ufs2_dinode *' to parameter of type 'ino_t' (aka 'unsigned long') [-Wint-conversion]
363 | if (getinode(disk, dir, &inode)) {
| ^~~~~~
/usr/include/libufs.h:141:52: note: passing argument to parameter here
141 | int getinode(struct uufsd *, union dinodep *, ino_t);
| ^
--- inode.pieo ---
*** [inode.pieo] Error code 1
make: stopped in /magus/work/usr/mports/sysutils/ffs2recov/work/ffs2recov
--- super.pieo ---
*** [super.pieo] Error code 1
make: stopped in /magus/work/usr/mports/sysutils/ffs2recov/work/ffs2recov
--- block.pieo ---
*** [block.pieo] Error code 1
make: stopped in /magus/work/usr/mports/sysutils/ffs2recov/work/ffs2recov
--- main.pieo ---
main.c:408:23: warning: incompatible pointer types passing 'struct direct *' to parameter of type 'union dinodep *' [-Wincompatible-pointer-types]
408 | if (getinode(disk, dir, inode)) {
| ^~~
/usr/include/libufs.h:141:45: note: passing argument to parameter here
141 | int getinode(struct uufsd *, union dinodep *, ino_t);
| ^
main.c:408:28: error: incompatible pointer to integer conversion passing 'struct ufs2_dinode *' to parameter of type 'ino_t' (aka 'unsigned long') [-Wint-conversion]
408 | if (getinode(disk, dir, inode)) {
| ^~~~~
/usr/include/libufs.h:141:52: note: passing argument to parameter here
141 | int getinode(struct uufsd *, union dinodep *, ino_t);
| ^
main.c:412:13: warning: format specifies type 'int' but the argument has type 'ino_t' (aka 'unsigned long') [-Wformat]
411 | printf("matched: %6d\tparent: %6d\n",
| ~~~
| %6lu
412 | inol[j], i);
| ^~~~~~~
main.c:446:28: error: incompatible pointer to integer conversion passing 'struct ufs2_dinode *' to parameter of type 'ino_t' (aka 'unsigned long') [-Wint-conversion]
446 | if (!getinode(disk, data, dir)) {
| ^~~
/usr/include/libufs.h:141:52: note: passing argument to parameter here
141 | int getinode(struct uufsd *, union dinodep *, ino_t);
| ^
main.c:489:59: warning: format specifies type 'int' but the argument has type 'ino_t' (aka 'unsigned long') [-Wformat]
489 | DPRINTF((stderr, "%s: ino %d blk %llu\n", __FUNCTION__, num, (unsigned long long)blk));
| ~~ ^~~
| %lu
./ffs2recov.h:48:39: note: expanded from macro 'DPRINTF'
48 | #define DPRINTF(x) if (debug) fprintf x
| ^
main.c:491:57: warning: format specifies type 'int' but the argument has type 'ino_t' (aka 'unsigned long') [-Wformat]
491 | fprintf(stderr, "short read on inode %d, skipping\n", num);
| ~~ ^~~
| %lu
main.c:532:29: error: incompatible pointer to integer conversion passing 'struct ufs2_dinode *' to parameter of type 'ino_t' (aka 'unsigned long') [-Wint-conversion]
532 | if (getinode(disk, data, inode)) {
| ^~~~~
/usr/include/libufs.h:141:52: note: passing argument to parameter here
141 | int getinode(struct uufsd *, union dinodep *, ino_t);
| ^
main.c:555:57: warning: format specifies type 'int' but the argument has type 'ino_t' (aka 'unsigned long') [-Wformat]
555 | fprintf(stderr, "short read on inode %d, skipping\n", inum);
| ~~ ^~~~
| %lu
main.c:560:23: warning: format specifies type 'int' but the argument has type 'ino_t' (aka 'unsigned long') [-Wformat]
560 | printf("inum: %d\n", inum);
| ~~ ^~~~
| %lu
7 warnings and 5 errors generated.
*** [main.pieo] Error code 1
make: stopped in /magus/work/usr/mports/sysutils/ffs2recov/work/ffs2recov
5 errors
make: stopped in /magus/work/usr/mports/sysutils/ffs2recov/work/ffs2recov
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/mports/sysutils/ffs2recov
Links
Depends On
NothingDepend Of
NothingCategories
CVEs
- Loading CVE information...
MidnightBSD Magus