Bug 254640 - sysutils/pefs-kmod: An error occurs when trying to install pefs-kmod on FreeBSD 14
Summary: sysutils/pefs-kmod: An error occurs when trying to install pefs-kmod on FreeB...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Gleb Kurtsou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-29 15:13 UTC by Jonas Lopes
Modified: 2024-01-05 04:43 UTC (History)
4 users (show)

See Also:


Attachments
make install and pkg install (175.25 KB, image/png)
2021-03-29 15:13 UTC, Jonas Lopes
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Lopes 2021-03-29 15:13:38 UTC
Created attachment 223682 [details]
make install and pkg install

Dears,

An error occurs when trying to install pefs-kmod.

Evidence of errors is attached.

Hardware: IdeaPad S145
OS: FreeBSD freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT # 0 main-n245511-a771bf748f9: Qui Mar 18 06:35:21 UTC 2021 root@releng1.nyi.freebsd.org: /usr/obj/ usr/src/amd64.amd64/sys/GENÉRIC amd64

MESSAGE:

/usr/ports/sysutils/pefs-kmod/work/pefs-2018-11-26/sys/modules/pefs/../../fs/pefs/pefs_subr.c:249:21: error: too many arguments to function call, expected single argument 'vp', have 2 arguments
                        VOP_UNLOCK(ldvp, 0);
                        ~~~~~~~~~~       ^
./vnode_if.h:1145:21: note: 'VOP_UNLOCK' declared here
static __inline int VOP_UNLOCK(
                    ^
/usr/ports/sysutils/pefs-kmod/work/pefs-2018-11-26/sys/modules/pefs/../../fs/pefs/pefs_subr.c:254:18: error: too many arguments to function call, expected single argument 'vp', have 2 arguments
        VOP_UNLOCK(lvp, 0);
        ~~~~~~~~~~      ^
./vnode_if.h:1145:21: note: 'VOP_UNLOCK' declared here
static __inline int VOP_UNLOCK(
                    ^
/usr/ports/sysutils/pefs-kmod/work/pefs-2018-11-26/sys/modules/pefs/../../fs/pefs/pefs_subr.c:256:44: error: too many arguments to function call, expected 3, have 4
        error = vn_vptocnp(&nldvp, cred, encname, encname_len);
                ~~~~~~~~~~                        ^~~~~~~~~~~
/usr/src/sys/sys/vnode.h:686:5: note: 'vn_vptocnp' declared here
int     vn_vptocnp(struct vnode **vp, char *buf, size_t *buflen);
        ^
/usr/ports/sysutils/pefs-kmod/work/pefs-2018-11-26/sys/modules/pefs/../../fs/pefs/pefs_subr.c:383:23: error: use of undeclared identifier 'VI_DOOMED'
                if ((lvp->v_iflag & VI_DOOMED) != 0) {
Comment 1 Chris Rees freebsd_committer freebsd_triage 2021-03-29 15:41:28 UTC
Canonicalise and assign
Comment 2 mail 2021-04-14 19:57:07 UTC
This also affects FreeBSD 13.0-RELEASE.
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2021-07-05 06:19:07 UTC
Bug 256956

> sysutils/pefs-kmod: Take maintainership, fix build on FreeBSD 13 & -current
Comment 4 Daniel O'Connor 2021-12-16 01:27:25 UTC
I think this bug can be closed now after the port was updated.
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2024-01-05 04:43:56 UTC
^Triage: overcome by events.