Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647112 - app-office/gnucash-2.7.4 stabilization
Summary: app-office/gnucash-2.7.4 stabilization
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on: 647118
Blocks: 629114
  Show dependency tree
 
Reported: 2018-02-09 11:55 UTC by Aaron W. Swenson
Modified: 2020-12-12 07:00 UTC (History)
4 users (show)

See Also:
Package list:
app-office/gnucash-2.7.4-r1
Runtime testing required: No
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron W. Swenson gentoo-dev 2018-02-09 11:55:48 UTC
Please stabilize:
=app-office/gnucash-2.7.4
Comment 1 Stabilization helper bot gentoo-dev 2018-02-09 12:01:28 UTC
An automated check of this bug failed - repoman reported dependency errors (43 lines truncated): 

> dependency.bad app-office/gnucash/gnucash-2.7.4.ebuild: DEPEND: amd64(default/linux/amd64/17.0) ['>=dev-scheme/guile-2.0.0:12=[regex]', '~dev-cpp/gtest-1.8.0']
> dependency.bad app-office/gnucash/gnucash-2.7.4.ebuild: RDEPEND: amd64(default/linux/amd64/17.0) ['>=dev-scheme/guile-2.0.0:12=[regex]']
> dependency.bad app-office/gnucash/gnucash-2.7.4.ebuild: DEPEND: amd64(default/linux/amd64/17.0/desktop) ['>=dev-scheme/guile-2.0.0:12=[regex]', '~dev-cpp/gtest-1.8.0']
Comment 2 Stabilization helper bot gentoo-dev 2018-02-09 13:00:44 UTC
An automated check of this bug failed - repoman reported dependency errors (43 lines truncated): 

> dependency.bad app-office/gnucash/gnucash-2.7.4.ebuild: DEPEND: amd64(default/linux/amd64/17.0) ['>=dev-scheme/guile-2.0.0:12=[regex]', '~dev-cpp/gtest-1.8.0']
> dependency.bad app-office/gnucash/gnucash-2.7.4.ebuild: RDEPEND: amd64(default/linux/amd64/17.0) ['>=dev-scheme/guile-2.0.0:12=[regex]']
> dependency.bad app-office/gnucash/gnucash-2.7.4.ebuild: DEPEND: amd64(default/linux/amd64/17.0/desktop) ['>=dev-scheme/guile-2.0.0:12=[regex]', '~dev-cpp/gtest-1.8.0']
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2018-02-14 13:36:38 UTC
x86 stopped stabilization due to bug 647596.
Comment 4 Mart Raudsepp gentoo-dev 2018-02-18 17:30:25 UTC
Please try to proceed. From test failure bug 647596 after other fixes from Aaron:

The following locales need to be present for all tests to succeed:
        en_GB.UTF-8 UTF-8
        en_US.UTF-8 UTF-8
        fr_FR.UTF-8 UTF-8
