Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2021 13:54:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 254979] x11/xorg build fails on a clean install with default use flags
Message-ID:  <bug-254979-7141-7Qm7NjWBAp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254979-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254979-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254979

--- Comment #3 from Mohammad S. Babaei <info@babaei.net> ---
After enabling X11 in make.conf, it won't give that error anymore. But, ins=
tead
I am getting this error now:

$ make install clean
=3D=3D=3D>  Staging for xorg-7.7_3
=3D=3D=3D>   xorg-7.7_3 depends on file: /usr/local/libdata/pkgconfig/dri.p=
c - found
=3D=3D=3D>   xorg-7.7_3 depends on file: /usr/local/libdata/pkgconfig/xbitm=
aps.pc -
found
=3D=3D=3D>   xorg-7.7_3 depends on file:
/usr/local/share/icons/handhelds/cursors/X_cursor - found
=3D=3D=3D>   xorg-7.7_3 depends on package: xorg-apps>0 - found
=3D=3D=3D>   xorg-7.7_3 depends on package: xorg-libraries>0 - found
=3D=3D=3D>   xorg-7.7_3 depends on package: xorg-fonts>0 - found
=3D=3D=3D>   xorg-7.7_3 depends on package: xorg-drivers>0 - not found
=3D=3D=3D>  Staging for xorg-drivers-7.7_6
=3D=3D=3D>   xorg-drivers-7.7_6 depends on file:
/usr/local/lib/xorg/modules/input/kbd_drv.so - found
=3D=3D=3D>   xorg-drivers-7.7_6 depends on file:
/usr/local/lib/xorg/modules/input/libinput_drv.so - found
=3D=3D=3D>   xorg-drivers-7.7_6 depends on file:
/usr/local/lib/xorg/modules/input/mouse_drv.so - not found
=3D=3D=3D>  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=3DCC    --mode=3Dcompile cc -DHAVE_CONFIG_H  -I. =
-I..=20
-I../include -I/usr/local/include/xorg -fvisibility=3Dhidden -I/usr/local/i=
nclude
-I/usr/local/include/pixman-1 -I/usr/local/include/X11/dri
-I/usr/local/include/libdrm   -Wall -Wpointer-arith -Wmissing-declarations
-Wformat=3D2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement
-Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attri=
bute
-Wredundant-decls -Werror=3Dimplicit -Werror=3Dnonnull -Werror=3Dinit-self
-Werror=3Dmain -Werror=3Dmissing-braces -Werror=3Dsequence-point -Werror=3D=
return-type
-Werror=3Dtrigraphs -Werror=3Darray-bounds -Werror=3Dwrite-strings -Werror=
=3Daddress
-Werror=3Dint-to-pointer-cast -Werror=3Dpointer-to-int-cast -fno-strict-ali=
asing
-O2 -pipe -march=3Dskylake-avx512  -Werror=3Duninitialized -fstack-protecto=
r-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=3Dhidden -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=3D2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement
-Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attri=
bute
-Wredundant-decls -Werror=3Dimplicit -Werror=3Dnonnull -Werror=3Dinit-self
-Werror=3Dmain -Werror=3Dmissing-braces -Werror=3Dsequence-point -Werror=3D=
return-type
-Werror=3Dtrigraphs -Werror=3Darray-bounds -Werror=3Dwrite-strings -Werror=
=3Daddress
-Werror=3Dint-to-pointer-cast -Werror=3Dpointer-to-int-cast -fno-strict-ali=
asing
-O2 -pipe -march=3Dskylake-avx512 -Werror=3Duninitialized -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
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes 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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254979-7141-7Qm7NjWBAp>