Created attachment 559758 [details] build.log 87% tests passed, 2 tests failed out of 15 Total Test time (real) = 2.94 sec The following tests FAILED: 9 - testExtinction (Failed) 12 - testEphemeris ( 9/15 Testing: testExtinction 9/15 Test: testExtinction Command: "/var/tmp/portage/sci-astronomy/stellarium-0.18.2/work/stellarium-0.18.2_build/src/testExtinction" Directory: /var/tmp/portage/sci-astronomy/stellarium-0.18.2/work/stellarium-0.18.2_build/src "testExtinction" start time: Jan 04 00:51 CET Output: ---------------------------------------------------------- ********* Start testing of TestExtinction ********* Config: Using QtTest library 5.11.1, Qt 5.11.1 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 7.3.0) PASS : TestExtinction::initTestCase() FAIL! : TestExtinction::testBase() 'mag==2.25' returned FALSE. () Loc: [/var/tmp/portage/sci-astronomy/stellarium-0.18.2/work/stellarium-0.18.2/src/tests/testExtinction.cpp(44)] PASS : TestExtinction::cleanupTestCase() Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 6ms ********* Finished testing of TestExtinction ********* <end of output> Test time = 0.01 sec ---------------------------------------------------------- Test Failed. "testExtinction" end time: Jan 04 00:51 CET "testExtinction" time elapsed: 00:00:00 ---------------------------------------------------------- 12/15 Testing: testEphemeris 12/15 Test: testEphemeris Command: "/var/tmp/portage/sci-astronomy/stellarium-0.18.2/work/stellarium-0.18.2_build/src/testEphemeris" Directory: /var/tmp/portage/sci-astronomy/stellarium-0.18.2/work/stellarium-0.18.2_build/src "testEphemeris" start time: Jan 04 00:51 CET Output: ---------------------------------------------------------- ********* Start testing of TestEphemeris ********* Config: Using QtTest library 5.11.1, Qt 5.11.1 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 7.3.0) QWARN : TestEphemeris::initTestCase() WARNING StelFileMgr::StelFileMgr: could not find install location: "/usr/share/stellarium" (we checked for "/usr/share/stellarium/data/ssystem_major.ini" ). QWARN : TestEphemeris::initTestCase() Maybe this is AppImage or something similar? Let's check relative path... QWARN : TestEphemeris::initTestCase() WARNING StelFileMgr::StelFileMgr: could not find install location: "/var/tmp/portage/sci-astronomy/stellarium-0.18.2/work/stellarium-0.18.2_build/src/../share/stellarium" (we checked for "/var/tmp/portage/sci-astronomy/stellarium-0.18.2/work/stellarium-0.18.2_build/src/../share/stellarium/data/ssystem_major.ini" ). QFATAL : TestEphemeris::initTestCase() Couldn't find install directory location. FAIL! : TestEphemeris::initTestCase() Received a fatal error. Loc: [Unknown file(0)] Totals: 0 passed, 1 failed, 0 skipped, 0 blacklisted, 1ms ********* Finished testing of TestEphemeris ********* <end of output> Test time = 0.39 sec ---------------------------------------------------------- Test Failed. "testEphemeris" end time: Jan 04 00:51 CET "testEphemeris" time elapsed: 00:00:00 ---------------------------------------------------------- Portage 2.3.51 (python 2.7.15-final-0, default/linux/x86/17.0, gcc-7.3.0, glibc-2.27-r6, 4.14.83-gentoo i686) ================================================================= System uname: Linux-4.14.83-gentoo-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.6 KiB Mem: 3107600 total, 1395320 free KiB Swap: 488276 total, 486988 free Timestamp of repository gentoo: Thu, 03 Jan 2019 20:24:15 +0000 Head commit of repository gentoo: ba322d51b56271e15c17f827483f265b41e1743b sh bash 4.4_p12 ld GNU ld (Gentoo 2.30 p5) 2.30.0 app-shells/bash: 4.4_p12::gentoo dev-lang/perl: 5.24.3-r1::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.5::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.38.3-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r4::gentoo sys-devel/gcc: 7.3.0-r3::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 ABI="x86" ABI_X86="32" ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" ACCEPT_PROPERTIES="*" ACCEPT_RESTRICT="*" ARCH="x86" BROOT="" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare" CHOST="i686-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" COLLISION_IGNORE="/lib/modules/*" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CPU_FLAGS_X86="mmx mmxext sse sse2" CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare" DEFAULT_ABI="x86" EDITOR="/usr/bin/mcedit" ELIBC="glibc" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" EPREFIX="" EROOT="/" ESYSROOT="/" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=i686 -pipe" GCC_SPECS="" GRUB_PLATFORMS="efi-32 pc" GSETTINGS_BACKEND="dconf" HOME="/root" INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/7.3.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.30/info:/usr/share/info" INPUT_DEVICES="libinput keyboard mouse" IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest" KERNEL="linux" L10N="en en-US de de-DE" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LC_MESSAGES="C" LC_PAPER="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LIBDIR_x86="lib" LINGUAS="en de" LOGNAME="root" MAIL="/var/mail/root" MAKEOPTS="--jobs 5 --load-average 7.95" MULTILIB_ABIS="x86" NOCOLOR="true" OFFICE_IMPLEMENTATION="libreoffice" OLDPWD="/usr/portage/dev-libs/icu" OPENCL_PROFILE="ocl-icd" OPENGL_PROFILE="xorg-x11" PAGER="/usr/bin/less" PATH="/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" PHP_TARGETS="php5-6 php7-0 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PWD="/tmp/stable" PYTHONDONTWRITEBYTECODE="1" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QT_GRAPHICSSYSTEM="raster" ROOT="/" ROOTPATH="/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" RUBY_TARGETS="ruby23 ruby24" SHELL="/bin/bash" SHLVL="2" SSH_TTY="/dev/pts/0" SYSROOT="/" TERM="tmux-256color" TMUX="/tmp//tmux-0/default,5333,1" TMUX_PANE="%7" TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" USER="root" USERLAND="GNU" VIDEO_CARDS="vmware" XDG_CONFIG_DIRS="/etc/xdg" XDG_DATA_DIRS="/usr/local/share:/usr/share"
Alexey, you enabled tests, can you reproduce the failures? PS: Please use appropriate sign-off for future contributrions.
I can't reproduce testExtinction, but I reproduced testEphemeris. testEphemeris fails when stellarium is not installed yet. It had passed for me before, because I first installed it, then enabled test. Related: https://github.com/Stellarium/stellarium/commit/ba9717741b3f2ee458c50882ce85010987f89753 > Please use appropriate sign-off for future contributrions. Yeah, I'm trying to remember to use either repoman, or correct flags to git commit...
I've seen that as well, it seems upstream is struggling to make that one work reliably.
I reproduced testExtinction too, but only on i686.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d84d15c6f33b9af216df308f2cf03ef194915c08 commit d84d15c6f33b9af216df308f2cf03ef194915c08 Author: Alexey Sokolov <sokolov@google.com> AuthorDate: 2019-01-06 16:12:00 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-01-18 11:00:57 +0000 sci-astronomy/stellarium: Fix tests The patch is merged upstream at https://github.com/Stellarium/stellarium/pull/586 Closes: https://bugs.gentoo.org/674472 Signed-off-by: Alexey Sokolov <sokolov@google.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10759 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/stellarium-0.18.2-fix-test.patch | 113 +++++++++++++++++++++ sci-astronomy/stellarium/stellarium-0.18.2.ebuild | 5 +- 2 files changed, 117 insertions(+), 1 deletion(-)