Your message dated Mon, 22 Sep 2025 09:04:59 +0000
with message-id <[email protected]>
and subject line Bug#1081486: fixed in aegisub 3.4.2+ds-1
has caused the Debian Bug report #1081486,
regarding aegisub: Startup warnings after migrating to wxWidgets 3.2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1081486: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081486
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aegisub
Version: 3.2.2+dfsg-7
Severity: normal

Dear Maintainer,

aegisub starts to show warnings on startup like below:
,----
| ./src/common/sizer.cpp(2288): assert "CheckSizerFlags(!((flags) & 
(wxALIGN_RIGHT | wxALIGN_CENTRE_HORIZONTAL | wxALIGN_BOTTOM | 
wxALIGN_CENTRE_VERTICAL)))" failed in DoInsert(): wxALIGN_RIGHT | 
wxALIGN_CENTRE_HORIZONTAL | wxALIGN_BOTTOM | wxALIGN_CENTRE_VERTICAL will be 
ignored in this sizer: wxEXPAND overrides alignment flags in box sizers
| 
| DO NOT PANIC !!
| 
| If you're an end user running a program not developed by you, please ignore 
this message, it is harmless, and please try reporting the problem to the 
program developers.
| 
| You may also set WXSUPPRESS_SIZER_FLAGS_CHECK environment variable to 
suppress all such checks when running this program.
| 
| If you're the developer, simply remove this flag from your code to avoid 
getting this message. You can also call 
wxSizerFlags::DisableConsistencyChecks() to globally disable all such checks, 
but this is strongly not recommended.
`----

I believe this starts to happen after migrating to wxWidgets 3.2 which
added those checks.  I have proposed a merge request on Salsa[1] that
gets rid of the warnings, and I'm attaching the patches here as well.
PTAL.

(Also, version 3.2.2 was from 2014 and it would be great if aegisub can
start tracking the more active repo at
https://github.com/TypesettingTools/Aegisub.  But let's track this in
Bug#1027433.)

TIA.

[1] https://salsa.debian.org/debian/aegisub/-/merge_requests/4

-- System Information:
Debian Release: 12.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-25-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages aegisub depends on:
ii  libasound2                                 1.2.8-1+b1
ii  libass9                                    1:0.17.1-1
ii  libboost-chrono1.74.0                      1.74.0+ds1-21
ii  libboost-filesystem1.74.0                  1.74.0+ds1-21
ii  libboost-locale1.74.0                      1.74.0+ds1-21
ii  libboost-regex1.74.0 [libboost-regex1.74.  1.74.0+ds1-21
    0-icu72]
ii  libboost-thread1.74.0                      1.74.0+ds1-21
ii  libc6                                      2.36-9+deb12u8
ii  libffms2-5                                 2.40+git20211209-2+b1
ii  libfftw3-double3                           3.3.10-1
ii  libfontconfig1                             2.14.1-4
ii  libgcc-s1                                  12.2.0-14
ii  libgl1                                     1.6.0-1
ii  libhunspell-1.7-0                          1.7.1-1
ii  libicu72                                   72.1-3
ii  libluajit-5.1-2                            2.1.0~beta3+git20220320+dfsg-4.1
ii  libpulse0                                  16.1+dfsg1-2+b1
ii  libstdc++6                                 12.2.0-14
ii  libwxbase3.2-1                             3.2.2+dfsg-2
ii  libwxgtk-gl3.2-1                           3.2.2+dfsg-2
ii  libwxgtk3.2-1                              3.2.2+dfsg-2
ii  zlib1g                                     1:1.2.13.dfsg-1

aegisub recommends no packages.

Versions of packages aegisub suggests:
pn  aegisub-l10n  <none>

-- no debconf information

-- 
Xiyue Deng
>From 24e7af1e78c9401c4a9b23e40252e187c3e4ba55 Mon Sep 17 00:00:00 2001
From: Xiyue Deng <[email protected]>
Date: Wed, 11 Sep 2024 15:22:01 -0700
Subject: [PATCH 1/2] Add patch to suppress startup warnings on newer wxWidgets
 versions

* Newer wxWidgets added more checks for wxSizer and the old code base
has not migrated yet.
* Added "wxSizerFlags::DisableConsistencyChecks()" to disable the
checks.
* Use newer API to get rid of a warning.
---
 debian/patches/series                         |  1 +
 .../patches/suppress-startup-warnings.patch   | 51 +++++++++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 debian/patches/suppress-startup-warnings.patch

diff --git a/debian/patches/series b/debian/patches/series
index bc373f1..2c3e6a0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -27,3 +27,4 @@ update-ffms2-doindexing2.patch
 update-ffms2-x11-none.patch
 update-ffms2-log-levels.patch
 fix_boost183.patch
+suppress-startup-warnings.patch
diff --git a/debian/patches/suppress-startup-warnings.patch b/debian/patches/suppress-startup-warnings.patch
new file mode 100644
index 0000000..55919ae
--- /dev/null
+++ b/debian/patches/suppress-startup-warnings.patch
@@ -0,0 +1,51 @@
+From bb124f7cced4a117de6adc3caceffed827050e52 Mon Sep 17 00:00:00 2001
+From: Xiyue Deng <[email protected]>
+Date: Wed, 11 Sep 2024 16:01:12 -0700
+Subject: [PATCH] Suppress startup warnings
+Forwarded: not-needed
+
+* Newer wxWidgets added more sizer checks and caused a few startup
+warnings.
+* This patches suppresses the warnings by disabling consistency check
+and using newer API.
+* Warning text:
+,----
+| ./src/common/sizer.cpp(2288): assert "CheckSizerFlags(!((flags) & (wxALIGN_RIGHT | wxALIGN_CENTRE_HORIZONTAL | wxALIGN_BOTTOM | wxALIGN_CENTRE_VERTICAL)))" failed in DoInsert(): wxALIGN_RIGHT | wxALIGN_CENTRE_HORIZONTAL | wxALIGN_BOTTOM | wxALIGN_CENTRE_VERTICAL will be ignored in this sizer: wxEXPAND overrides alignment flags in box sizers
+|
+| DO NOT PANIC !!
+|
+| If you're an end user running a program not developed by you, please ignore this message, it is harmless, and please try reporting the problem to the program developers.
+|
+| You may also set WXSUPPRESS_SIZER_FLAGS_CHECK environment variable to suppress all such checks when running this program.
+|
+| If you're the developer, simply remove this flag from your code to avoid getting this message. You can also call wxSizerFlags::DisableConsistencyChecks() to globally disable all such checks, but this is strongly not recommended.
+`----
+---
+ src/frame_main.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/frame_main.cpp b/src/frame_main.cpp
+index ba107d6..50a9242 100644
+--- a/src/frame_main.cpp
++++ b/src/frame_main.cpp
+@@ -98,6 +98,7 @@ FrameMain::FrameMain()
+ , context(agi::make_unique<agi::Context>())
+ {
+ 	StartupLog("Entering FrameMain constructor");
++	wxSizerFlags::DisableConsistencyChecks();
+ 
+ #ifdef __WXGTK__
+ 	// XXX HACK XXX
+@@ -242,8 +243,7 @@ void FrameMain::SetDisplayMode(int video, int audio) {
+ 	TopSizer->Show(videoBox, showVideo, true);
+ 	ToolsSizer->Show(audioBox, showAudio, true);
+ 
+-	MainSizer->CalcMin();
+-	MainSizer->RecalcSizes();
++	MainSizer->RepositionChildren(MainSizer->CalcMin());
+ 	MainSizer->Layout();
+ 	Layout();
+ 
+-- 
+2.39.2
+
-- 
2.39.2

>From f46c89ee73812074fe4b4f5c29ddc444b90bcd32 Mon Sep 17 00:00:00 2001
From: Xiyue Deng <[email protected]>
Date: Wed, 11 Sep 2024 15:25:35 -0700
Subject: [PATCH 2/2] Update d/changelog

---
 debian/changelog | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 414af7e..a40535b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+aegisub (3.2.2+dfsg-7.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch to suppress startup warnings on newer wxWidgets versions.
+
+ -- Xiyue Deng <[email protected]>  Wed, 11 Sep 2024 15:24:39 -0700
+
 aegisub (3.2.2+dfsg-7.1) unstable; urgency=medium
 
   * Non-maintainer upload.
-- 
2.39.2


--- End Message ---
--- Begin Message ---
Source: aegisub
Source-Version: 3.4.2+ds-1
Done: Aniol Martí <[email protected]>

We believe that the bug you reported is fixed in the latest version of
aegisub, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aniol Martí <[email protected]> (supplier of updated aegisub 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 22 Sep 2025 10:27:38 +0200
Source: aegisub
Architecture: source
Version: 3.4.2+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Aniol Martí <[email protected]>
Changed-By: Aniol Martí <[email protected]>
Closes: 1005171 1027433 1081486
Changes:
 aegisub (3.4.2+ds-1) unstable; urgency=medium
 .
   [ Aniol Martí ]
   * Update upstream version (Closes: #1081486, #1005171, #1027433).
   * Migrate libgl1-mesa-dev, libfontconfig1-dev and libfreetype6-dev.
   * Update standards to 4.7.0.
   * Delete src/git_version.h
 .
   [ Xiyue Deng ]
   * Drop subprojects/luajit/.relver
     - This causes diff with upstream source when running under Salsa CI.
   * Sort dependencies and install files with `wrap-and-sort -ast'
   * Drop build-essential from Build-Depends
     - Not needed.
   * Update obsolete build dependencies
     - libfontconfig1-dev => libfontconfig-dev
     - libfreetype6-dev => libfreetype-dev
     - pkg-config => pkgconf
   * Update Standards-Version to 4.7.2; no change needed
   * Enable diffoscope on Salsa CI for debugging reprotest failure
   * Allow reprotest to fail in Salsa CI
     - Caused by build id change.
   * Add License text for public domain
   * Stop referencing old FSF address in license texts
     - Instead refer to https://www.gnu.org/licenses/
Checksums-Sha1:
 278a88a27c1747a0f111913b81d85ed4e985be11 2179 aegisub_3.4.2+ds-1.dsc
 e49b691768a8d614a573c9976bd1a2dd2f4b2f25 6475211 aegisub_3.4.2+ds.orig.tar.gz
 7fc6f2146f1f8a4d4bad44c15d5a1abe9296600a 10604 aegisub_3.4.2+ds-1.debian.tar.xz
 fdaf85064a193922e24b651ff04db630cc823802 23603 
aegisub_3.4.2+ds-1_amd64.buildinfo
Checksums-Sha256:
 81bbcc8f2a323a9e174e468baec4d4c94925ceebd72dc90425a2ec28e45d43f2 2179 
aegisub_3.4.2+ds-1.dsc
 210c6cf29a77bcb41df7b9411c65630b564da39103b3ca210f148630190fb6e7 6475211 
aegisub_3.4.2+ds.orig.tar.gz
 1783a23fcd7fe169326cec7fd3a18241faf9ae2bea74247a268a515d25055988 10604 
aegisub_3.4.2+ds-1.debian.tar.xz
 84f6893720481ae9ccf7144220045528d7baa294aec2770ad0c4bde0860bfb89 23603 
aegisub_3.4.2+ds-1_amd64.buildinfo
Files:
 edd282ee933a821f8536bb6e89ac6c95 2179 video optional aegisub_3.4.2+ds-1.dsc
 ed581eb7a1367f27f14ea71fa7c64860 6475211 video optional 
aegisub_3.4.2+ds.orig.tar.gz
 cf83c189e99c9b724becb37a4cbda4a1 10604 video optional 
aegisub_3.4.2+ds-1.debian.tar.xz
 47c315162298aaf5a564a3ea03dca195 23603 video optional 
aegisub_3.4.2+ds-1_amd64.buildinfo


-----BEGIN PGP SIGNATURE-----

iQJLBAEBCgA1FiEEAxkNfn0I1/8fM5/DGbYJgR8GqZQFAmjRCtgXHGFuaW9sLm1h
cnRpQHJpc2V1cC5uZXQACgkQGbYJgR8GqZThOw/+JNHciAmkZ8WWFXXf4glr7S7g
WNIaSkNtXrxtPIR+xG8rgOx/ZnWWhZ42acIR1QbdaSHQ5MVAH887FN2BvoARssVP
61aMdGZ0VNCSRGIPHxrDVWdiBet71SDvulTiGk4LjZ93MvXSYrGGU/pgqDtJiMP/
jWXertBVUncIQvIDKEQ+Y6ERFbYKvMWrW8X5UWigZtEn1IR98zAtcA9KSMBL1pGK
gSv3GY+1093ZCy2hYvI8STXq4JO3KkBkAP7CBHHgO3+BreB0WF7eptJbGfwhl5ae
XGXzN3vpauG4nZx3pSmh1clbVe6M7JYfgweLvjpVRCeWi0XbPPLBJrC9gmXTc4sc
Hos7HQ1WB9B/WVEbJ3HqGUCdEr44xbDhUqrdTkf66cHNnoP1ByUgdMcTndwgq6Fo
WQBYTHv5yhDTVronyy3Ep9R16nQv1c7gwimNfEdzvdx/dhzqUo2UM4MN+aqnl1rw
XOU9DM7hnSh0Y9Lz+Eabtwe6aPSXJqwVYntR6d/H934mDZxFO4EMvAUYL/22SHl2
iIa3qQHeGAUIMu3biwiGaQf+mf2zLh9C9a9uFVJwk6GY8iz4EzDvqccg4tvt9evL
SMuyuKfxstVdyDwabNo+DVD1D4bTVgfgruXSDvkb7txYoGpcRCXrsj8c2eaQP0Vx
H9B9zczr7qACjrg+9Ts=
=17A8
-----END PGP SIGNATURE-----

Attachment: pgpwNPppSVM8z.pgp
Description: PGP signature


--- End Message ---

Reply via email to