[MacPorts] #71649: xorg-server-legacy fails to build with mesa @24.3.2: error: redefinition of typedef 'GLsync'
MacPorts
noreply at macports.org
Thu Dec 26 19:15:30 UTC 2024
#71649: xorg-server-legacy fails to build with mesa @24.3.2: error: redefinition of
typedef 'GLsync'
--------------------------+--------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: xorg-server-legacy, mesa
--------------------------+--------------------------------------
{{{
libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.
-I../include -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus
-I../hw/xfree86/common -I../hw/xfree86/dri -I../hw/xfree86/dri2 -I../mi
-I../present -isystem/opt/local/include/LegacySupport -I/opt/local/include
-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=write-strings -Werror=address
-Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-
aliasing -fno-strict-aliasing -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -I/opt/local/include/pixman-1
-I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I../include
-I../include -I../Xext -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 -pipe -Os -arch ppc -D_THREAD_SAFE -pthread
-DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA -MT glxdriswrast.lo
-MD -MP -MF .deps/glxdriswrast.Tpo -c glxdriswrast.c -fno-common -DPIC -o
.libs/glxdriswrast.o
In file included from glxdriswrast.c:39:
/opt/local/include/GL/internal/dri_interface.h:445: error: redefinition of
typedef 'GLsync'
/opt/local/include/GL/glext.h:1367: error: previous declaration of
'GLsync' was here
depbase=`echo glxdricommon.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2
-std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support
-I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri
-I../hw/xfree86/dri2 -I../mi -I../present
-isystem/opt/local/include/LegacySupport -I/opt/local/include
-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=write-strings -Werror=address
-Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-
aliasing -fno-strict-aliasing -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -I/opt/local/include/pixman-1
-I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I../include
-I../include -I../Xext -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 -pipe -Os -arch ppc
-D_THREAD_SAFE -pthread -DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA
-DNO_ALLOCA -MT glxdricommon.lo -MD -MP -MF $depbase.Tpo -c -o
glxdricommon.lo glxdricommon.c &&\
mv -f $depbase.Tpo $depbase.Plo
make[1]: *** [glxdriswrast.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.
-I../include -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus
-I../hw/xfree86/common -I../hw/xfree86/dri -I../hw/xfree86/dri2 -I../mi
-I../present -isystem/opt/local/include/LegacySupport -I/opt/local/include
-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=write-strings -Werror=address
-Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-
aliasing -fno-strict-aliasing -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -I/opt/local/include/pixman-1
-I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I../include
-I../include -I../Xext -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 -pipe -Os -arch ppc -D_THREAD_SAFE -pthread
-DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA -MT glxdricommon.lo
-MD -MP -MF .deps/glxdricommon.Tpo -c glxdricommon.c -fno-common -DPIC -o
.libs/glxdricommon.o
In file included from glxdricommon.c:36:
/opt/local/include/GL/internal/dri_interface.h:445: error: redefinition of
typedef 'GLsync'
/opt/local/include/GL/glext.h:1367: error: previous declaration of
'GLsync' was here
make[1]: *** [glxdricommon.lo] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_x11_xorg-server-legacy/xorg-server-legacy/work
/xorg-server-16f52e51a203bdb90de5d94478aa9bca4e9c2e67/glx'
make: *** [all-recursive] Error 1
make: Leaving directory `/opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_x11_xorg-server-legacy/xorg-server-legacy/work
/xorg-server-16f52e51a203bdb90de5d94478aa9bca4e9c2e67'
Command failed: cd "/opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_x11_xorg-server-legacy/xorg-server-legacy/work
/xorg-server-16f52e51a203bdb90de5d94478aa9bca4e9c2e67" && /usr/bin/make
-j6 -w all V=1
Exit code: 2
Error: Failed to build xorg-server-legacy: command execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71649>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list