Summary: | app-antivirus/clamav-0.99.2 USE=clamdtop with sys-libs/ncurses[tinfo] - ld: clamdtop.o: undefined reference to symbol 'halfdelay' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Wolfram Schlich (RETIRED) <wschlich> |
Component: | Current packages | Assignee: | Antivirus Team <antivirus> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, hurikhan77+bgo, hydrapolic, jarausch, net-mail+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 457530 | ||
Attachments: | build.log |
Description
Wolfram Schlich (RETIRED)
2016-10-06 07:18:22 UTC
Can you please attach the build log? *** Bug 608250 has been marked as a duplicate of this bug. *** Created attachment 464378 [details]
build.log
Attaching build.log of 0.99 here because my original bug report was marked as duplicate.
Unfortunately, I am not acquainted with the autoconf business. It sets the curseslib variable wrong - it misses -ltinfo As a work-around one can do the following: ebuild /usr/portage/app-antivirus/clamav/clamav-0.99.2.ebuild configure then patch (edit) the file /var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-.99.2/clamdtop/Makefile according to --- clamdtop/Makefile.bck 2017-03-15 12:54:58.754529748 +0100 +++ clamdtop/Makefile 2017-03-15 12:54:58.754529748 +0100 @@ -486,7 +486,7 @@ AM_CFLAGS = AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/shared -I$(top_srcdir)/libclamav -clamdtop_LDADD = -lssl -lcrypto -lz -lncurses $(top_builddir)/libclamav/libclamav_internal_utils_nothreads.la +clamdtop_LDADD = -lssl -lcrypto -lz -lncurses -ltinfo $(top_builddir)/libclamav/libclamav_internal_utils_nothreads.la EXTRA_DIST = clamdtop.c all: all-am Finally, run ebuild /usr/portage/app-antivirus/clamav/clamav-0.99.2.ebuild merge Fixed in 0.99.2-r1. |