Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675142 - mail-mta/exim-4.91-r2: smtp.c:1626:34: error: ‘transport_instance’ {aka ‘struct transport_instance’} has no member named ‘event_action’
Summary: mail-mta/exim-4.91-r2: smtp.c:1626:34: error: ‘transport_instance’ {aka ‘stru...
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:
 
Reported: 2019-01-10 20:26 UTC by Rolf Eike Beer
Modified: 2019-01-11 13:17 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,56.00 KB, text/x-log)
2019-01-10 20:26 UTC, Rolf Eike Beer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer archtester 2019-01-10 20:26:47 UTC
Created attachment 560644 [details]
build.log

I have seen the same error on hppa and sparc.

To make looking for the causing use flag easier here some data:

USE='-X -arc -dane -dcc dkim dlfunc -dmarc dnsdb -doc dovecot-sasl dsn exiscan-acl gnutls idn -ipv6 -ldap lmtp maildir mbx mysql -nis -pam -perl -pkcs11 -postgres prdr proxy -radius -redis -sasl -spf -sqlite srs ssl syslog -tcpd -tpda' succeeded for =mail-mta/exim-4.91-r2
USE='X arc dane -dcc dkim dlfunc -dmarc -dnsdb -doc dovecot-sasl -dsn exiscan-acl -gnutls -idn -ipv6 -ldap 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.91-r2
    log has been saved as /root/tatt/logs/mail-mta_exim-4.91-r2_use_t3Rty
USE='X -arc -dane dcc -dkim -dlfunc -dmarc dnsdb doc -dovecot-sasl -dsn exiscan-acl -gnutls -idn -ipv6 ldap -lmtp -maildir -mbx -mysql -nis pam perl -pkcs11 -postgres prdr -proxy radius -redis -sasl -spf sqlite srs -ssl -syslog tcpd -tpda' succeeded for =mail-mta/exim-4.91-r2
USE='-X -arc -dane dcc -dkim dlfunc -dmarc dnsdb doc dovecot-sasl dsn exiscan-acl -gnutls -idn -ipv6 ldap lmtp maildir -mbx mysql -nis pam -perl pkcs11 -postgres -prdr proxy radius -redis -sasl -spf sqlite -srs ssl -syslog tcpd -tpda' succeeded for =mail-mta/exim-4.91-r2
USE='-X -arc -dane -dcc dkim dlfunc -dmarc dnsdb -doc dovecot-sasl -dsn -exiscan-acl gnutls idn ipv6 ldap lmtp -maildir mbx mysql -nis pam perl pkcs11 -postgres prdr -proxy radius -redis sasl -spf -sqlite -srs ssl -syslog tcpd tpda' succeeded for =mail-mta/exim-4.91-r2
USE='-X -arc -dane dcc dkim dlfunc -dmarc -dnsdb doc dovecot-sasl dsn exiscan-acl gnutls -idn ipv6 ldap -lmtp maildir mbx mysql -nis -pam perl -pkcs11 -postgres prdr proxy radius redis -sasl -spf sqlite -srs ssl -syslog tcpd tpda' succeeded for =mail-mta/exim-4.91-r2
USE='X -arc -dane dcc -dkim -dlfunc -dmarc -dnsdb -doc -dovecot-sasl -dsn exiscan-acl gnutls -idn ipv6 -ldap -lmtp -maildir -mbx mysql nis -pam -perl pkcs11 -postgres -prdr -proxy -radius redis -sasl spf sqlite srs ssl syslog tcpd tpda' succeeded for =mail-mta/exim-4.91-r2
USE='X -arc -dane -dcc dkim dlfunc -dmarc -dnsdb -doc -dovecot-sasl dsn exiscan-acl -gnutls -idn ipv6 -ldap -lmtp -maildir mbx -mysql -nis pam -perl -pkcs11 -postgres -prdr -proxy -radius -redis sasl spf sqlite srs -ssl syslog tcpd -tpda' succeeded for =mail-mta/exim-4.91-r2

