Created attachment 435146 [details] build.log.xz ../../test-driver: line 107: 16572 Trace/breakpoint trap "$@" > $log_file 2>&1 FAIL: test-save-and-export ../../test-driver: line 107: 20407 Trace/breakpoint trap "$@" > $log_file 2>&1 FAIL: test-ui ../../test-driver: line 107: 17163 Trace/breakpoint trap "$@" > $log_file 2>&1 FAIL: test-single-window-mode ../../test-driver: line 107: 17341 Trace/breakpoint trap "$@" > $log_file 2>&1 FAIL: test-tools PASS: test-xcf ============================================================================ Testsuite summary for GIMP 2.9.2 ============================================================================ # TOTAL: 10 # PASS: 3 # SKIP: 3 # XFAIL: 0 # FAIL: 4 # XPASS: 0 # ERROR: 0 ============================================================================ See app/tests/test-suite.log Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP ============================================================================ Makefile:1543: recipe for target 'test-suite.log' failed make[6]: *** [test-suite.log] Error 1 make[6]: Leaving directory '/var/tmp/portage/media-gfx/gimp-2.9.2/work/gimp-2.9.2/app/tests' Makefile:1649: recipe for target 'check-TESTS' failed make[5]: *** [check-TESTS] Error 2 make[5]: Leaving directory '/var/tmp/portage/media-gfx/gimp-2.9.2/work/gimp-2.9.2/app/tests' Makefile:1810: recipe for target 'check-am' failed make[4]: *** [check-am] Error 2 make[4]: Leaving directory '/var/tmp/portage/media-gfx/gimp-2.9.2/work/gimp-2.9.2/app/tests' Makefile:1436: recipe for target 'check-recursive' failed make[3]: *** [check-recursive] Error 1 make[3]: Leaving directory '/var/tmp/portage/media-gfx/gimp-2.9.2/work/gimp-2.9.2/app/tests' Makefile:1178: recipe for target 'check-recursive' failed make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-gfx/gimp-2.9.2/work/gimp-2.9.2/app' Makefile:1330: recipe for target 'check' failed make[1]: *** [check] Error 2 make[1]: Leaving directory '/var/tmp/portage/media-gfx/gimp-2.9.2/work/gimp-2.9.2/app' Makefile:788: recipe for target 'check-recursive' failed make: *** [check-recursive] Error 1 emake failed * ERROR: media-gfx/gimp-2.9.2::gentoo failed (test phase): * Failed to run 'emake check' * * Call stack: * ebuild.sh, line 133: Called src_test * environment, line 4435: Called Xemake 'check' * environment, line 425: Called virtualmake 'check' * environment, line 5186: Called virtx 'emake' 'check' * environment, line 5233: Called die * The specific snippet of code: * [[ ${retval} -ne 0 ]] && die "Failed to run '$@'";
Created attachment 435148 [details] app/tests/test-suite.log FAIL: test-save-and-export ========================== Xlib: extension "RANDR" missing on display ":0". GIMP-Error: Failed to open file '/etc/gimp/2.0/templaterc': open() failed: No such file or directory gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. GIMP-Error: Failed to open file '/etc/gimp/2.0/controllerrc': open() failed: No such file or directory gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. gimp_display_shell_profile_update gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. gimp_display_shell_profile_update /gimp-save-and-export/new_file_has_no_files: (/var/tmp/portage/media-gfx/gimp-2.9.2/work/gimp-2.9.2/app/tests/.libs/test-save-and-export:16572): Gtk-WARNING **: Error loading theme icon 'gimp-reset' for stock: Icon 'gimp-reset' not present in theme FAIL test-save-and-export (exit status: 133) FAIL: test-single-window-mode ============================= Xlib: extension "RANDR" missing on display ":0". GIMP-Error: Failed to open file '/etc/gimp/2.0/templaterc': open() failed: No such file or directory gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. GIMP-Error: Failed to open file '/etc/gimp/2.0/controllerrc': open() failed: No such file or directory gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. gimp_display_shell_profile_update gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. gimp_display_shell_profile_update /gimp-single-window-mode/new_dockable_not_in_new_window: gimp_widget_load_icon(): icon theme has no icon 'gimp-dynamics'. gimp_widget_load_icon(): icon theme has no icon 'gimp-default-colors'. gimp_widget_load_icon(): icon theme has no icon 'gimp-swap-colors'. OK (/var/tmp/portage/media-gfx/gimp-2.9.2/work/gimp-2.9.2/app/tests/.libs/test-single-window-mode:17163): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed FAIL test-single-window-mode (exit status: 133) FAIL: test-tools ================ Xlib: extension "RANDR" missing on display ":0". GIMP-Error: Failed to open file '/etc/gimp/2.0/templaterc': open() failed: No such file or directory gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. GIMP-Error: Failed to open file '/etc/gimp/2.0/controllerrc': open() failed: No such file or directory gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. gimp_display_shell_profile_update gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. gimp_display_shell_profile_update /gimp-tools/crop_tool_can_crop: gimp_display_shell_profile_update src_profile: GIMP built-in sRGB src_format: R'G'B'A u8 dest_format: R'G'B'A u8 gimp_display_shell_profile_update src_profile: GIMP built-in sRGB src_format: R'G'B'A u8 dest_format: R'G'B'A u8 (/var/tmp/portage/media-gfx/gimp-2.9.2/work/gimp-2.9.2/app/tests/.libs/test-tools:17341): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed FAIL test-tools (exit status: 133) FAIL: test-ui ============= Xlib: extension "RANDR" missing on display ":0". GIMP-Error: Failed to open file '/etc/gimp/2.0/templaterc': open() failed: No such file or directory gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. GIMP-Error: Failed to open file '/etc/gimp/2.0/controllerrc': open() failed: No such file or directory gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. gimp_display_shell_profile_update gimp_get_monitor_resolution(): GDK returned bogus values for the monitor resolution, using 96 dpi instead. gimp_display_shell_profile_update /gimp-ui/paintbrush_is_standard_tool: OK /gimp-ui/tool_options_editor_updates: OK /gimp-ui/automatic_tab_style: gimp_widget_load_icon(): icon theme has no icon 'gimp-tool-ellipse-select'. OK /gimp-ui/create_new_image_via_dialog: (/var/tmp/portage/media-gfx/gimp-2.9.2/work/gimp-2.9.2/app/tests/.libs/test-ui:20407): Gtk-WARNING **: Error loading theme icon 'gimp-reset' for stock: Icon 'gimp-reset' not present in theme FAIL test-ui (exit status: 133)
Created attachment 435150 [details] dmesg output [ 3541.081119] traps: test-save-and-e[16572] trap int3 ip:7f5b1ef4e6e0 sp:7ffcc544ac30 error:0 [ 3542.314101] traps: test-ui[20407] trap int3 ip:7f5d39ee56e0 sp:7ffc3344cf00 error:0 [ 3543.120529] traps: test-single-win[17163] trap int3 ip:7f77c74bf6e0 sp:7ffd91a4a600 error:0 [ 3543.488090] traps: test-tools[17341] trap int3 ip:7f6f3383d6e0 sp:7fff92d6ff40 error:0
localhost ~ # emerge --info '=media-gfx/gimp-2.9.2::gentoo' Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.22-r4, 4.4.6-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.4.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.2 KiB Mem: 4043380 total, 2962220 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 23 May 2016 00:45:03 +0000 sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r1::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news 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://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" 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="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx mmxext modules multilib ncurses nls nptl openmp pam pcre readline seccomp session sse sse2 ssl tcpd unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" 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, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON localhost ~ # emerge -pqv '=media-gfx/gimp-2.9.2::gentoo' [ebuild N ] media-gfx/gimp-2.9.2 USE="{test} -aalib -alsa (-altivec) (-aqua) -debug -doc -gnome -jpeg2k -mng -openexr -pdf -postscript -python -smp -svg -tiff -udev -webkit -wmf -xpm" CPU_FLAGS_X86="mmx sse" LINGUAS="-am -ar -ast -az -be -bg -br -ca -ca@valencia -cs -csb -da -de -dz -el -en_CA -en_GB -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -lt -lv -mk -ml -ms -my -nb -nds -ne -nl -nn -oc -pa -pl -pt -pt_BR -ro -ru -rw -si -sk -sl -sr -sr@latin -sv -ta -te -th -tr -tt -uk -vi -xh -yi -zh_CN -zh_HK -zh_TW" PYTHON_TARGETS="python2_7" * IMPORTANT: 9 news items need reading for repository 'gentoo'. * Use eselect news read to view new items.
Is this still an issue with 2.9.6?
Created attachment 504522 [details] media-gfx/gimp-2.9.6:20171116-183232.log.bz2 (In reply to Sebastian Pipping from comment #4) > Is this still an issue with 2.9.6? test-tools still fails, the others pass now. This could also be due to me no longer having a PaX enabled kernel.
Created attachment 504524 [details] test-suite.log
I still have all those failures stated failing on 2.9.8, and test-xcf failing.
Test "tests test-save-and-export" is failing for =media-gfx/gimp-2.8.22-r1 on x86.
FAIL: test-save-and-export ========================== GIMP-Error: Failed to open file '/etc/gimp/2.0/templaterc': open() failed: No such file or directory GIMP-Error: Failed to open file '/etc/gimp/2.0/controllerrc': open() failed: No such file or directory /gimp-save-and-export/new_file_has_no_uris: OK /gimp-save-and-export/opened_xcf_file_uris: OK /gimp-save-and-export/imported_file_uris: (/var/tmp/portage/media-gfx/gimp-2.8.22-r1/work/gimp-2.8.22/app/tests/.libs/test-save-and-export:13606): Gimp-Core-CRITICAL **: gimp_image_get_uri: assertion 'GIMP_IS_IMAGE (image)' failed FAIL test-save-and-export (exit status: 133)
Seeing test-save-and-export on arm64, gimp 2.10.14-r1. .. contents:: :depth: 2 FAIL: test-save-and-export ========================== /gimp-save-and-export/new_file_has_no_files: OK /gimp-save-and-export/opened_xcf_file_files: OK /gimp-save-and-export/imported_file_files: terminate called after throwing an instance of 'Exiv2::BasicError<char>' terminate called recursively (lt-file-png:3771): LibGimpBase-WARNING **: 04:19:05.380: lt-file-png: gimp_wire_read(): error FAIL test-save-and-export (exit status: 134)
I'm seeing these failures with =media-gfx/gimp-2.10.18-r1 too. @maintainer, could you investigate please?
From the above logs I see that for failed tests > Xlib: extension "RANDR" missing on display ":0". It seems that tests were ran without "x11-base/xorg-server[xvbf]" being built. How do you try to run tests via > FEATURES="test" emerge -1v gimp or just via > FEATURES="test" ebuild /usr/portage/media-gfx/gimp/gimp-2.10.18-r1 test without preliminary build dependencies with > FEATURES="test" emerge -1vo gimp ? The built for "x11-base/xorg-server[xvbf]" should be provided for FEATURES="test" by inherit virtualx.eclass if I'm not mistaken. Could you check, please, if "x11-base/xorg-server" is compiled with USE="xvbf" before running gimp tests?
(In reply to Sam James (sec padawan) from comment #11) > I'm seeing these failures with =media-gfx/gimp-2.10.18-r1 too. > > @maintainer, could you investigate please? Sorry. or do you mean this error > Exiv2::BasicError<char> Do you have media-gfx/exiv2 in the system? Maybe I have this test passed because of having installed this package as dependency for other package.
(In reply to Sam James (sec padawan) from comment #11) > I'm seeing these failures with =media-gfx/gimp-2.10.18-r1 too. > > @maintainer, could you investigate please? The test error you encountered isn't the same as initially reported in comment1 for "test-save-and-export". The initial error partially related with [1] and [2] but that wasn't the reason of failures. And this isn't the same as mentioned in comment9. Because of error message > terminate called after throwing an instance of 'Exiv2::BasicError<char>' it's looks like related to "media-gfx/exiv2" package as BasicError is presented in its sourcecode rather in gimp one. I tried to look for similar issues in gimp bug tracker and found only some bugs like: "GIMP is not compatible with Exiv2 v0.27.0" on MacOS [3] that leads to "exiv2 0.27+ on darwin fails with Exiv2::BasicError<char> error" on Exiv2 bug tracker [4]. But this issues was closed before exiv-0.27.2 release and their fixes already presence in package exiv2. As it differs from initialy opened issue could you provide, please, you own full build(+test).log? [1] https://wiki.gimp.org/wiki/Hacking:Problems_and_solutions#Unit_tests_fail_2 [2] https://gitlab.gnome.org/GNOME/gimp/commit/a07f2301bbdf44ef00fba738f2ba157cd3546e39 [3] https://gitlab.gnome.org/GNOME/gimp/-/issues/2703 [4] https://github.com/Exiv2/exiv2/issues/644
(In reply to Sergey Torokhov from comment #14) > (In reply to Sam James (sec padawan) from comment #11) > > I'm seeing these failures with =media-gfx/gimp-2.10.18-r1 too. > > > > @maintainer, could you investigate please? > > The test error you encountered isn't the same as initially reported in > comment1 for "test-save-and-export". The initial error partially related > with [1] and [2] > but that wasn't the reason of failures. And this isn't the same as mentioned > in comment9. > > Because of error message > > terminate called after throwing an instance of 'Exiv2::BasicError<char>' > it's looks like related to "media-gfx/exiv2" package as BasicError is > presented in its sourcecode rather in gimp one. > > > I tried to look for similar issues in gimp bug tracker and found only some > bugs like: > > "GIMP is not compatible with Exiv2 v0.27.0" on MacOS [3] that leads to > "exiv2 0.27+ on darwin fails with Exiv2::BasicError<char> error" on Exiv2 > bug tracker [4]. But this issues was closed before exiv-0.27.2 release and > their fixes already presence in package exiv2. > > > As it differs from initialy opened issue could you provide, please, you own > full build(+test).log? > > [1] > https://wiki.gimp.org/wiki/Hacking:Problems_and_solutions#Unit_tests_fail_2 > [2] > https://gitlab.gnome.org/GNOME/gimp/commit/ > a07f2301bbdf44ef00fba738f2ba157cd3546e39 > > [3] https://gitlab.gnome.org/GNOME/gimp/-/issues/2703 > [4] https://github.com/Exiv2/exiv2/issues/644 That seems odd. I'll file a fresh bug soon with the full logs. I've got exams right now so it may be a little bit delayed. Thank you!