Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720362 - net-mta/exim-4.93.0.4: failed build with USE=radius
Summary: net-mta/exim-4.93.0.4: failed build with USE=radius
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 685400
  Show dependency tree
 
Reported: 2020-05-02 01:48 UTC by Sam James
Modified: 2020-05-09 09:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (file_720362.txt,19.22 KB, text/plain)
2020-05-02 01:49 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-05-02 01:48:51 UTC
aarch64-unknown-linux-gnu-gcc -c -O2 -pipe -march=native -I/usr/include/db5.3  call_radius.c
In file included from ../exim.h:479,
                 from call_radius.c:31:
call_radius.c: In function ‘auth_call_radius’:
../local_scan.h:193:64: error: expected expression before ‘)’ token
  193 |  string_sprintf_trc(fmt, US __FUNCTION__, __LINE__, __VA_ARGS__)
      |                                                                ^
call_radius.c:145:13: note: in expansion of macro ‘string_sprintf’
  145 |   *errptr = string_sprintf("RADIUS: can't read dictionary");
      |             ^~~~~~~~~~~~~~
../local_scan.h:193:64: error: expected expression before ‘)’ token
  193 |  string_sprintf_trc(fmt, US __FUNCTION__, __LINE__, __VA_ARGS__)
      |                                                                ^
call_radius.c:148:13: note: in expansion of macro ‘string_sprintf’
  148 |   *errptr = string_sprintf("RADIUS: add user name failed\n");
      |             ^~~~~~~~~~~~~~
../local_scan.h:193:64: error: expected expression before ‘)’ token
  193 |  string_sprintf_trc(fmt, US __FUNCTION__, __LINE__, __VA_ARGS__)
      |                                                                ^
call_radius.c:152:13: note: in expansion of macro ‘string_sprintf’
  152 |   *errptr = string_sprintf("RADIUS: add password failed\n");
      |             ^~~~~~~~~~~~~~
../local_scan.h:193:64: error: expected expression before ‘)’ token
  193 |  string_sprintf_trc(fmt, US __FUNCTION__, __LINE__, __VA_ARGS__)
      |                                                                ^
call_radius.c:155:13: note: in expansion of macro ‘string_sprintf’
  155 |   *errptr = string_sprintf("RADIUS: add service type failed\n");
      |             ^~~~~~~~~~~~~~
make[2]: *** [Makefile:22: call_radius.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/mail-mta/exim-4.93.0.4/work/exim-4.93.0.4/build-exim-gentoo/auths'


----
Portage 2.3.99 (python 3.6.10-final-0, default/linux/arm64/17.0, gcc-9.3.0, glibc-2.31-r2, 4.9.0-4-arm64 aarch64)
=================================================================
System uname: Linux-4.9.0-4-arm64-aarch64-with-gentoo-2.7
KiB Mem:   131544964 total,  65063944 free
KiB Swap:    3321056 total,   2838080 free
Timestamp of repository gentoo: Wed, 29 Apr 2020 09:30:01 +0000
Head commit of repository gentoo: 303748343ad857b15352550d6d16d3edd55ba124
sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p1) 2.34.0
app-shells/bash:          5.0_p17::gentoo
dev-lang/perl:            5.30.2::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo
dev-util/cmake:           3.17.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r2::gentoo
Repositories:

gentoo
    location: /usr/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/portage/package.keywords/zz-autounmask /etc/portage/package.use/archtest /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j40"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl arm64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ADA_TARGET="gnat_2018" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-05-02 01:49:15 UTC
Created attachment 635570 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-05-02 01:51:39 UTC
USE='-X arc dane -dcc dkim -dlfunc dmarc -dnsdb -doc dovecot-sasl -dsn exiscan-acl -gnutls -idn -ipv6 -ldap -libressl lmtp -maildir -mbx mysql -nis pam perl -pkcs11 postgres prdr -proxy radius redis sasl spf sqlite -srs ssl syslog tcpd -tpda' failed for =mail-mta/exim-4.93.0.4
Comment 3 Larry the Git Cow gentoo-dev 2020-05-09 09:57:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=631b045c07527ab0ca4d4d585c56faa3855187fe

commit 631b045c07527ab0ca4d4d585c56faa3855187fe
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2020-05-09 09:57:23 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2020-05-09 09:57:38 +0000

    mail-mta/exim-4.93.0.4: fix compilation with certain USE-combinations
    
    - fix localscan compilation
    - fix nis compilation
    - refine DB includes to lookup only
    - fix radius compilation
    
    Closes: https://bugs.gentoo.org/720364
    Closes: https://bugs.gentoo.org/720362
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 mail-mta/exim/exim-4.93.0.4.ebuild                 |  8 ++-
 .../exim/files/exim-4.93-localscan_dlopen.patch    |  4 +-
 mail-mta/exim/files/exim-4.93-radius.patch         | 66 ++++++++++++++++++++++
 3 files changed, 74 insertions(+), 4 deletions(-)