Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908522 - app-office/gnucash-4.13: reports stopped to work after gentoo update
Summary: app-office/gnucash-4.13: reports stopped to work after gentoo update
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-15 07:01 UTC by Miroslav Šulc
Modified: 2023-06-16 04:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-office/gnucash-4.13 -> app-office/gnucash-5.1 ebuild unified diff (gnucash_4.13-5.1.patch,730 bytes, patch)
2023-06-15 15:34 UTC, Adrian Bassett
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2023-06-15 07:01:37 UTC
iirc it worked yesterday (i'm not sure, it might be the day before yesterday that i used it the last time) but since today the reports are blank and i get this output on console:

$ gnucash
Found Finance::Quote version 1.55.
EGLDisplay Initialization failed: EGL_BAD_ACCESS
Cannot create EGL sharing context: invalid display (last error: EGL_SUCCESS)

(WebKitWebProcess:1548): Gdk-WARNING **: 08:50:20.979: The program 'WebKitWebProcess' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 219 error_code 2 request_code 151 (GLX) minor_code 34)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
EGLDisplay Initialization failed: EGL_BAD_ACCESS
Cannot create EGL sharing context: invalid display (last error: EGL_SUCCESS)


here is the emerge history for the last 3 days:

     Tue Jun 13 09:09:32 2023 >>> sec-keys/openpgp-keys-apache-tomcat-8.5.90
     Tue Jun 13 09:09:40 2023 >>> sec-keys/openpgp-keys-apache-tomcat-10.1.10
     Tue Jun 13 09:10:07 2023 >>> sys-apps/kbd-2.6.0
     Tue Jun 13 09:11:33 2023 >>> dev-tcltk/blt-2.5.3-r3
     Tue Jun 13 09:11:53 2023 >>> sys-libs/libblockdev-2.28-r2
     Tue Jun 13 09:12:01 2023 >>> dev-python/hatchling-1.18.0
     Tue Jun 13 09:12:46 2023 >>> dev-python/fonttools-4.40.0
     Tue Jun 13 09:12:53 2023 >>> dev-ruby/test-unit-3.6.0
     Tue Jun 13 09:12:59 2023 >>> dev-ruby/net-imap-0.3.6
     Tue Jun 13 09:13:21 2023 >>> dev-util/ccache-4.8.2
     Tue Jun 13 09:13:42 2023 >>> www-servers/tomcat-8.5.90
     Tue Jun 13 09:14:11 2023 >>> www-servers/tomcat-10.1.10
     Tue Jun 13 10:35:48 2023 >>> media-gfx/librecad-9999
     Tue Jun 13 10:36:57 2023 >>> media-libs/libaom-9999
     Tue Jun 13 10:37:05 2023 >>> x11-apps/xhost-1.0.9
     Tue Jun 13 10:39:35 2023 >>> media-sound/rosegarden-23.06
     Tue Jun 13 10:41:17 2023 >>> media-libs/mesa-9999
     Tue Jun 13 10:42:15 2023 >>> media-video/pipewire-9999
     Tue Jun 13 10:49:43 2023 >>> app-emulation/wine-vanilla-9999
     Tue Jun 13 10:56:46 2023 >>> media-gfx/inkscape-9999
     Tue Jun 13 10:57:53 2023 >>> media-sound/lilypond-9999
     Tue Jun 13 11:01:05 2023 >>> media-gfx/openscad-9999
     Tue Jun 13 11:10:11 2023 >>> media-gfx/blender-9999
     Tue Jun 13 11:18:15 2023 >>> media-sound/ardour-9999
     Tue Jun 13 11:38:45 2023 >>> media-sound/hydrogen-9999
     Tue Jun 13 11:45:36 2023 >>> media-sound/musescore-9999
     Tue Jun 13 11:57:41 2023 >>> media-gfx/freecad-9999
     Tue Jun 13 18:28:36 2023 >>> dev-qt/qtcore-5.15.10
     Tue Jun 13 18:29:13 2023 >>> dev-qt/qtxml-5.15.10
     Tue Jun 13 18:29:37 2023 >>> dev-qt/qtconcurrent-5.15.10
     Tue Jun 13 18:30:05 2023 >>> dev-qt/qtsql-5.15.10
     Tue Jun 13 18:30:33 2023 >>> dev-qt/qttest-5.15.10
     Tue Jun 13 18:30:40 2023 >>> dev-qt/qtpaths-5.15.10
     Tue Jun 13 18:30:48 2023 >>> dev-qt/qtserialport-5.15.10
     Tue Jun 13 18:31:03 2023 >>> dev-qt/linguist-tools-5.15.10
     Tue Jun 13 18:31:09 2023 >>> dev-qt/qttranslations-5.15.10
     Tue Jun 13 18:31:42 2023 >>> dev-qt/qtdbus-5.15.10
     Tue Jun 13 18:32:28 2023 >>> dev-qt/qtnetwork-5.15.10
     Tue Jun 13 18:32:38 2023 >>> dev-qt/qtwebsockets-5.15.10
     Tue Jun 13 18:32:46 2023 >>> dev-qt/qtnetworkauth-5.15.10
     Tue Jun 13 18:33:45 2023 >>> dev-qt/qtxmlpatterns-5.15.10
     Tue Jun 13 18:35:43 2023 >>> dev-qt/qtgui-5.15.10
     Tue Jun 13 18:35:50 2023 >>> dev-qt/qtx11extras-5.15.10
     Tue Jun 13 18:36:20 2023 >>> dev-qt/qtbluetooth-5.15.10
     Tue Jun 13 18:37:40 2023 >>> dev-qt/qtwidgets-5.15.10
     Tue Jun 13 18:37:49 2023 >>> www-client/brave-bin-1.52.125
     Tue Jun 13 18:41:32 2023 >>> dev-qt/qtdeclarative-5.15.10
     Tue Jun 13 18:42:01 2023 >>> dev-qt/qtprintsupport-5.15.10
     Tue Jun 13 18:42:14 2023 >>> dev-qt/qtsvg-5.15.10
     Tue Jun 13 18:42:42 2023 >>> dev-qt/qtopengl-5.15.10
     Tue Jun 13 18:42:57 2023 >>> dev-qt/qthelp-5.15.10
     Tue Jun 13 18:43:06 2023 >>> dev-qt/qtgraphicaleffects-5.15.10
     Tue Jun 13 18:43:15 2023 >>> dev-qt/qtwebchannel-5.15.10
     Tue Jun 13 18:43:38 2023 >>> dev-qt/qtpositioning-5.15.10
     Tue Jun 13 18:45:01 2023 >>> dev-qt/designer-5.15.10
     Tue Jun 13 18:45:26 2023 >>> dev-qt/qtquickcontrols-5.15.10
     Tue Jun 13 18:46:37 2023 >>> dev-qt/qtquickcontrols2-5.15.10
     Tue Jun 13 18:49:13 2023 >>> dev-qt/qtlocation-5.15.10
     Tue Jun 13 18:49:24 2023 >>> x11-misc/qt5ct-1.7
     Tue Jun 13 18:51:47 2023 >>> net-misc/nextcloud-client-3.8.2-r1
     Tue Jun 13 18:52:03 2023 >>> kde-frameworks/kxmlgui-5.107.0
     Tue Jun 13 18:58:33 2023 >>> dev-qt/qtmultimedia-5.15.10
     Wed Jun 14 08:03:22 2023 >>> sys-apps/sandbox-2.31
     Wed Jun 14 08:04:52 2023 >>> dev-libs/icu-73.2
     Wed Jun 14 08:05:38 2023 >>> dev-vcs/mercurial-6.4.4
     Wed Jun 14 08:05:54 2023 >>> dev-libs/xmlsec-1.3.1
     Wed Jun 14 08:06:03 2023 >>> dev-libs/libjcat-0.1.14
     Wed Jun 14 08:06:11 2023 >>> dev-python/gitdb-4.0.10
     Wed Jun 14 08:06:19 2023 >>> dev-python/meson-python-0.13.1
     Wed Jun 14 08:06:49 2023 >>> app-crypt/qca-2.3.6-r2
     Wed Jun 14 08:07:14 2023 >>> sys-apps/fwupd-1.8.16
     Wed Jun 14 09:08:12 2023 >>> dev-qt/qtwebengine-5.15.10_p20230505
     Wed Jun 14 09:09:04 2023 >>> media-sound/easyeffects-7.0.5
     Wed Jun 14 09:10:22 2023 >>> media-sound/rosegarden-23.06
     Wed Jun 14 15:22:53 2023 >>> dev-python/contourpy-1.1.0
     Wed Jun 14 15:23:26 2023 >>> sys-kernel/gentoo-sources-6.3.8
     Wed Jun 14 15:23:37 2023 >>> sys-devel/llvm-common-16.0.6
     Wed Jun 14 15:49:40 2023 >>> app-emulation/virtualbox-modules-7.0.8-r1
     Wed Jun 14 15:52:16 2023 >>> x11-drivers/nvidia-drivers-530.41.03-r2
     Wed Jun 14 15:59:10 2023 >>> sys-devel/llvm-16.0.6
     Wed Jun 14 15:59:31 2023 >>> sys-libs/compiler-rt-16.0.6
     Wed Jun 14 16:00:17 2023 >>> sys-libs/compiler-rt-sanitizers-16.0.6
     Wed Jun 14 16:00:23 2023 >>> sys-devel/clang-runtime-16.0.6
     Wed Jun 14 16:24:27 2023 >>> sys-devel/clang-16.0.6
     Wed Jun 14 16:25:15 2023 >>> dev-libs/libclc-16.0.6
     Wed Jun 14 16:31:23 2023 >>> dev-python/GitPython-3.1.31
     Wed Jun 14 16:32:08 2023 >>> kde-apps/okular-23.04.2
     Wed Jun 14 18:31:59 2023 >>> media-libs/opencv-4.7.0
     Wed Jun 14 18:45:30 2023 >>> app-admin/mcelog-194-r1
     Thu Jun 15 07:27:08 2023 >>> app-crypt/libmd-1.1.0
     Thu Jun 15 07:27:18 2023 >>> virtual/libudev-232-r8
     Thu Jun 15 07:27:27 2023 >>> virtual/tmpfiles-0-r5
     Thu Jun 15 07:27:35 2023 >>> virtual/udev-217-r6
     Thu Jun 15 07:27:42 2023 >>> x11-misc/xkeyboard-config-2.39
     Thu Jun 15 07:28:31 2023 >>> net-print/cups-2.4.5
     Thu Jun 15 07:28:54 2023 >>> media-libs/tiff-4.5.1
     Thu Jun 15 07:31:23 2023 >>> x11-drivers/nvidia-drivers-535.54.03
     Thu Jun 15 07:31:32 2023 >>> www-client/brave-bin-1.52.126
     Thu Jun 15 07:32:05 2023 >>> dev-python/shiboken2-5.15.10
     Thu Jun 15 07:41:15 2023 >>> dev-python/pyside2-5.15.10


