=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/solaris-tap", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for solaris-tap-1.1.0 --- tap.o --- --- tun.o --- gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DTUN_VER=\"1.1.0\ 05/18/2026\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -m64 -mcmodel=kernel -mno-red-zone -D_KERNEL -I. -c tun.c -o tun.o -DTUNTAP_TUN --- tap.o --- gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DTUN_VER=\"1.1.0\ 05/18/2026\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -m64 -mcmodel=kernel -mno-red-zone -D_KERNEL -I. -c tun.c -o tap.o -DTUNTAP_TAP tun.c:94:3: error: initialization of 'int (*)(queue_t *, int, cred_t *)' {aka 'int (*)(struct queue *, int, struct cred *)'} from incompatible pointer type 'int (*)(queue_t *)' {aka 'int (*)(struct queue *)'} [-Wincompatible-pointer-types] 94 | tunclose, /* qi_qclose */ | ^~~~~~~~ tun.c:94:3: note: (near initialization for 'tunrinit.qi_qclose') tun.c:58:14: note: 'tunclose' declared here 58 | static int tunclose(queue_t *); | ^~~~~~~~ tun.c:118:3: error: initialization of 'int (*)(dev_t *, int, int, cred_t *)' {aka 'int (*)(long unsigned int *, int, int, struct cred *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 118 | nulldev, /* cb_open */ | ^~~~~~~ tun.c:118:3: note: (near initialization for 'tun_cb_ops.cb_open') In file included from /usr/include/sys/conf.h:57, from tun.c:27: /usr/include/sys/systm.h:193:5: note: 'nulldev' declared here 193 | int nulldev(); | ^~~~~~~ tun.c:119:3: error: initialization of 'int (*)(dev_t, int, int, cred_t *)' {aka 'int (*)(long unsigned int, int, int, struct cred *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 119 | nulldev, /* cb_close */ | ^~~~~~~ tun.c:119:3: note: (near initialization for 'tun_cb_ops.cb_close') /usr/include/sys/systm.h:193:5: note: 'nulldev' declared here 193 | int nulldev(); | ^~~~~~~ tun.c:120:3: error: initialization of 'int (*)(struct buf *)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 120 | nodev, /* cb_strategy */ | ^~~~~ tun.c:120:3: note: (near initialization for 'tun_cb_ops.cb_strategy') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ tun.c:121:3: error: initialization of 'int (*)(dev_t, char *)' {aka 'int (*)(long unsigned int, char *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 121 | nodev, /* cb_print */ | ^~~~~ tun.c:121:3: note: (near initialization for 'tun_cb_ops.cb_print') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ tun.c:122:3: error: initialization of 'int (*)(dev_t, char *, daddr_t, int)' {aka 'int (*)(long unsigned int, char *, long int, int)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 122 | nodev, /* cb_dump */ | ^~~~~ tun.c:122:3: note: (near initialization for 'tun_cb_ops.cb_dump') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ tun.c:123:3: error: initialization of 'int (*)(dev_t, struct uio *, cred_t *)' {aka 'int (*)(long unsigned int, struct uio *, struct cred *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 123 | nodev, /* cb_read */ | ^~~~~ tun.c:123:3: note: (near initialization for 'tun_cb_ops.cb_read') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ tun.c:124:3: error: initialization of 'int (*)(dev_t, struct uio *, cred_t *)' {aka 'int (*)(long unsigned int, struct uio *, struct cred *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 124 | nodev, /* cb_write */ | ^~~~~ tun.c:124:3: note: (near initialization for 'tun_cb_ops.cb_write') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ --- tun.o --- tun.c:94:3: error: initialization of 'int (*)(queue_t *, int, cred_t *)' {aka 'int (*)(struct queue *, int, struct cred *)'} from incompatible pointer type 'int (*)(queue_t *)' {aka 'int (*)(struct queue *)'} [-Wincompatible-pointer-types] 94 | tunclose, /* qi_qclose */ | ^~~~~~~~ tun.c:94:3: note: (near initialization for 'tunrinit.qi_qclose') tun.c:58:14: note: 'tunclose' declared here 58 | static int tunclose(queue_t *); | ^~~~~~~~ --- tap.o --- tun.c:125:3: error: initialization of 'int (*)(dev_t, int, intptr_t, int, cred_t *, int *)' {aka 'int (*)(long unsigned int, int, long int, int, struct cred *, int *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 125 | nodev, /* cb_ioctl */ | ^~~~~ tun.c:125:3: note: (near initialization for 'tun_cb_ops.cb_ioctl') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ tun.c:126:3: error: initialization of 'int (*)(dev_t, void *, offset_t, size_t, size_t *, uint_t)' {aka 'int (*)(long unsigned int, void *, long long int, long unsigned int, long unsigned int *, unsigned int)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 126 | nodev, /* cb_devmap */ | ^~~~~ tun.c:126:3: note: (near initialization for 'tun_cb_ops.cb_devmap') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ tun.c:127:3: error: initialization of 'int (*)(dev_t, off_t, int)' {aka 'int (*)(long unsigned int, long int, int)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 127 | nodev, /* cb_mmap */ | ^~~~~ tun.c:127:3: note: (near initialization for 'tun_cb_ops.cb_mmap') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ --- tun.o --- tun.c:118:3: error: initialization of 'int (*)(dev_t *, int, int, cred_t *)' {aka 'int (*)(long unsigned int *, int, int, struct cred *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 118 | nulldev, /* cb_open */ | ^~~~~~~ tun.c:118:3: note: (near initialization for 'tun_cb_ops.cb_open') --- tap.o --- tun.c:128:3: error: initialization of 'int (*)(dev_t, off_t, struct as *, char **, off_t, unsigned int, unsigned int, unsigned int, cred_t *)' {aka 'int (*)(long unsigned int, long int, struct as *, char **, long int, unsigned int, unsigned int, unsigned int, struct cred *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 128 | nodev, /* cb_segmap */ | ^~~~~ tun.c:128:3: note: (near initialization for 'tun_cb_ops.cb_segmap') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ --- tun.o --- In file included from /usr/include/sys/conf.h:57, from tun.c:27: /usr/include/sys/systm.h:193:5: note: 'nulldev' declared here 193 | int nulldev(); | ^~~~~~~ --- tap.o --- tun.c:139:3: error: initialization of 'int (*)(struct __dev_info **)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 139 | nulldev, /* devo_identify */ | ^~~~~~~ --- tun.o --- tun.c:119:3: error: initialization of 'int (*)(dev_t, int, int, cred_t *)' {aka 'int (*)(long unsigned int, int, int, struct cred *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 119 | nulldev, /* cb_close */ | ^~~~~~~ tun.c:119:3: note: (near initialization for 'tun_cb_ops.cb_close') --- tap.o --- tun.c:139:3: note: (near initialization for 'tun_ops.devo_identify') --- tun.o --- /usr/include/sys/systm.h:193:5: note: 'nulldev' declared here 193 | int nulldev(); | ^~~~~~~ --- tap.o --- /usr/include/sys/systm.h:193:5: note: 'nulldev' declared here 193 | int nulldev(); | ^~~~~~~ --- tun.o --- tun.c:120:3: error: initialization of 'int (*)(struct buf *)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 120 | nodev, /* cb_strategy */ | ^~~~~ tun.c:120:3: note: (near initialization for 'tun_cb_ops.cb_strategy') --- tap.o --- tun.c:143:3: error: initialization of 'int (*)(struct __dev_info **, ddi_reset_cmd_t)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 143 | nodev, /* devo_reset */ | ^~~~~ tun.c:143:3: note: (near initialization for 'tun_ops.devo_reset') --- tun.o --- /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ --- tap.o --- /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ --- tun.o --- tun.c:121:3: error: initialization of 'int (*)(dev_t, char *)' {aka 'int (*)(long unsigned int, char *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 121 | nodev, /* cb_print */ | ^~~~~ tun.c:121:3: note: (near initialization for 'tun_cb_ops.cb_print') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ tun.c:122:3: error: initialization of 'int (*)(dev_t, char *, daddr_t, int)' {aka 'int (*)(long unsigned int, char *, long int, int)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 122 | nodev, /* cb_dump */ | ^~~~~ tun.c:122:3: note: (near initialization for 'tun_cb_ops.cb_dump') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ tun.c:123:3: error: initialization of 'int (*)(dev_t, struct uio *, cred_t *)' {aka 'int (*)(long unsigned int, struct uio *, struct cred *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 123 | nodev, /* cb_read */ | ^~~~~ tun.c:123:3: note: (near initialization for 'tun_cb_ops.cb_read') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ tun.c:124:3: error: initialization of 'int (*)(dev_t, struct uio *, cred_t *)' {aka 'int (*)(long unsigned int, struct uio *, struct cred *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 124 | nodev, /* cb_write */ | ^~~~~ tun.c:124:3: note: (near initialization for 'tun_cb_ops.cb_write') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ tun.c:125:3: error: initialization of 'int (*)(dev_t, int, intptr_t, int, cred_t *, int *)' {aka 'int (*)(long unsigned int, int, long int, int, struct cred *, int *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 125 | nodev, /* cb_ioctl */ | ^~~~~ tun.c:125:3: note: (near initialization for 'tun_cb_ops.cb_ioctl') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ tun.c:126:3: error: initialization of 'int (*)(dev_t, void *, offset_t, size_t, size_t *, uint_t)' {aka 'int (*)(long unsigned int, void *, long long int, long unsigned int, long unsigned int *, unsigned int)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 126 | nodev, /* cb_devmap */ | ^~~~~ tun.c:126:3: note: (near initialization for 'tun_cb_ops.cb_devmap') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ tun.c:127:3: error: initialization of 'int (*)(dev_t, off_t, int)' {aka 'int (*)(long unsigned int, long int, int)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 127 | nodev, /* cb_mmap */ | ^~~~~ tun.c:127:3: note: (near initialization for 'tun_cb_ops.cb_mmap') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ tun.c:128:3: error: initialization of 'int (*)(dev_t, off_t, struct as *, char **, off_t, unsigned int, unsigned int, unsigned int, cred_t *)' {aka 'int (*)(long unsigned int, long int, struct as *, char **, long int, unsigned int, unsigned int, unsigned int, struct cred *)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 128 | nodev, /* cb_segmap */ | ^~~~~ tun.c:128:3: note: (near initialization for 'tun_cb_ops.cb_segmap') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ tun.c:139:3: error: initialization of 'int (*)(struct __dev_info **)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 139 | nulldev, /* devo_identify */ | ^~~~~~~ tun.c:139:3: note: (near initialization for 'tun_ops.devo_identify') /usr/include/sys/systm.h:193:5: note: 'nulldev' declared here 193 | int nulldev(); | ^~~~~~~ tun.c:143:3: error: initialization of 'int (*)(struct __dev_info **, ddi_reset_cmd_t)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 143 | nodev, /* devo_reset */ | ^~~~~ tun.c:143:3: note: (near initialization for 'tun_ops.devo_reset') /usr/include/sys/systm.h:192:5: note: 'nodev' declared here 192 | int nodev(); | ^~~~~ --- tap.o --- tun.c: In function 'tun_dlpi': tun.c:1265:25: error: passing argument 3 of 'qwriter' from incompatible pointer type [-Wincompatible-pointer-types] 1265 | qwriter(wq, mp, tun_attach_req, PERIM_OUTER); | ^~~~~~~~~~~~~~ | | | void (*)(queue_t *, mblk_t *) {aka void (*)(struct queue *, struct msgb *)} --- tun.o --- tun.c: In function 'tun_dlpi': --- tap.o --- In file included from tun.c:30: /usr/include/sys/stream.h:838:49: note: expected 'void (*)(void)' but argument is of type 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} 838 | extern void qwriter(queue_t *, mblk_t *, void (*func)(), int); | ~~~~~~~^~~~~~~ --- tun.o --- tun.c:1265:25: error: passing argument 3 of 'qwriter' from incompatible pointer type [-Wincompatible-pointer-types] 1265 | qwriter(wq, mp, tun_attach_req, PERIM_OUTER); | ^~~~~~~~~~~~~~ | | | void (*)(queue_t *, mblk_t *) {aka void (*)(struct queue *, struct msgb *)} --- tap.o --- tun.c:596:13: note: 'tun_attach_req' declared here 596 | static void tun_attach_req(queue_t *wq, mblk_t *mp) | ^~~~~~~~~~~~~~ tun.c:1269:25: error: passing argument 3 of 'qwriter' from incompatible pointer type [-Wincompatible-pointer-types] 1269 | qwriter(wq, mp, tun_detach_req, PERIM_OUTER); | ^~~~~~~~~~~~~~ | | | void (*)(queue_t *, mblk_t *) {aka void (*)(struct queue *, struct msgb *)} /usr/include/sys/stream.h:838:49: note: expected 'void (*)(void)' but argument is of type 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} 838 | extern void qwriter(queue_t *, mblk_t *, void (*func)(), int); | ~~~~~~~^~~~~~~ tun.c:638:13: note: 'tun_detach_req' declared here 638 | static void tun_detach_req(queue_t *wq, mblk_t *mp) | ^~~~~~~~~~~~~~ --- tun.o --- In file included from tun.c:30: /usr/include/sys/stream.h:838:49: note: expected 'void (*)(void)' but argument is of type 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} 838 | extern void qwriter(queue_t *, mblk_t *, void (*func)(), int); | ~~~~~~~^~~~~~~ tun.c:596:13: note: 'tun_attach_req' declared here 596 | static void tun_attach_req(queue_t *wq, mblk_t *mp) | ^~~~~~~~~~~~~~ --- tap.o --- tun.c:1294:25: error: passing argument 3 of 'qwriter' from incompatible pointer type [-Wincompatible-pointer-types] 1294 | qwriter(wq, mp, tun_set_physaddr_req, PERIM_OUTER); | ^~~~~~~~~~~~~~~~~~~~ | | | void (*)(queue_t *, mblk_t *) {aka void (*)(struct queue *, struct msgb *)} /usr/include/sys/stream.h:838:49: note: expected 'void (*)(void)' but argument is of type 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} 838 | extern void qwriter(queue_t *, mblk_t *, void (*func)(), int); | ~~~~~~~^~~~~~~ tun.c:1107:1: note: 'tun_set_physaddr_req' declared here 1107 | tun_set_physaddr_req(queue_t *wq, mblk_t *mp) | ^~~~~~~~~~~~~~~~~~~~ tun.c: In function 'tunwput': tun.c:1345:25: error: passing argument 3 of 'qwriter' from incompatible pointer type [-Wincompatible-pointer-types] 1345 | qwriter(wq, mp, tun_ioctl, PERIM_OUTER); | ^~~~~~~~~ | | | void (*)(queue_t *, mblk_t *) {aka void (*)(struct queue *, struct msgb *)} /usr/include/sys/stream.h:838:49: note: expected 'void (*)(void)' but argument is of type 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} 838 | extern void qwriter(queue_t *, mblk_t *, void (*func)(), int); | ~~~~~~~^~~~~~~ tun.c:389:13: note: 'tun_ioctl' declared here 389 | static void tun_ioctl(queue_t *wq, mblk_t *mp) | ^~~~~~~~~ *** [tap.o] Error code 1 bmake: stopped making "all" in /tmp/work/net/solaris-tap/work/tuntap --- tun.o --- tun.c:1269:25: error: passing argument 3 of 'qwriter' from incompatible pointer type [-Wincompatible-pointer-types] 1269 | qwriter(wq, mp, tun_detach_req, PERIM_OUTER); | ^~~~~~~~~~~~~~ | | | void (*)(queue_t *, mblk_t *) {aka void (*)(struct queue *, struct msgb *)} /usr/include/sys/stream.h:838:49: note: expected 'void (*)(void)' but argument is of type 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} 838 | extern void qwriter(queue_t *, mblk_t *, void (*func)(), int); | ~~~~~~~^~~~~~~ tun.c:638:13: note: 'tun_detach_req' declared here 638 | static void tun_detach_req(queue_t *wq, mblk_t *mp) | ^~~~~~~~~~~~~~ tun.c: In function 'tunwput': tun.c:1345:25: error: passing argument 3 of 'qwriter' from incompatible pointer type [-Wincompatible-pointer-types] 1345 | qwriter(wq, mp, tun_ioctl, PERIM_OUTER); | ^~~~~~~~~ | | | void (*)(queue_t *, mblk_t *) {aka void (*)(struct queue *, struct msgb *)} /usr/include/sys/stream.h:838:49: note: expected 'void (*)(void)' but argument is of type 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} 838 | extern void qwriter(queue_t *, mblk_t *, void (*func)(), int); | ~~~~~~~^~~~~~~ tun.c:389:13: note: 'tun_ioctl' declared here 389 | static void tun_ioctl(queue_t *wq, mblk_t *mp) | ^~~~~~~~~ *** [tun.o] Error code 1 bmake: stopped making "all" in /tmp/work/net/solaris-tap/work/tuntap bmake: 2 errors bmake: stopped making "all" in /tmp/work/net/solaris-tap/work/tuntap *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/solaris-tap *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/solaris-tap