Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] milter-greylist 4.6alpha1 is available

2016-01-22 by Bob Friesenhahn

On Mon, 18 Jan 2016, manu@... [milter-greylist] wrote:

> Christian P\ufffdlissier Christian.Pelissier@... [milter-greylist]
> <milter-greylist@yahoogroups.com> wrote:
>
>> 4.6a1 compilation is OK with the following warning (Linux RHEL 6.7)
>
> Feel free to send patches to fix that.

Without Attila's patches, I get the following warnings under OmniOS 
r151016 with GCC 5.1.  Most of the warnings seem different.

I configured with:

./configure '--prefix=/usr/local' '--sysconfdir=/etc' 
'--localstatedir=/var' '--with-libcurl=/usr' 
'--with-libspf2=/usr/local' '--enable-stdio-hack' '--enable-dnsrbl' 
'--with-user=smmsp' '--with-conffile=/etc/mail/greylist.conf' 
'--with-drac-db=/etc/mail/dracdb.db'


gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o milter-greylist.o milter-greylist.c
milter-greylist.c: In function 'prefix2mask6':
milter-greylist.c:2367:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     *(uint32_t *)&mask->s6_addr[i] = htonl(m);
     ^
In file included from dump.h:67:0,
                  from milter-greylist.c:83:
milter-greylist.c: In function 'unmappedaddr':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.c:2390:31: note: in expansion of macro 'SADDR6'
   addr4.s_addr = *(uint32_t *)&SADDR6(sa)->s6_addr[12];
                                ^
milter-greylist.c: In function 'fstring_expand':
milter-greylist.c:3087:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       &= *(uint32_t *)&mask.in6.s6_addr[i];
       ^
