Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202694 - stabilize app-antivirus/klamav-0.42 (0.41 fails to build with clamav-0.92)
Summary: stabilize app-antivirus/klamav-0.42 (0.41 fails to build with clamav-0.92)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: STABLEREQ
: 209432 (view as bug list)
Depends on:
Blocks: 207231
  Show dependency tree
 
Reported: 2007-12-18 14:09 UTC by Erik Zeek
Modified: 2008-02-26 20:07 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge_info.txt,8.38 KB, text/plain)
2007-12-18 14:10 UTC, Erik Zeek
Details
Build log (app-antivirus:klamav-0.41:20071218-140554.log,26.80 KB, text/plain)
2007-12-18 14:11 UTC, Erik Zeek
Details
Build environment (environment,183.49 KB, text/plain)
2007-12-18 14:12 UTC, Erik Zeek
Details
klamav-0.41.1-gentempdesc.patch (klamav-0.41.1-gentempdesc.patch,429 bytes, patch)
2007-12-19 09:55 UTC, Matteo Azzali (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Zeek 2007-12-18 14:09:40 UTC
A recent update of clamav-0.92 caused revdep to tag klamav for a rebuild, but it fails.  I checked and it builds fine with clamav-0.91.2.

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=prescott -march=prescott -pipe -c scanner.c
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=prescott -march=prescott -pipe -c others.c
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=prescott -march=prescott -pipe -c clamuko.c
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=prescott -march=prescott -pipe -c dazukoio_compat12.c
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=prescott -march=prescott -pipe -c dazukoio.c
/bin/sh ../../libtool --silent --tag=CC --mode=link i686-pc-linux-gnu-gcc  -DNDEBUG -O2  -O2 -mtune=prescott -march=prescott -pipe   -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+0x21d): undefined reference to `cli_gentempdesc'
collect2: ld returned 1 exit status
make[3]: *** [klamd] Error 1
make[3]: Leaving directory `/home/gentoo/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 `/home/gentoo/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 `/home/gentoo/tmp/portage/app-antivirus/klamav-0.41/work/klamav-0.41-source/klamav-0.41'
make: *** [all] Error 2
Comment 1 Erik Zeek 2007-12-18 14:10:20 UTC
Created attachment 138813 [details]
emerge --info
Comment 2 Erik Zeek 2007-12-18 14:11:17 UTC
Created attachment 138814 [details]
Build log
Comment 3 Erik Zeek 2007-12-18 14:12:12 UTC
Created attachment 138816 [details]
Build environment
Comment 4 Erik Zeek 2007-12-18 14:21:07 UTC
P.S.  I also tried klamav-0.41.1 (local ebuild) and it failed as well.
Comment 5 Matteo Azzali (RETIRED) gentoo-dev 2007-12-19 09:55:23 UTC
Created attachment 138876 [details, diff]
klamav-0.41.1-gentempdesc.patch

This is the workaround suggested at http://www.gossamer-threads.com/lists/clamav/devel/34976 and
used in archlinux at http://aur.archlinux.org/packages/klamav/klamav/klamav-0.41.1-cli_gentempfd.patch .

Please note that klamav homepage expired so this package may become unmaintained soon (follow kde-apps to check homepage)....

Also please test the patch, if in a couple days nobody suggests a better
solution I'll take bug and commit.
Comment 6 Erik Zeek 2007-12-19 13:55:00 UTC
(In reply to comment #5)
> Please note that klamav homepage expired so this package may become
> unmaintained soon (follow kde-apps to check homepage)....

The Sourceforge page seems just fine.  There was a bit of spam on the wiki pages, but I deleted that.
 
> Also please test the patch, if in a couple days nobody suggests a better
> solution I'll take bug and commit.

The patch seems to have fixed it.

Thanks,
Erik
Comment 7 teidakankan 2007-12-19 20:02:25 UTC
Another "patch works OK here" on ~x86 (Pentium M).
Comment 8 Matteo Azzali (RETIRED) gentoo-dev 2007-12-30 12:52:48 UTC
Fixed by bumping klamav-0.41.1 .

We'll need to stabilize it together with clamav-0.92 or before,
for now them both are unstable.
Comment 9 Stefan Werner 2007-12-30 17:11:48 UTC
Thanks for adding the patch!
In line 25 of klamav-0.41.1.ebuild it should be:

${FILESDIR}/${P}-gentempdesc.patch"

otherwise portage can't find the patch file and fails
Comment 10 Tobias Heinlein (RETIRED) gentoo-dev 2007-12-30 17:50:55 UTC
Fixed in CVS.
Comment 11 Carsten Lohrke (RETIRED) gentoo-dev 2007-12-31 18:26:12 UTC
(In reply to comment #8)
> We'll need to stabilize it together with clamav-0.92 or before,
> for now them both are unstable.

We have dependencies to reflect this, you know...

Comment 12 Jakub Moc (RETIRED) gentoo-dev 2008-02-09 16:26:46 UTC
*** Bug 209432 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2008-02-09 16:28:06 UTC
(In reply to comment #11)
> (In reply to comment #8)
> > We'll need to stabilize it together with clamav-0.92 or before,
> > for now them both are unstable.
> 
> We have dependencies to reflect this, you know...

Yeah, that apparently totally failed. Reopen. 

Comment 14 Brent Baude (RETIRED) gentoo-dev 2008-02-09 23:08:43 UTC
ppc64 stable
Comment 15 Tobias Scherbaum (RETIRED) gentoo-dev 2008-02-10 09:32:44 UTC
ppc stable
Comment 16 Markus Meier gentoo-dev 2008-02-10 10:20:53 UTC
x86 stable
Comment 17 Raúl Porcel (RETIRED) gentoo-dev 2008-02-12 19:36:42 UTC
sparc stable
Comment 18 Richard Freeman gentoo-dev 2008-02-26 20:07:58 UTC
amd64 stable - resolving (forgive me if anything else remains)...