Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532346 - =x11-libs/pango-1.36.8 fails test test-layout
Summary: =x11-libs/pango-1.36.8 fails test test-layout
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2014-12-12 08:39 UTC by eroen
Modified: 2015-10-03 11:31 UTC (History)
7 users (show)

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


Attachments
x11-libs:pango-1.36.8:20141212-083004.log (x11-libs:pango-1.36.8:20141212-083004.log,361.39 KB, text/plain)
2014-12-12 08:39 UTC, eroen
Details
pango-1.36.8-abi_x86_32.x86/tests/test-suite.log (test-suite.log,1.31 KB, text/plain)
2014-12-12 08:40 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2014-12-12 08:39:31 UTC
Created attachment 391480 [details]
x11-libs:pango-1.36.8:20141212-083004.log

FAIL: test-layout
...
============================================================================
Testsuite summary for pango 1.36.8
============================================================================
# TOTAL: 11
# PASS:  10
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=pango
============================================================================
Makefile:1041: recipe for target 'test-suite.log' failed
make[3]: *** [test-suite.log] Error 1
make[3]: Leaving directory '/var/tmp/portage/x11-libs/pango-1.36.8/work/pango-1.36.8-abi_x86_32.x86/tests'
Makefile:1147: recipe for target 'check-TESTS' failed
make[2]: *** [check-TESTS] Error 2
make[2]: Leaving directory '/var/tmp/portage/x11-libs/pango-1.36.8/work/pango-1.36.8-abi_x86_32.x86/tests'
Makefile:1290: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/var/tmp/portage/x11-libs/pango-1.36.8/work/pango-1.36.8-abi_x86_32.x86/tests'
Makefile:585: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
 * ERROR: x11-libs/pango-1.36.8::gentoo failed (test phase):
 *   Make check failed. See above for details.
 *
 * Call stack:
 *            ebuild.sh, line   93:  Called src_test
 *          environment, line 3575:  Called multilib-minimal_src_test
 *          environment, line 2838:  Called multilib_foreach_abi 'multilib-minimal_abi_src_test'
 *          environment, line 3003:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_test'
 *          environment, line 2609:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_test'
 *          environment, line 2607:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_test'
 *          environment, line  509:  Called multilib-minimal_abi_src_test
 *          environment, line 2834:  Called default_src_test
 *   phase-functions.sh, line  799:  Called __eapi0_src_test
 *     phase-helpers.sh, line  672:  Called die
 * The specific snippet of code:
 *              $emake_cmd ${internal_opts} check || \
 *                      die "Make check failed. See above for details."
Comment 1 eroen 2014-12-12 08:40:23 UTC
Created attachment 391482 [details]
pango-1.36.8-abi_x86_32.x86/tests/test-suite.log

FAIL: test-layout
=================

/layout/valid-2.markup: OK
/layout/valid-1.markup: Contents don't match expected contents:
--- /var/tmp/portage/x11-libs/pango-1.36.8/work/pango-1.36.8/tests/layouts/valid-1.expected	2014-09-19 17:42:47.000000000 +0200
+++ /var/tmp/portage/x11-libs/pango-1.36.8/temp/.S1THQX	2014-12-12 09:31:55.952432383 +0100
@@ -24,10 +24,10 @@
 ---
 
 i=1, index=0, chars=22, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=c, 'This is a test of the '
-i=2, index=22, chars=11, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=c, 'automatic e'
+i=2, index=22, chars=6, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=c, 'automa'
   [22 41] foreground #00000000ffff
   [22 41] underline 1
-i=3, index=33, chars=15, level=0, gravity=south, flags=2, font=OMITTED, script=common, language=c, 'mergency brake!'
+i=3, index=28, chars=20, level=0, gravity=south, flags=2, font=OMITTED, script=common, language=c, 'tic emergency brake!'
   [0 2147483647] fallback 0
   [22 41] foreground #00000000ffff
   [22 41] underline 1
