Good day! I have a error while x11-drivers/xf86-input-mouse reinstall on 13-CURRENT. uname -a -------------------------- FreeBSD BSD-NUC 13.0-CURRENT FreeBSD 13.0-CURRENT r339640 BSDSERV amd64 Error log -------------------------- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include/xorg -fvisibility=hidden -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/X11/dri -I/usr/local/include/libdrm -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -Os -pipe -march=native -fstack-protector -fno-strict-aliasing -MT bsd_mouse.lo -MD -MP -MF .deps/bsd_mouse.Tpo -c bsd_mouse.c -fPIC -DPIC -o .libs/bsd_mouse.o --- pnp.lo --- mv -f .deps/pnp.Tpo .deps/pnp.Plo --- bsd_mouse.lo --- bsd_mouse.c:202:11: error: use of undeclared identifier 'MOUSE_PROTO_BUS' { MOUSE_PROTO_BUS, "BusMouse" }, ^ bsd_mouse.c:203:11: error: use of undeclared identifier 'MOUSE_PROTO_INPORT' { MOUSE_PROTO_INPORT, "BusMouse" }, ^ bsd_mouse.c:260:31: error: invalid application of 'sizeof' to an incomplete type 'struct (anonymous struct at bsd_mouse.c:193:8) []' for (i = 0; i < sizeof(devproto)/sizeof(devproto[0]); ++i) { ^~~~~~~~~~ 3 errors generated. *** [bsd_mouse.lo] Error code 1 make[3]: stopped in /usr/ports/x11-drivers/xf86-input-mouse/work/xf86-input-mouse-1.9.3/src --- mouse.lo --- mv -f .deps/mouse.Tpo .deps/mouse.Plo 1 error make[3]: stopped in /usr/ports/x11-drivers/xf86-input-mouse/work/xf86-input-mouse-1.9.3/src *** [all-recursive] Error code 1 make[2]: stopped in /usr/ports/x11-drivers/xf86-input-mouse/work/xf86-input-mouse-1.9.3 1 error make[2]: stopped in /usr/ports/x11-drivers/xf86-input-mouse/work/xf86-input-mouse-1.9.3 *** [all] Error code 2 make[1]: stopped in /usr/ports/x11-drivers/xf86-input-mouse/work/xf86-input-mouse-1.9.3 1 error make[1]: stopped in /usr/ports/x11-drivers/xf86-input-mouse/work/xf86-input-mouse-1.9.3 ===> 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/ports/x11-drivers/xf86-input-mouse ===>>> make build failed for x11-drivers/xf86-input-mouse ===>>> Aborting update
I believe the change that caused this has been reverted. Can you try to update to FreeBSD at least past r339668 or at least pull the changes from that revision and try again? Thank you! Regards Niclas
Ok, I'm try now and write results here!
I added back the constants that I was sure were unused after the first appearance of a problem. I'll do a full exp run after the release to sort that out. But for now, this should be fine. Try again after updating and let me know.
Yes, Niclas Zeising, on r339731 it builds fine. Thanks for point!