[Bug 254979] x11/xorg build fails on a clean install with default use flags
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254979 --- Comment #3 from Mohammad S. Babaei <[email protected]> --- After enabling X11 in make.conf, it won't give that error anymore. But, instead I am getting this error now: $ make install clean ===> Staging for xorg-7.7_3 ===> xorg-7.7_3 depends on file: /usr/local/libdata/pkgconfig/dri.pc - found ===> xorg-7.7_3 depends on file: /usr/local/libdata/pkgconfig/xbitmaps.pc - found ===> xorg-7.7_3 depends on file: /usr/local/share/icons/handhelds/cursors/X_cursor - found ===> xorg-7.7_3 depends on package: xorg-apps>0 - found ===> xorg-7.7_3 depends on package: xorg-libraries>0 - found ===> xorg-7.7_3 depends on package: xorg-fonts>0 - found ===> xorg-7.7_3 depends on package: xorg-drivers>0 - not found ===> Staging for xorg-drivers-7.7_6 ===> xorg-drivers-7.7_6 depends on file: /usr/local/lib/xorg/modules/input/kbd_drv.so - found ===> xorg-drivers-7.7_6 depends on file: /usr/local/lib/xorg/modules/input/libinput_drv.so - found ===> xorg-drivers-7.7_6 depends on file: /usr/local/lib/xorg/modules/input/mouse_drv.so - not found ===> Building for xf86-input-mouse-1.9.3_3 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in include Making all in src --- bsd_mouse.lo --- /bin/sh ../libtool --tag=CC --mode=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 -O2 -pipe -march=skylake-avx512 -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT bsd_mouse.lo -MD -MP -MF .deps/bsd_mouse.Tpo -c -o bsd_mouse.lo bsd_mouse.c 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 -O2 -pipe -march=skylake-avx512 -Werror=uninitialized -fstack-protector-strong -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 bsd_mouse.c:76:10: fatal error: 'usbhid.h' file not found #include <usbhid.h> ^~~~~~~~~~ 1 error generated. *** [bsd_mouse.lo] Error code 1 make[7]: stopped in /usr/ports/x11-drivers/xf86-input-mouse/work/xf86-input-mouse-1.9.3/src 1 error make[7]: stopped in /usr/ports/x11-drivers/xf86-input-mouse/work/xf86-input-mouse-1.9.3/src ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[4]: stopped in /usr/ports/x11-drivers/xf86-input-mouse *** Error code 1 Stop. make[3]: stopped in /usr/ports/x11-drivers/xorg-drivers *** Error code 1 Stop. make[2]: stopped in /usr/ports/x11-drivers/xorg-drivers *** Error code 1 Stop. make[1]: stopped in /usr/ports/x11/xorg *** Error code 1 Stop. make: stopped in /usr/ports/x11/xorg -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-x11 To unsubscribe, send any mail to "[email protected]"