and here are my use flags:

[ebuild   R    ] app-office/gnucash-4.13::gentoo  USE="gui keyring nls ofx postgres quotes register2 -aqbanking -debug -doc -examples -mysql -python -smartcard -sqlite -test" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 0 KiB
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-15 11:10:02 UTC
My guess is Mesa. Try downgrading to release first?
Comment 2 Adrian Bassett 2023-06-15 13:33:22 UTC
(In reply to Sam James from comment #1)
> My guess is Mesa. Try downgrading to release first?

Can't comment on the specific suggestion re mesa (and I'm not using the outdated gnucash version in portage anyway) but can at least confirm that a local overlay install of gnucash-5.1 is fine with mesa-23.1.2, in case that helps.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-15 13:34:55 UTC
(In reply to Adrian Bassett from comment #2)
> (In reply to Sam James from comment #1)
> > My guess is Mesa. Try downgrading to release first?
> 
> Can't comment on the specific suggestion re mesa (and I'm not using the
> outdated gnucash version in portage anyway) but can at least confirm that a
> local overlay install of gnucash-5.1 is fine with mesa-23.1.2, in case that
> helps.

Submit a PR to update gnucash in gentoo? (Or attach a git-amable patch to a bug).
Comment 4 Adrian Bassett 2023-06-15 15:34:05 UTC
Created attachment 863868 [details, diff]
app-office/gnucash-4.13 -> app-office/gnucash-5.1 ebuild unified diff
Comment 5 Adrian Bassett 2023-06-15 15:35:16 UTC
(In reply to Adrian Bassett from comment #4)
> Created attachment 863868 [details, diff] [details, diff]
> app-office/gnucash-4.13 -> app-office/gnucash-5.1 ebuild unified diff

I have tried this on previous occasions, most recently on 22nd April.

cf. https://bugs.gentoo.org/904824 (assigned to the long-standing maintainer of gnucash), which requested a bump to the then new 4.14 (the last in the 4.x branch) and suggested some steps involved, relative to the then current 4.13.

As indicated in that bug, report 5.0 had also been released at that point.  This was superseded by 5.1 on 30th April - https://gnucash.org/news.phtml

Attached is a patch for the 4.13 -> 5.1 ebuild upgrade.  The filesdir will need to copy gnucash-4.13-webkit2gtk-4.1.patch to gnucash-5.1-webkit2gtk-4.1.patch.
Also, the ${FILESDIR}/${PN}-4.13-no-werror.patch is now obsolete so isn't needed by 5.1.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-15 15:54:37 UTC
(In reply to Adrian Bassett from comment #4)
> Created attachment 863868 [details, diff] [details, diff]
> app-office/gnucash-4.13 -> app-office/gnucash-5.1 ebuild unified diff

It's a lot easier for us to test & apply, especially if I'm not the maintainer but just want to help out, if there's a patch against gentoo.git rather than me having to manually assemble all the relevant changes.
Comment 7 Adrian Bassett 2023-06-15 16:04:59 UTC
(In reply to Sam James from comment #6)
> (In reply to Adrian Bassett from comment #4)
> > Created attachment 863868 [details, diff] [details, diff] [details, diff]
> > app-office/gnucash-4.13 -> app-office/gnucash-5.1 ebuild unified diff
> 
> It's a lot easier for us to test & apply, especially if I'm not the
> maintainer but just want to help out, if there's a patch against gentoo.git
> rather than me having to manually assemble all the relevant changes.

Yup, I understand that, but I'm not currently sure of how to go about patching against gentoo.git as my use of git wrt gentoo is basically a read-only involvement with a clone of the upstream portage tree.  I'll see if I can educate myself...
Comment 8 Adrian Bassett 2023-06-15 16:12:12 UTC
(In reply to Adrian Bassett from comment #7)
> (In reply to Sam James from comment #6)
> > (In reply to Adrian Bassett from comment #4)
> > > Created attachment 863868 [details, diff] [details, diff] [details, diff] [details, diff]
> > > app-office/gnucash-4.13 -> app-office/gnucash-5.1 ebuild unified diff
> > 
> > It's a lot easier for us to test & apply, especially if I'm not the
> > maintainer but just want to help out, if there's a patch against gentoo.git
> > rather than me having to manually assemble all the relevant changes.
> 
> Yup, I understand that, but I'm not currently sure of how to go about
> patching against gentoo.git as my use of git wrt gentoo is basically a
> read-only involvement with a clone of the upstream portage tree.  I'll see
> if I can educate myself...

I mean that any changes I make locally are just in a files-based overlay
Comment 9 Miroslav Šulc gentoo-dev 2023-06-16 04:54:52 UTC
it was probably really some of the live ebuilds, it's ok today. i created a separate bug for the bump and i'm closing this one as invalid.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-16 04:56:35 UTC
> I mean that any changes I make locally are just in a files-based overlay [...]

Got it. Happy to try walk you through it if you get stuck. Might be easier to chat on IRC for something like that. I can obviously just do the bump now as a one-off but I don't use gnucash and I'd love to have another contributor if you're interested, so..

(In reply to Miroslav Šulc from comment #9)
> it was probably really some of the live ebuilds, it's ok today. i created a
> separate bug for the bump and i'm closing this one as invalid.

Thanks for confirming it's ok now!