Created attachment 524660 [details, diff] dovecot-2.3.0.1-r1.ebuild.patch libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -pipe -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -Wl,-O1 -Wl,--as-needed -o .libs/auth auth-main.o -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64 -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--export-dynamic ./.libs/libauth.a ./.libs/libstats_auth.so ./.libs/libpassword.a ../lib-ntlm/.libs/libntlm.a ../lib-otp/.libs/libotp.a ../../src/lib-sql/.libs/libsql.a -L/usr/lib64/postgresql-9.6/lib64 ../../src/lib-dovecot/.libs/libdovecot.so -ldl -lcrypt -lpam -L/usr/lib64 -lgssapi -lldap -llber -lpq -Wl,-rpath -Wl,/usr/lib64/dovecot/old-stats -Wl,-rpath -Wl,/usr/lib64/dovecot /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libauth.a(mech-gssapi.o): undefined reference to symbol 'krb5_free_context@@HEIMDAL_KRB5_2.0' /usr/lib64/libkrb5.so.26: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[3]: *** [Makefile:1028: auth] Error 1 make[3]: Leaving directory '/var/tmp/portage/net-mail/dovecot-2.3.0.1/work/dovecot-2.3.0.1/src/auth' This is already fixed upstream in commit 2d316e272fc2c97fc729ee221189271799884c78 (see https://github.com/dovecot/core/commit/2d316e272fc2c97fc729ee221189271799884c78). Included patch and updated ebuild.
Created attachment 524662 [details, diff] m4-want-gssapi.patch Git commit 2d316e272fc2c97fc729ee221189271799884c78 https://github.com/dovecot/core/commit/2d316e272fc2c97fc729ee221189271799884c78
Created attachment 524664 [details] dovecot-2.3.0.1-r1.ebuild
This was merged upstream since 2.3.9.