← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2122598] [NEW] Gtk4 deb package doesn't build in s390x architecture

 

Public bug reported:

[ Impact ]

There are a number of gtk4 tests (build-time, and again at autopkgtest
time) that are failing on s390x *only* when run in the combination of an
updated mesa package (25.0.7-0ubuntu0.24.04.1) in Noble.

The problem seems to be in the GtkWidgetPaintable widget, which isn't
triggering the "invalidate-contents" signal. This signal should be
triggered every time the canvas has been repainted, and it is used in
the tests to know when it is safe to capture the rendered picture and
compare it with the expected results.

Setting `GSK_RENDERER=cairo` uses pure software rendering, and makes
this work again.

s390x is not a desktop platform, there are no desktop images for it, and
gtk4 is not seeded in that architecture. While it would be best to fully
understand what is making these tests fail, it's best to use this
workaround for now in that architecture only, so that users in other
architectures can benefit from the mesa and gtk4 updates.

This bug affects not only GTK4 build, but also Gnome Control Center
build.

[ Test Plan ]
The failure manifests itself in the build-time tests, which are again repeated at autopkgtest time. Therefore, the test plan consists of:
- no build failure in any platform, and specifically s390x
- no autopkgtest failure in any platform, and specifically s390x

Specifically, we also don't want any change in the number of tests run
in non-s390x architectures.

amd64 and arm64:
x11:
Ok: 655
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 13
Timeout: 0
wayland:
Ok: 657
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 11
Timeout: 0

armhf:
x11:
Ok: 578
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 2
Timeout: 0
wayland:
Ok: 569
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 11
Timeout: 0

i386:
x11:
Ok: 576
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 2
Timeout: 0
wayland:
Ok: 567
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 11
Timeout: 0

ppc64el:
x11:
Ok: 655
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 13
Timeout: 0
wayland:
Ok: 657
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 11
Timeout: 0

riscv64:
Build time tests are not run:
dh: command-omitted: The call to "debian/rules override_dh_auto_test" was omitted due to "DEB_BUILD_OPTIONS=nocheck"

s390x should have no tests with a timeout result in proposed.

[ Where problems could occur ]

The available patch forces Cairo as the renderer and keeps the tests,
so, in case that there are problems with any application, we can
recommend to set `GSK_RENDERER=cairo` in the system. That should make
everything work.

** Affects: gtk4 (Ubuntu)
     Importance: Undecided
     Assignee: Sergio Costas (rastersoft-gmail)
         Status: Invalid

** Affects: gtk4 (Ubuntu Noble)
     Importance: Critical
     Assignee: Sergio Costas (rastersoft-gmail)
         Status: New

** Affects: gtk4 (Ubuntu Plucky)
     Importance: Undecided
     Assignee: Sergio Costas (rastersoft-gmail)
         Status: Invalid

** Affects: gtk4 (Ubuntu Questing)
     Importance: Undecided
     Assignee: Sergio Costas (rastersoft-gmail)
         Status: Invalid

** Changed in: gtk4 (Ubuntu)
   Importance: Undecided => Critical

** Also affects: gtk4 (Ubuntu Plucky)
   Importance: Undecided
       Status: New

** Also affects: gtk4 (Ubuntu Questing)
   Importance: Critical
     Assignee: Sergio Costas (rastersoft-gmail)
       Status: New