Comment 5 Jason Zaman gentoo-dev 2018-02-18 17:49:48 UTC
amd64 stable
Comment 6 Gleb 2018-02-19 06:32:17 UTC
Why do you make this release stable when developers clearly say on home page that "This release is UNSTABLE and SHOULD NOT BE USED in production."?
Comment 7 Aaron W. Swenson gentoo-dev 2018-02-19 21:19:43 UTC
(In reply to Gleb from comment #6)
> Why do you make this release stable when developers clearly say on home page
> that "This release is UNSTABLE and SHOULD NOT BE USED in production."?

This has been discussed on bug 629114, via ML, and other bugs.

GnuCash 2.6.x depends on a package, webkit-gtk, that we would have removed two years ago because of numerous severe security bugs. GnuCash 2.6 also fails to build against the latest stable ICU, so that's a bit of a blocker as well for many packages.

The three choices we had were to hold up numerous other packages that are vastly more popular than GnuCash (such as Firefox), drop all stable versions leaving just >=GnuCash-2.7.x as masked (so 2.6 would be removed), or go ahead and stable 2.7.x.

I have been using GnuCash 2.7 for a couple months now and have not run into any serious issues with it, so the decision was made to go ahead and stable it.

If the community would prefer option 2 (remove <gnucash-2.7, and keep gnucash masked), we can change direction. However, the arch teams would be a little put off by it.
Comment 8 Drunkard Zhang 2018-02-22 05:35:31 UTC
I don't think it's stable, after failure on migrating to gnucash 2.7.3, I try again on 2.7.4-r1, still failed, run into two different errors, importing of Accounts both successed, failed when importing transaction.

1.
Feb 22 12:58:45 gnucash.desktop[7473]: This is a development version. It may or may not work.
Feb 22 12:58:45 gnucash.desktop[7473]: Report bugs and other problems to gnucash-devel@gnucash.org
Feb 22 12:58:45 gnucash.desktop[7473]: You can also lookup and file bug reports at http://bugzilla.gnome.org
Feb 22 12:58:45 gnucash.desktop[7473]: To find the last stable version, please refer to http://www.gnucash.org
Feb 22 12:58:47 gnucash[7473]: GtkDialog mapped without a transient parent. This is discouraged.
Feb 22 12:58:55 dbus-daemon[454]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.348' (uid=5555 pid=7473 comm="gnucash ")
Feb 22 12:59:18 gnucash[7473]: Allocating size to GncMainWindow 0x582042a320 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
Feb 22 12:59:44 dbus-daemon[454]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.350' (uid=5555 pid=7473 comm="gnucash ")
Feb 22 12:59:57 kernel: gnucash[7473]: segfault at 7f6c44023944 ip 00007f6ca541e237 sp 00007ffdd9bc9a70 error 6 in libpixman-1.so.0.34.0[7f6ca53b4000+97000]
Feb 22 12:59:57 audit[7473]: ANOM_ABEND auid=5555 uid=5555 gid=5555 ses=3 pid=7473 comm="gnucash" exe="/usr/bin/gnucash" sig=11 res=1
Feb 22 13:00:00 systemd-coredump[7542]: Process 7473 (gnucash) of user 5555 dumped core.

2.
Feb 22 13:05:51 gnucash[15710]: GtkDialog mapped without a transient parent. This is discouraged.
Feb 22 13:06:00 gnome-shell[24102]: STACK_OP_RAISE_ABOVE: sibling window 0x4200003 not in stack
Feb 22 13:06:00 gnome-shell[24102]: STACK_OP_RAISE_ABOVE: sibling window 0x4200003 not in stack
Feb 22 13:06:00 gnome-shell[24102]: STACK_OP_RAISE_ABOVE: sibling window 0x4200003 not in stack
Feb 22 13:06:00 gnome-shell[24102]: STACK_OP_RAISE_ABOVE: sibling window 0x4200003 not in stack
Feb 22 13:06:00 gnome-shell[24102]: STACK_OP_RAISE_ABOVE: sibling window 0x4200003 not in stack
Feb 22 13:06:00 gnome-shell[24102]: STACK_OP_RAISE_ABOVE: sibling window 0x4200003 not in stack
Feb 22 13:06:00 gnome-shell[24102]: STACK_OP_RAISE_ABOVE: sibling window 0x4200003 not in stack
Feb 22 13:06:00 gnome-shell[24102]: STACK_OP_RAISE_ABOVE: sibling window 0x4200003 not in stack
Feb 22 13:06:00 gnome-shell[24102]: STACK_OP_RAISE_ABOVE: sibling window 0x4200003 not in stack
Feb 22 13:06:00 gnome-shell[24102]: STACK_OP_RAISE_ABOVE: sibling window 0x4200003 not in stack
Feb 22 13:06:00 gnome-shell[24102]: STACK_OP_RAISE_ABOVE: sibling window 0x4200003 not in stack
Feb 22 13:06:00 gnome-shell[24102]: STACK_OP_RAISE_ABOVE: sibling window 0x4200003 not in stack
Feb 22 13:06:00 gnome-shell[24102]: STACK_OP_RAISE_ABOVE: sibling window 0x4200003 not in stack
Feb 22 13:06:00 gnome-shell[24102]: STACK_OP_RAISE_ABOVE: sibling window 0x4200003 not in stack
Feb 22 13:06:09 dbus-daemon[454]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.354' (uid=5555 pid=15710 comm="gnuc>
Feb 22 13:06:09 systemd[1]: Starting Hostname Service...
Feb 22 13:06:09 dbus-daemon[454]: [system] Successfully activated service 'org.freedesktop.hostname1'
Feb 22 13:06:09 systemd[1]: Started Hostname Service.
Feb 22 13:06:18 gnucash[15710]: The program 'gnucash' received an X Window System error.
                                    This probably reflects a bug in the program.
                                    The error was 'BadAlloc (insufficient resources for operation)'.
                                      (Details: serial 21842 error_code 11 request_code 130 (MIT-SHM) minor_code 5)
                                      (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.)
Feb 22 13:06:18 kernel: traps: gnucash[15710] trap int3 ip:7feafc448301 sp:7ffdb18f0690 error:0
Feb 22 13:06:18 audit[15710]: ANOM_ABEND auid=5555 uid=5555 gid=5555 ses=3 pid=15710 comm="gnucash" exe="/usr/bin/gnucash" sig=5 res=1
Feb 22 13:06:18 systemd[1]: Started Process Core Dump (PID 15756/UID 0).
Feb 22 13:06:20 systemd-coredump[15757]: Core file was truncated to 2147483648 bytes.
Feb 22 13:06:21 systemd-coredump[15757]: Failed to generate stack trace: (null)
Feb 22 13:06:21 systemd-coredump[15757]: Process 15710 (gnucash) of user 5555 dumped core.

# emerge --info =app-office/gnucash-2.7.4-r1
Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-7.3.0, glibc-2.26-r6, 4.12.8-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.4.1
KiB Mem:    24554636 total,   7615272 free
KiB Swap:    8388604 total,   8382636 free
Head commit of repository gentoo: e09ac9a62ac481bb9c3591c587ff9b8a9ad9ba3a

sh bash 4.4_p19
ld GNU ld (Gentoo 2.30 p1) 2.30.0
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo, 3.6.4::gentoo
dev-util/cmake:           3.10.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.30::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 7.2.0-r1::gentoo, 7.3.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r2::gentoo
sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r6::gentoo
Repositories:

anyc
    location: /var/lib/layman/anyc
    masters: gentoo
    priority: 50

betagarden
    location: /var/lib/layman/betagarden
    masters: gentoo
    priority: 50

gnome
    location: /var/lib/layman/gnome
    masters: gentoo
    priority: 50

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 50

tlp
    location: /var/lib/layman/tlp
    masters: gentoo
    priority: 60

drunkard
    location: /var/lib/layman/drunkard
    masters: gentoo
    priority: 80

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: 9999

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=haswell -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=haswell -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news nodoc noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo/ http://mirrors.sohu.com/gentoo/ http://mirrors.aliyun.com/gentoo/ http://mirrors.kernel.org/gentoo/ "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh zh-CN zh-HK zh-TW zh_CN zh_HK zh_TW en ru de bo ug"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib accessibility acl acpi aio alsa amd64 amr amrenc ao ap apm audit bash-completion berkdb bluetooth bluray branding broadway bzip2 cairo caps cdda cjk cleartype cli colord cracklib crypt cups cxx dbus dga djvu dri dri3 drm dts dvd dvdr eds egl emboss encode epoll evo exif fam ffmpeg flac flite fontconfig fortran gallium gconf gdbm gegl geoip gif gimp glamor gles gles2 gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 hidpi iconv icu idn imagemagick inotify introspection ipv6 jack jpeg jpeg2k kdbus kms lcms libass libbluray libinput libnotify libsecret linguas_bo linguas_de linguas_en linguas_ru linguas_ug linguas_zh linguas_zh_CN linguas_zh_HK linguas_zh_TW lz4 lzma lzo mad mime minizip mmap mng modules mp3 mp4 mpeg mpi mtp multilib natspec nautilus ncurses networkmanager nls nptl ogg openal opencc opencl openexr opengl openmp opus pam pango pcre pdf png policykit postgres postscript ppds pulseaudio raw readline realtime sdl seccomp sftp smp ssh ssl startup-notification svg systemd theora threads tiff tracker truetype udev udisks unicode upower usb usbredir v4l v4l2 vaapi vdpau vim-syntax vorbis vpx vulkan wayland webp wifi wxwidgets x264 x265 xattr xcb xinerama xkb xml xmp xpm xrandr xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev keyboard libinput mouse" KERNEL="linux" L10N="zh zh-CN zh-HK zh-TW zh_CN zh_HK zh_TW en ru de bo ug" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby23 ruby24 ruby25" SANE_BACKENDS="hp hp3500" USERLAND="GNU" VIDEO_CARDS="nouveau intel i965 v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2018-02-22 11:47:19 UTC
x86 stable

Last arch, closing!
Comment 10 Aaron W. Swenson gentoo-dev 2018-02-22 20:24:52 UTC
(In reply to Drunkard Zhang from comment #8)
> I don't think it's stable, after failure on migrating to gnucash 2.7.3, I
> try again on 2.7.4-r1, still failed, run into two different errors,
> importing of Accounts both successed, failed when importing transaction.
> ...
> Feb 22 12:59:57 kernel: gnucash[7473]: segfault at 7f6c44023944 ip
> 00007f6ca541e237 sp 00007ffdd9bc9a70 error 6 in
> libpixman-1.so.0.34.0[7f6ca53b4000+97000]

This makes it seem like this isn't an issue with GnuCash, but with x11-libs/pixman.

Try reemerging x11-libs/pixman, and if the issue persists open a new bug with us and with GnuCash.

Importing transactions has been one of my repeated activities over the past couple months, and I've yet to hit this issue.
Comment 11 Drunkard Zhang 2018-02-24 14:54:29 UTC
(In reply to Aaron W. Swenson from comment #10)
> (In reply to Drunkard Zhang from comment #8)
> > I don't think it's stable, after failure on migrating to gnucash 2.7.3, I
> > try again on 2.7.4-r1, still failed, run into two different errors,
> > importing of Accounts both successed, failed when importing transaction.
> > ...
> > Feb 22 12:59:57 kernel: gnucash[7473]: segfault at 7f6c44023944 ip
> > 00007f6ca541e237 sp 00007ffdd9bc9a70 error 6 in
> > libpixman-1.so.0.34.0[7f6ca53b4000+97000]
> 
> This makes it seem like this isn't an issue with GnuCash, but with
> x11-libs/pixman.
> 
> Try reemerging x11-libs/pixman, and if the issue persists open a new bug
> with us and with GnuCash.

This issue dispeared after re-emerge x11-libs/pixman.

> Importing transactions has been one of my repeated activities over the past
> couple months, and I've yet to hit this issue.

Still no luck here. Still crashes when importing transactions, after file selecting step, it crashes.

Built with dev-scheme/guile-2.0.14-r3 or dev-scheme/guile-2.2.3 (gnucash rebuilt too), neither works.

What USEes are you using? and language? My is:

[ebuild   R   ] app-office/gnucash-2.7.4-r1  USE="gnome-keyring nls postgres -aqbanking -chipcard -debug -examples -mysql -ofx -python -quotes -register2 -sqlite" PYTHON_TARGETS="python2_7" 

My data stores in PostgreSQL 10.2, and Description in transaction is Chinese, would it be issue?
Comment 12 Drunkard Zhang 2018-02-27 07:48:15 UTC
(In reply to Drunkard Zhang from comment #11)
> (In reply to Aaron W. Swenson from comment #10)
> > (In reply to Drunkard Zhang from comment #8)
> > > I don't think it's stable, after failure on migrating to gnucash 2.7.3, I
> > > try again on 2.7.4-r1, still failed, run into two different errors,
> > > importing of Accounts both successed, failed when importing transaction.
> > > ...
> > > Feb 22 12:59:57 kernel: gnucash[7473]: segfault at 7f6c44023944 ip
> > > 00007f6ca541e237 sp 00007ffdd9bc9a70 error 6 in
> > > libpixman-1.so.0.34.0[7f6ca53b4000+97000]
> > 
> > This makes it seem like this isn't an issue with GnuCash, but with
> > x11-libs/pixman.
> > 
> > Try reemerging x11-libs/pixman, and if the issue persists open a new bug
> > with us and with GnuCash.
> 
> This issue dispeared after re-emerge x11-libs/pixman.
> 
> > Importing transactions has been one of my repeated activities over the past
> > couple months, and I've yet to hit this issue.
> 
> Still no luck here. Still crashes when importing transactions, after file
> selecting step, it crashes.
> 
> Built with dev-scheme/guile-2.0.14-r3 or dev-scheme/guile-2.2.3 (gnucash
> rebuilt too), neither works.
> 
> What USEes are you using? and language? My is:
> 
> [ebuild   R   ] app-office/gnucash-2.7.4-r1  USE="gnome-keyring nls postgres
> -aqbanking -chipcard -debug -examples -mysql -ofx -python -quotes -register2
> -sqlite" PYTHON_TARGETS="python2_7" 
> 
> My data stores in PostgreSQL 10.2, and Description in transaction is
> Chinese, would it be issue?

Issue resolved. Some entries have '\n' in description column, manually remove them fixes crashing issue.