Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305891 - app-text/djview4-4.5-r1 does not compile on DDJVUAPI_VERSION error
Summary: app-text/djview4-4.5-r1 does not compile on DDJVUAPI_VERSION error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-19 15:23 UTC by disperato
Modified: 2010-02-22 15:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description disperato 2010-02-19 15:23:10 UTC
In file included from djview.cpp:30:
qdjview.h:74:3: error: #error "DDJVUAPI_VERSION>=18 is required !"
In file included from qdjviewdialogs.cpp:91:
qdjview.h:74:3: error: #error "DDJVUAPI_VERSION>=18 is required !"
In file included from qdjview.cpp:98:
qdjview.h:74:3: error: #error "DDJVUAPI_VERSION>=18 is required !"
In file included from djview.cpp:30:
qdjview.h:277: error: ‘ddjvu_fileinfo_t’ was not declared in this scope
qdjview.h:277: error: template argument 1 is invalid
make[1]: *** [djview.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from qdjviewdialogs.cpp:91:
qdjview.h:277: error: ‘ddjvu_fileinfo_t’ was not declared in this scope
qdjview.h:277: error: template argument 1 is invalid
In file included from qdjview.cpp:98:
qdjview.h:277: error: ‘ddjvu_fileinfo_t’ was not declared in this scope
qdjview.h:277: error: template argument 1 is invalid
qdjview.cpp: In member function ‘void QDjView::fillPageCombo(QComboBox*)’:
qdjview.cpp:122: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjviewdialogs.cpp:188: error: ‘ddjvu_fileinfo_t’ was not declared in this scope
qdjviewdialogs.cpp:188: error: template argument 1 is invalid
qdjviewdialogs.cpp: In member function ‘void QDjViewInfoDialog::refresh()’:
qdjviewdialogs.cpp:290: error: request for member ‘size’ in ‘((QDjViewInfoDialog*)this)->QDjViewInfoDialog::d->QDjViewInfoDialog::Private::files’, which is of non-class type ‘int’
qdjviewdialogs.cpp:295: error: ‘ddjvu_document_get_filenum’ was not declared in this scope
qdjviewdialogs.cpp:298: error: ‘ddjvu_fileinfo_t’ was not declared in this scope
qdjviewdialogs.cpp:298: error: expected `;' before ‘info’
qdjviewdialogs.cpp:299: error: ‘info’ was not declared in this scope
qdjviewdialogs.cpp:299: error: ‘ddjvu_document_get_fileinfo’ was not declared in this scope
qdjviewdialogs.cpp:317: error: ‘ddjvu_fileinfo_t’ was not declared in this scope
qdjviewdialogs.cpp:317: error: ‘info’ was not declared in this scope
qdjviewdialogs.cpp:317: error: invalid types ‘int[int]’ for array subscript
qdjviewdialogs.cpp:322: error: ‘ddjvu_document_get_filedump’ was not declared in this scope
qdjviewdialogs.cpp:332: error: request for member ‘size’ in ‘((QDjViewInfoDialog*)this)->QDjViewInfoDialog::d->QDjViewInfoDialog::Private::files’, which is of non-class type ‘int’
qdjviewdialogs.cpp: In member function ‘void QDjViewInfoDialog::setPage(int)’:
qdjviewdialogs.cpp:347: error: request for member ‘size’ in ‘((QDjViewInfoDialog*)this)->QDjViewInfoDialog::d->QDjViewInfoDialog::Private::files’, which is of non-class type ‘int’
qdjviewdialogs.cpp:350: error: request for member ‘size’ in ‘((QDjViewInfoDialog*)this)->QDjViewInfoDialog::d->QDjViewInfoDialog::Private::files’, which is of non-class type ‘int’
qdjviewdialogs.cpp:351: error: invalid types ‘int[int]’ for array subscript
qdjviewdialogs.cpp:352: error: invalid types ‘int[int]’ for array subscript
qdjviewdialogs.cpp:354: error: request for member ‘size’ in ‘((QDjViewInfoDialog*)this)->QDjViewInfoDialog::d->QDjViewInfoDialog::Private::files’, which is of non-class type ‘int’
qdjviewdialogs.cpp: In member function ‘void QDjViewInfoDialog::setFile(int)’:
qdjviewdialogs.cpp:367: error: request for member ‘size’ in ‘((QDjViewInfoDialog*)this)->QDjViewInfoDialog::d->QDjViewInfoDialog::Private::files’, which is of non-class type ‘int’
qdjviewdialogs.cpp:370: error: request for member ‘size’ in ‘((QDjViewInfoDialog*)this)->QDjViewInfoDialog::d->QDjViewInfoDialog::Private::files’, which is of non-class type ‘int’
qdjviewdialogs.cpp:374: error: invalid types ‘int[int]’ for array subscript
qdjviewdialogs.cpp: In member function ‘void QDjViewInfoDialog::prevFile()’:
qdjviewdialogs.cpp:389: error: request for member ‘size’ in ‘((QDjViewInfoDialog*)this)->QDjViewInfoDialog::d->QDjViewInfoDialog::Private::files’, which is of non-class type ‘int’
qdjviewdialogs.cpp: In member function ‘void QDjViewInfoDialog::nextFile()’:
qdjviewdialogs.cpp:397: error: request for member ‘size’ in ‘((QDjViewInfoDialog*)this)->QDjViewInfoDialog::d->QDjViewInfoDialog::Private::files’, which is of non-class type ‘int’
qdjviewdialogs.cpp:398: error: request for member ‘size’ in ‘((QDjViewInfoDialog*)this)->QDjViewInfoDialog::d->QDjViewInfoDialog::Private::files’, which is of non-class type ‘int’
qdjviewdialogs.cpp: In member function ‘void QDjViewInfoDialog::jumpToSelectedPage()’:
qdjviewdialogs.cpp:405: error: request for member ‘size’ in ‘((QDjViewInfoDialog*)this)->QDjViewInfoDialog::d->QDjViewInfoDialog::Private::files’, which is of non-class type ‘int’
qdjviewdialogs.cpp:407: error: ‘ddjvu_fileinfo_t’ was not declared in this scope
qdjviewdialogs.cpp:407: error: ‘info’ was not declared in this scope
qdjviewdialogs.cpp:407: error: invalid types ‘int[int]’ for array subscript
qdjviewdialogs.cpp: In member function ‘void QDjViewInfoDialog::clear()’:
qdjviewdialogs.cpp:419: error: request for member ‘clear’ in ‘((QDjViewInfoDialog*)this)->QDjViewInfoDialog::d->QDjViewInfoDialog::Private::files’, which is of non-class type ‘int’
qdjviewdialogs.cpp: In member function ‘void QDjViewInfoDialog::fillFileCombo()’:
qdjviewdialogs.cpp:430: error: request for member ‘size’ in ‘((QDjViewInfoDialog*)this)->QDjViewInfoDialog::d->QDjViewInfoDialog::Private::files’, which is of non-class type ‘int’
qdjviewdialogs.cpp:432: error: ‘ddjvu_fileinfo_t’ was not declared in this scope
qdjviewdialogs.cpp:432: error: ‘info’ was not declared in this scope
qdjviewdialogs.cpp:432: error: invalid types ‘int[int]’ for array subscript
qdjviewdialogs.cpp: In member function ‘void QDjViewInfoDialog::fillDocLabel()’:
qdjviewdialogs.cpp:455: error: request for member ‘size’ in ‘((QDjViewInfoDialog*)this)->QDjViewInfoDialog::d->QDjViewInfoDialog::Private::files’, which is of non-class type ‘int’
qdjviewdialogs.cpp:474: error: ‘ddjvu_document_get_filenum’ was not declared in this scope
qdjviewdialogs.cpp: In member function ‘void QDjViewInfoDialog::fillDocTable()’:
qdjviewdialogs.cpp:485: error: request for member ‘size’ in ‘((QDjViewInfoDialog*)this)->QDjViewInfoDialog::d->QDjViewInfoDialog::Private::files’, which is of non-class type ‘int’
qdjviewdialogs.cpp: In member function ‘void QDjViewInfoDialog::fillDocRow(int)’:
qdjviewdialogs.cpp:499: error: ‘ddjvu_fileinfo_t’ was not declared in this scope
qdjviewdialogs.cpp:499: error: ‘info’ was not declared in this scope
qdjviewdialogs.cpp:499: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp: In member function ‘void QDjView::updateActions()’:
qdjview.cpp:943: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp: In member function ‘QStringList QDjView::parseArgument(QString, QString)’:
qdjview.cpp:1873: warning: format not a string literal and no format arguments
qdjview.cpp:1919: warning: format not a string literal and no format arguments
qdjview.cpp: In member function ‘void QDjView::parseDjVuCgiArguments(QUrl)’:
qdjview.cpp:1966: warning: format not a string literal and no format arguments
qdjview.cpp: In member function ‘void QDjView::closeDocument()’:
qdjview.cpp:2419: error: request for member ‘clear’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp: In member function ‘void QDjView::goToPage(int)’:
qdjview.cpp:2532: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp:2546: warning: format not a string literal and no format arguments
qdjview.cpp: In member function ‘void QDjView::goToPage(QString, int)’:
qdjview.cpp:2563: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp:2578: warning: format not a string literal and no format arguments
qdjview.cpp: In member function ‘void QDjView::goToPosition(QString, double, double)’:
qdjview.cpp:2594: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp:2608: warning: format not a string literal and no format arguments
qdjview.cpp: In member function ‘QUrl QDjView::getDecoratedUrl()’:
qdjview.cpp:3000: error: ‘ddjvu_fileinfo_t’ was not declared in this scope
qdjview.cpp:3000: error: template argument 1 is invalid
qdjview.cpp:3000: error: invalid type in declaration before ‘=’ token
qdjview.cpp:3001: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp:3002: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp: In member function ‘int QDjView::pageNum()’:
qdjview.cpp:3046: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp: In member function ‘QString QDjView::pageName(int, bool)’:
qdjview.cpp:3056: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp:3057: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp:3058: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp: In member function ‘int QDjView::pageNumber(QString, int)’:
qdjview.cpp:3080: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp:3086: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp:3087: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp:3106: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp:3107: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp:3110: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp:3111: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp:3119: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp:3120: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp: In member function ‘void QDjView::docinfo()’:
qdjview.cpp:3484: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp:3489: error: ‘ddjvu_document_get_filenum’ was not declared in this scope
qdjview.cpp:3492: error: ‘ddjvu_fileinfo_t’ was not declared in this scope
qdjview.cpp:3492: error: expected `;' before ‘info’
qdjview.cpp:3493: error: ISO C++ forbids taking the address of an unqualified or parenthesized non-static member function to form a pointer to member function.  Say ‘&QDjView::info’
qdjview.cpp:3493: error: ‘ddjvu_document_get_fileinfo’ was not declared in this scope
qdjview.cpp:3495: error: ‘((QDjView*)this)->QDjView::info’ does not have class type
qdjview.cpp:3495: error: ‘((QDjView*)this)->QDjView::info’ does not have class type
qdjview.cpp:3495: error: ‘((QDjView*)this)->QDjView::info’ does not have class type
qdjview.cpp:3495: error: ‘((QDjView*)this)->QDjView::info’ does not have class type
qdjview.cpp:3496: error: ‘((QDjView*)this)->QDjView::info’ does not have class type
qdjview.cpp:3497: error: ‘((QDjView*)this)->QDjView::info’ does not have class type
qdjview.cpp:3498: error: invalid use of member (did you forget the ‘&’ ?)
qdjview.cpp:3500: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp:3507: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp:3508: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp: In member function ‘void QDjView::docinfoExtra()’:
qdjview.cpp:3522: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp: In member function ‘void QDjView::performPending()’:
qdjview.cpp:3542: error: request for member ‘isEmpty’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
make[1]: *** [qdjviewdialogs.o] Error 1
qdjview.cpp: In member function ‘void QDjView::goToLink(QString, QString, int)’:
qdjview.cpp:3752: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp:3753: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp:3768: warning: format not a string literal and no format arguments
qdjview.cpp:3796: warning: format not a string literal and no format arguments
qdjview.cpp: In member function ‘void QDjView::pointerSelect(const QPoint&, const QRect&)’:
qdjview.cpp:3882: error: ‘ddjvu_fileinfo_t’ was not declared in this scope
qdjview.cpp:3882: error: template argument 1 is invalid
qdjview.cpp:3882: error: invalid type in declaration before ‘=’ token
qdjview.cpp:3884: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp:3885: error: invalid types ‘int[int]’ for array subscript
qdjview.cpp: In member function ‘void QDjView::performInformation()’:
qdjview.cpp:4056: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp: In member function ‘void QDjView::performMetadata()’:
qdjview.cpp:4071: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp: In member function ‘void QDjView::performCopyOutline()’:
qdjview.cpp:4406: error: request for member ‘size’ in ‘((QDjView*)this)->QDjView::documentPages’, which is of non-class type ‘int’
qdjview.cpp:4409: error: invalid types ‘int[int]’ for array subscript
make[1]: *** [qdjview.o] Error 1
make[1]: Leaving directory `/hugetmp/portage/portage/app-text/djview4-4.5-r1/work/djview4-4.5/src'
make: *** [all-djview] Error 2
 * ERROR: app-text/djview4-4.5-r1 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 3804:  Called die
 * The specific snippet of code:
 *       emake CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =app-text/djview4-4.5-r1',
 * the complete build log and the output of 'emerge -pqv =app-text/djview4-4.5-r1'.
 * The complete build log is located at '/sync/gentoo/log/app-text:djview4-4.5-r1:20100219-150109.log'.
 * The ebuild environment file is located at '/hugetmp/portage/portage/app-text/djview4-4.5-r1/temp/environment'.
 * S: '/hugetmp/portage/portage/app-text/djview4-4.5-r1/work/djview4-4.5'

>>> Failed to emerge app-text/djview4-4.5-r1, Log file:
Comment 1 disperato 2010-02-19 15:27:36 UTC
Portage 2.1.7.16 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Athlon_Dual-Core_QL-60-with-gentoo-1.12.13
Timestamp of tree: Thu, 18 Feb 2010 19:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       3.4.6-r2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/sync/gentoo/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sfperms unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://156.56.247.195 http://distfiles.gentoo.org http://152.46.7.80/pub/Linux/distributions/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/sync/gentoo/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --timeout=23"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/hugetmp/portage"
PORTDIR="/sync/portage"
PORTDIR_OVERLAY="/sync/gentoo/myebs"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amd64 apache2 apm aspell audiofile avi bash-completion bcmath berkdb bindist bitmap-fonts blas bmp bzip2 bzip2cairo caps cdparanoia cdr cli clibpdf cracklib crypt cscope ctype cups cxx dbus dbx diet dillo dio directfb divx4linux doc dri dv dvb dvd dvdr dvdread emul-linux-86 encode examples exif expat f90 f95 fam fbcon ffmpeg fftw flac flash foomaticdb fortran fortran90 fortran95 g95 gcj gd gdbm geforce ggi gif ginac glut glx gmp gnutls gphoto2 gpl gpm gstreamer gtk gtkhtml guile hal hardened hardenedphp hdf5 hdtemp headphones html2ps iconv ieee1394 imagemagick imlib inifile innodb ipv6 jabber jack jikes jpeg junit ladcca lapack lcms ldap libcaca libwww lm_sensors m17n-lib mad mhash mikmod mime ming mjpeg mmx mng modules motif mp3 mpeg mplayer msession mudflap multilib mysql mysqli ncurses netcdf nforce nls nptl nptlonly nsplugin nvidia nvidia-glx objc ofx ogg openal opengl openmp osc pcre pdflib perl php plotutils png portaudio ppds pppd prelude profile python qdbm qt qt3 qt3support qt4 quicktime radius readline reflection ruby samba scanner sdl session sharedext shorten simplexml slp smu sndfile speex spell spl sse sse2 ssl ssse3 svg sysfs szip tcltk tcp tcpd test tetex theora tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb vcd videos vim-syntax vorbis wddx wifi wireless wmf xfce xfce4 xine xml xmlrpc xmms xorg xosd xpm xscreensaver xsl xv xvid zlib" ALSA_CARDS="hda-intel vmware" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access auth auth_dbm auth_anon auth_digest authz_host alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate  filter mime-magic cern-meta expires headers usertrack unique_id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vesa nvidia nv vmware" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 disperato 2010-02-22 15:51:29 UTC
ok, finally I managed to emerge this package. I did a locate djvu and found out that there was stuff into /usr/local/ that shouldn't be there. I tend to exclude that I installed djvu manually in the past (not sure though), but either a manually installed package or an ebuild installed files into /usr/local/ and even the japanese version of related manpages.
I unmerged djvu, erased the above mentioned files and did:
emerge djview4
which installed djvu and  djview4

Sorry for having opened an inconsistent bug.