* Building the Open SSH package from source
@ 2016-02-08 19:54 Sorin Adrian Savu
2016-02-08 20:17 ` Achim Gratz
0 siblings, 1 reply; 4+ messages in thread
From: Sorin Adrian Savu @ 2016-02-08 19:54 UTC (permalink / raw)
To: cygwin
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=/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/build=/usr/src/debug/openssh-7.1p2-1
-fdebug-prefix-map=/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2=/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=2 -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=\"/etc\"
-D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/sbin/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/sbin/sftp-server\"
-D_PATH_SSH_KEY_SIGN=\"/usr/sbin/ssh-keysign\"
-D_PATH_SSH_PKCS11_HELPER=\"/usr/sbin/ssh-pkcs11-helper\"
-D_PATH_SSH_PIDDIR=\"/var/run\"
-D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c
/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/fe25519.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-genr.c:45:0:
/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/ssh-gss.h:72:2:
error: unknown type name ‘gss_buffer_desc’
gss_buffer_desc displayname;
^
/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/ssh-gss.h:73:2:
error: unknown type name ‘gss_buffer_desc’
gss_buffer_desc exportedname;
^
/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/ssh-gss.h:74:2:
error: unknown type name ‘gss_cred_id_t’
gss_cred_id_t creds;
^
... more similar errors follow ...
2:
gcc -ggdb -O2 -pipe -Wimplicit-function-declaration
-fdebug-prefix-map=/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/build=/usr/src/debug/openssh-7.1p2-1
-fdebug-prefix-map=/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2=/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=2 -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=\"/etc\"
-D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/sbin/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/sbin/sftp-server\"
-D_PATH_SSH_KEY_SIGN=\"/usr/sbin/ssh-keysign\"
-D_PATH_SSH_PKCS11_HELPER=\"/usr/sbin/ssh-pkcs11-helper\"
-D_PATH_SSH_PIDDIR=\"/var/run\"
-D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c
/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/verify.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/openbsd-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/openbsd-compat/../includes.h:177,
from
/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/openbsd-compat/port-aix.c:27:
/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/openbsd-compat/../openbsd-compat/bsd-misc.h:122:39:
error: expected identifier or ‘(’ before ‘do’
# 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/openbsd-compat/../openbsd-compat/bsd-misc.h:122: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: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/openbsd-compat/../auth.h:42,
from
/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/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.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/openbsd-compat/../includes.h:174:0,
from
/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/openbsd-compat/port-aix.c:27:
/usr/src/openssh-7.1p2-1.src/openssh-7.1p2-1.x86_64/src/openssh-7.1p2/openbsd-compat/../defines.h:645:43:
note: previous declaration of ‘error_message’ 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=2
+ 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Building the Open SSH package from source
2016-02-08 19:54 Building the Open SSH package from source Sorin Adrian Savu
@ 2016-02-08 20:17 ` Achim Gratz
2016-02-08 20:31 ` Sorin Adrian Savu
0 siblings, 1 reply; 4+ messages in thread
From: Achim Gratz @ 2016-02-08 20:17 UTC (permalink / raw)
To: cygwin
Sorin Adrian Savu writes:
> 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:
[…]
You are missing the devlopment packages for Kerberos5 at least on your
installation.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Building the Open SSH package from source
2016-02-08 20:17 ` Achim Gratz
@ 2016-02-08 20:31 ` Sorin Adrian Savu
2017-11-04 12:20 ` Matt D.
0 siblings, 1 reply; 4+ messages in thread
From: Sorin Adrian Savu @ 2016-02-08 20:31 UTC (permalink / raw)
To: cygwin
On Mon, Feb 8, 2016 at 10:17 PM, Achim Gratz <Stromeko@nexgo.de> wrote:
> Sorin Adrian Savu writes:
>> 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:
> […]
>
> You are missing the devlopment packages for Kerberos5 at least on your
> installation.
>
>
I did install the Kerberos5 development packages just before getting
these errors.
$ cygcheck -c | grep -i krb
libgssapi_krb5_2 1.13.2-4 OK
libkrb5-devel 1.13.2-4 OK
libkrb5_3 1.13.2-4 OK
libkrb5support0 1.13.2-4 OK
Do I need anything else ?
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Building the Open SSH package from source
2016-02-08 20:31 ` Sorin Adrian Savu
@ 2017-11-04 12:20 ` Matt D.
0 siblings, 0 replies; 4+ messages in thread
From: Matt D. @ 2017-11-04 12:20 UTC (permalink / raw)
To: cygwin
On 2/8/2016 3:31 PM, Sorin Adrian Savu wrote:
> On Mon, Feb 8, 2016 at 10:17 PM, Achim Gratz <Stromeko@nexgo.de> wrote:
>> Sorin Adrian Savu writes:
>>> 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:
>> [â¦]
>>
>> You are missing the devlopment packages for Kerberos5 at least on your
>> installation.
>>
>>
> I did install the Kerberos5 development packages just before getting
> these errors.
>
> $ cygcheck -c | grep -i krb
> libgssapi_krb5_2 1.13.2-4
OK
> libkrb5-devel 1.13.2-4
OK
> libkrb5_3 1.13.2-4
OK
> libkrb5support0 1.13.2-4
OK
>
> Do I need anything else ?
>
> --
> 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
>
I'm having the same problem.
$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
Error log:
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
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-11-04 12:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-08 19:54 Building the Open SSH package from source Sorin Adrian Savu
2016-02-08 20:17 ` Achim Gratz
2016-02-08 20:31 ` Sorin Adrian Savu
2017-11-04 12:20 ` Matt D.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).