#1128734 open-vm-tools: FTBFS with glibc 2.43 due to ISO C23 const return types

Package:
src:open-vm-tools
Source:
src:open-vm-tools
Submitter:
Aurelien Jarno
Date:
2026-08-27 06:35:01 UTC
Severity:
normal
Tags:
#1128734#5
Date:
2026-02-22 16:16:24 UTC
From:
To:
Dear maintainer(s),

open-vm-tools fails to build from source with glibc 2.43, currently in
experimental. From the build log:

| libtool: compile:  gcc -DPACKAGE_NAME=\"open-vm-tools\" -DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"13.0.10\" "-DPACKAGE_STRING=\"open-vm-tools 13.0.10\"" -DPACKAGE_BUGREPORT=\"open-vm-tools-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DPACKAGE=\"open-vm-tools\" -DVERSION=\"13.0.10\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FUSE3=1 -DFUSE_USE_VERSION=35 -DSIZEOF_SIZE_T=8 -DHAVE_X11_SM_SMLIB_H=1 -DHAVE_X11_ICE_ICELIB_H=1 -DHAVE_X11_EXTENSIONS_XCOMPOSITE_H=1 -DHAVE_DLOPEN=1 -DHAVE_ECVT=1 -DHAVE_FCVT=1 -DNO_DNET=1 -DHAVE_CRYPT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SYSINFO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_UNWIND_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -I. -I/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib/include -I/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -DUSE_VGAUTH -DNO_ICU -DVMX86_TOOLS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -DENABLE_RESOLUTIONKMS -fPIC -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-nonnull -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/open-vm-tools-13.0.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -c hgfsEscape.c  -fPIC -DPIC -o .libs/hgfsEscape.o
| hgfsEscape.c: In function 'HgfsAddEscapeCharacter':
| hgfsEscape.c:201:15: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
|   201 |       illegal = strchr(HGFS_ILLEGAL_CHARS, bufIn[escapeContext->processedOffset]);
|       |               ^
| hgfsEscape.c: In function 'HgfsIsEscapeSequence':
| hgfsEscape.c:586:21: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
|   586 |          substitute = strchr(HGFS_SUBSTITUTE_CHARS, bufIn[offset - 2]);
|       |                     ^
| hgfsEscape.c:591:18: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
|   591 |       substitute = strchr(HGFS_SUBSTITUTE_CHARS, bufIn[offset - 1]);
|       |                  ^
| hgfsEscape.c: In function 'HgfsEscapeUndoComponent':
| hgfsEscape.c:890:29: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
|   890 |          char* substitute = strchr(HGFS_SUBSTITUTE_CHARS, bufIn[offset - 1]);
|       |                             ^~~~~~
| libtool: compile:  gcc -DPACKAGE_NAME=\"open-vm-tools\" -DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"13.0.10\" "-DPACKAGE_STRING=\"open-vm-tools 13.0.10\"" -DPACKAGE_BUGREPORT=\"open-vm-tools-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DPACKAGE=\"open-vm-tools\" -DVERSION=\"13.0.10\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FUSE3=1 -DFUSE_USE_VERSION=35 -DSIZEOF_SIZE_T=8 -DHAVE_X11_SM_SMLIB_H=1 -DHAVE_X11_ICE_ICELIB_H=1 -DHAVE_X11_EXTENSIONS_XCOMPOSITE_H=1 -DHAVE_DLOPEN=1 -DHAVE_ECVT=1 -DHAVE_FCVT=1 -DNO_DNET=1 -DHAVE_CRYPT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SYSINFO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_UNWIND_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -I. -I/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib/include -I/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -DUSE_VGAUTH -DNO_ICU -DVMX86_TOOLS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -DENABLE_RESOLUTIONKMS -fPIC -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-nonnull -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/open-vm-tools-13.0.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -c hgfsUtil.c  -fPIC -DPIC -o hgfsUtil.o >/dev/null 2>&1
| libtool: compile:  gcc -DPACKAGE_NAME=\"open-vm-tools\" -DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"13.0.10\" "-DPACKAGE_STRING=\"open-vm-tools 13.0.10\"" -DPACKAGE_BUGREPORT=\"open-vm-tools-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DPACKAGE=\"open-vm-tools\" -DVERSION=\"13.0.10\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FUSE3=1 -DFUSE_USE_VERSION=35 -DSIZEOF_SIZE_T=8 -DHAVE_X11_SM_SMLIB_H=1 -DHAVE_X11_ICE_ICELIB_H=1 -DHAVE_X11_EXTENSIONS_XCOMPOSITE_H=1 -DHAVE_DLOPEN=1 -DHAVE_ECVT=1 -DHAVE_FCVT=1 -DNO_DNET=1 -DHAVE_CRYPT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SYSINFO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_UNWIND_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -I. -I/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib/include -I/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -DUSE_VGAUTH -DNO_ICU -DVMX86_TOOLS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -DENABLE_RESOLUTIONKMS -fPIC -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-nonnull -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/open-vm-tools-13.0.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -c cpNameLite.c  -fPIC -DPIC -o cpNameLite.o >/dev/null 2>&1
| libtool: compile:  gcc -DPACKAGE_NAME=\"open-vm-tools\" -DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"13.0.10\" "-DPACKAGE_STRING=\"open-vm-tools 13.0.10\"" -DPACKAGE_BUGREPORT=\"open-vm-tools-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DPACKAGE=\"open-vm-tools\" -DVERSION=\"13.0.10\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FUSE3=1 -DFUSE_USE_VERSION=35 -DSIZEOF_SIZE_T=8 -DHAVE_X11_SM_SMLIB_H=1 -DHAVE_X11_ICE_ICELIB_H=1 -DHAVE_X11_EXTENSIONS_XCOMPOSITE_H=1 -DHAVE_DLOPEN=1 -DHAVE_ECVT=1 -DHAVE_FCVT=1 -DNO_DNET=1 -DHAVE_CRYPT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SYSINFO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_UNWIND_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -I. -I/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib/include -I/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -DUSE_VGAUTH -DNO_ICU -DVMX86_TOOLS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -DENABLE_RESOLUTIONKMS -fPIC -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-nonnull -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/open-vm-tools-13.0.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -c cpNameUtilLinux.c  -fPIC -DPIC -o cpNameUtilLinux.o >/dev/null 2>&1
| libtool: compile:  gcc -DPACKAGE_NAME=\"open-vm-tools\" -DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"13.0.10\" "-DPACKAGE_STRING=\"open-vm-tools 13.0.10\"" -DPACKAGE_BUGREPORT=\"open-vm-tools-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DPACKAGE=\"open-vm-tools\" -DVERSION=\"13.0.10\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FUSE3=1 -DFUSE_USE_VERSION=35 -DSIZEOF_SIZE_T=8 -DHAVE_X11_SM_SMLIB_H=1 -DHAVE_X11_ICE_ICELIB_H=1 -DHAVE_X11_EXTENSIONS_XCOMPOSITE_H=1 -DHAVE_DLOPEN=1 -DHAVE_ECVT=1 -DHAVE_FCVT=1 -DNO_DNET=1 -DHAVE_CRYPT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SYSINFO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_UNWIND_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -I. -I/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib/include -I/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -DUSE_VGAUTH -DNO_ICU -DVMX86_TOOLS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -DENABLE_RESOLUTIONKMS -fPIC -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-nonnull -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/open-vm-tools-13.0.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -c cpNameLinux.c  -fPIC -DPIC -o cpNameLinux.o >/dev/null 2>&1
| libtool: compile:  gcc -DPACKAGE_NAME=\"open-vm-tools\" -DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"13.0.10\" "-DPACKAGE_STRING=\"open-vm-tools 13.0.10\"" -DPACKAGE_BUGREPORT=\"open-vm-tools-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DPACKAGE=\"open-vm-tools\" -DVERSION=\"13.0.10\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FUSE3=1 -DFUSE_USE_VERSION=35 -DSIZEOF_SIZE_T=8 -DHAVE_X11_SM_SMLIB_H=1 -DHAVE_X11_ICE_ICELIB_H=1 -DHAVE_X11_EXTENSIONS_XCOMPOSITE_H=1 -DHAVE_DLOPEN=1 -DHAVE_ECVT=1 -DHAVE_FCVT=1 -DNO_DNET=1 -DHAVE_CRYPT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SYSINFO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_UNWIND_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -I. -I/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib/include -I/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -DUSE_VGAUTH -DNO_ICU -DVMX86_TOOLS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -DENABLE_RESOLUTIONKMS -fPIC -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-nonnull -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/open-vm-tools-13.0.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -c cpNameUtil.c  -fPIC -DPIC -o cpNameUtil.o >/dev/null 2>&1
| libtool: compile:  gcc -DPACKAGE_NAME=\"open-vm-tools\" -DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"13.0.10\" "-DPACKAGE_STRING=\"open-vm-tools 13.0.10\"" -DPACKAGE_BUGREPORT=\"open-vm-tools-devel@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DPACKAGE=\"open-vm-tools\" -DVERSION=\"13.0.10\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FUSE3=1 -DFUSE_USE_VERSION=35 -DSIZEOF_SIZE_T=8 -DHAVE_X11_SM_SMLIB_H=1 -DHAVE_X11_ICE_ICELIB_H=1 -DHAVE_X11_EXTENSIONS_XCOMPOSITE_H=1 -DHAVE_DLOPEN=1 -DHAVE_ECVT=1 -DHAVE_FCVT=1 -DNO_DNET=1 -DHAVE_CRYPT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SYSINFO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_UNWIND_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -I. -I/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib/include -I/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -DUSE_VGAUTH -DNO_ICU -DVMX86_TOOLS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -DENABLE_RESOLUTIONKMS -fPIC -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-nonnull -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/open-vm-tools-13.0.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -c cpName.c  -fPIC -DPIC -o cpName.o >/dev/null 2>&1
| cc1: all warnings being treated as errors
| make[3]: *** [Makefile:535: hgfsEscape.lo] Error 1
| make[3]: *** Waiting for unfinished jobs....
| make[3]: Leaving directory '/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib/hgfs'
| make[2]: *** [Makefile:520: all-recursive] Error 1
| make[2]: Leaving directory '/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools/lib'
| make[1]: *** [Makefile:568: all-recursive] Error 1
| make[1]: Leaving directory '/build/reproducible-path/open-vm-tools-13.0.10/open-vm-tools'
| dh_auto_build: error: cd open-vm-tools && make -j128 returned exit code 2
| make: *** [debian/rules:13: binary] Error 25
| dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2