milter-greylist.c:3087:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o pending.o pending.c
In file included from pending.c:44:0:
pending.c: In function 'pending_get':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:119:11: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
            ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:212:37: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_INSERT_TAIL(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                      ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:119:31: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
                                ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:212:37: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_INSERT_TAIL(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                      ^
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:119:11: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
            ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:212:37: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_INSERT_TAIL(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                      ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:119:31: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
                                ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:212:37: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_INSERT_TAIL(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                      ^
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:119:11: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
            ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:212:37: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_INSERT_TAIL(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                      ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:119:31: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
                                ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:212:37: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_INSERT_TAIL(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                      ^
pending.c: In function 'pending_rem':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:119:11: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
            ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:241:32: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_REMOVE(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                 ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:119:31: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
                                ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:241:32: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_REMOVE(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                 ^
In file included from pending.h:69:0,
                  from sync.h:36,
                  from pending.c:66:
pending.c: In function 'pending_del':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:305:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:305:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
pending.c: In function 'pending_check':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:370:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:370:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
pending.c: In function 'pending_tarpitted':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:516:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:516:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
pending.c:507:9: warning: variable 'now' set but not used [-Wunused-but-set-variable]
   time_t now;
          ^
In file included from pending.h:69:0,
                  from sync.h:36,
                  from pending.c:66:
pending.c: In function 'pending_update':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:582:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:582:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
pending.c: In function 'ip_match':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
pending.c:784:23: note: in expansion of macro 'SADDR6'
     if ((*(uint32_t *)&SADDR6(sa)->s6_addr[i] &
                        ^
pending.c:785:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
          *(uint32_t *)&mask->in6.s6_addr[i]) !=
          ^
In file included from pending.h:69:0,
                  from sync.h:36,
                  from pending.c:66:
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
pending.c:786:23: note: in expansion of macro 'SADDR6'
         (*(uint32_t *)&SADDR6(pat)->s6_addr[i] &
                        ^
pending.c:787:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
          *(uint32_t *)&mask->in6.s6_addr[i]))
          ^
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o sync.o sync.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o dnsrbl.o dnsrbl.c
dnsrbl.c: In function 'dnsrbl_check_source':
dnsrbl.c:242:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
          *(uint32_t *)&source->d_mask.in6.s6_addr[i];
          ^
In file included from dnsrbl.c:80:0:
dnsrbl.c: In function 'dnsrbl_source_add':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
dnsrbl.c:353:18: note: in expansion of macro 'SADDR6'
     *(uint32_t *)&SADDR6(blacklisted)->s6_addr[i] &=
                   ^
dnsrbl.c:354:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         *(uint32_t *)&de->d_mask.in6.s6_addr[i];
         ^
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o list.o list.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o macro.o macro.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o conf.o conf.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o store.o store.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o dump.o dump.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o spf.o spf.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o acl.o acl.c
In file included from pending.h:69:0,
                  from acl.h:146,
                  from spf.h:53,
                  from acl.c:63:
acl.c: In function 'acl_add_netblock':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
acl.c:1475:18: note: in expansion of macro 'SADDR6'
     *(uint32_t *)&SADDR6(sa)->s6_addr[i] &=
                   ^
acl.c:1476:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         *(uint32_t *)&mask.in6.s6_addr[i];
         ^
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o urlcheck.o urlcheck.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o stat.o stat.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o clock.o clock.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o geoip.o geoip.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o fd_pool.o fd_pool.c
fd_pool.c: In function 'get_pool_desc':
fd_pool.c:275:6: warning: variable 'fd' set but not used [-Wunused-but-set-variable]
   int fd;
       ^
In file included from fd_pool.c:105:0:
fd_pool.c: In function 'fopen_ext':
milter-greylist.h:392:20: warning: passing argument 1 of 'fcntl' makes integer from pointer without a cast [-Wint-conversion]
   int flags = fcntl((fd), F_GETFD, 0);       \
                     ^
fd_pool.c:346:3: note: in expansion of macro 'SET_CLOEXEC'
    SET_CLOEXEC(stream);
    ^
In file included from fd_pool.c:89:0:
/usr/include/fcntl.h:131:12: note: expected 'int' but argument is of type 'FILE * {aka struct __FILE *}'
  extern int fcntl(int, int, ...);
             ^
In file included from fd_pool.c:105:0:
fd_pool.c:346:15: warning: passing argument 1 of 'fcntl' makes integer from pointer without a cast [-Wint-conversion]
    SET_CLOEXEC(stream);
                ^
milter-greylist.h:395:15: note: in definition of macro 'SET_CLOEXEC'
    (void)fcntl(fd, F_SETFD, flags|FD_CLOEXEC); \
                ^
In file included from fd_pool.c:89:0:
/usr/include/fcntl.h:131:12: note: expected 'int' but argument is of type 'FILE * {aka struct __FILE *}'
  extern int fcntl(int, int, ...);
             ^
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o prop.o prop.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o ldapcheck.o ldapcheck.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o dkimcheck.o dkimcheck.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o p0f.o p0f.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o spamd.o spamd.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o mx.o mx.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o ratelimit.o ratelimit.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o nsupdate.o nsupdate.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o brokenmfapi.o brokenmfapi.c
=== Call make sequential for objects sensitive to that (current make='gmake' MAKEFLAGS=' -- V=0'):
gmake -j 1 bld-seq
gmake[1]: Entering directory '/scratch/bfriesen/OmniOS/tarballs/milter-greylist-4.6a1'
bison -y -p`echo conf_yacc.c|sed 's/^\([^_]\{1,\}_\).*$/\1/'` conf_yacc.y
mv y.tab.c conf_yacc.c
flex -oconf_lex.c conf_lex.l
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o conf_yacc.o conf_yacc.c
In file included from conf_yacc.y:2337:0:
conf_lex.c:2910:17: warning: 'yyunput' defined but not used [-Wunused-function]
      static void yyunput (int c, register char * yy_bp )
                  ^
conf_lex.c:2951:16: warning: 'input' defined but not used [-Wunused-function]
      static int input  (void)
                 ^
bison -y -p`echo dump_yacc.c|sed 's/^\([^_]\{1,\}_\).*$/\1/'` dump_yacc.y
mv y.tab.c dump_yacc.c
flex -odump_lex.c dump_lex.l
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o dump_yacc.o dump_yacc.c
In file included from dump_yacc.y:97:0:
dump_lex.c:1278:17: warning: 'yyunput' defined but not used [-Wunused-function]
      static void yyunput (int c, register char * yy_bp )
                  ^
dump_lex.c:1319:16: warning: 'input' defined but not used [-Wunused-function]
      static int input  (void)
                 ^
test -f .objseq-built || touch .objseq-built
gmake[1]: Leaving directory '/scratch/bfriesen/OmniOS/tarballs/milter-greylist-4.6a1'
sync || true
=== Linking milter-greylist:
gcc -o milter-greylist milter-greylist.o pending.o sync.o dnsrbl.o list.o macro.o conf.o store.o dump.o spf.o acl.o urlcheck.o stat.o clock.o geoip.o fd_pool.o prop.o ldapcheck.o dkimcheck.o p0f.o spamd.o mx.o ratelimit.o nsupdate.o brokenmfapi.o conf_yacc.o dump_yacc.o -L/usr/lib -Wl,-R/usr/lib -L/usr/local/lib -Wl,-R/usr/local/lib -lcurl  -lpthread -lspf2 -lsocket -lresolv -lnsl -lsocket -lsocket -lmilter
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g; s|@USER[@]|smmsp|g" ./rc-bsd.sh.in > rc-bsd.sh
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g; s|@USER[@]|smmsp|g" ./rc-redhat.sh.in > rc-redhat.sh
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g; s|@USER[@]|smmsp|g" ./rc-solaris.sh.in > rc-solaris.sh
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g; s|@USER[@]|smmsp|g" ./rc-debian.sh.in > rc-debian.sh
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g; s|@USER[@]|smmsp|g" ./rc-gentoo.sh.in > rc-gentoo.sh
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g; s|@USER[@]|smmsp|g" ./rc-suse.sh.in > rc-suse.sh

-- 
Bob Friesenhahn
bfriesen@..., http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.