From owner-freebsd-x11@freebsd.org Sun Jul 2 14:22:02 2017 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68289DA6BD5 for ; Sun, 2 Jul 2017 14:22:02 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 44B8668B35 for ; Sun, 2 Jul 2017 14:22:02 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: by mailman.ysv.freebsd.org (Postfix) id 4095CDA6BD4; Sun, 2 Jul 2017 14:22:02 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3FF9FDA6BD3 for ; Sun, 2 Jul 2017 14:22:02 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 034E868B33 for ; Sun, 2 Jul 2017 14:22:01 +0000 (UTC) (envelope-from mi@aldan.algebra.com) X_CMAE_Category: , , X-CNFS-Analysis: v=2.2 cv=F/IVTepN c=1 sm=1 tr=0 a=lGUdY1O6J9NpztYPi32J9g==:117 a=lGUdY1O6J9NpztYPi32J9g==:17 a=G3gG6ho9WtcA:10 a=FlPMdF3oxc8lqJ6p6j0A:9 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: YW5hdEByY24uY29t Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.mail=mi@aldan.algebra.com; spf=neutral; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com header.from=mi@aldan.algebra.com; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com x-tls.subject="/C=US/ST=NJ/L=Westfield/O=United Wallabies/OU=Consolidated Wombats/CN=narawntapu.narawntapu/emailAddress=mi+narawntapu-cert@aldan.algebra.com"; auth=fail (cipher=DHE-RSA-AES256-GCM-SHA384) Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.user=anat; auth=pass (LOGIN) Received-SPF: neutral (smtp01.rcn.cmh.synacor.com: 108.53.87.28 is neither permitted nor denied by domain of aldan.algebra.com) Received: from [108.53.87.28] ([108.53.87.28:60285] helo=narawntapu.narawntapu) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.23.54417 r(Core:3.6.23.0)) with ESMTPSA (cipher=DHE-RSA-AES256-GCM-SHA384 subject="/C=US/ST=NJ/L=Westfield/O=United Wallabies/OU=Consolidated Wombats/CN=narawntapu.narawntapu/emailAddress=mi+narawntapu-cert@aldan.algebra.com") id 4F/81-26624-28109595; Sun, 02 Jul 2017 10:21:54 -0400 Received: from narawntapu.narawntapu (localhost [127.0.0.1]) by narawntapu.narawntapu (8.15.2/8.15.2) with ESMTPS id v62ELqnF001890 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 2 Jul 2017 10:21:52 -0400 (EDT) (envelope-from mi@narawntapu.narawntapu) Received: (from mi@localhost) by narawntapu.narawntapu (8.15.2/8.15.2/Submit) id v62ELqcs001889 for x11@FreeBSD.org; Sun, 2 Jul 2017 10:21:52 -0400 (EDT) (envelope-from mi) Date: Sun, 2 Jul 2017 10:21:52 -0400 (EDT) From: "Mikhail T." Message-Id: <201707021421.v62ELqcs001889@narawntapu.narawntapu> To: x11@FreeBSD.org Subject: xorg-server buildfailures because of epoxy X-Spam-Status: No, score=-2.9 required=6.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on narawntapu.narawntapu X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2017 14:22:02 -0000 Hello! First, the EGL-option in libepoxy/ is currently required -- without it, the compiler building xorg-server fails to find the egl.h. Second, with the option enabled (and libepoxy reinstalled), I still get the following error trying to build xorg-server. Yours, -mi ===> Building for xorg-server-1.18.4_1,1 ... Making all in glamor_egl gmake[6]: Entering directory '/home/ports/x11-servers/xorg-server/work/xorg-server-1.18.4/hw/xfree86/glamor_egl' libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../../include -I../../../hw/xfree86 -I../../../hw/xfree86/include -I../../../hw/xfree86/common -I../../../hw/xfree86/os-support -I../../../hw/xfree86/os-support/bus -I../../../os -I../../../dri3 -I../../../glamor -DHAVE_DIX_CONFIG_H -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 -fno-strict-aliasing -I/opt/include -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/opt/include/pixman-1 -I/opt/include/X11/dri -I/opt/include/libdrm -D_THREAD_SAFE -pthread -I/opt/include/freetype2 -I/opt/include/libpng16 -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/sync -I../../../miext/shadow -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -I../../../dbe -I../../../present -fvisibility=hidden -DHAVE_XORG_CONFIG_H -fvisibility=hidden -I/opt/include -I/opt/include -I/opt/include/libdrm -I/opt/include -I/opt/include -I/opt/include -O2 -pipe -march=core2 -fstack-protector -fno-strict-aliasing -MT glamor_egl.lo -MD -MP -MF .deps/glamor_egl.Tpo -c ../../../glamor/glamor_egl.c -fPIC -DPIC -o .libs/glamor_egl.o ../../../glamor/glamor_egl.c:103:41: error: implicit declaration of function 'EGL_CAST' is invalid in C99 [-Werror,-Wimplicit-function-declaration] eglMakeCurrent(glamor_ctx->display, EGL_NO_SURFACE, ^ /opt/include/epoxy/egl_generated.h:691:62: note: expanded from macro 'EGL_NO_SURFACE' #define EGL_NO_SURFACE EGL_CAST(EGLSurface,0) ^ ../../../glamor/glamor_egl.c:103:41: error: unexpected type name 'EGLSurface': expected expression /opt/include/epoxy/egl_generated.h:691:71: note: expanded from macro 'EGL_NO_SURFACE' #define EGL_NO_SURFACE EGL_CAST(EGLSurface,0) ^ ../../../glamor/glamor_egl.c:107:25: error: unexpected type name 'EGLSurface': expected expression EGL_NO_SURFACE, EGL_NO_SURFACE, ^ /opt/include/epoxy/egl_generated.h:691:71: note: expanded from macro 'EGL_NO_SURFACE' #define EGL_NO_SURFACE EGL_CAST(EGLSurface,0) ^ ../../../glamor/glamor_egl.c:133:16: error: unexpected type name 'EGLImageKHR': expected expression return EGL_NO_IMAGE_KHR; ^ /opt/include/epoxy/egl_generated.h:685:71: note: expanded from macro 'EGL_NO_IMAGE_KHR' #define EGL_NO_IMAGE_KHR EGL_CAST(EGLImageKHR,0) ^ ../../../glamor/glamor_egl.c:139:18: error: unexpected type name 'EGLImageKHR': expected expression if (image == EGL_NO_IMAGE_KHR) ^ /opt/include/epoxy/egl_generated.h:685:71: note: expanded from macro 'EGL_NO_IMAGE_KHR' #define EGL_NO_IMAGE_KHR EGL_CAST(EGLImageKHR,0) ^ ../../../glamor/glamor_egl.c:140:16: error: unexpected type name 'EGLImageKHR': expected expression return EGL_NO_IMAGE_KHR; ^ /opt/include/epoxy/egl_generated.h:685:71: note: expanded from macro 'EGL_NO_IMAGE_KHR' #define EGL_NO_IMAGE_KHR EGL_CAST(EGLImageKHR,0) ^ ../../../glamor/glamor_egl.c:217:31: error: unexpected type name 'EGLContext': expected expression EGL_NO_CONTEXT, ^ /opt/include/epoxy/egl_generated.h:681:71: note: expanded from macro 'EGL_NO_CONTEXT' #define EGL_NO_CONTEXT EGL_CAST(EGLContext,0) ^ ../../../glamor/glamor_egl.c:221:18: error: unexpected type name 'EGLImageKHR': expected expression if (image == EGL_NO_IMAGE_KHR) ^ /opt/include/epoxy/egl_generated.h:685:71: note: expanded from macro 'EGL_NO_IMAGE_KHR' #define EGL_NO_IMAGE_KHR EGL_CAST(EGLImageKHR,0) ^ ../../../glamor/glamor_egl.c:322:18: error: unexpected type name 'EGLImageKHR': expected expression if (image == EGL_NO_IMAGE_KHR) { ^ /opt/include/epoxy/egl_generated.h:685:71: note: expanded from macro 'EGL_NO_IMAGE_KHR' #define EGL_NO_IMAGE_KHR EGL_CAST(EGLImageKHR,0) ^ ../../../glamor/glamor_egl.c:355:18: error: unexpected type name 'EGLImageKHR': expected expression if (image == EGL_NO_IMAGE_KHR) { ^ /opt/include/epoxy/egl_generated.h:685:71: note: expanded from macro 'EGL_NO_IMAGE_KHR' #define EGL_NO_IMAGE_KHR EGL_CAST(EGLImageKHR,0) ^ ../../../glamor/glamor_egl.c:756:32: error: unexpected type name 'EGLDisplay': expected expression if (glamor_egl->display != EGL_NO_DISPLAY) { ^ /opt/include/epoxy/egl_generated.h:683:71: note: expanded from macro 'EGL_NO_DISPLAY' #define EGL_NO_DISPLAY EGL_CAST(EGLDisplay,0) ^ ../../../glamor/glamor_egl.c:758:24: error: unexpected type name 'EGLSurface': expected expression EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); ^ /opt/include/epoxy/egl_generated.h:691:71: note: expanded from macro 'EGL_NO_SURFACE' #define EGL_NO_SURFACE EGL_CAST(EGLSurface,0) ^ ../../../glamor/glamor_egl.c:829:31: error: unexpected type name 'EGLDisplay': expected expression glamor_egl->display = EGL_NO_DISPLAY; ^ /opt/include/epoxy/egl_generated.h:683:71: note: expanded from macro 'EGL_NO_DISPLAY' #define EGL_NO_DISPLAY EGL_CAST(EGLDisplay,0) ^ ../../../glamor/glamor_egl.c:866:50: error: unexpected type name 'EGLContext': expected expression NULL, EGL_NO_CONTEXT, ^ /opt/include/epoxy/egl_generated.h:681:71: note: expanded from macro 'EGL_NO_CONTEXT' #define EGL_NO_CONTEXT EGL_CAST(EGLContext,0) ^ ../../../glamor/glamor_egl.c:873:54: error: unexpected type name 'EGLContext': expected expression NULL, EGL_NO_CONTEXT, ^ /opt/include/epoxy/egl_generated.h:681:71: note: expanded from macro 'EGL_NO_CONTEXT' #define EGL_NO_CONTEXT EGL_CAST(EGLContext,0) ^ ../../../glamor/glamor_egl.c:875:36: error: unexpected type name 'EGLContext': expected expression if (glamor_egl->context == EGL_NO_CONTEXT) { ^ /opt/include/epoxy/egl_generated.h:681:71: note: expanded from macro 'EGL_NO_CONTEXT' #define EGL_NO_CONTEXT EGL_CAST(EGLContext,0) ^ ../../../glamor/glamor_egl.c:882:25: error: unexpected type name 'EGLSurface': expected expression EGL_NO_SURFACE, EGL_NO_SURFACE, glamor_egl->context)) { ^ /opt/include/epoxy/egl_generated.h:691:71: note: expanded from macro 'EGL_NO_SURFACE' #define EGL_NO_SURFACE EGL_CAST(EGLSurface,0) ^ 17 errors generated. gmake[6]: *** [Makefile:708: glamor_egl.lo] Error 1 gmake[6]: Leaving directory '/home/ports/x11-servers/xorg-server/work/xorg-server-1.18.4/hw/xfree86/glamor_egl' gmake[5]: *** [Makefile:846: all-recursive] Error 1 gmake[5]: Leaving directory '/home/ports/x11-servers/xorg-server/work/xorg-server-1.18.4/hw/xfree86' gmake[4]: *** [Makefile:661: all] Error 2 gmake[4]: Leaving directory '/home/ports/x11-servers/xorg-server/work/xorg-server-1.18.4/hw/xfree86' gmake[3]: *** [Makefile:603: all-recursive] Error 1 gmake[3]: Leaving directory '/home/ports/x11-servers/xorg-server/work/xorg-server-1.18.4/hw' gmake[2]: *** [Makefile:771: all-recursive] Error 1 gmake[2]: Leaving directory '/home/ports/x11-servers/xorg-server/work/xorg-server-1.18.4' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /home/ports/x11-servers/xorg-server *** Error code 1 Stop. make: stopped in /home/ports/x11-servers/xorg-server