FAIL
Comment 2 eroen 2014-12-12 08:44:20 UTC
eroen@falcon /var/distfiles-local $ emerge --info '=x11-libs/pango-1.36.8::gentoo'
Portage 2.2.15 (python 2.7.8-final-0, default/linux/amd64/13.0, gcc-4.9.1, glibc-2.20, 3.16.3.e0-falcon1+ x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.16.3.e0-falcon1+-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     4043320 total,    272488 free
KiB Swap:    8388604 total,   7796668 free
Timestamp of tree: Thu, 11 Dec 2014 09:45:01 +0000
sh bash 4.3_p30-r1
ld GNU ld (GNU Binutils) 2.24
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2 [disabled]
app-shells/bash:          4.3_p30-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r3
dev-lang/python:          2.7.8, 3.2.5-r6, 3.3.5-r1, 3.4.2
dev-util/ccache:          3.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r4, 1.11.6-r1, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.5.4, 4.6.4, 4.7.4, 4.8.3, 4.9.1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3-r2
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo crossdev gamerlay eroen
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/var/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 3 --nospinner --quiet-build --verbose-conflicts --with-bdeps=y --binpkg-respect-use y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=""
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4 -l6"
PKGDIR="/var/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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/gamerlay /var/lib/layman/eroen"
USE="X a52 aac acl alsa amd64 ao berkdb bluray bs2b bzip2 cairo calendar caps cdda cdio cli cracklib crypt cups curl cxx dbus djvu dri dts dvd exif fam ffmpeg fftw fits flac fontconfig fortran fuse gcrypt gd gdbm gif gimp git gmp gnutls gstreamer highlight iconv icu id3tag idn imagemagick ipv6 jpeg jpeg2k kde ladspa lcms libass libcaca libnotify lzma lzo mad midi mikmod mms mmx mmxext mng modplug modules mp3 mp4 mpeg mplayer mtp multilib musepack ncurses netlink nls nptl offensive ogg openal opencl openexr opengl openmp opus pam pango pcre pdf png pnm portaudio postscript qalculate qt3support qt4 rar raw readline rtmp samba scanner session sndfile speex sse sse2 sse3 ssl ssse3 svg tcpd theora threads tiff truetype udev unicode usb v4l vdpau vnc vorbis wavpack webp wmf x264 xattr xcb xft xine xinerama xrandr xv xvid zlib" ABI_X86="32 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" CURL_SSL="openssl" 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" GRUB_PLATFORMS="efi-64 pc qemu" INPUT_DEVICES="evdev keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LINGUAS="en en_US en_GB nb no nb_NO" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3 python3_4" QEMU_SOFTMMU_TARGETS="m68k ppc x86_64" RUBY_TARGETS="ruby20" SANE_BACKENDS="net plustek pnm" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia vesa" XFCE_PLUGINS="clock trash" 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"
USE_PYTHON="2.7 3.2 3.3 3.4"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC

eroen@falcon /var/distfiles-local $ emerge -pqv '=x11-libs/pango-1.36.8::gentoo'
[ebuild     U ] x11-libs/pango-1.36.8 [1.36.3-r2] USE="X introspection -debug" ABI_X86="32 (64) (-x32)"
Comment 3 eroen 2014-12-12 09:18:27 UTC
Same test failure happens with ABI_X86=64.
Comment 4 Pacho Ramos gentoo-dev 2014-12-12 12:32:07 UTC
Can you report it to upstream too? -> bugzilla.gnome.org
Comment 5 eroen 2014-12-12 14:03:41 UTC
Reported upstream as https://bugzilla.gnome.org/show_bug.cgi?id=741443
Comment 6 Pacho Ramos gentoo-dev 2014-12-12 17:16:39 UTC
thanks
Comment 7 Paolo Pedroni 2014-12-22 08:02:23 UTC
Same problem.

The first commenter on the upstream bug has been somewhat less than helpful: "I would assume that the font configuration on your system is to blame"
Comment 8 J. Fekett 2015-02-19 10:16:43 UTC
Looks like some "test ? media-fonts/cantarell" is missing in DEPENDS.

tests/test-layout.c tries to load this font (from name), but does not check that it loaded requested font.
Comment 9 Nikoli 2015-04-07 04:38:00 UTC
I had exactly same problem with pango tests and installing media-fonts/cantarell indeed fixes it.
Comment 10 Paolo Pedroni 2015-04-14 15:01:02 UTC
(In reply to Nikoli from comment #9)
> I had exactly same problem with pango tests and installing
> media-fonts/cantarell indeed fixes it.

Strange... This works on one of my PCs, but not on the other: `eselect fontconfig list` is identical, though.

I wonder how could I troubleshoot it further.
Comment 11 Pacho Ramos gentoo-dev 2015-10-03 11:31:16 UTC
[master 68aa8e8] x11-libs/pango: Remove orphan old file (#536726), cantarell fonts are needed for tests (#532346), respect ROOT variable when creating modules.cache (#534360 by Mark Tomich and Fabian Groffen).
 1 file changed, 91 insertions(+)
 create mode 100644 x11-libs/pango/pango-1.36.8-r1.ebuild