X-Originatororg: mitprod.onmicrosoft.com X-MS-Exchange-Transport-Crosstenantheadersstamped: CH2PR01MB5911 Authentication-Results: spf=pass (sender IP is 84.116.36.12) smtp.mailfrom=chello.at; mit.edu; dkim=none (message not signed) header.d=none;mit.edu; dmarc=pass action=none header.from=chello.at; X-MS-Exchange-Crosstenant-ID: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b Precedence: list X-MS-Exchange-Crosstenant-Authsource: CO1NAM03FT022.eop-NAM03.prod.protection.outlook.com X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 Message-ID: <4d4219d3d0768255919f4e85ae75c2f2.squirrel@www.felnhofer.net> X-Sourceip: 62.178.117.224 X-Auto-Response-Suppress: DR, OOF, AutoReply X-Microsoft-Antispam: BCL:0; User-Agent: SquirrelMail/1.5.2 [SVN] X-MS-Exchange-Crosstenant-Fromentityheader: Internet To: krb5-bugs@mit.edu X-Env-Rcptto: krb5-bugs@mit.edu X-RT-Incoming-Encryption: Not encrypted Subject: Building python-gssapi 'gssapi.raw.ext_cred_store' extension on SLES 15.1 stops with "gssapi/raw/ext_cred_store.c:1333:8: error: unknown type name ‘gss_key_value_set_desc’" content-type: text/plain; charset="utf-8" X-Forefront-Antispam-Report: CIP:84.116.36.12; CTRY:AT; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:vie01a-dmta-pe05-2.mx.upcmail.net; PTR:vie01a-dmta-pe05-2.mx.upcmail.net; CAT:NONE; SFTY:; SFS:(4636009)(136003)(376002)(346002)(396003)(39860400002)(70586007)(336012)(498600001)(26005)(4743002)(83380400001)(356005)(7636003)(9686003)(5660300002)(7596003)(786003)(2906002)(86362001)(68406010)(316002)(34206002)(3380500001)(69126003)(105036003)(47956004); DIR:OUT; SFP:1102; X-MS-Exchange-Crosstenant-Originalarrivaltime: 01 Jul 2020 12:34:05.2584 (UTC) X-MS-Exchange-Crosstenant-Network-Message-ID: e930f93a-1edd-4559-b67b-08d81dbb0af4 X-Forefront-PRVS: 04519BA941 X-MS-Exchange-Crosstenant-Authas: Anonymous Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mitprod.onmicrosoft.com; s=selector2-mitprod-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HAolcGP2HQ/oARTE3fpiysBQFRIQKaTmWblLmtjkDQc=; b=Z3Rd2ZsYDcz1MLpwD5o2DBB22co2Xz5mSa8mepSx/PlgUGXQqHtqPKIrmJD0PcR6AtPWUcdNzfImKwjmc5ttzp9ooyf40j4D7Vz0VRD3VBjEICxMb1WYYrKemoJBom4z8+ksBGw/vya9duZRViW6rFEmRgZXcod2cF1r9iJKSBU= X-Cmae-Envelope: MS4wfBNtMuM4bjtglxxrPIybjSgRQnepeDeZ/eIPJYxQIMLe55M44plP006FzCozxvxIf8OGzLO++yFbHUl9MjY1X7Ztm3x5XZzBmjOPRNT3qTcySg/CLl9Z n9T2Kz4Yc2ebiGTSHDgZrliH4e7GRfB8RgHeB7CrEw0Y2KmgnHpCNFTb7bP7+nA/cvLFZ2p80s+Uyw== X-Eopattributedmessage: 0 X-Microsoft-Antispam-Message-Info: wto+aut4yjIdBesnUFPfiXdleQ35hfEgsmWzh14280rB0dXcNhSgnqP6aR+ikY+OgYxpwdBEqAZnTpgShOAwnxFkUgcX+s/ZR95r/F7INRL87TlIAmPBqLgxah28EN0XAzKzNrWtgCzvoi5YOr4uj2/WdmyiuMWzESq+xgF4oKWL4WhkbZm46sLy756eSaQSmiAzTu+im+cQnuM5Zqdik6JAWlDGEeQPS8wtwdzICh/t6QNoBCUZFojY9IwriAh2DaQhddaW0qfAB/ub/8OnCevgAM89OZX/quy3/0qObXh1Bu6ItMGoZeMU7YLRwIKibuNRf0qwp1tVzA9dURdPb5xfuucxOOFJ5iWxiaPpCb9FIdBA+CzR1JRAqOymXA5sqnpw1BESAFgSvhS3YPWTMX5hyKvYGFzw3fOuFkgRiM41fNvLGXstfHtdrNFKMi0t29Iz1T36SNsVBZnaDkAPbG6nZSLICPEvHzVYb1FD0zEb4JLG1MOIVNhQ0VBTrcFq X-MS-Exchange-Senderadcheck: 0 Arc-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HAolcGP2HQ/oARTE3fpiysBQFRIQKaTmWblLmtjkDQc=; b=VIkOLayX09lwHsXb2GhmJO//uf6wIFfaWLPk/MK3S9F1S8Y9KE4W/EMO5jcFGdomEKijWHBzGfQEcSD5djEYqfH8dU6iGN4tTtPA4UM6RSHbyw/p4DOWu55EVbyvhUdKsax+OS92+LdC3T4na0vb/iHtgwLG56z/fXjYMImz1Gr0MyAlE9hst1JjPsMrwNReZ6HDipwLpxdUdAb2sWeBs1yzAoLqpKtaP+SpenJz8jRMYBg6/s7JxlGSnfdmOf2neJIoQ0CNijBSz3dm4wtka156K+muDFI1s4+8bOjFgjzIgQYLpW3EPWp3uotY6jW2eZfP+zpppbSoi5rCzF0gIw== X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on its42.felnhofer.net X-Env-Mailfrom: roland.felnhofer@chello.at X-MS-Office365-Filtering-Correlation-ID: e930f93a-1edd-4559-b67b-08d81dbb0af4 MIME-Version: 1.0 X-MS-Exchange-Atpmessageproperties: SA X-Spam-Level: X-Eoptenantattributedmessage: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b:0 X-Microsoft-Antispam-PRVS: X-Beenthere: krb5-bugs-incoming@mailman.mit.edu X-Mailman-Version: 2.1.6 Arc-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OWGocSWaPVtphU3+0WufAi884D3pd7Wjv1JFuJ3fultTf8SYcWdhj9X1lEfruUBgw9/BjZwcXeFmXHJMyHyUOvmGsVWiq60c60aK/s8RW6sVgCvhejnntY21wWpOAR/j6EKnkSE3AxC8GiQzulT/9F4n7yU78b2u43/AC6k7HbX7a4KfGlLVT5zho56CKMY+1YmnZYLUhif6MK5otTnk3n65KR3C9DwJlKQME+kbjeerenj5+gwp1AABh5jaUfvc0tRFokf8XqbHyrXNtT9PllPsuHkejNFpzLdagNn2QOqcAd2efkx80BRr2bX9v7d9P5VNvararPlkQGkl6MA40A== X-MS-Traffictypediagnostic: CH2PR01MB5911: Sender: krb5-bugs-incoming-bounces@PCH.mit.edu X-MS-Exchange-Transport-Forked: True Content-Transfer-Encoding: 8bit Date: Wed, 1 Jul 2020 12:34:01 -0000 Errors-To: krb5-bugs-incoming-bounces@PCH.mit.edu X-MS-Oob-TLC-Oobclassifiers: OLM:6108; Received-SPF: Pass (protection.outlook.com: domain of chello.at designates 84.116.36.12 as permitted sender) receiver=protection.outlook.com; client-ip=84.116.36.12; helo=vie01a-dmta-pe05-2.mx.upcmail.net; Arc-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none X-CNFS-Analysis: v=2.3 cv=GKl27dFK c=1 sm=1 tr=0 a=54Up2wUqpECDYbOX68BxFw==:117 a=54Up2wUqpECDYbOX68BxFw==:17 a=xqWC_Br6kY4A:10 a=8nJEP1OIZ-IA:10 a=_RQrkK6FrEwA:10 a=Mrz3sjv-sVQA:10 a=plTmaBq2J4o0QoG5AzYA:9 a=wPNLvfGTeEIA:10 a=Z5ABNNGmrOfJ6cZ5bIyy:22 a=SsAZrZ5W_gNWK9tOzrEV:22 Return-Path: From: "Roland Felnhofer" X-Mailman-Approved-At: Wed, 01 Jul 2020 10:03:01 -0400 X-LD-Processed: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b,ExtAddr Received: from PCH.mit.edu (PCH.MIT.EDU [18.7.21.50]) by krbdev.mit.edu (Postfix) with ESMTPS id 2F44041B79; Wed, 1 Jul 2020 10:03:03 -0400 (EDT) Received: from PCH.MIT.EDU (localhost.localdomain [127.0.0.1]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 061E32uW026359; Wed, 1 Jul 2020 10:03:02 -0400 Received: from outgoing-exchange-3.mit.edu (OUTGOING-EXCHANGE-3.MIT.EDU [18.9.28.13]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 061CYAat013343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 1 Jul 2020 08:34:10 -0400 Received: from w92exedge4.exchange.mit.edu (W92EXEDGE4.EXCHANGE.MIT.EDU [18.7.73.16]) by outgoing-exchange-3.mit.edu (8.14.7/8.12.4) with ESMTP id 061CZmAO020092 for ; Wed, 1 Jul 2020 08:35:52 -0400 Received: from w92expo20.exchange.mit.edu (18.7.74.74) by w92exedge4.exchange.mit.edu (18.7.73.16) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Wed, 1 Jul 2020 08:33:42 -0400 Received: from oc11exhyb8.exchange.mit.edu (18.9.1.113) by w92expo20.exchange.mit.edu (18.7.74.74) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Wed, 1 Jul 2020 08:34:07 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.177) by oc11exhyb8.exchange.mit.edu (18.9.1.113) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Wed, 1 Jul 2020 08:34:07 -0400 Received: from MWHPR1201CA0009.namprd12.prod.outlook.com (2603:10b6:301:4a::19) by CH2PR01MB5911.prod.exchangelabs.com (2603:10b6:610:44::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.23; Wed, 1 Jul 2020 12:34:06 +0000 Received: from CO1NAM03FT022.eop-NAM03.prod.protection.outlook.com (2603:10b6:301:4a:cafe::aa) by MWHPR1201CA0009.outlook.office365.com (2603:10b6:301:4a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.22 via Frontend Transport; Wed, 1 Jul 2020 12:34:06 +0000 Received: from vie01a-dmta-pe05-2.mx.upcmail.net (84.116.36.12) by CO1NAM03FT022.mail.protection.outlook.com (10.152.80.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.20 via Frontend Transport; Wed, 1 Jul 2020 12:34:05 +0000 Received: from [172.31.216.235] (helo=vie01a-pemc-psmtp-pe12.mail.upcmail.net) by vie01a-dmta-pe05.mx.upcmail.net with esmtp (Exim 4.92) (envelope-from ) id 1jqbwB-0006aO-GG for krb5-bugs@mit.edu; Wed, 01 Jul 2020 14:34:03 +0200 Received: from mail.felnhofer.net ([62.178.117.224]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id qbwBj40hM6Jy6qbwBj2NVi; Wed, 01 Jul 2020 14:34:03 +0200 Received: by its42.felnhofer.net (Postfix, from userid 906) id 524981EBC7F8; Wed, 1 Jul 2020 14:34:03 +0200 (CEST) Received: from www.felnhofer.net (localhost [IPv6:::1]) by its42.felnhofer.net (Postfix) with ESMTPS id 6A8771EBC7F3 for ; Wed, 1 Jul 2020 14:34:01 +0200 (CEST) Received: from 194.107.82.165 (SquirrelMail authenticated user roland) by www.felnhofer.net with HTTP; Wed, 1 Jul 2020 12:34:01 -0000 From krb5-bugs-incoming-bounces@PCH.mit.edu Wed Jul 1 10:03:03 2020 X-MS-Publictraffictype: Email X-RT-Original-Encoding: iso-8859-1 X-RT-Interface: Email Content-Length: 2002 What went wrong? When building python-gssapi ist stops with "gssapi/raw/ext_cred_store.c:1333:8: error: unknown type name ‘gss_key_value_set_desc’" How do we reproduce? $ cd /usr/src/gssapi-1.6.5 $ python3 -mvenv buildenv $ source buildenv/bin/activate $ mkdir wheels $ export PATH=$PATH:$(dirname $(locate -r "krb5-config$")) $ pip install -U pip wheel setuptools $ pip wheel -w wheels/ pip wheel setuptools $ pip wheel -w wheels/ pip wheel gssapi Component versions (python-gssapi, Kerberos, OS / distro, etc.) python-gssapi: 1.6.5 OS: SUSE Linux Enterprise Server 15 SP1 $ krb5-config --all Version: Kerberos 5 release 1.16.3 Vendor: Massachusetts Institute of Technology Prefix: /usr/lib/mit Exec_prefix: /usr/lib/mit Reason: I found out that in setup.py, between line 103 and 114, tries to detect the location of 'gssapi_ext.h', by executing 'krb5-config gssapi --prefix' and adding 'include/gssapi/gssapi_ext.h' to that prefix. On SLES 15.1 (and other SUSE distributions I assume) the location of the include files for gssapi are within the regular include path ('/usr/include'). So the full path for the header file is '/usr/include/gssapi/gssapi_ext.h' and not '/usr/lib/mit/include/gssapi/gssapi_ext.h' as expected by 'setup.py' For the time being krb5-config --all should report the following on SUSE: $ krb5-config --all Version: Kerberos 5 release 1.16.3 Vendor: Massachusetts Institute of Technology Prefix: /usr Exec_prefix: /usr/lib/mit as ./bin, ./sbin and ./share (which is actually an empty directory) are located beneath /usr/lib/mit. Ideally the output of krb5-config should look the following way in future: $ krb5-config --all Version: Kerberos 5 release 1.16.3 Vendor: Massachusetts Institute of Technology Prefix: /usr Exec_prefix: /usr/lib/mit Includedir: /usr/include Libdir: /usr/lib Looking into the krb5-config script shows the following values: ... prefix=/usr/lib/mit exec_prefix=${prefix} includedir=/usr/include libdir=/usr/lib ... Best regards Roland