From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 71492 invoked by alias); 4 Nov 2017 13:06:37 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 71481 invoked by uid 89); 4 Nov 2017 13:06:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FREEMAIL_REPLYTO,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=do, 8488, downloaded, krb5 X-HELO: mail-pf0-f179.google.com Received: from mail-pf0-f179.google.com (HELO mail-pf0-f179.google.com) (209.85.192.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 04 Nov 2017 13:06:35 +0000 Received: by mail-pf0-f179.google.com with SMTP id d28so4283776pfe.2 for ; Sat, 04 Nov 2017 06:06:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:reply-to:to:subject:message-id:date :user-agent:mime-version:content-transfer-encoding; bh=kljEGRIvFBkmSpp6sa2KjsCj/zmtRHeUihzetTUNZpo=; b=eBdxlVXluijgWi30pvbt1fcBzB5CYKdS8GLuPHSGdfXkbWkW/NBO0I62HjhfvXhtXA zKznJAGZS6u/w5/7hRt/UFpIHHi1IRbGa9Nbpi2+KspMCxLC9bOaHPadbxQayA7TgFPL I54EzU16EjaWRW4yak0M39ndj8fAR6JSHvSdeXqTWFanlM4EhFvvEsmyH2VIsF8BwPj/ 0YTezHXjejIxiRgWzNYOKIEcp5iyqLpI/6iJgCdRmLKdpXU9PjVi/3j72yUggHpQ5LmI miRntVfggsPx7767O9wSUMMD6XPEmUiCBzBhC6Y3jWdWlLpvWLWcOwgwPIXEwmctv/xc mkgw== X-Gm-Message-State: AMCzsaU5OAOqA8aSW1CHxY6rId3gb4eU4lEK4PhH140kfKJC48CjaW+1 loNAdxptV77elqHxyoF6yGw42fkr X-Google-Smtp-Source: ABhQp+RZrSjThcJMqSjHaW4UZKaW0yJPFWUdUi7LOgxHy4+XTJhu0p0e604/NQpRKYT6sas/vZ/YXA== X-Received: by 10.98.8.74 with SMTP id c71mr10993522pfd.101.1509800793718; Sat, 04 Nov 2017 06:06:33 -0700 (PDT) Received: from [10.0.1.111] (ip68-230-148-254.ri.ri.cox.net. [68.230.148.254]) by smtp.gmail.com with ESMTPSA id a19sm16103980pfh.30.2017.11.04.06.06.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Nov 2017 06:06:33 -0700 (PDT) From: "Matt D." X-Google-Original-From: "Matt D." Reply-To: codespunk+cygwin@gmail.com To: cygwin@cygwin.com Subject: Building OpenSSH fails when '--with-kerberos5' in the default configuration Message-ID: <59FDBB58.8010501@gmail.com> Date: Sat, 04 Nov 2017 13:06:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2017-11/txt/msg00079.txt.bz2 I downloaded the source for Cygwin's OpenSSH package and attempted to build it with the defaults: cygport openssh.cygport prep cygport openssh.cygport compile This resulted in the following compile errors: In file included from /usr/src/openssh-7.6p1-1.src/openssh-7.6p1-1.i686/src/openssh-7.6p1/openbsd-compat/openbsd-compat.h:180:0, from /usr/src/openssh-7.6p1-1.src/openssh-7.6p1-1.i686/src/openssh-7.6p1/includes.h:174, from /usr/src/openssh-7.6p1-1.src/openssh-7.6p1-1.i686/src/openssh-7.6p1/openbsd-compat/port-aix.c:27: /usr/src/openssh-7.6p1-1.src/openssh-7.6p1-1.i686/src/openssh-7.6p1/openbsd-compat/bsd-misc.h:124:39: error: expected identifier or ‘(’ before ‘do’ # define krb5_free_error_message(a,b) do { } while(0) ^ /usr/src/openssh-7.6p1-1.src/openssh-7.6p1-1.i686/src/openssh-7.6p1/openbsd-compat/bsd-misc.h:124:46: error: expected identifier or ‘(’ before ‘while’ # define krb5_free_error_message(a,b) do { } while(0) ^ In file included from /usr/include/krb5/krb5.h:8488:0, from /usr/include/krb5.h:8, from /usr/src/openssh-7.6p1-1.src/openssh-7.6p1-1.i686/src/openssh-7.6p1/auth.h:42, from /usr/src/openssh-7.6p1-1.src/openssh-7.6p1-1.i686/src/openssh-7.6p1/openbsd-compat/port-aix.c:33: /usr/include/et/com_err.h:38:20: error: conflicting types for ‘error_message’ extern char const *error_message (long); ^~~~~~~~~~~~~ In file included from /usr/src/openssh-7.6p1-1.src/openssh-7.6p1-1.i686/src/openssh-7.6p1/includes.h:171:0, from /usr/src/openssh-7.6p1-1.src/openssh-7.6p1-1.i686/src/openssh-7.6p1/openbsd-compat/port-aix.c:27: /usr/src/openssh-7.6p1-1.src/openssh-7.6p1-1.i686/src/openssh-7.6p1/defines.h:684:43: note: previous declaration of ‘error_message’ was here # define krb5_get_err_text(context,code) error_message(code) ^ make[1]: *** [Makefile:26: port-aix.o] Error 1 make[1]: Leaving directory '/usr/src/openssh-7.6p1-1.src/openssh-7.6p1-1.i686/build/openbsd-compat' make: *** [Makefile:156: openbsd-compat/libopenbsd-compat.a] Error 2 *** ERROR: make failed Modifying openssh.cygport by removing "--with-kerberos5" allows compilation. I have all of the applicable Kerberos packages: $cygcheck -c | grep -i krb libgssapi_krb5_2 1.15.2-1 OK libkrb5-devel 1.15.2-1 OK libkrb5_3 1.15.2-1 OK libkrb5support0 1.15.2-1 OK Am I missing something? Matt D. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple