Date: Sat, 01 Jun 2024 13:37:49 -0700 From: Cy Schubert <Cy.Schubert@cschubert.com> To: freebsd-current@freebsd.org, Nuno Teixeira <eduardo@freebsd.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Re: mesa-dri-24.0.8 failing to build on d1bd097d52cb Message-ID: <CD256081-E22A-4369-BF1D-4DD5710EEDC9@cschubert.com> In-Reply-To: <CAFDf7ULOYK1gZTu_786ChXDWftA8oE_Wp-G34vXTb6gQ4m8%2Bog@mail.gmail.com> References: <CAFDf7U%2BEHCLYPyabrzptzs9F5Kqamro5PxzzpqVrBozYxS9iKw@mail.gmail.com> <CAFDf7ULOYK1gZTu_786ChXDWftA8oE_Wp-G34vXTb6gQ4m8%2Bog@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On June 1, 2024 1:35:29 AM PDT, Nuno Teixeira <eduardo@freebsd=2Eorg> wrote= : >(=2E=2E=2E) > >commit 108de784513d87bbe850e7b003a73e26b5b54caa >Author: Val Packett <val@packett=2Ecool> >Date: Fri May 31 08:45:02 2024 -0600 > > Redefine CLOCK_BOOTTIME to alias CLOCK_MONOTONIC, not CLOCK_UPTIME > >Nuno Teixeira <eduardo@freebsd=2Eorg> escreveu (s=C3=A1bado, 1/06/2024 = =C3=A0(s) 09:01): > >> Hello all, >> >> Anyone seeing this error on main? >> >> Thanks >> >> [ 28% 661/2246] cc -Isrc/intel/common/libintel_common=2Ea=2Ep >> -Isrc/intel/common -I=2E=2E/src/intel/common -Iinclude -I=2E=2E/include= -Isrc >> -I=2E=2E/src -Isrc/intel -I=2E=2E/src/intel -Isrc/intel/genxml -Isrc/in= tel/dev >> -I/usr/local/ >> include -I/usr/local/include/libdrm -fvisibility=3Dhidden >> -fdiagnostics-color=3Dnever -DNDEBUG -D_FILE_OFFSET_BITS=3D64 -Wall >> -Winvalid-pch -std=3Dc11 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACRO= S >> -D__STDC_LIMIT_MACROS >> '-DPACKAGE_VERSION=3D"24=2E0=2E8"' '-DPACKAGE_BUGREPORT=3D" >> https://gitlab=2Efreedesktop=2Eorg/mesa/mesa/-/issues"' -DHAVE_OPENGL= =3D1 >> -DHAVE_OPENGL_ES_1=3D1 -DHAVE_OPENGL_ES_2=3D1 -DHAVE_SWRAST -DHAVE_ZINK >> -DHAVE_R300 -DHAVE_R600 >> -DHAVE_RADEONSI -DHAVE_CROCUS -DHAVE_I915 -DHAVE_IRIS -DHAVE_SVGA >> -DUSE_VK_COMPILER=3D1 -DVIDEO_CODEC_VC1DEC=3D1 -DVIDEO_CODEC_H264DEC=3D= 1 >> -DVIDEO_CODEC_H264ENC=3D1 -DVIDEO_CODEC_H265DEC=3D1 -DVIDEO_CODEC_H265E= NC=3D1 >> -DVIDEO >> _CODEC_AV1DEC=3D1 -DVIDEO_CODEC_AV1ENC=3D1 -DVIDEO_CODEC_VP9DEC=3D1 >> -DHAVE_X11_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_SURFACELESS_PLATFORM >> -DHAVE_DRM_PLATFORM -DHAVE_XCB_PLATFORM -DENABLE_ST_OMX_BELLAGIO=3D0 >> -DENABLE_ST >> _OMX_TIZONIA=3D0 -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING >> -DGLX_USE_DRM -DGLAPI_EXPORT_PROTO_ENTRY_POINTS=3D0 -DALLOW_KCMP >> -DETIME=3DETIMEDOUT -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 >> -DHAVE___BUILTIN_BSWA >> P64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ >> -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL >> -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_= UNRE >> ACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST >> -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC >> -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED >> -DHAVE_FUNC_ATTRIBUTE_WAR >> N_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT >> -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL >> -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_= AT >> TRIBUTE_VISIBILITY -DHAVE_UINT128 -DHAVE_REALLOCARRAY -DHAVE_FMEMOPEN >> -D_GNU_SOURCE -DUSE_SSE41 -DHAVE___BUILTIN_IA32_CLFLUSHOPT >> -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DHAS_SCHED_H >> -DHAS_SCHED_GETAFFINITY -D >> HAVE_SYS_SYSCTL_H -DHAVE_XLOCALE_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H >> -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_PTHREAD_NP_H -DHAVE_STRTOF >> -DHAVE_MKOSTEMP -DHAVE_MEMFD_CREATE -DHAVE_FLOCK -DHAVE_STRTOK_R >> -DHAVE_GETRANDOM >> -DHAVE_QSORT_S -DHAVE_POSIX_FALLOCATE -DHAVE_SECURE_GETENV >> -DHAVE_GNU_QSORT_R -DHAVE_STRUCT_TIMESPEC -DHAVE_POSIX_MEMALIGN >> -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PH= DR >> -DSUPPORT_INTEL >> _INTEGRATED_GPUS -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRESSION -DHAVE_PTHR= EAD >> -DHAVE_LIBDRM '-DMESA_LLVM_VERSION_STRING=3D"15=2E0=2E7"' -DLLVM_IS_SHA= RED=3D1 >> -DLLVM_AVAILABLE=3D1 -DDRAW_LLVM_AVAILABLE=3D1 -DUSE_LIBELF -DWL_HIDE_ >> DEPRECATED -DHAVE_DRI -DHAVE_DRI2 -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS >> -DHAVE_DRISW_KMS -Werror=3Dimplicit-function-declaration >> -Werror=3Dmissing-prototypes -Werror=3Dreturn-type -Werror=3Dempty-body >> -Werror=3Dincompatible-po >> inter-types -Werror=3Dint-conversion -Wimplicit-fallthrough >> -Wmisleading-indentation -Wno-missing-field-initializers >> -Wno-format-truncation -fno-math-errno -fno-trapping-math >> -Qunused-arguments -fno-common -Wno-unk >> nown-pragmas -Wno-microsoft-enum-value -Wno-unused-function -Werror=3Df= ormat >> -Wformat-security -ffunction-sections -fdata-sections -Wno-unused-varia= ble >> -Wno-unused-but-set-variable -O2 -pipe -fstack-protector-stron >> g -fno-strict-aliasing -fPIC -pthread -Wno-override-init >> -Wno-initializer-overrides -MD -MQ >> src/intel/common/libintel_common=2Ea=2Ep/xe_intel_gem=2Ec=2Eo -MF >> src/intel/common/libintel_common=2Ea=2Ep/xe_intel_gem=2Ec=2Eo=2Ed -o sr= c >> /intel/common/libintel_common=2Ea=2Ep/xe_intel_gem=2Ec=2Eo -c >> =2E=2E/src/intel/common/xe/intel_gem=2Ec >> FAILED: src/intel/common/libintel_common=2Ea=2Ep/xe_intel_gem=2Ec=2Eo >> cc -Isrc/intel/common/libintel_common=2Ea=2Ep -Isrc/intel/common >> -I=2E=2E/src/intel/common -Iinclude -I=2E=2E/include -Isrc -I=2E=2E/src= -Isrc/intel >> -I=2E=2E/src/intel -Isrc/intel/genxml -Isrc/intel/dev -I/usr/local/incl= ude >> -I/usr/l >> ocal/include/libdrm -fvisibility=3Dhidden -fdiagnostics-color=3Dnever -= DNDEBUG >> -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -std=3Dc11 >> -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS >> '-DPACKAGE_VERS >> ION=3D"24=2E0=2E8"' '-DPACKAGE_BUGREPORT=3D" >> https://gitlab=2Efreedesktop=2Eorg/mesa/mesa/-/issues"' -DHAVE_OPENGL= =3D1 >> -DHAVE_OPENGL_ES_1=3D1 -DHAVE_OPENGL_ES_2=3D1 -DHAVE_SWRAST -DHAVE_ZINK >> -DHAVE_R300 -DHAVE_R600 -DHAVE_RADEONSI >> -DHAVE_CROCUS -DHAVE_I915 -DHAVE_IRIS -DHAVE_SVGA -DUSE_VK_COMPILER=3D1 >> -DVIDEO_CODEC_VC1DEC=3D1 -DVIDEO_CODEC_H264DEC=3D1 -DVIDEO_CODEC_H264EN= C=3D1 >> -DVIDEO_CODEC_H265DEC=3D1 -DVIDEO_CODEC_H265ENC=3D1 -DVIDEO_CODEC_AV1DE= C=3D1 >> -DVIDEO_CODEC_AV1ENC=3D1 -DVIDEO_CODEC_VP9DEC=3D1 -DHAVE_X11_PLATFORM >> -DHAVE_WAYLAND_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRM_PLATFORM >> -DHAVE_XCB_PLATFORM -DENABLE_ST_OMX_BELLAGIO=3D0 -DENABLE_ST_OMX_TIZONI= A=3D0 >> -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM >> -DGLAPI_EXPORT_PROTO_ENTRY_POINTS=3D0 -DALLOW_KCMP -DETIME=3DETIMEDOUT >> -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 >> -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ >> -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL >> -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL >> -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P >> -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN >> -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE >> -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT >> -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT >> -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL >> -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN >> -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -DHAVE_REALLOCARRAY >> -DHAVE_FMEMOPEN -D_GNU_SOURCE -DUSE_SSE41 -DHAVE___BUILTIN_IA32_CLFLUSH= OPT >> -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DHAS_SCHED_H >> -DHAS_SCHED_GETAFFINITY -DHAVE_SYS_SYSCTL_H -DHAVE_XLOCALE_H >> -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H >> -DHAVE_PTHREAD_NP_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_MEMFD_CREATE >> -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_S >> -DHAVE_POSIX_FALLOCATE -DHAVE_SECURE_GETENV -DHAVE_GNU_QSORT_R >> -DHAVE_STRUCT_TIMESPEC -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE >> -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR >> -DSUPPORT_INTEL_INTEGRATED_GPUS -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRESS= ION >> -DHAVE_PTHREAD -DHAVE_LIBDRM '-DMESA_LLVM_VERSION_STRING=3D"15=2E0=2E7"= ' >> -DLLVM_IS_SHARED=3D1 -DLLVM_AVAILABLE=3D1 -DDRAW_LLVM_AVAILABLE=3D1 -DU= SE_LIBELF >> -DWL_HIDE_DEPRECATED -DHAVE_DRI -DHAVE_DRI2 -DHAVE_DRI3 >> -DHAVE_DRI3_MODIFIERS -DHAVE_DRISW_KMS >> -Werror=3Dimplicit-function-declaration -Werror=3Dmissing-prototypes >> -Werror=3Dreturn-type -Werror=3Dempty-body -Werror=3Dincompatible-point= er-types >> -Werror=3Dint-conversion -Wimplicit-fallthrough -Wmisleading-indentatio= n >> -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno >> -fno-trapping-math -Qunused-arguments -fno-common -Wno-unknown-pragmas >> -Wno-microsoft-enum-value -Wno-unused-function -Werror=3Dformat >> -Wformat-security -ffunction-sections -fdata-sections -Wno-unused-varia= ble >> -Wno-unused-but-set-variable -O2 -pipe -fstack-protector-strong >> -fno-strict-aliasing -fPIC -pthread -Wno-override-init >> -Wno-initializer-overrides -MD -MQ >> src/intel/common/libintel_common=2Ea=2Ep/xe_intel_gem=2Ec=2Eo -MF >> src/intel/common/libintel_common=2Ea=2Ep/xe_intel_gem=2Ec=2Eo=2Ed -o >> src/intel/common/libintel_common=2Ea=2Ep/xe_intel_gem=2Ec=2Eo -c >> =2E=2E/src/intel/common/xe/intel_gem=2Ec >> =2E=2E/src/intel/common/xe/intel_gem=2Ec:72:9: error: duplicate case va= lue '4' >> 72 | case CLOCK_BOOTTIME: >> | ^ >> /usr/include/sys/_clock_id=2Eh:81:25: note: expanded from macro >> 'CLOCK_BOOTTIME' >> 81 | #define CLOCK_BOOTTIME CLOCK_MONOTONIC >> | ^ >> /usr/include/sys/_clock_id=2Eh:56:26: note: expanded from macro >> 'CLOCK_MONOTONIC' >> 56 | #define CLOCK_MONOTONIC 4 >> | ^ >> =2E=2E/src/intel/common/xe/intel_gem=2Ec:66:9: note: previous case defi= ned here >> 66 | case CLOCK_MONOTONIC: >> | ^ >> /usr/include/sys/_clock_id=2Eh:56:26: note: expanded from macro >> 'CLOCK_MONOTONIC' >> 56 | #define CLOCK_MONOTONIC 4 >> | ^ >> 1 error generated=2E >> >> -- >> Nuno Teixeira >> FreeBSD UNIX: <eduardo@FreeBSD=2Eorg> Web: https://FreeBSD=2Eorg >> > > I have a patch ready to go=2E I'll commit it tonight=2E --=20 Cheers, Cy Schubert <Cy=2ESchubert@cschubert=2Ecom> FreeBSD UNIX: <cy@FreeBSD=2Eorg> Web: https://FreeBSD=2Eorg NTP: <cy@nwtime=2Eorg> Web: https://nwtime=2Eorg e^(i*pi)+1=3D0 Pardon the typos=2E Small keyboard in use=2E
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CD256081-E22A-4369-BF1D-4DD5710EEDC9>