Bug 244299 - mail/exim: does not compile with AUTH_RADIUS=on
Summary: mail/exim: does not compile with AUTH_RADIUS=on
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dima Panov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-22 06:34 UTC by Victor Sudakov
Modified: 2020-02-24 15:34 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (vsevolod)


Attachments
Poudriere build log (26.17 KB, text/plain)
2020-02-22 06:34 UTC, Victor Sudakov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Sudakov 2020-02-22 06:34:34 UTC
Created attachment 211825 [details]
Poudriere build log

call_radius.c:189:13: error: expected expression
  *errptr = string_sprintf("RADIUS: can't initialise libradius");
            ^
./../local_scan.h:193:64: note: expanded from macro 'string_sprintf'
        string_sprintf_trc(fmt, US __FUNCTION__, __LINE__, __VA_ARGS__)
                                                                      ^
1 error generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/mail/exim/work/exim-4.93/build-FreeBSD-amd64/auths
*** Error code 1

Workaround: disable AUTH_RADIUS
Comment 1 commit-hook freebsd_committer 2020-02-24 15:33:19 UTC
A commit references this bug:

Author: fluffy
Date: Mon Feb 24 15:32:55 UTC 2020
New revision: 526974
URL: https://svnweb.freebsd.org/changeset/ports/526974

Log:
  mail/exim: unbreak with AUTH_RADIUS

  - bump PORTREVISION for radius users only
  - allow to build with net/freeradius-client instead of abandonware net/radiusclient-ng
  - Do not invoke printf-like function without parameter in call_radius.c
  With exim 4.93, string_sprintf() requires at least two arguments
  - take maintainership, discussed with vsevolod@ via private mail

  PR:		244287, 244299
  Reported by:	pi, Victor Sudakov
  Approved by:	maintainer

Changes:
  head/mail/exim/Makefile
  head/mail/exim/files/patch-src-auths-call_radius.c
Comment 2 Dima Panov freebsd_committer 2020-02-24 15:34:49 UTC
Fixed in r526974