From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101955 invoked by alias); 8 Feb 2016 19:54:01 -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 101939 invoked by uid 89); 8 Feb 2016 19:54:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=177, ab, cygport, UD:cygport X-HELO: mail-wm0-f43.google.com Received: from mail-wm0-f43.google.com (HELO mail-wm0-f43.google.com) (74.125.82.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 08 Feb 2016 19:53:59 +0000 Received: by mail-wm0-f43.google.com with SMTP id 128so169683699wmz.1 for ; Mon, 08 Feb 2016 11:53:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=lb5/voG0NjJmkFsOFplq846ONLaqN1okriMDc2p2Oz4=; b=EBX3sCR+IHb/fr8OaEzL5HhEICNwZLH4Bo4udGjLzeekZhpJ0p7ftGLc5tjl0ST4mY WvuQdGbtcvI/8EOvR4Nc90zdCvbR0xHpkIzilYbSyJct0slZUlGSbfqPEFYg2UNikFJy uJ5scNQ3oDIzPpOJTfod6U1+yZs672HjsU2NA+qLuYhLuAEfP5+jq8sbPyWwJJexHC7R lYJ/uj6FrNuKpUoNvEgBYv9qUUPxgjuh2HokCKT0U+LO+20LOEVnPYSeOyfBkV9S2WPj LdtetsCdO3BMRk2jqJPJXkwNpUYXJm2vEh0fwyOQlcAdhE5cVLBeMSCi0S53Ir4oCbLV BzHw== X-Gm-Message-State: AG10YOS9Rh9bIAtpwkEPGvzj0LTV+G2jCmoeGVCo/ICq7ah0hvJiN2DI9Gm+LGOpL2AOijkko4JalNvw//D+FA== MIME-Version: 1.0 X-Received: by 10.28.14.4 with SMTP id 4mr616858wmo.100.1454961236323; Mon, 08 Feb 2016 11:53:56 -0800 (PST) Received: by 10.194.26.72 with HTTP; Mon, 8 Feb 2016 11:53:56 -0800 (PST) Date: Mon, 08 Feb 2016 19:54:00 -0000 Message-ID: Subject: Building the Open SSH package from source From: Sorin Adrian Savu To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00095.txt.bz2 Hello! I've been trying to build openssh-7.1p2-1.src using cyport. After several iterations due missing packages, I ended up with these errors after "cygport --debug openssh.cygport compile" and I have no idea how to proceed: 1: gcc -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=3D/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/bu= ild=3D/usr/src/debug/openssh-7.1p2-1 -fdebug-prefix-map=3D/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/sr= c/openssh-7.1p2=3D/usr/src/debug/openssh-7.1p2-1 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=3D2 -ftrapv -fno-builtin-memset -fstack-protector-strong -Wno-attributes -I. -I/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2 -I/usr/include/editline -DSSHDIR=3D\"/etc\" -D_PATH_SSH_PROGRAM=3D\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=3D\"/usr/sbin/ssh-askpass\" -D_PATH_SFTP_SERVER=3D\"/usr/sbin/sftp-server\" -D_PATH_SSH_KEY_SIGN=3D\"/usr/sbin/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=3D\"/usr/sbin/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=3D\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=3D\"/var/empty\" -DHAVE_CONFIG_H -c /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/fe255= 19.c -o fe25519.o In file included from /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/gss-g= enr.c:45:0: /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/ssh-g= ss.h:72:2: error: unknown type name =E2=80=98gss_buffer_desc=E2=80=99 gss_buffer_desc displayname; ^ /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/ssh-g= ss.h:73:2: error: unknown type name =E2=80=98gss_buffer_desc=E2=80=99 gss_buffer_desc exportedname; ^ /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/ssh-g= ss.h:74:2: error: unknown type name =E2=80=98gss_cred_id_t=E2=80=99 gss_cred_id_t creds; ^ ... more similar errors follow ... 2: gcc -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=3D/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/bu= ild=3D/usr/src/debug/openssh-7.1p2-1 -fdebug-prefix-map=3D/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/sr= c/openssh-7.1p2=3D/usr/src/debug/openssh-7.1p2-1 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=3D2 -ftrapv -fno-builtin-memset -fstack-protector-strong -Wno-attributes -I. -I/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2 -I/usr/include/editline -DSSHDIR=3D\"/etc\" -D_PATH_SSH_PROGRAM=3D\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=3D\"/usr/sbin/ssh-askpass\" -D_PATH_SFTP_SERVER=3D\"/usr/sbin/sftp-server\" -D_PATH_SSH_KEY_SIGN=3D\"/usr/sbin/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=3D\"/usr/sbin/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=3D\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=3D\"/var/empty\" -DHAVE_CONFIG_H -c /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/verif= y.c -o verify.o Makefile:152: recipe for target 'gss-genr.o' failed make: *** [gss-genr.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/openb= sd-compat/../openbsd-compat/openbsd-compat.h:172:0, from /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/openb= sd-compat/../includes.h:177, from /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/openb= sd-compat/port-aix.c:27: /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/openb= sd-compat/../openbsd-compat/bsd-misc.h:122:39: error: expected identifier or =E2=80=98(=E2=80=99 before =E2=80=98do=E2=80= =99 # define krb5_free_error_message(a,b) do { } while(0) ^ /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/openb= sd-compat/../openbsd-compat/bsd-misc.h:122:46: error: expected identifier or =E2=80=98(=E2=80=99 before =E2=80=98while=E2= =80=99 # define krb5_free_error_message(a,b) do { } while(0) ^ In file included from /usr/include/krb5/krb5.h:8187:0, from /usr/include/krb5.h:8, from /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/openb= sd-compat/../auth.h:42, from /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/openb= sd-compat/port-aix.c:33: /usr/include/et/com_err.h:38:20: error: conflicting types for =E2=80=98erro= r_message=E2=80=99 extern char const *error_message (long); ^ In file included from /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/openb= sd-compat/../includes.h:174:0, from /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/openb= sd-compat/port-aix.c:27: /usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/openb= sd-compat/../defines.h:645:43: note: previous declaration of =E2=80=98error_message=E2=80=99 was here # define krb5_get_err_text(context,code) error_message(code) ^ Makefile:26: recipe for target 'port-aix.o' failed make[1]: *** [port-aix.o] Error 1 make[1]: Leaving directory '/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/build/openbsd-compat' Makefile:156: recipe for target 'openbsd-compat/libopenbsd-compat.a' failed make: *** [openbsd-compat/libopenbsd-compat.a] Error 2 + error 'make failed' + case $? in + local errorcode=3D2 + echo -e '\e[1;31m*** ERROR:\e[0;0m make failed' Can anyone suggest how to approach these ? -- 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