Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 201448
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Printing Team <printing@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jakub Januszkiewicz <jakub.januszkiewicz@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 201448 depends on: Show dependency tree
Bug 201448 blocks: 216850
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-12-06 02:20 0000
app-text/poppler-bindings-0.6.2 fails with:

********* Start testing of TestPassword *********
Config: Using QTest library 4.3.2, Qt 4.3.2
PASS   : TestPassword::initTestCase()
Error: Couldn't open file '../../../test/unittestcases/Gday garçon - open.pdf'
FAIL!  : TestPassword::password1() 'doc' returned FALSE. ()
   Loc: [check_password.cpp(23)]
Error: Couldn't open file '../../../test/unittestcases/Gday garçon - open.pdf'
FAIL!  : TestPassword::password1a() 'doc' returned FALSE. ()
   Loc: [check_password.cpp(34)]
Error: Couldn't open file '../../../test/unittestcases/Gday garçon -
owner.pdf'
FAIL!  : TestPassword::password2() 'doc' returned FALSE. ()
   Loc: [check_password.cpp(46)]
Error: Couldn't open file '../../../test/unittestcases/Gday garçon -
owner.pdf'
FAIL!  : TestPassword::password2a() 'doc' returned FALSE. ()
   Loc: [check_password.cpp(56)]
Error: Couldn't open file '../../../test/unittestcases/Gday garçon -
owner.pdf'
FAIL!  : TestPassword::password2b() 'doc' returned FALSE. ()
   Loc: [check_password.cpp(66)]
PASS   : TestPassword::password3()
PASS   : TestPassword::cleanupTestCase()
Totals: 3 passed, 5 failed, 0 skipped
********* Finished testing of TestPassword *********
FAIL: check_password
********* Start testing of TestPageLayout *********
Config: Using QTest library 4.3.2, Qt 4.3.2
PASS   : TestPageLayout::initTestCase()
PASS   : TestPageLayout::checkNone()
PASS   : TestPageLayout::checkSingle()
PASS   : TestPageLayout::checkFacing()
PASS   : TestPageLayout::cleanupTestCase()
Totals: 5 passed, 0 failed, 0 skipped
********* Finished testing of TestPageLayout *********
PASS: check_pagelayout
===================
1 of 8 tests failed
===================
make[3]: *** [check-TESTS] Błąd 1
make[3]: Opuszczenie katalogu
`/var/tmp/portage/app-text/poppler-bindings-0.6.2/work/poppler-0.6.2/qt4/tests'
make[2]: *** [check-am] Błąd 2
make[2]: Opuszczenie katalogu
`/var/tmp/portage/app-text/poppler-bindings-0.6.2/work/poppler-0.6.2/qt4/tests'
make[1]: *** [check-recursive] Błąd 1
make[1]: Opuszczenie katalogu
`/var/tmp/portage/app-text/poppler-bindings-0.6.2/work/poppler-0.6.2/qt4'
make: *** [check-recursive] Błąd 1
 *
 * ERROR: app-text/poppler-bindings-0.6.2 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_test
 *             environment, line 2482:  Called die
 * The specific snippet of code:
 *               hasq test $FEATURES && diefunc "$FUNCNAME" "$LINENO" "$?"
"Make check failed. See above for details.";
 *  The die message:
 *   Make check failed. See above for details.
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/app-text/poppler-bindings-0.6.2/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/app-text/poppler-bindings-0.6.2/temp/environment'.


Reproducible: Always

Steps to Reproduce:
1. emerge =app-text/poppler-bindings-0.6.2
2.
3.




# emerge --info
Portage 2.1.4_rc7 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.6-r0,
2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 AMD Athlon(tm) XP 2400+
Timestamp of tree: Wed, 05 Dec 2007 11:46:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r4
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
/etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages metadata-transfer
parallel-fetch sandbox sfperms splitdebug strict test unmerge-orphans userfetch
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://gentoo.zie.pg.gda.pl
http://gentoo.prz.rzeszow.pl http://gentoo.mirrors.pair.com/
http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/
ftp://gentoo.mirrors.pair.com/"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amarok apache2 bash-completion berkdb
bitmap-fonts bluetooth branding bzip2 cairo cdparanoia cdr cjk cli cracklib
crypt cups curl dbus dlloader dri dv dvd dvdr dvdread emboss encode evo exif
fam fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif glitz gphoto2 gpm
gstreamer hal iconv ieee1394 irmc isdnlog jabber java java5 javascript jpeg kde
kdehiddenvisibility kerberos kipi libnotify mad matroska midi mikmod mime mmx
mng mp3 mpeg mplayer mudflap musepack mysql ncurses nls nptl nptlonly nsplugin
nvidia offensive ogg openal opengl openmp pam pcre pdf perl png ppds pppd
python qt qt3 qt3support qt4 quicktime rdesktop readline real realmedia
reflection samba sdl session spell spl sse ssl subversion svg tcpd test theora
threads tiff truetype truetype-fonts type1-fonts unicode usb utempter vcd
videos vnc vorbis win32codecs x264 x86 xattr xcomposite xine xml xorg xprint
xscreensaver xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw
asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
lfloat linear meter mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="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 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" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl"
USERLAND="GNU" VIDEO_CARDS="nvidia none"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Daniel Gryniewicz 2008-01-21 16:02:37 0000 -------
0.6.3 (now in portage) passes tests.

------- Comment #2 From Alexis Ballier 2008-01-22 09:39:54 0000 -------
not here :-(

Totals: 7 passed, 0 failed, 0 skipped
********* Finished testing of TestPageMode *********
PASS: check_pagemode
********* Start testing of TestPassword *********
Config: Using QTest library 4.3.3, Qt 4.3.3
PASS   : TestPassword::initTestCase()
Error: Couldn't open file '../../../test/unittestcases/Gday garçon - open.pdf'
FAIL!  : TestPassword::password1() 'doc' returned FALSE. ()
   Loc: [check_password.cpp(23)]
Error: Couldn't open file '../../../test/unittestcases/Gday garçon - open.pdf'
FAIL!  : TestPassword::password1a() 'doc' returned FALSE. ()
   Loc: [check_password.cpp(34)]
Error: Couldn't open file '../../../test/unittestcases/Gday garçon -
owner.pdf'
FAIL!  : TestPassword::password2() 'doc' returned FALSE. ()
   Loc: [check_password.cpp(46)]
Error: Couldn't open file '../../../test/unittestcases/Gday garçon -
owner.pdf'
FAIL!  : TestPassword::password2a() 'doc' returned FALSE. ()
   Loc: [check_password.cpp(56)]
Error: Couldn't open file '../../../test/unittestcases/Gday garçon -
owner.pdf'
FAIL!  : TestPassword::password2b() 'doc' returned FALSE. ()
   Loc: [check_password.cpp(66)]
Error: Incorrect password
PASS   : TestPassword::password3()
PASS   : TestPassword::cleanupTestCase()
Totals: 3 passed, 5 failed, 0 skipped
********* Finished testing of TestPassword *********
FAIL: check_password
********* Start testing of TestPageLayout *********
Config: Using QTest library 4.3.3, Qt 4.3.3
PASS   : TestPageLayout::initTestCase()
PASS   : TestPageLayout::checkNone()
PASS   : TestPageLayout::checkSingle()
PASS   : TestPageLayout::checkFacing()
PASS   : TestPageLayout::cleanupTestCase()
Totals: 5 passed, 0 failed, 0 skipped
********* Finished testing of TestPageLayout *********
PASS: check_pagelayout
===================
1 of 8 tests failed
===================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory
`/var/tmp/portage/app-text/poppler-bindings-0.6.3/work/poppler-0.6.3/qt4/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory
`/var/tmp/portage/app-text/poppler-bindings-0.6.3/work/poppler-0.6.3/qt4/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-text/poppler-bindings-0.6.3/work/poppler-0.6.3/qt4'
make: *** [check-recursive] Error 1
 * 
 * ERROR: app-text/poppler-bindings-0.6.3 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_test
 *             environment, line 2582:  Called die
 * The specific snippet of code:
 *               hasq test $FEATURES && diefunc "$FUNCNAME" "$LINENO" "$?"
"Make check failed. See above for details.";
 *  The die message:
 *   Make check failed. See above for details.
 * 
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/log/portage/app-text:poppler-bindings-0.6.3:20080122-091751.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/app-text/poppler-bindings-0.6.3/temp/environment'.

[ebuild     U ] app-text/poppler-bindings-0.6.3 [0.6.2] USE="cairo gtk qt3 qt4
test" 0 kB

------- Comment #3 From Jakub Januszkiewicz 2008-01-22 14:40:17 0000 -------
Still fails here, too (same error as before).

------- Comment #4 From Mart Raudsepp 2008-03-02 10:55:01 0000 -------
0.6.3 fails for me too in check_password

------- Comment #5 From Paolo Pedroni 2008-04-04 09:01:03 0000 -------
It also fails in poppler-bindings-0.8.0 (same place)

------- Comment #6 From Daniel Gryniewicz 2008-04-11 00:23:28 0000 -------
Okay, this qt4 test fails because it references one of the PDFs from adobe's
security test suite, which is not in the poppler distributed set of pdfs.  It's
not actually a test failure, it's a file-not-found error.  I've disabled that
one test in 0.6.3 and 0.8.0.

------- Comment #7 From Alexis Ballier 2008-04-11 08:24:18 0000 -------
(In reply to comment #6)
> Okay, this qt4 test fails because it references one of the PDFs from adobe's
> security test suite, which is not in the poppler distributed set of pdfs.  It's
> not actually a test failure, it's a file-not-found error.  I've disabled that
> one test in 0.6.3 and 0.8.0.

hu ?
Even if I dont know well how poppler works I've been able to make it work:
follow the instructions at the top of the ebuild which tells to update the test
files at every bump (which obviously hasnt been done), that is checkout a cvs.
Then there is a readme file that tells they moved to git:
git://anongit.freedesktop.org/git/poppler/test

clone it, tarball it, update poppler-bindings test tarball, and the test works
and the missing file is here...

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug