maintainer-feedback requested: [Bug 232678] x11-drivers/xf86-input-mouse: compile error on 13.0-CURRENT

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-x11 mailing list
<[email protected]> for maintainer-feedback:
Bug 232678: x11-drivers/xf86-input-mouse: compile error on 13.0-CURRENT
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232678



--- Description ---
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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.