Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651084 - net-mail/dovecot-2.3.0.1 USE=kerberos - ld: ./.libs/libauth.a(mech-gssapi.o): undefined reference to symbol 'krb5_free_context@@HEIMDAL_KRB5_2.0'
Summary: net-mail/dovecot-2.3.0.1 USE=kerberos - ld: ./.libs/libauth.a(mech-gssapi.o):...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Eray Aslan
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-03-21 15:48 UTC by Martin Cyr
Modified: 2020-02-09 19:08 UTC (History)
1 user (show)

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


Attachments
dovecot-2.3.0.1-r1.ebuild.patch (dovecot-2.3.0.1-r1.ebuild.patch,893 bytes, patch)
2018-03-21 15:48 UTC, Martin Cyr
Details | Diff
m4-want-gssapi.patch (m4-want-gssapi.patch,1.97 KB, patch)
2018-03-21 15:49 UTC, Martin Cyr
Details | Diff
dovecot-2.3.0.1-r1.ebuild (dovecot-2.3.0.1-r1.ebuild,8.69 KB, text/plain)
2018-03-21 15:49 UTC, Martin Cyr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Cyr 2018-03-21 15:48:10 UTC
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.
Comment 1 Martin Cyr 2018-03-21 15:49:08 UTC
Created attachment 524662 [details, diff]
m4-want-gssapi.patch

Git commit 2d316e272fc2c97fc729ee221189271799884c78
https://github.com/dovecot/core/commit/2d316e272fc2c97fc729ee221189271799884c78
Comment 2 Martin Cyr 2018-03-21 15:49:35 UTC
Created attachment 524664 [details]
dovecot-2.3.0.1-r1.ebuild
Comment 3 Martin Cyr 2020-02-09 19:08:06 UTC
This was merged upstream since 2.3.9.