Portage 2.3.49 (python 3.5.4-final-0, default/linux/hppa/17.0, gcc-7.3.0, glibc-2.27-r6, 4.19.9 parisc64)
=================================================================
System uname: Linux-4.19.9-parisc64-PA8800_-Mako-with-gentoo-2.4.1
KiB Mem:     8231816 total,    502104 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Thu, 10 Jan 2019 14:45:01 +0000
Head commit of repository gentoo: 286d9a91e87e505e9e92a1682028fbc2b8f0ebc6
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

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

ACCEPT_KEYWORDS="hppa"
ACCEPT_LICENSE="* -@EULA"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=2.0"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=2.0"
DISTDIR="/usr/portage/distfiles"
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=""
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS=""
GENTOO_MIRRORS="ftp://castor.sf-tec.de/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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 berkdb big-endian bzip2 cli crypt cups cxx firefox foomaticdb fortran gdbm gpm hppa iconv imlib ipv6 libwww ncurses nls nptl openmp pam pcre readline spell ssl tcpd unicode xattr zlib" 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 plan sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock 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="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Fabian Groffen gentoo-dev 2019-01-10 20:46:42 UTC
sparc-unknown-linux-gnu-gcc -o eximon.bin em_version.o -Wl,-O1 -Wl,--as-needed -
lssl -lcrypto -L/usr/X11R6/lib \
  util-spool_in.o util-store.o util-string.o util-queue.o util-tod.o tree.o em_S
tripChart.o em_TextPop.o em_globals.o em_init.o em_log.o em_main.o em_menu.o em_
queue.o em_strip.o em_text.o em_xs.o -lXaw -lXmu -lXt -lXext -lX11 -lpcre \
  -lnsl -lcrypt -lm    -lc -rdynamic -ldl
pdkim.c: In function ‘check_bare_ed25519_pubkey’:
pdkim.c:1355:61: warning: format ‘%lu’ expects argument of type ‘long unsigned i
nt’, but argument 2 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=]
   DEBUG(D_acl) debug_printf("PDKIM: unexpected pubkey len %lu\n", p->key.len);
                                                           ~~^     ~~~~~~~~~~
                                                           %u
smtp.c: In function ‘smtp_setup_conn’:
smtp.c:1626:12: warning: implicit declaration of function ‘event_raise’ [-Wimplicit-function-declaration]
     (void) event_raise(sx->tblock->event_action,
            ^~~~~~~~~~~
smtp.c:1626:34: error: ‘transport_instance’ {aka ‘struct transport_instance’} has no member named ‘event_action’
     (void) event_raise(sx->tblock->event_action,
                                  ^~
smtp.c:1637:36: error: ‘transport_instance’ {aka ‘struct transport_instance’} has no member named ‘event_action’
       (void) event_raise(sx->tblock->event_action,
                                    ^~
smtp.c:1977:31: error: ‘transport_instance’ {aka ‘struct transport_instance’} has no member named ‘event_action’
  (void) event_raise(sx->tblock->event_action,
                               ^~
smtp.c:2075:34: error: ‘transport_instance’ {aka ‘struct transport_instance’} has no member named ‘event_action’
     (void) event_raise(sx->tblock->event_action, US"dane:fail",
                                  ^~
>>> exim monitor binary built
 
make[2]: *** [Makefile:14: smtp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Comment 2 Fabian Groffen gentoo-dev 2019-01-11 13:03:17 UTC
reproduced/reduced to USE=dane
Comment 3 Larry the Git Cow gentoo-dev 2019-01-11 13:17:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=761a608fa0e44fa01af49b605afd4e86cf80e81c

commit 761a608fa0e44fa01af49b605afd4e86cf80e81c
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2019-01-11 13:17:16 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2019-01-11 13:17:29 +0000

    mail-mta/exim: fix compilation of USE=dane, bug #675142
    
    Closes: https://bugs.gentoo.org/675142
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 mail-mta/exim/exim-4.91-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)