Summary: | sysutils/pefs-kmod implicit declaration of function 'vm_object_cache_is_empty' is invalid | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | rcarter |
Component: | Individual Port(s) | Assignee: | Gleb Kurtsou <gleb> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Only Me | CC: | brnrd, churchers, ebay, kmoore, w.schwarzenfeld |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
rcarter
2017-06-10 19:42:40 UTC
Should be fixed by latest update. https://svnweb.freebsd.org/ports?view=revision&revision=445555 The port update did not fix it for me: (00:00:05) /wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2017-06-20/sys/modules/pefs/../../fs/pefs/pefs_vnops.c:2068:7: error: implicit declaration of function 'vm_object_cache_is_empty' is invalid in C99 [-Werror,-Wimplicit-function-declaration] (00:00:06) !vm_object_cache_is_empty(object) (00:00:06) ^ (00:00:06) /wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2017-06-20/sys/modules/pefs/../../fs/pefs/pefs_vnops.c:2068:7: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] (00:00:06) /wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2017-06-20/sys/modules/pefs/../../fs/pefs/pefs_vnops.c:2463:6: error: implicit declaration of function 'vm_page_is_cached' is invalid in C99 [-Werror,-Wimplicit-function-declaration] (00:00:06) if (vm_page_is_cached(vp->v_object, idx)) { (00:00:06) ^ (00:00:06) /wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2017-06-20/sys/modules/pefs/../../fs/pefs/pefs_vnops.c:2463:6: note: did you mean 'vm_page_is_valid'? (00:00:06) /usr/src/sys/vm/vm_page.h:496:5: note: 'vm_page_is_valid' declared here (00:00:06) int vm_page_is_valid (vm_page_t, int, int); (00:00:06) ^ (00:00:06) /wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2017-06-20/sys/modules/pefs/../../fs/pefs/pefs_vnops.c:2463:6: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] (00:00:06) if (vm_page_is_cached(vp->v_object, idx)) { (00:00:06) ^ (00:00:06) /wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2017-06-20/sys/modules/pefs/../../fs/pefs/pefs_vnops.c:2466:3: error: implicit declaration of function 'vm_page_cache_free' is invalid in C99 [-Werror,-Wimplicit-function-declaration] (00:00:06) vm_page_cache_free(vp->v_object, idx, idx + 1); (00:00:06) ^ (00:00:06) /wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2017-06-20/sys/modules/pefs/../../fs/pefs/pefs_vnops.c:2466:3: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] (00:00:06) 6 errors generated. (00:00:06) *** Error code 1 (00:00:06) (00:00:06) Stop. (00:00:06) make[2]: stopped in /wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2017-06-20/sys/modules/pefs (00:00:06) *** Error code 1 might be helpful to say this was in a poudriere jail of 11.1-PRERELEASE (-stable) r318854. If it is checking for a newer build, I'm willing to upgrade. I did some more investigation, I think the timetable is like this: __FreeBSD_version bumped to 1100513 on May 11 by r319278 Breaking commit was May 23 by r318716 I'm running May 26 r318855 __FreeBSD_version bumped to 1100514 on May 31 Bug report opened on June 10 PEFS commit fixes issue on June 15 PEFS release contains fix on June 20 PEFS port upgraded with fixed version on July 11 None of my PEFS compiles since the port upgrade have worked because my build was in the unlucky 8 days between __FreeBSD_version bumps. Therefore if I upgrade my build to June or later I should be good. Documenting this in case it helps someone else. I believe this can be closed. |