pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Another build failure - security/clamav



On Sat, 8 Jul 2017, Paul Goyette wrote:

Looks like a problem with the 'gets' macro?

...
--- libclamav_internal_utils_nothreads_la-regcomp.lo ---
*** [libclamav_internal_utils_nothreads_la-regcomp.lo] Error code 1

make[4]: stopped in /tmp/pkgs/security/clamav/work.x86_64/clamav-0.99.2/libclamav
--- libclamav_internal_utils_nothreads_la-regerror.lo ---
In file included from ./filetypes.h:29:0,
                from ./matcher.h:28,
                from ./others.h:22,
                from regex/regerror.c:46:
./fmap.h: In function 'fmap_gets':
./fmap.h:159:39: error: macro "gets" passed 4 arguments, but takes just 1
    return m->gets(m, dst, at, max_len);
                                      ^
*** [libclamav_internal_utils_nothreads_la-regerror.lo] Error code 1

make[4]: stopped in /tmp/pkgs/security/clamav/work.x86_64/clamav-0.99.2/libclamav
--- libclamav_internal_utils_nothreads_la-regexec.lo ---
In file included from ./filetypes.h:29:0,
                from ./matcher.h:28,
                from ./others.h:22,
                from regex/regexec.c:53:
./fmap.h: In function 'fmap_gets':
./fmap.h:159:39: error: macro "gets" passed 4 arguments, but takes just 1
    return m->gets(m, dst, at, max_len);
                                      ^
*** [libclamav_internal_utils_nothreads_la-regexec.lo] Error code 1

make[4]: stopped in /tmp/pkgs/security/clamav/work.x86_64/clamav-0.99.2/libclamav
7 errors
For this package only I used the following settings in /etc/mk.conf
PKGSRC_USE_SSP=no
PKGSRC_USE_FORTIFY=no

Same setting I had to use in mail/hypermail, textproc/icu and
textproc/php-int.

Best regards,
Uwe



Home | Main Index | Thread Index | Old Index