The full build log is available here [1].

The issue is due to ISO C23 declaration of bsearch, memchr, strchr,
strpbrk, strrchr, strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr,
which now returns a pointer to a const-qualified type when the input
argument is a pointer to a const-qualified type [2].

I would like to thanks Emanuele Rocca for doing the archive rebuild on
a fast arm64 server.

Regards
Aurelien

[1] https://people.debian.org/~ema/glibc-2.43-rebuilds/output-1/open-vm-tools_arm64.build
[2] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=e271fb2e4d76903c77a302aaec1ca22ce31027d0;hb=f762ccf84f122d1354f103a151cba8bde797d521#l19

#1128734#10
Date:
2026-06-01 20:32:16 UTC
From:
To:
control: tag -1 + patch

Hi,
https://github.com/vmware/open-vm-tools/pull/783

Regards
Aurelien

#1128734#19
Date:
2026-08-10 12:44:53 UTC
From:
To:
control: severity 1127629 serious
control: severity 1128547 serious
control: severity 1128734 serious
control: severity 1128740 serious
control: severity 1128528 serious
control: severity 1128532 serious
control: severity 1128534 serious
control: severity 1128541 serious
control: severity 1128544 serious
control: severity 1128545 serious
control: severity 1128548 serious
control: severity 1128549 serious
control: severity 1128551 serious
control: severity 1128615 serious
control: severity 1128678 serious
control: severity 1128680 serious
control: severity 1128681 serious
control: severity 1128697 serious
control: severity 1128736 serious
control: severity 1128737 serious
control: severity 1128738 serious
control: severity 1128741 serious
control: severity 1128742 serious
control: severity 1128743 serious
control: severity 1128750 serious
control: severity 1128757 serious
control: severity 1128761 serious
control: severity 1128763 serious
control: severity 1128764 serious
control: severity 1128875 serious
control: severity 1128952 serious
control: severity 1128542 serious
control: severity 1128679 serious
control: severity 1128682 serious
control: severity 1128744 serious
control: severity 1128748 serious
control: severity 1128867 serious

