Summary: | net-libs/libgsasl-1.6.0 - fails to properly detect >=app-crypt/heimdal-1.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Torsten Kurbad <torsten> |
Component: | [OLD] Library | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | galtgendo, gentoobugs, kerberos, sam, tetromino |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch for gss-extra.c
build.log config.log |
Description
Torsten Kurbad
2011-03-15 12:01:18 UTC
Created attachment 265987 [details, diff]
Patch for gss-extra.c
I analyzed the problem further. As it seems, libgsasl's (and likewise net-misc/gsasl's) configure mistakes my system for something Windows-related.
So after adding this patch, the library compiles fine.
Should I take that matter upstream?
Please attach the entire build log. Created attachment 266031 [details]
build.log
What's your version of heimdal ? Attach config.log. Created attachment 266033 [details]
config.log
version of heimdal is 1.4.1_pre20110304
That's the source of your problem. It would still work with heimdal 1.3.1. Take note of bug 355375 comment 8. I'm unsure whether heimdal upstream was free to make such change, though I vaguely recall a few other packages that did check for GSS_C_NT_HOSTBASED_SERVICE. (In reply to comment #6) > That's the source of your problem. > It would still work with heimdal 1.3.1. > Take note of bug 355375 comment 8. > I'm unsure whether heimdal upstream was free to make such change, > though I vaguely recall a few other packages that did check for > GSS_C_NT_HOSTBASED_SERVICE. Hmm, that doesn't sound too good. Anyway, for now my workaround-patch works for me... The problem occurs for me with net-libs/libgsasl-1.6.1 and app-crypt/heimdal-1.5 also. I am hitting this problem with libgsasl-1.6.1 and heimdal-1.5.1, even though I am building libgasl with USE=-kerberos. Confirming that the patch in comment #1 works. kerberos, net-mail herds: *ping* Fixed without a rev bump: + 02 Nov 2011; Eray Aslan <eras@gentoo.org> libgsasl-1.6.1.ebuild, + +files/libgsasl-gss-extra.patch: + Fix compiling against heimdal - bug #359005. Thanks to Torsten Kurbad + *** Bug 389351 has been marked as a duplicate of this bug. *** A little note here: the technically more correct solution (an upstreamable one) would involve changing gl/m4/gss-extra.m4 from AC_CHECK_FUNCS([GSS_C_NT_HOSTBASED_SERVICE]) to something checking header defines. Agreed. Revised the patch. + 05 Nov 2011; Eray Aslan <eras@gentoo.org> libgsasl-1.6.1.ebuild, + files/libgsasl-gss-extra.patch: + Better fix for heimdal - bug #359005. Thanks to Rafał Mużyło. + The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73438e5dfbdbe450e1985efb7b17ef0e4512a79c commit 73438e5dfbdbe450e1985efb7b17ef0e4512a79c Author: Sam James <sam@gentoo.org> AuthorDate: 2021-01-01 22:53:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-01-01 22:53:41 +0000 net-misc/gsasl: bump to 1.10.0 Drops likely-obsolete patch for referenced bug. Bug: https://bugs.gentoo.org/359005 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org> net-misc/gsasl/Manifest | 1 + net-misc/gsasl/gsasl-1.10.0.ebuild | 85 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2d85473cc13720c1c6d60875132c4a841c73795 commit a2d85473cc13720c1c6d60875132c4a841c73795 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-01-01 22:48:31 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-01-01 22:53:40 +0000 net-libs/libgsasl: bump to 1.10.0 Drops likely-obsolete patch for referenced bug. Bug: https://bugs.gentoo.org/359005 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org> net-libs/libgsasl/Manifest | 1 + net-libs/libgsasl/libgsasl-1.10.0.ebuild | 69 ++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) |