Skip to contentSkip to conversation

configure: bump glib version to 2.16

PATCH In review John Snow 3 participants 8 messages Mar 10, 2015 – May 8, 2015

lore
Share & tools
lore

John Snow

author
#0 lore raw

PATCH 1/1 configure: bump glib version to 2.16

Our qtest suite relies on many functions available only in glib 2.16+. Even though our base QEMU binary may only require 2.12+, it is confusing to have two separate version requirements.

Thus, this is an attempt to re-establish a sane baseline for the entire project at 2.16+.

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index 7ba4bcb..c38506c 100755
@@ -2748,7 +2748,7 @@ if test "$mingw32" = yes; then
     # g_poll is required in order to integrate with the glib main loop.
     glib_req_ver=2.20
 else
-    glib_req_ver=2.12
+    glib_req_ver=2.16
 fi
 glib_modules=gthread-2.0
 if test "$modules" = yes; then
Signature · 1 line
1.9.3
author
#1 lore raw

Adding in Michael Tokarev, I fat-fingered his email address.

Quoted 26 lines · John Snow

Our qtest suite relies on many functions available only in glib 2.16+. Even though our base QEMU binary may only require 2.12+, it is confusing to have two separate version requirements.

Thus, this is an attempt to re-establish a sane baseline for the entire project at 2.16+.

---
  configure | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index 7ba4bcb..c38506c 100755
@@ -2748,7 +2748,7 @@ if test "$mingw32" = yes; then
      # g_poll is required in order to integrate with the glib main loop.
      glib_req_ver=2.20
  else
-    glib_req_ver=2.12
+    glib_req_ver=2.16
  fi
  glib_modules=gthread-2.0
  if test "$modules" = yes; then
#2 lore raw
In reply to John Snow
Quoted 7 lines · John Snow

Our qtest suite relies on many functions available only in glib 2.16+. Even though our base QEMU binary may only require 2.12+, it is confusing to have two separate version requirements.

Thus, this is an attempt to re-establish a sane baseline for the entire project at 2.16+.

Why 2.16 rather than the 2.22 that we seem to have converged on in discussions on-list?

-- PMM

author
#3 lore raw
Quoted 14 lines · Peter Maydell

On 10 March 2015 at 17:37, John Snow <[email protected] <mailto:[email protected]>> wrote:

Our qtest suite relies on many functions available only in glib 2.16+. Even though our base QEMU binary may only require 2.12+, it is confusing to have two separate version requirements.

Thus, this is an attempt to re-establish a sane baseline for the entire project at 2.16+.

Quoted 5 lines

Why 2.16 rather than the 2.22 that we seem to have converged on in discussions on-list?

-- PMM

Wasn't aware we were actually going through with that; it had looked like we were going to refrain from fiddling with it because we found a workaround that sufficed for glib 2.12.

2.16 is just the minimum that qtests currently actually requires.

If, however, we *are* going to shoot for 2.22, then NACK this and let's do that instead.

--js

#4 lore raw
Quoted 3 lines · John Snow

Wasn't aware we were actually going through with that; it had looked like we were going to refrain from fiddling with it because we found a workaround that sufficed for glib 2.12.

Well, we're not doing anything before QEMU 2.3 is released. But if we bump the version requirement at all, then we might as well move it to 2.22, because once you drop the "support RHEL5" requirement then that's the newest version we can shift to without breaking compilation on some other distro we care about (SUSE, in this case).

-- PMM

#5 lore raw
Quoted 11 lines · Peter Maydell
Quoted 3 lines · John Snow

Wasn't aware we were actually going through with that; it had looked like we were going to refrain from fiddling with it because we found a workaround that sufficed for glib 2.12.

Well, we're not doing anything before QEMU 2.3 is released. But if we bump the version requirement at all, then we might as well move it to 2.22, because once you drop the "support RHEL5" requirement then that's the newest version we can shift to without breaking compilation on some other distro we care about (SUSE, in this case).

So do people still want to bump the minimum glib version? If we're going to do it for 2.4 I would prefer to see the configure patch reasonably early in the release cycle I think.

-- PMM

author
#6 lore raw
Quoted 13 lines · Peter Maydell
Quoted 11 lines · Peter Maydell
Quoted 3 lines · John Snow

Wasn't aware we were actually going through with that; it had looked like we were going to refrain from fiddling with it because we found a workaround that sufficed for glib 2.12.

Well, we're not doing anything before QEMU 2.3 is released. But if we bump the version requirement at all, then we might as well move it to 2.22, because once you drop the "support RHEL5" requirement then that's the newest version we can shift to without breaking compilation on some other distro we care about (SUSE, in this case).

Quoted 6 lines

So do people still want to bump the minimum glib version? If we're going to do it for 2.4 I would prefer to see the configure patch reasonably early in the release cycle I think.

-- PMM

I think we determined that the minimum version could be as high as 2.22.

https://lists.gnu.org/archive/html/qemu-devel/2015-03/msg00488.html

#7 lore raw
Quoted 18 lines · John Snow
Quoted 17 lines · Peter Maydell
Quoted 11 lines · Peter Maydell
Quoted 3 lines · John Snow

Wasn't aware we were actually going through with that; it had looked like we were going to refrain from fiddling with it because we found a workaround that sufficed for glib 2.12.

Well, we're not doing anything before QEMU 2.3 is released. But if we bump the version requirement at all, then we might as well move it to 2.22, because once you drop the "support RHEL5" requirement then that's the newest version we can shift to without breaking compilation on some other distro we care about (SUSE, in this case).

So do people still want to bump the minimum glib version? If we're going to do it for 2.4 I would prefer to see the configure patch reasonably early in the release cycle I think.

Quoted 6 lines
Quoted 2 lines

-- PMM

I think we determined that the minimum version could be as high as 2.22.

https://lists.gnu.org/archive/html/qemu-devel/2015-03/msg00488.html

I support upgrading to a more recent version of GLib as much as ever. Let's go for 2.22.