Hi,

With the upload of glibc 2.43 to unstable, the packages now FTBFS in
unstable, hence upgrading the severity to serious.

Note that as a quick workaround, it is possible to roll back to C/C++17
standard using -std=c17, -std=gnu17, std=c++17 or std=gnu++17. This was
the default up to GCC 14, and GCC 15 changed it to C/C23.

Regards
Aurelien

#1128734#24
Date:
2026-08-27 05:59:31 UTC
From:
To:
Applying this exposes the following problem, maybe introduced by the
new glib2.0?

In file included from /usr/include/glib-2.0/glib/glist.h:34,
                 from /usr/include/glib-2.0/glib/ghash.h:36,
                 from /usr/include/glib-2.0/glib.h:52,
                 from ../lib/rpcChannel/glib_stubs.c:28:
/usr/include/glib-2.0/glib/gmem.h:172:27: error: expected declaration specifiers or '...' before '(' token
  172 |   (__builtin_object_size ((mem), 0) != ((size_t) - 1)) ?                       \
      |                           ^
../lib/rpcChannel/glib_stubs.c:38:6: note: in expansion of macro 'g_free'
   38 | void g_free(void *p) { free(p); }
      |      ^~~~~~
/usr/include/glib-2.0/glib/gmem.h:172:34: error: expected declaration specifiers or '...' before numeric constant
  172 |   (__builtin_object_size ((mem), 0) != ((size_t) - 1)) ?                       \
      |                                  ^
