Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package open-vm-tools for openSUSE:Factory checked in at 2026-04-28 14:30:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/open-vm-tools (Old) and /work/SRC/openSUSE:Factory/.open-vm-tools.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "open-vm-tools" Tue Apr 28 14:30:28 2026 rev:137 rq:1349634 version:13.0.10 Changes: -------- --- /work/SRC/openSUSE:Factory/open-vm-tools/open-vm-tools.changes 2026-01-30 18:20:45.461683512 +0100 +++ /work/SRC/openSUSE:Factory/.open-vm-tools.new.11940/open-vm-tools.changes 2026-04-28 14:31:11.668491088 +0200 @@ -1,0 +2,7 @@ +Mon Apr 27 12:03:07 UTC 2026 - Josef Melcr <[email protected]> + +- Fix build with glibc 2.43 (boo#1257312) ++ Add patch: + - glibc243.patch + +------------------------------------------------------------------- New: ---- glibc243.patch ----------(New B)---------- New:+ Add patch: - glibc243.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ open-vm-tools.spec ++++++ --- /var/tmp/diff_new_pack.YU45mt/_old 2026-04-28 14:31:14.756617911 +0200 +++ /var/tmp/diff_new_pack.YU45mt/_new 2026-04-28 14:31:14.772618568 +0200 @@ -1,7 +1,6 @@ # # spec file for package open-vm-tools # -# Copyright (c) 2026 SUSE LLC # Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands. # @@ -164,6 +163,7 @@ #SUSE specific patches Patch0: pam-vmtoolsd.patch Patch1: detect-suse-location.patch +Patch2: glibc243.patch %if 0%{?suse_version} >= 1500 %systemd_ordering @@ -266,6 +266,7 @@ #SUSE specific patches %patch -P 0 -p2 %patch -P 1 -p2 +%patch -P 2 -p2 %build autoreconf -fi ++++++ glibc243.patch ++++++ diff --git a/open-vm-tools/lib/hgfs/hgfsEscape.c b/open-vm-tools/lib/hgfs/hgfsEscape.c index c4d39b12d..212ea1c79 100644 --- a/open-vm-tools/lib/hgfs/hgfsEscape.c +++ b/open-vm-tools/lib/hgfs/hgfsEscape.c @@ -175,7 +175,7 @@ HgfsAddEscapeCharacter(char const * bufIn, // IN: input name HgfsEscapeContext *escapeContext = (HgfsEscapeContext *)context; uint32 charactersToCopy; uint32 outputSpace; - char* illegal; + const char* illegal; Bool result = TRUE; ASSERT(offset >= escapeContext->processedOffset); // Scanning forward @@ -573,7 +573,7 @@ HgfsIsEscapeSequence(char const *bufIn, // IN: input name uint32 length) // IN: length of the name in characters { if (bufIn[offset] == HGFS_ESCAPE_CHAR && offset > 0) { - char *substitute; + const char *substitute; if (bufIn[offset - 1] == HGFS_ESCAPE_SUBSTITUE_CHAR && offset > 1) { /* * Possibly a valid sequence, check it must be preceded with a substitute @@ -887,7 +887,7 @@ HgfsEscapeUndoComponent(char *bufIn, // IN: Characters to be unesc size_t offset = escapePointer - bufIn; if (HgfsIsEscapeSequence(bufIn, offset, sizeIn)) { - char* substitute = strchr(HGFS_SUBSTITUTE_CHARS, bufIn[offset - 1]); + const char* substitute = strchr(HGFS_SUBSTITUTE_CHARS, bufIn[offset - 1]); if (substitute != NULL) { bufIn[offset - 1] = HGFS_ILLEGAL_CHARS[substitute - HGFS_SUBSTITUTE_CHARS]; } else if (bufIn[offset - 1] == HGFS_ESCAPE_SUBSTITUE_CHAR) { diff --git a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c index 4a0bc9378..fd1db4a29 100644 --- a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c +++ b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c @@ -1364,7 +1364,7 @@ static void HgfsGetHiddenAttr(char const *fileName, // IN: Input filename HgfsFileAttrInfo *attr) // OUT: Struct to copy into { - char *baseName; + const char *baseName; ASSERT(fileName); ASSERT(attr); diff --git a/open-vm-tools/lib/misc/strutil.c b/open-vm-tools/lib/misc/strutil.c index 4fc6502e4..4be63b7b8 100644 --- a/open-vm-tools/lib/misc/strutil.c +++ b/open-vm-tools/lib/misc/strutil.c @@ -1454,6 +1454,7 @@ StrUtil_ReplaceAll(const char *orig, // IN char *result; const char *current; char *tmp; + const char *tmp2; size_t lenWhat; size_t lenWith; size_t occurrences = 0; @@ -1467,8 +1468,8 @@ StrUtil_ReplaceAll(const char *orig, // IN lenWith = strlen(with); current = orig; - while ((tmp = strstr(current, what)) != NULL) { - current = tmp + lenWhat; + while ((tmp2 = strstr(current, what)) != NULL) { + current = tmp2 + lenWhat; ++occurrences; } @@ -1695,7 +1696,7 @@ StrUtilHasListItem(char const *list, // IN: char const *item, // IN: int (*ncmp)(char const *, char const*, size_t)) // IN: { - char *foundDelim; + const char *foundDelim; int itemLen = strlen(item); if (list == NULL) { diff --git a/open-vm-tools/lib/nicInfo/nicInfoPosix.c b/open-vm-tools/lib/nicInfo/nicInfoPosix.c index 0135e6a09..922b4efe2 100644 --- a/open-vm-tools/lib/nicInfo/nicInfoPosix.c +++ b/open-vm-tools/lib/nicInfo/nicInfoPosix.c @@ -263,7 +263,7 @@ static Bool IpEntryMatchesDevice(const char *devName, const char *label) { - char *p; + const char *p; size_t n; if ((p = strchr(label, ':')) != NULL) { diff --git a/open-vm-tools/libvmtools/i18n.c b/open-vm-tools/libvmtools/i18n.c index 3085f72d7..f61406d14 100644 --- a/open-vm-tools/libvmtools/i18n.c +++ b/open-vm-tools/libvmtools/i18n.c @@ -698,7 +698,7 @@ VMTools_BindTextDomain(const char *domain, * If we couldn't find the catalog file for the user's language, see if * we can find a more generic language (e.g., for "en_US", also try "en"). */ - char *sep = Str_Strrchr(lang, '_'); + const char *sep = Str_Strrchr(lang, '_'); if (sep != NULL) { if (usrlang == NULL) { usrlang = Util_SafeStrdup(lang); diff --git a/open-vm-tools/services/plugins/vix/vixTools.c b/open-vm-tools/services/plugins/vix/vixTools.c index 654512c5e..5c79ca12a 100644 --- a/open-vm-tools/services/plugins/vix/vixTools.c +++ b/open-vm-tools/services/plugins/vix/vixTools.c @@ -930,7 +930,7 @@ VixToolsBuildUserEnvironmentTable(const char * const *envp) // IN: optional for (; NULL != *envp; envp++) { char *name; char *value; - char *whereToSplit; + const char *whereToSplit; size_t nameLen; whereToSplit = strchr(*envp, '='); diff --git a/open-vm-tools/lib/rpcChannel/glib_stubs.c b/open-vm-tools/lib/rpcChannel/glib_stubs.c index c32deb073..cb89c6a87 100644 --- a/open-vm-tools/lib/rpcChannel/glib_stubs.c +++ b/open-vm-tools/lib/rpcChannel/glib_stubs.c @@ -35,6 +35,9 @@ void *g_malloc0(size_t s) { return Util_SafeCalloc(1, s); } void *g_malloc0_n(size_t n, size_t s) { return Util_SafeCalloc(n, s); } +/* GLib defines g_free as a macro, so undefine it before providing + * our own stub implementation. */ +#undef g_free void g_free(void *p) { free(p); } void g_mutex_init(GMutex *mutex) { }
