This bug got worse with the release of version 4.99.1: localscan is now
bumped to version 7.0 and there are even more errors in the build:

https://launchpadlibrarian.net/842491231/buildlog_ubuntu-resolute-
amd64.sa-exim_4.2.1-22build1_BUILDING.txt.gz

In file included from sa-exim.c:32:
sa-exim.c: In function ‘savemail’:
/usr/include/exim4/local_scan.h:211:35: error: ‘_Generic’ selector of type 
‘char *’ is not compatible with any association
  211 | #define expand_string(X) _Generic((X),     \
      |                                   ^
sa-exim.c:200:16: note: in expansion of macro ‘expand_string’
  200 |         expand=expand_string(condition);
      |                ^~~~~~~~~~~~~
sa-exim.c: In function ‘local_scan’:
sa-exim.c:514:2: warning: #warning you should not worry about the "might be 
clobbered by longjmp", see source [-Wcpp]
  514 | #warning you should not worry about the "might be clobbered by 
longjmp", see source
      |  ^~~~~~~
/usr/include/exim4/local_scan.h:211:35: error: ‘_Generic’ selector of type 
‘char *’ is not compatible with any association
  211 | #define expand_string(X) _Generic((X),     \
      |                                   ^
sa-exim.c:611:30: note: in expansion of macro ‘expand_string’
  611 |     uschar *primary_hostname=expand_string("$primary_hostname");
      |                              ^~~~~~~~~~~~~
/usr/include/exim4/local_scan.h:211:35: error: ‘_Generic’ selector of type 
‘char *’ is not compatible with any association
  211 | #define expand_string(X) _Generic((X),     \
      |                                   ^
sa-exim.c:775:17: note: in expansion of macro ‘expand_string’
  775 |     if ((expand=expand_string( VAR )) == NULL) \
      |                 ^~~~~~~~~~~~~
sa-exim.c:785:5: note: in expansion of macro ‘M_CONDTOFLOAT’
  785 |     M_CONDTOFLOAT(SAteergrube);
      |     ^~~~~~~~~~~~~
/usr/include/exim4/local_scan.h:211:35: error: ‘_Generic’ selector of type 
‘char *’ is not compatible with any association
  211 | #define expand_string(X) _Generic((X),     \
      |                                   ^
sa-exim.c:775:17: note: in expansion of macro ‘expand_string’
  775 |     if ((expand=expand_string( VAR )) == NULL) \
      |                 ^~~~~~~~~~~~~
sa-exim.c:786:5: note: in expansion of macro ‘M_CONDTOFLOAT’
  786 |     M_CONDTOFLOAT(SAdevnull);
      |     ^~~~~~~~~~~~~
/usr/include/exim4/local_scan.h:211:35: error: ‘_Generic’ selector of type 
‘char *’ is not compatible with any association
  211 | #define expand_string(X) _Generic((X),     \
      |                                   ^
sa-exim.c:775:17: note: in expansion of macro ‘expand_string’
  775 |     if ((expand=expand_string( VAR )) == NULL) \
      |                 ^~~~~~~~~~~~~
sa-exim.c:787:5: note: in expansion of macro ‘M_CONDTOFLOAT’
  787 |     M_CONDTOFLOAT(SApermreject);
      |     ^~~~~~~~~~~~~
/usr/include/exim4/local_scan.h:211:35: error: ‘_Generic’ selector of type 
‘char *’ is not compatible with any association
  211 | #define expand_string(X) _Generic((X),     \
      |                                   ^
sa-exim.c:775:17: note: in expansion of macro ‘expand_string’
  775 |     if ((expand=expand_string( VAR )) == NULL) \
      |                 ^~~~~~~~~~~~~
sa-exim.c:788:5: note: in expansion of macro ‘M_CONDTOFLOAT’
  788 |     M_CONDTOFLOAT(SAtempreject);
      |     ^~~~~~~~~~~~~
/usr/include/exim4/local_scan.h:211:35: error: ‘_Generic’ selector of type 
‘char *’ is not compatible with any association
  211 | #define expand_string(X) _Generic((X),     \
      |                                   ^
sa-exim.c:836:20: note: in expansion of macro ‘expand_string’
  836 |             expand=expand_string(SATruncBodyCond);
      |                    ^~~~~~~~~~~~~
/usr/include/exim4/local_scan.h:211:35: error: ‘_Generic’ selector of type 
‘char *’ is not compatible with any association
  211 | #define expand_string(X) _Generic((X),     \
      |                                   ^
sa-exim.c:869:12: note: in expansion of macro ‘expand_string’
  869 |     expand=expand_string(SAEximRunCond);
      |            ^~~~~~~~~~~~~
/usr/include/exim4/local_scan.h:211:35: error: ‘_Generic’ selector of type 
‘char *’ is not compatible with any association
  211 | #define expand_string(X) _Generic((X),     \
      |                                   ^
sa-exim.c:930:20: note: in expansion of macro ‘expand_string’
  930 |             expand=expand_string(SAspamcUser);
      |                    ^~~~~~~~~~~~~
/usr/include/exim4/local_scan.h:211:35: error: ‘_Generic’ selector of type 
‘char *’ is not compatible with any association
  211 | #define expand_string(X) _Generic((X),     \
      |                                   ^
sa-exim.c:1335:20: note: in expansion of macro ‘expand_string’
 1335 |             expand=expand_string(SAEximRejCond);
      |                    ^~~~~~~~~~~~~
/usr/include/exim4/local_scan.h:211:35: error: ‘_Generic’ selector of type 
‘char *’ is not compatible with any association
  211 | #define expand_string(X) _Generic((X),     \
      |                                   ^
sa-exim.c:1358:24: note: in expansion of macro ‘expand_string’
 1358 |                 expand=expand_string(SAteergrubecond);
      |                        ^~~~~~~~~~~~~
sa-exim.c:1405:21: error: too few arguments to function ‘smtp_fflush’; expected 
1, have 0
 1405 |                 ret=smtp_fflush();
      |                     ^~~~~~~~~~~
/usr/include/exim4/local_scan.h:232:16: note: declared here
  232 | extern int     smtp_fflush(BOOL);
      |                ^~~~~~~~~~~
make[2]: *** [Makefile:41: sa-exim.so] Error 1

** Bug watch added: Debian Bug tracker #1122475
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1122475

** Also affects: sa-exim (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1122475
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902350

Title:
  sa-exim not compatible with localscan

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sa-exim/+bug/1902350/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to