From nobody Sun Jun 02 16:13:04 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VshjJ4KVtz5N0qZ; Sun, 02 Jun 2024 16:13:08 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VshjH5Wnbz4FW5; Sun, 2 Jun 2024 16:13:07 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 3.97.99.32) smtp.mailfrom=cy.schubert@cschubert.com Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTPS id DkPGsTTAj2Ui5DnpSsFzfu; Sun, 02 Jun 2024 16:13:06 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPSA id DnpQs49ySWhyfDnpRsidIQ; Sun, 02 Jun 2024 16:13:06 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=MenPuI/f c=1 sm=1 tr=0 ts=665c9a12 a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=T1WGqf2p2xoA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=e5mUnYsNAAAA:8 a=O7qHVGSGo7f6EfCGfDcA:9 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 a=Vxmtnl_E_bksehYqCbjh:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 5AA09814; Sun, 02 Jun 2024 09:13:04 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 28F9C24D; Sun, 02 Jun 2024 09:13:04 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Nuno Teixeira cc: FreeBSD CURRENT , FreeBSD Mailing List Subject: Re: mesa-dri-24.0.8 failing to build on d1bd097d52cb In-reply-to: References: Comments: In-reply-to Nuno Teixeira message dated "Sat, 01 Jun 2024 09:35:29 +0100." List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 02 Jun 2024 09:13:04 -0700 Message-Id: <20240602161304.28F9C24D@slippy.cwsent.com> X-CMAE-Envelope: MS4xfI5NcpM0RmcRhEGznsdMzVYIf0jCGlNJPZ9bbsle06iOOsVP3apNANnf6O5dinDl5JLVwnLovowAdB7x87R3lshjAHXwHRNkBz49R2z/gQgkhBPzAKNX 6ZVaIYVT+fA0XH7QT3MlNChfmgEIKo71FlzBp9FdLbhgTO8ymo0UMYWGj8z6GYG3A+nCNYJnj1LBhR9TP717EOPPk+3qc0hmzwwfMNWgqEaEfMUhCGk0Cp25 mfxhQYKI2wD//jhjoxebOU6yDj8dzxCcKw/tXftd+W7UR4vqxBGEqI8dbMBxFC1W X-Spamd-Bar: - X-Spamd-Result: default: False [-1.89 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; MV_CASE(0.50)[]; RWL_MAILSPIKE_VERYGOOD(-0.20)[3.97.99.32:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[3.97.99.32:from]; REPLYTO_EQ_FROM(0.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org,freebsd-ports@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; DMARC_NA(0.00)[cschubert.com]; RCPT_COUNT_THREE(0.00)[3] X-Rspamd-Queue-Id: 4VshjH5Wnbz4FW5 I pushed commits to fix this, the wpa_supplicant*, and hostapd* ports last night. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 In message , Nuno Teixeira writes: > > (...) > > commit 108de784513d87bbe850e7b003a73e26b5b54caa > Author: Val Packett > Date: Fri May 31 08:45:02 2024 -0600 > > Redefine CLOCK_BOOTTIME to alias CLOCK_MONOTONIC, not CLOCK_UPTIME > > Nuno Teixeira 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.a.p > > -Isrc/intel/common -I../src/intel/common -Iinclude -I../include -Isrc > > -I../src -Isrc/intel -I../src/intel -Isrc/intel/genxml -Isrc/intel/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_MACROS > > -D__STDC_LIMIT_MACROS > > '-DPACKAGE_VERSION=3D"24.0.8"' '-DPACKAGE_BUGREPORT=3D" > > https://gitlab.freedesktop.org/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_H264ENC=3D1 -DVIDEO_CODEC_H265DEC=3D1 -DVIDEO_CODEC_H265ENC= > =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_UN= > RE > > 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_PHDR > > -DSUPPORT_INTEL > > _INTEGRATED_GPUS -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRESSION -DHAVE_PTHREA= > D > > -DHAVE_LIBDRM '-DMESA_LLVM_VERSION_STRING=3D"15.0.7"' -DLLVM_IS_SHARED=3D= > 1 > > -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=3Dfor= > mat > > -Wformat-security -ffunction-sections -fdata-sections -Wno-unused-variabl= > e > > -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.a.p/xe_intel_gem.c.o -MF > > src/intel/common/libintel_common.a.p/xe_intel_gem.c.o.d -o src > > /intel/common/libintel_common.a.p/xe_intel_gem.c.o -c > > ../src/intel/common/xe/intel_gem.c > > FAILED: src/intel/common/libintel_common.a.p/xe_intel_gem.c.o > > cc -Isrc/intel/common/libintel_common.a.p -Isrc/intel/common > > -I../src/intel/common -Iinclude -I../include -Isrc -I../src -Isrc/intel > > -I../src/intel -Isrc/intel/genxml -Isrc/intel/dev -I/usr/local/include > > -I/usr/l > > ocal/include/libdrm -fvisibility=3Dhidden -fdiagnostics-color=3Dnever -DN= > DEBUG > > -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.0.8"' '-DPACKAGE_BUGREPORT=3D" > > https://gitlab.freedesktop.org/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_H264ENC= > =3D1 > > -DVIDEO_CODEC_H265DEC=3D1 -DVIDEO_CODEC_H265ENC=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_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_CLFLUSHOP= > T > > -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_COMPRESSIO= > N > > -DHAVE_PTHREAD -DHAVE_LIBDRM '-DMESA_LLVM_VERSION_STRING=3D"15.0.7"' > > -DLLVM_IS_SHARED=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-pointer= > -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-unknown-pragmas > > -Wno-microsoft-enum-value -Wno-unused-function -Werror=3Dformat > > -Wformat-security -ffunction-sections -fdata-sections -Wno-unused-variabl= > e > > -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.a.p/xe_intel_gem.c.o -MF > > src/intel/common/libintel_common.a.p/xe_intel_gem.c.o.d -o > > src/intel/common/libintel_common.a.p/xe_intel_gem.c.o -c > > ../src/intel/common/xe/intel_gem.c > > ../src/intel/common/xe/intel_gem.c:72:9: error: duplicate case value '4' > > 72 | case CLOCK_BOOTTIME: > > | ^ > > /usr/include/sys/_clock_id.h:81:25: note: expanded from macro > > 'CLOCK_BOOTTIME' > > 81 | #define CLOCK_BOOTTIME CLOCK_MONOTONIC > > | ^ > > /usr/include/sys/_clock_id.h:56:26: note: expanded from macro > > 'CLOCK_MONOTONIC' > > 56 | #define CLOCK_MONOTONIC 4 > > | ^ > > ../src/intel/common/xe/intel_gem.c:66:9: note: previous case defined here > > 66 | case CLOCK_MONOTONIC: > > | ^ > > /usr/include/sys/_clock_id.h:56:26: note: expanded from macro > > 'CLOCK_MONOTONIC' > > 56 | #define CLOCK_MONOTONIC 4 > > | ^ > > 1 error generated. > > > > -- > > Nuno Teixeira > > FreeBSD UNIX: Web: https://FreeBSD.org > > > > > --=20 > Nuno Teixeira > FreeBSD UNIX: Web: https://FreeBSD.org