Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606870 - =app-text/zathura-0.3.7[-sqlite]: tests fail
Summary: =app-text/zathura-0.3.7[-sqlite]: tests fail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-01-23 07:09 UTC by Harri Nieminen (Moiman)
Modified: 2017-01-29 19:06 UTC (History)
0 users

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


Attachments
emerge.log (emerge.zathura.log,62.47 KB, text/x-log)
2017-01-23 07:09 UTC, Harri Nieminen (Moiman)
Details
emerge --info (info.zathura,18.02 KB, text/plain)
2017-01-23 07:10 UTC, Harri Nieminen (Moiman)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harri Nieminen (Moiman) 2017-01-23 07:09:48 UTC
Created attachment 461004 [details]
emerge.log

>>> Test phase: app-text/zathura-0.3.7
 * Scanning for an open DISPLAY to start Xvfb ...
 * Starting Xvfb on $DISPLAY=1 ...
make -j2 WITH_MAGIC=1 WITH_SQLITE=0 WITH_SYNCTEX=0 PREFIX=/usr LIBDIR=${PREFIX}/lib64 CC=x86_64-pc-linux-gnu-gcc SFLAGS= VERBOSE=1 DESTDIR=/var/tmp/portage/app-text/zathura-0.3.7/image/ test 
make -C tests run
make[1]: Entering directory '/var/tmp/portage/app-text/zathura-0.3.7/work/zathura-0.3.7/tests'
make WITH_LIBFIU=1 -C .. build/release/bin/zathura
make[2]: Entering directory '/var/tmp/portage/app-text/zathura-0.3.7/work/zathura-0.3.7'
make[2]: 'build/release/bin/zathura' is up to date.
make[2]: Leaving directory '/var/tmp/portage/app-text/zathura-0.3.7/work/zathura-0.3.7'
 [CC] build/release/bin/tests 