../lib/rpcChannel/glib_stubs.c:38:6: note: in expansion of macro 'g_free'
   38 | void g_free(void *p) { free(p); }
      |      ^~~~~~
/usr/include/glib-2.0/glib/gmem.h:172:37: error: expected ')' before '!=' token
  172 |   (__builtin_object_size ((mem), 0) != ((size_t) - 1)) ?                       \
      |                                     ^~
../lib/rpcChannel/glib_stubs.c:38:6: note: in expansion of macro 'g_free'
   38 | void g_free(void *p) { free(p); }
      |      ^~~~~~

Best,
Chris

#1128734#29
Date:
2026-08-27 06:23:39 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for open-vm-tools (versioned as 2:13.0.10-1.1) and
uploaded it immediately.

Best,
Chris

#1128734#36
Date:
2026-08-27 06:33:58 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
open-vm-tools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1128734@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Hofstaedtler <zeha@debian.org> (supplier of updated open-vm-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 27 Aug 2026 07:46:22 +0200
Source: open-vm-tools
Architecture: source
Version: 2:13.0.10-1.1
Distribution: unstable
Urgency: medium
Maintainer: Bernd Zeimetz <bzed@debian.org>
Changed-By: Chris Hofstaedtler <zeha@debian.org>
Closes: 1128734
Changes:
 open-vm-tools (2:13.0.10-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix C23 const initialization discard (Closes: #1128734)
   * Workaround mismatching g_free symbol definition
Checksums-Sha1:
 61f712c85d2570a1ea4d6291462a5be37485ed83 2964 open-vm-tools_13.0.10-1.1.dsc
 739b9838ed7ce2ab0ae80ea9d69c0f8fca126064 37552 open-vm-tools_13.0.10-1.1.debian.tar.xz
 3096b0e160aa93f6e5bcd8665c5f549b879a7428 39453 open-vm-tools_13.0.10-1.1_arm64.buildinfo
Checksums-Sha256:
 b653c88742afd32812f8d2827cffd6de99001d3276af8918a81afe3eaaf259a1 2964 open-vm-tools_13.0.10-1.1.dsc
 1e72892c43ebd207b397787dbab6730af96cd418780f5450974c3200676fa711 37552 open-vm-tools_13.0.10-1.1.debian.tar.xz
 ebfd2539da2b6369de2e316367d0310f091ce16bb285a4b47e26253394aef325 39453 open-vm-tools_13.0.10-1.1_arm64.buildinfo
Files:
 3ae1ea949f821db2ce3ee16b29fb44dd 2964 admin optional open-vm-tools_13.0.10-1.1.dsc
 bedb8c18346e8fc74e8897ee0ab46291 37552 admin optional open-vm-tools_13.0.10-1.1.debian.tar.xz
 01abe40d593ee4126f0a38f108dbd794 39453 admin optional open-vm-tools_13.0.10-1.1_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmqP1/0ACgkQXBPW25MF
LgOglA/5AaOurt3pSfZg9NLMoMiRUA5qBgk8cyYLTc9cM0m0uNLABrNWmCHxW8/Z
8D0M+sYNgLq8C9mzPcxkru83tcdoDMxzTcfat2b7D2XuAkjsTzUo0HgwD/IXpypt
TmDIChnxoMKOIBbNwd/fpf1jUhl2Z/M9Mzxf9BKTKwiUNUwRHVMhe+YqmzbX60yh
D4Q/bWc3S915xflqtrYQxS0oqtp4waFuHbT4HKtDvSZr+kh7ieoIG1BGKpKcPt13
VsGzfyZLNir7V7Yx8ftz+ta27Xy60r1Co6qmoDPllxNBRGxFLXOqgvxW6b0oW5Ac
ztHL280r4AmceIfar//S8flo5o9JjHvhv54TKyNewbkKtR8WBkC81nTxaH/hbGpc
4YbbjMoRR+VvA4NJhYHA+DHokM7Mt97UKeR0F5oj3WGaljFYejihIEMeKuQRGKQu
CTMSHEt0Ad/gF085ZN+erTyWrnQpRyZ8s3dW0EmoGcBzawaU9vdgREgdy9RvUCCQ
eNl8oRhBGLF85EM3PsROs37OSMx/g9LtQ99cpxpgwjMfCFDFNJcUQNlPSuDDNvN4
cPWIvZI4AOAC8XPGONOLsj/WKx6s7Am3qsA5VfGYN4PwCQ/ITGvenfkIp6oV3xXB
WK71wysN51z955rIxM4rHMWMySOq8cMdlxqgVJSGpniXc9dZVzQ=
=XX1y
-----END PGP SIGNATURE-----