** Also affects: gtk4 (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: gtk4 (Ubuntu Plucky)
     Assignee: (unassigned) => Sergio Costas (rastersoft-gmail)

** Changed in: gtk4 (Ubuntu Noble)
     Assignee: (unassigned) => Sergio Costas (rastersoft-gmail)

** Changed in: gtk4 (Ubuntu Noble)
   Importance: Undecided => Critical

** Changed in: gtk4 (Ubuntu Plucky)
       Status: New => Invalid

** Changed in: gtk4 (Ubuntu Questing)
       Status: New => Invalid

** Changed in: gtk4 (Ubuntu Questing)
   Importance: Critical => Undecided

** Description changed:

  [ Impact ]
  
  There are a number of gtk4 tests (build-time, and again at autopkgtest
  time) that are failing on s390x *only* when run in the combination of an
- updated mesa package (25.0.7-0ubuntu0.24.04.1).
+ updated mesa package (25.0.7-0ubuntu0.24.04.1) in Noble.
  
  The problem seems to be in the GtkWidgetPaintable widget, which isn't
  triggering the "invalidate-contents" signal. This signal should be
  triggered every time the canvas has been repainted, and it is used in
  the tests to know when it is safe to capture the rendered picture and
  compare it with the expected results.
  
  Setting `GSK_RENDERER=cairo` uses pure software rendering, and makes
  this work again.
  
  s390x is not a desktop platform, there are no desktop images for it, and
  gtk4 is not seeded in that architecture. While it would be best to fully
  understand what is making these tests fail, it's best to use this
  workaround for now in that architecture only, so that users in other
  architectures can benefit from the mesa and gtk4 updates.
  
  This bug affects not only GTK4 build, but also Gnome Control Center
  build.
  
  [ Test Plan ]
  The failure manifests itself in the build-time tests, which are again repeated at autopkgtest time. Therefore, the test plan consists of:
  - no build failure in any platform, and specifically s390x
  - no autopkgtest failure in any platform, and specifically s390x
  
  Specifically, we also don't want any change in the number of tests run
  in non-s390x architectures.
  
  amd64 and arm64:
  x11:
  Ok: 655
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 13
  Timeout: 0
  wayland:
  Ok: 657
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 11
  Timeout: 0
  
  armhf:
  x11:
  Ok: 578
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 2
  Timeout: 0
  wayland:
  Ok: 569
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 11
  Timeout: 0
  
  i386:
  x11:
  Ok: 576
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 2
  Timeout: 0
  wayland:
  Ok: 567
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 11
  Timeout: 0
  
  ppc64el:
  x11:
  Ok: 655
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 13
  Timeout: 0
  wayland:
  Ok: 657
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 11
  Timeout: 0
  
  riscv64:
  Build time tests are not run:
  dh: command-omitted: The call to "debian/rules override_dh_auto_test" was omitted due to "DEB_BUILD_OPTIONS=nocheck"
  
  s390x should have no tests with a timeout result in proposed.
  
  [ Where problems could occur ]
  
  The available patch forces Cairo as the renderer and keeps the tests,
  so, in case that there are problems with any application, we can
  recommend to set `GSK_RENDERER=cairo` in the system. That should make
  everything work.
  
  [ Original Description ]
  
  First seen in the autopkgtest:
  
  https://autopkgtest.ubuntu.com/packages/g/gtk4/noble/s390x
  
  mesa 25.0.7-0ubuntu0.24.04.1 regresses the autopkgtest of gtk4
  4.14.5+ds-0ubuntu0.1 on s390x.
  
  42515s build-x11 PASS (superficial)
  42515s build-wayland FAIL timed out
  42515s python3-gi-x11 PASS (superficial)
  42515s python3-gi-wayland FAIL timed out
  42515s installed-tests-x11 PASS
  42515s installed-tests-wayland FAIL non-zero exit status 2
  42515s installed-tests-flaky-x11 FLAKY non-zero exit status 2
  42515s installed-tests-flaky-wayland FLAKY non-zero exit status 2
  
  The build-wayland and python3-gi-wayland autopkgtests do not terminate
  and eventually hit the time out.
  
  We have tried running the tests on a bigger instance (added to
  'big_packages') and have tried triggering the tests with 'all-
  proposed=1'.

** Description changed:

  [ Impact ]
  
  There are a number of gtk4 tests (build-time, and again at autopkgtest
  time) that are failing on s390x *only* when run in the combination of an
  updated mesa package (25.0.7-0ubuntu0.24.04.1) in Noble.
  
  The problem seems to be in the GtkWidgetPaintable widget, which isn't
  triggering the "invalidate-contents" signal. This signal should be
  triggered every time the canvas has been repainted, and it is used in
  the tests to know when it is safe to capture the rendered picture and
  compare it with the expected results.
  
  Setting `GSK_RENDERER=cairo` uses pure software rendering, and makes
  this work again.
  
  s390x is not a desktop platform, there are no desktop images for it, and
  gtk4 is not seeded in that architecture. While it would be best to fully
  understand what is making these tests fail, it's best to use this
  workaround for now in that architecture only, so that users in other
  architectures can benefit from the mesa and gtk4 updates.
  
  This bug affects not only GTK4 build, but also Gnome Control Center
  build.
  
  [ Test Plan ]
  The failure manifests itself in the build-time tests, which are again repeated at autopkgtest time. Therefore, the test plan consists of:
  - no build failure in any platform, and specifically s390x
  - no autopkgtest failure in any platform, and specifically s390x
  
  Specifically, we also don't want any change in the number of tests run
  in non-s390x architectures.
  
  amd64 and arm64:
  x11:
  Ok: 655
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 13
  Timeout: 0
  wayland:
  Ok: 657
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 11
  Timeout: 0
  
  armhf:
  x11:
  Ok: 578
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 2
  Timeout: 0
  wayland:
  Ok: 569
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 11
  Timeout: 0
  
  i386:
  x11:
  Ok: 576
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 2
  Timeout: 0
  wayland:
  Ok: 567
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 11
  Timeout: 0
  
  ppc64el:
  x11:
  Ok: 655
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 13
  Timeout: 0
  wayland:
  Ok: 657
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 11
  Timeout: 0
  
  riscv64:
  Build time tests are not run:
  dh: command-omitted: The call to "debian/rules override_dh_auto_test" was omitted due to "DEB_BUILD_OPTIONS=nocheck"
  
  s390x should have no tests with a timeout result in proposed.
  
  [ Where problems could occur ]
  
  The available patch forces Cairo as the renderer and keeps the tests,
  so, in case that there are problems with any application, we can
  recommend to set `GSK_RENDERER=cairo` in the system. That should make
  everything work.
- 
- [ Original Description ]
- 
- First seen in the autopkgtest:
- 
- https://autopkgtest.ubuntu.com/packages/g/gtk4/noble/s390x
- 
- mesa 25.0.7-0ubuntu0.24.04.1 regresses the autopkgtest of gtk4
- 4.14.5+ds-0ubuntu0.1 on s390x.
- 
- 42515s build-x11 PASS (superficial)
- 42515s build-wayland FAIL timed out
- 42515s python3-gi-x11 PASS (superficial)
- 42515s python3-gi-wayland FAIL timed out
- 42515s installed-tests-x11 PASS
- 42515s installed-tests-wayland FAIL non-zero exit status 2
- 42515s installed-tests-flaky-x11 FLAKY non-zero exit status 2
- 42515s installed-tests-flaky-wayland FLAKY non-zero exit status 2
- 
- The build-wayland and python3-gi-wayland autopkgtests do not terminate
- and eventually hit the time out.
- 
- We have tried running the tests on a bigger instance (added to
- 'big_packages') and have tried triggering the tests with 'all-
- proposed=1'.

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gtk4 in Ubuntu.
https://bugs.launchpad.net/bugs/2122598

Title:
  Gtk4 deb package doesn't build in s390x architecture

Status in gtk4 package in Ubuntu:
  Invalid
Status in gtk4 source package in Noble:
  New
Status in gtk4 source package in Plucky:
  Invalid
Status in gtk4 source package in Questing:
  Invalid

Bug description:
  [ Impact ]

  There are a number of gtk4 tests (build-time, and again at autopkgtest
  time) that are failing on s390x *only* when run in the combination of
  an updated mesa package (25.0.7-0ubuntu0.24.04.1) in Noble.

  The problem seems to be in the GtkWidgetPaintable widget, which isn't
  triggering the "invalidate-contents" signal. This signal should be
  triggered every time the canvas has been repainted, and it is used in
  the tests to know when it is safe to capture the rendered picture and
  compare it with the expected results.

  Setting `GSK_RENDERER=cairo` uses pure software rendering, and makes
  this work again.

  s390x is not a desktop platform, there are no desktop images for it,
  and gtk4 is not seeded in that architecture. While it would be best to
  fully understand what is making these tests fail, it's best to use
  this workaround for now in that architecture only, so that users in
  other architectures can benefit from the mesa and gtk4 updates.

  This bug affects not only GTK4 build, but also Gnome Control Center
  build.

  [ Test Plan ]
  The failure manifests itself in the build-time tests, which are again repeated at autopkgtest time. Therefore, the test plan consists of:
  - no build failure in any platform, and specifically s390x
  - no autopkgtest failure in any platform, and specifically s390x

  Specifically, we also don't want any change in the number of tests run
  in non-s390x architectures.

  amd64 and arm64:
  x11:
  Ok: 655
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 13
  Timeout: 0
  wayland:
  Ok: 657
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 11
  Timeout: 0

  armhf:
  x11:
  Ok: 578
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 2
  Timeout: 0
  wayland:
  Ok: 569
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 11
  Timeout: 0

  i386:
  x11:
  Ok: 576
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 2
  Timeout: 0
  wayland:
  Ok: 567
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 11
  Timeout: 0

  ppc64el:
  x11:
  Ok: 655
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 13
  Timeout: 0
  wayland:
  Ok: 657
  Expected Fail: 0
  Fail: 0
  Unexpected Pass: 0
  Skipped: 11
  Timeout: 0

  riscv64:
  Build time tests are not run:
  dh: command-omitted: The call to "debian/rules override_dh_auto_test" was omitted due to "DEB_BUILD_OPTIONS=nocheck"

  s390x should have no tests with a timeout result in proposed.

  [ Where problems could occur ]

  The available patch forces Cairo as the renderer and keeps the tests,
  so, in case that there are problems with any application, we can
  recommend to set `GSK_RENDERER=cairo` in the system. That should make
  everything work.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk4/+bug/2122598/+subscriptions