Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118467 - klamav fails to compile - unexpected class name
Summary: klamav fails to compile - unexpected class name
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 15:11 UTC by Attila Stehr
Modified: 2006-01-09 16:54 UTC (History)
0 users

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 Attila Stehr 2006-01-09 15:11:37 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o uninstallwizard.moc.o uninstallwizard.moc.cpp
In file included from wizard.moc.cpp:11:
wizard.h:78: Fehler: expected class-name vor \uffff{\uffff-Zeichen
wizard.h:78: Warnung: \uffffclass Wizard\uffff hat virtuelle Funktionen aber nicht-virtuellen Destruktor
wizard.moc.cpp: In static member function `static QMetaObject* Wizard::staticMetaObject()':
wizard.moc.cpp:54: Fehler: \uffffWizardBase\uffff wurde nicht deklariert
wizard.moc.cpp: In member function `virtual void* Wizard::qt_cast(const char*)':
wizard.moc.cpp:115: Fehler: \uffffWizardBase\uffff wurde nicht deklariert
wizard.moc.cpp: In member function `virtual bool Wizard::qt_invoke(int, QUObject*)':
wizard.moc.cpp:138: Fehler: \uffffWizardBase\uffff wurde nicht deklariert
wizard.moc.cpp: In member function `virtual bool Wizard::qt_emit(int, QUObject*)':
wizard.moc.cpp:145: Fehler: \uffffWizardBase\uffff wurde nicht deklariert
wizard.moc.cpp: In member function `virtual bool Wizard::qt_property(int, int, QVariant*)':
wizard.moc.cpp:151: Fehler: \uffffWizardBase\uffff wurde nicht deklariert
make[3]: *** [wizard.moc.o] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: Leaving directory `/var/tmp/portage/klamav-0.32/work/klamav-0.32-source/klamav-0.32/src/arkollon'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/klamav-0.32/work/klamav-0.32-source/klamav-0.32/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/klamav-0.32/work/klamav-0.32-source/klamav-0.32'
make: *** [all] Fehler 2


translation:

wizard.h:78: Fehler: expected class-name vor \uffff{\uffff-Zeichen
-> error: ... before { sign

wizard.h:78: Warnung: \uffffclass Wizard\uffff hat virtuelle Funktionen aber nicht-virtuellen Destruktor
-> warning: class Wizard has virtual functions but a non-virtual destructor

wizard.moc.cpp:54: Fehler: \uffffWizardBase\uffff wurde nicht deklariert
-> error: WizardBase was not declared

--------------------------------------------------------

I did not make gcc-vanilla test or used other CFLAGS since imo this is a code issue! Anyway, this is my system:

Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox severe sfperms strict test"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acpi alsa amd64 asf audiofile avi berkdb bitmap-fonts bzip2 bzlib cdda cdio cdr crypt css cups curl dbus dga directfb dlloader dmalloc dnd dpms dts dvd dvdr dvdread eds emacs emboss encode esd exif expat fam fame fat fbcon ffmpeg firefox foomaticdb freetype gcj gdbm ggi gif gimpprint glut gmp gnome gpm gs gstreamer gtk gtk2 hal hardened howl idn imagemagick imlib ipv6 ithreads javascript jpeg jpeg2k kde lcms libsamplerate libwww linuxthreads-tls lzo lzw lzw-tiff matroska mbox memlimit milter mjpeg mmap mng mozcalendar mozdevelop mozsvg mp3 mpeg mpi ncurses nls nptl nptlonly ntfs nvidia ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pcre pdflib perl png ppds python qt quicktime readline real reiserfs rle sasl sdl slang sndfile spell ssl stream svg symlink tcltk tcpd test tetex tga theora threads tidy tiff toolbar truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd videos vorbis wmf xine xml xml2 xmms xosd xpm xprint xtermtoolbar xv xvid xvmc yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY

---------------------------

btw: 
Having other clamav guis would be great! ClamTK http://www.gnomefiles.org/app.php?soft_id=912 looks nice.
And ... to drive it to extremes, we have f-prot in portage .. having "visual f-prot" http://www.gnomefiles.org/app.php?soft_id=886 would be cool too. :)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-09 15:34:06 UTC

*** This bug has been marked as a duplicate of 115912 ***
Comment 2 Attila Stehr 2006-01-09 15:55:11 UTC
115912 is about using -j3. This is my makeopts:
MAKEOPTS="-j2"

The solution of 115912 is not the solution for THIS bug.
Please alter the summary of 115912 and append "same problem with -j2"  or leave this bugs status REOPENED.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-09 16:00:54 UTC
(In reply to comment #2)
> The solution of 115912 is not the solution for THIS bug.
> Please alter the summary of 115912 and append "same problem with -j2"  or leave
> this bugs status REOPENED.

Eh? Does it compile w/ -j1 or not? If yes, then don't reopen this bug b/c it's pointless.

Comment 4 Attila Stehr 2006-01-09 16:54:14 UTC
Doesn't matter sine there was a fix for both bugs. See https://bugs.gentoo.org/show_bug.cgi?id=115912 for further details.