Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 202694
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Erik Zeek <zeekec@mad.scientist.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge_info.txt emerge --info text/plain Erik Zeek 2007-12-18 14:10 0000 8.38 KB Details
app-antivirus:klamav-0.41:20071218-140554.log Build log text/plain Erik Zeek 2007-12-18 14:11 0000 26.80 KB Details
environment Build environment text/plain Erik Zeek 2007-12-18 14:12 0000 183.49 KB Details
klamav-0.41.1-gentempdesc.patch klamav-0.41.1-gentempdesc.patch patch Matteo Azzali 2007-12-19 09:55 0000 429 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 202694 depends on: Show dependency tree
Bug 202694 blocks: 207231
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-18 14:09 0000
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 From Erik Zeek 2007-12-18 14:10:20 0000 -------
Created an attachment (id=138813) [details]
emerege --info

------- Comment #2 From Erik Zeek 2007-12-18 14:11:17 0000 -------
Created an attachment (id=138814) [details]
Build log

------- Comment #3 From Erik Zeek 2007-12-18 14:12:12 0000 -------
Created an attachment (id=138816) [details]
Build environment

------- Comment #4 From Erik Zeek 2007-12-18 14:21:07 0000 -------
P.S.  I also tried klamav-0.41.1 (local ebuild) and it failed as well.

------- Comment #5 From Matteo Azzali 2007-12-19 09:55:23 0000 -------
Created an attachment (id=138876) [details]
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 From Erik Zeek 2007-12-19 13:55:00 0000 -------
(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 From teidakankan@gmail.com 2007-12-19 20:02:25 0000 -------
Another "patch works OK here" on ~x86 (Pentium M).

------- Comment #8 From Matteo Azzali 2007-12-30 12:52:48 0000 -------
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 From Stefan Werner 2007-12-30 17:11:48 0000 -------
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 From Tobias Heinlein 2007-12-30 17:50:55 0000 -------
Fixed in CVS.

------- Comment #11 From Carsten Lohrke 2007-12-31 18:26:12 0000 -------
(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 From Jakub Moc (RETIRED) 2008-02-09 16:26:46 0000 -------
*** Bug 209432 has been marked as a duplicate of this bug. ***

------- Comment #13 From Jakub Moc (RETIRED) 2008-02-09 16:28:06 0000 -------
(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 From Brent Baude 2008-02-09 23:08:43 0000 -------
ppc64 stable

------- Comment #15 From Tobias Scherbaum 2008-02-10 09:32:44 0000 -------
ppc stable

------- Comment #16 From Markus Meier 2008-02-10 10:20:53 0000 -------
x86 stable

------- Comment #17 From Raúl Porcel 2008-02-12 19:36:42 0000 -------
sparc stable

------- Comment #18 From Richard Freeman 2008-02-26 20:07:58 0000 -------
amd64 stable - resolving (forgive me if anything else remains)...

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