Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209432 - app-antivirus/klamav-0.41 fails to build after upgrading to clamav 0.92
Summary: app-antivirus/klamav-0.41 fails to build after upgrading to clamav 0.92
Status: RESOLVED DUPLICATE of bug 202694
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-09 16:23 UTC by Marcello Magaldi
Modified: 2008-02-09 16:26 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 Marcello Magaldi 2008-02-09 16:23:46 UTC
After the update of clamav to 0.92  I launched revdep-rebuild that says that klamav-0.41 must be rebuilt but rebuilding klamav I've got a build error.

Reproducible: Always

Steps to Reproduce:
1.emerge --oneshot clamav
2.revdep-rebuild
3.

Actual Results:  
klamav rebuild fails

Expected Results:  
klamav should be rebuilt

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r6 i686)
=================================================================
System uname: 2.6.23-gentoo-r6 i686 AMD Athlon(tm) XP 2600+
Timestamp of tree: Sat, 09 Feb 2008 11:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
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.4_p6, 1.5, 1.6.3, 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-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -march=athlon-xp -pipe -fomit-frame-pointer"
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-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
FEATURES="ccache distcc metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.mneisen.org/gentoo http://212.219.56.138/sites/www.ibiblio.org/gentoo/ http://212.219.56.135/sites/www.ibiblio.org/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j8"
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/layman/sunrise /usr/portage/local/layman/enlightenment /usr/portage/local/layman/initng /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/mpd /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa apache2 arts aspnet automount avahi bash-completion beagle berkdb bidi bitmap-fonts boo c++ cdda cdio cdr cli cracklib crypt css cups dbus devhelp divx4linux dri dts dvd dvdr dvdread emovix encode esd exif fam ffmpeg firefox flac fortran freetype galago gcj gdbm gif gimp gimpprint glade glitz gnome gnutls gpm gstreamer gtk gtk2 guile hal httpd iconv ipv6 isdnlog jack java joystick jpeg kde ldap libnotify live lm_sensors mad matroska midi mjpeg mmx mono mp3 mpeg msn mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia objc offensive ogg oggvorbis opengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session sourceview spell spl sqlite sqlite3 sse ssl stream subversion svg svga swat syslog tcltk tcpd theora tk totem trasparency truetype truetype-fonts type1-fonts unicode usb v4l valgrind vcd vlm vorbis win32codecs wma wxwindows x86 xcomposite xml xorg xv xvid zlib" ALSA_CARDS="emu10k1 usb-audio" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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="it" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marcello Magaldi 2008-02-09 16:24:37 UTC
the error is :
scanner.c: In function ‘scanstream’:
scanner.c:399: warning: assignment makes pointer from integer without a cast
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -O2  -O2 -mtune=i686 -march=athlon-xp -pipe -fomit-frame-pointer -c dazukoio.c
/bin/sh ../../libtool --silent --tag=CC --mode=link i686-pc-linux-gnu-gcc  -DNDEBUG -O2  -O2 -mtune=i686 -march=athlon-xp -pipe -fomit-frame-pointer   -o klamd  output.o cfgparser.o getopt.o memory.o misc.o network.o options.o klamd.o tcpserver.o localserver.o session.o thrmgr.o server-th.o scanner.o others.o clamuko.o dazukoio_compat12.o dazukoio.o -lclamav 
scanner.o: In function `scanstream':
scanner.c:(.text+0x21f): undefined reference to `cli_gentempdesc'
collect2: ld returned 1 exit status
distcc[1778] ERROR: compile (null) on localhost failed
make[3]: *** [klamd] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-antivirus/klamav-0.41/work/klamav-0.41-source/klamav-0.41/src/klamd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-antivirus/klamav-0.41/work/klamav-0.41-source/klamav-0.41/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-antivirus/klamav-0.41/work/klamav-0.41-source/klamav-0.41'
make: *** [all] Error 2
 * 
 * ERROR: app-antivirus/klamav-0.41 failed.
 * Call stack:
 *    ebuild.sh, line 1701:  Called dyn_compile
 *    ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *    ebuild.sh, line   44:  Called src_compile
 *    ebuild.sh, line 1383:  Called kde_src_compile
 *   kde.eclass, line  174:  Called kde_src_compile 'all'
 *   kde.eclass, line  344:  Called kde_src_compile 'myconf' 'configure' 'make'
 *   kde.eclass, line  340:  Called die
 * The specific snippet of code:
 *   				emake || die "died running emake, $FUNCNAME:make"
 *  The die message:
 *   died running emake, kde_src_compile:make
 * 
 * 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-antivirus/klamav-0.41/temp/build.log'.
 * 

 * Messages for package app-antivirus/klamav-0.41:

 * 
 * ERROR: app-antivirus/klamav-0.41 failed.
 * Call stack:
 *    ebuild.sh, line 1701:  Called dyn_compile
 *    ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *    ebuild.sh, line   44:  Called src_compile
 *    ebuild.sh, line 1383:  Called kde_src_compile
 *   kde.eclass, line  174:  Called kde_src_compile 'all'
 *   kde.eclass, line  344:  Called kde_src_compile 'myconf' 'configure' 'make'
 *   kde.eclass, line  340:  Called die
 * The specific snippet of code:
 *   				emake || die "died running emake, $FUNCNAME:make"
 *  The die message:
 *   died running emake, kde_src_compile:make
 * 
 * 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-antivirus/klamav-0.41/temp/build.log'.
 * 

revdep-rebuild failed to emerge all packages
you have the following choices:

- if emerge failed during the build, fix the problems and re-run revdep-rebuild
    or
- use -X or --package-names as first argument (trys to rebuild package, not exact
  ebuild)
    or
- set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask
  (and remove /root/.revdep-rebuild.5_order to be evaluated again)
    or
- modify the above emerge command and run it manually
    or
- compile or unmerge unsatisfied packages manually, remove temporary files and
  try again (you can edit package/ebuild list first)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-09 16:26:46 UTC

*** This bug has been marked as a duplicate of bug 202694 ***

*** This bug has been marked as a duplicate of bug 202694 ***