NetBSD Problem Report #52141
From www@NetBSD.org Thu Apr 6 11:56:47 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 8B1197A1FB
for <gnats-bugs@gnats.NetBSD.org>; Thu, 6 Apr 2017 11:56:47 +0000 (UTC)
Message-Id: <20170406115009.9DF0C7A2B6@mollari.NetBSD.org>
Date: Thu, 6 Apr 2017 11:50:09 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joernc@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Mutt 1.8.0 is not compatible with native Solaris krb5
X-Send-Pr-Version: www-1.0
>Number: 52141
>Category: pkg
>Synopsis: Mutt 1.8.0 is not compatible with native Solaris krb5
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 06 12:00:00 +0000 2017
>Last-Modified: Tue Jan 29 06:47:20 +0000 2019
>Originator: Joern Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
After the upgrade to 1.8.0, mail/mutt no longer compiles on Solaris 11, when the native Kerberos implementation is used:
gmake[2]: Entering directory `/opt/pkgsrc/pkg-hrz/pkgsrc/mail/mutt/work.pkgsrc-sol11i86/mutt-1.8.0/imap'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../intl -I/usr/include/kerberosv5 -I/usr/include/gssapi -I/usr/include -I/opt/pkg-hrz/20170105/include/ncurses -I/opt/pkg-hrz/20170105/include -I/opt/pkg-hrz/20170105/include/db4 -I/opt/pkg-hrz/20170105/include -I/usr/include -I/opt/pkg-hrz/20170105/include -I/opt/pkg-hrz/20170105/include/db4 -I/opt/pkg-hrz/20170105/include -I../intl -Wall -pedantic -Wno-long-long -O2 -I/usr/include/kerberosv5 -I/usr/include/gssapi -I/usr/include -I/opt/pkg-hrz/20170105/include/ncurses -I/opt/pkg-hrz/20170105/include -I/opt/pkg-hrz/20170105/include/db4 -MT auth_gss.o -MD -MP -MF .deps/auth_gss.Tpo -c -o auth_gss.o auth_gss.c
auth_gss.c:36:37: fatal error: gssapi/gssapi_generic.h: No such file or directory
# include <gssapi/gssapi_generic.h>
^
compilation terminated.
with
PREFER_NATIVE = mit-krb5
For me personally, this is a minor problem, I could switch to pkgsrc's krb5. But in my experience (e.g. OpenSSL), native packages seem to use dedicated crypto hardware, pkgsrc packages not. I don't know if this is the case with krb5.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: Sevan Janiyan <sevan@NetBSD.org>
To: "gnats-bugs@netbsd.org" <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/52141: Mutt 1.8.0 is not compatible with native Solaris krb5
Date: Thu, 6 Apr 2017 13:08:42 +0100
On 06/04/2017 13:00, joern.clausen@uni-bielefeld.de wrote:
> For me personally, this is a minor problem, I could switch to
> pkgsrc's krb5. But in my experience (e.g. OpenSSL), native packages
> seem to use dedicated crypto hardware, pkgsrc packages not. I don't
> know if this is the case with krb5.
Oracle recently moved the repo of open source components in Solaris to
Github, it might be worth investigating how these components are built
there, It may be possible to integrate those changes in pkgsrc (assuming
they're not extensively patching things).
Sevan
From: Sevan Janiyan <sevan@NetBSD.org>
To: "gnats-bugs@netbsd.org" <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/52141: Mutt 1.8.0 is not compatible with native Solaris krb5
Date: Thu, 6 Apr 2017 13:30:42 +0100
On 06/04/2017 13:08, Sevan Janiyan wrote:
> Oracle recently moved the repo of open source components in Solaris
> to Github,
https://github.com/oracle/solaris-userland
Sevan
From: =?UTF-8?Q?J=c3=b6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52141: Mutt 1.8.0 is not compatible with native Solaris krb5
Date: Mon, 10 Apr 2017 14:13:07 +0200
I just tried this with security/mit-krb5 installed, but pkgsrc insists
on using the native Kerberos implementation.
I have in mk.conf
KRB5_DEFAULT = mit-krb5
and originally, I had
PREFER_NATIVE = mit-krb5
First I commented that out, then I replaced it with
PREFER_PKGSRC = mit-krb5
But
$ bmake show-var VARNAME=KRB5BASE
still returns
/usr
I did compile and install security/mit-krb5 while the original mk.conf
was still active, but that should make no difference, right?
Or does security/mit-krb5/builtin.mk somehow hardcode the use of the
native version on SunOS?
--
Jörn Clausen
Plattformen & Serverdienste
Hochschulrechenzentrum
Universität Bielefeld
Universitätsstraße 25
33615 Bielefeld
Telefon: +49 521 106-12601
E-Mail: joern.clausen@uni-bielefeld.de
http://www.uni-bielefeld.de/hrz
From: Sevan Janiyan <sevan@NetBSD.org>
To: "gnats-bugs@netbsd.org" <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/52141: Mutt 1.8.0 is not compatible with native Solaris krb5
Date: Mon, 10 Apr 2017 13:22:03 +0100
On 10/04/2017 13:15, Jörn Clausen wrote:
> Or does security/mit-krb5/builtin.mk somehow hardcode the use of the
> native version on SunOS?
In mk/platform/SunOS.mk
# Comes with a builtin implementation based on mit-krb5
KRB5_DEFAULT?= mit-krb5
You can try to override KRB5_DEFAULT in your pkg/etc/mk.conf
Sevan
From: =?UTF-8?Q?J=c3=b6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org, pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
pkgsrc-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52141: Mutt 1.8.0 is not compatible with native Solaris krb5
Date: Mon, 10 Apr 2017 14:27:29 +0200
On 10.04.17 14:25, Sevan Janiyan wrote:
> In mk/platform/SunOS.mk
> # Comes with a builtin implementation based on mit-krb5
> KRB5_DEFAULT?= mit-krb5
>
> You can try to override KRB5_DEFAULT in your pkg/etc/mk.conf
But I *do* want to use mit-krb5, just not the native version. I am not
going to install heimdal...
--
Jörn Clausen
Plattformen & Serverdienste
Hochschulrechenzentrum
Universität Bielefeld
Universitätsstraße 25
33615 Bielefeld
Telefon: +49 521 106-12601
E-Mail: joern.clausen@uni-bielefeld.de
http://www.uni-bielefeld.de/hrz
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.