x86_64-pc-linux-gnu-gcc  -Wl,-O1 -Wl,--as-needed -rdynamic -rdynamic \
	-o build/release/bin/tests \
	 ../build/release/zathura/file-monitor-signal.o ../build/release/zathura/database.o ../build/release/zathura/content-type.o ../build/release/zathura/utils.o ../build/release/zathura/config.o ../build/release/zathura/plugin.o ../build/release/zathura/page-widget.o ../build/release/zathura/database-plain.o ../build/release/zathura/file-monitor-glib.o ../build/release/zathura/dbus-interface.o ../build/release/zathura/links.o ../build/release/zathura/commands.o ../build/release/zathura/document.o ../build/release/zathura/print.o ../build/release/zathura/checked-integer-arithmetic.o ../build/release/zathura/file-monitor.o ../build/release/zathura/css-definitions.o ../build/release/zathura/completion.o ../build/release/zathura/zathura.o ../build/release/zathura/bookmarks.o ../build/release/zathura/render.o ../build/release/zathura/dbus-interface-definitions.o ../build/release/zathura/page.o ../build/release/zathura/marks.o ../build/release/zathura/shortcuts.o ../build/release/zathura/adjustment.o ../build/release/zathura/jumplist.o ../build/release/zathura/types.o ../build/release/zathura/synctex.o ../build/release/zathura/callbacks.o -lgirara-gtk3 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -lpthread -lm -lcheck   -lmagic
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:63: build/release/bin/tests] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-text/zathura-0.3.7/work/zathura-0.3.7/tests'
make: *** [Makefile:212: test] Error 2
emake failed
 * ERROR: app-text/zathura-0.3.7::gentoo failed (test phase):
 *   Failed to run 'emake WITH_MAGIC=1 WITH_SQLITE=0 WITH_SYNCTEX=0 PREFIX=/usr LIBDIR=${PREFIX}/lib64 CC=x86_64-pc-linux-gnu-gcc SFLAGS= VERBOSE=1 DESTDIR=/var/tmp/portage/app-text/zathura-0.3.7/image/ test'
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called src_test
 *   environment, line 2060:  Called Xemake 'WITH_MAGIC=1' 'WITH_SQLITE=0' 'WITH_SYNCTEX=0' 'PREFIX=/usr' 'LIBDIR=${PREFIX}/lib64' 'CC=x86_64-pc-linux-gnu-gcc' 'SFLAGS=' 'VERBOSE=1' 'DESTDIR=/var/tmp/portage/app-text/zathura-0.3.7/image/' 'test'
 *   environment, line  222:  Called virtualmake 'WITH_MAGIC=1' 'WITH_SQLITE=0' 'WITH_SYNCTEX=0' 'PREFIX=/usr' 'LIBDIR=${PREFIX}/lib64' 'CC=x86_64-pc-linux-gnu-gcc' 'SFLAGS=' 'VERBOSE=1' 'DESTDIR=/var/tmp/portage/app-text/zathura-0.3.7/image/' 'test'
 *   environment, line 2684:  Called virtx 'emake' 'WITH_MAGIC=1' 'WITH_SQLITE=0' 'WITH_SYNCTEX=0' 'PREFIX=/usr' 'LIBDIR=${PREFIX}/lib64' 'CC=x86_64-pc-linux-gnu-gcc' 'SFLAGS=' 'VERBOSE=1' 'DESTDIR=/var/tmp/portage/app-text/zathura-0.3.7/image/' 'test'
 *   environment, line 2731:  Called die
 * The specific snippet of code:
 *       [[ ${retval} -ne 0 ]] && die "Failed to run '$@'";
 * 
 * If you need support, post the output of `emerge --info '=app-text/zathura-0.3.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/zathura-0.3.7::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-text/zathura-0.3.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/zathura-0.3.7/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/zathura-0.3.7/work/zathura-0.3.7'
 * S: '/var/tmp/portage/app-text/zathura-0.3.7/work/zathura-0.3.7'
Comment 1 Harri Nieminen (Moiman) 2017-01-23 07:10:19 UTC
Created attachment 461006 [details]
emerge --info
Comment 2 Michael Weber (RETIRED) gentoo-dev 2017-01-24 14:36:33 UTC
USE=magic,synctex,sqlite works
USE=magic,synctex,-sqlite fails
Comment 3 Michael Weber (RETIRED) gentoo-dev 2017-01-24 15:56:04 UTC
I fixed the test Makefile in

commit 84d9bec0db2d23c6c38489997dcd576d1be7ee9a
Author: Michael Weber <xmw@gentoo.org>
Date:   Tue Jan 24 16:53:52 2017 +0100

    app-text/zathura: Fix test for USE=-sqlite (bug 606870).
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1

re-check, please.
Comment 4 Michael Weber (RETIRED) gentoo-dev 2017-01-24 16:27:52 UTC
Upstream bug report http://bugs.netsurf-browser.org/mantis/view.php?id=2518
Comment 5 Harri Nieminen (Moiman) 2017-01-24 16:49:15 UTC
(In reply to Michael Weber from comment #4)
> Upstream bug report http://bugs.netsurf-browser.org/mantis/view.php?id=2518

Isn't the upstream bug repository located here https://bugs.pwmt.org/project/zathura/ ?

zathura now builds with tests without errors.
Comment 6 Michael Weber (RETIRED) gentoo-dev 2017-01-24 20:31:19 UTC
(In reply to moikkis from comment #5)
> Isn't the upstream bug repository located here
> https://bugs.pwmt.org/project/zathura/ ?
Wrong project, yeah, great. I was handling two bugs at the same time.

> zathura now builds with tests without errors.
thanks
Comment 7 Michael Weber (RETIRED) gentoo-dev 2017-01-29 19:06:46 UTC
It was fixed upstream 

commit 27a14806e7095ed06ae793880813ff0e87363bd6
Author: Sebastian Ramacher <sebastian+dev@ramacher.at>
Date:   Tue Jan 24 21:47:26 2017 +0100

    Properly filter sqlite objects when building with WITH_SQLITE=0
    
    Fixes https://bugs.gentoo.org/show_bug.cgi?id=606870
    
    Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>