Summary: | app-crypt/mit-krb5 : krb5-conf returns incorrect libs that are required to link | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Vershilov (RETIRED) <qnikst> |
Component: | Current packages | Assignee: | Gentoo Kerberos Maintainers <kerberos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hasufell, pinkbyte, qnikst |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build time fix |
Description
Alexander Vershilov (RETIRED)
2012-12-27 06:41:46 UTC
Created attachment 333476 [details, diff]
build time fix
this patch fixes situation howerer it changes krb5-config --libs logic
another solution is to add next filters to executable (based on fedora patch) however it doesn't strip all build time garbage. lib_flags=`echo $lib_flags | sed -e "s#-fPIE##g" -e "s#-pie##g"` lib_flags=`echo $lib_flags | sed -e "s#-Wl,-z,relro##g"` lib_flags=`echo $lib_flags | sed -e "s#-Wl,-z,now##g"` lib_flags=`echo $lib_flags | sed -e "s#-Wl,-O[012]##g"` lib_flags=`echo $lib_flags | sed -e "s#-Wl,--hash-style=[^,]*,##g"` Yeah, I know the reason for the garbled output. It is also trivial to fix. Will do so after getting feedback from upstream though. Should be fixed in kit-krb5-1.11-r1. Please let me know if you still have a problem. Thank you. Works for me. why is this patch not upstream? http://mailman.mit.edu/pipermail/krbdev/2012-December/011317.html is the upstream's answer. |