Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 612584

Summary: net-fs/cifs-utils-6.7: undefined reference to "krb5_free_string" when using app-crypt/heimdal
Product: Gentoo Linux Reporter: Igor Poboiko <igor.poboiko>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED FIXED    
Severity: normal CC: fitzcarraldo1, phantom4, silvio.gerli
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
Proposed patch

Description Igor Poboiko 2017-03-14 07:38:07 UTC
Created attachment 466998 [details]
build.log

`krb5_free_string' only exists in app-crypt/mit-krb5 implementation.
With app-crypt/heimdal one should use `krb5_xfree' instead.
Comment 1 Igor Poboiko 2017-03-14 07:39:36 UTC
Created attachment 467000 [details, diff]
Proposed patch

Proposed patch that adds implementation-dependent define.
Tested with app-crypt/heimdal-7.1.0, works fine.
Comment 2 Kenton Groombridge 2017-03-14 12:11:00 UTC
Same issue reported in Bug 612138, and the patch worked for me.  Thanks.
Comment 3 Silvio 2017-03-24 16:57:59 UTC
Same problem here
Comment 4 ron widler 2017-03-26 15:32:46 UTC
same problem here, patch fixed it. thanks!
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-03-27 07:58:24 UTC
*** Bug 612138 has been marked as a duplicate of this bug. ***
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-03-27 07:59:00 UTC
commit af61a8bd9c0484d04fafc560236c8eacc890c2fa
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Mon Mar 27 09:57:57 2017

    net-fs/cifs-utils: Fixed compilation with app-crypt/heimdal (# 612584).

    Thanks to Igor Poboiko for providing a patch.

    Package-Manager: Portage-2.3.5, Repoman-2.3.2