[Bug 141] New: openssh-3.1p1-1.src.rpm will not build on RedHat Linux 6.1

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Mar 8 05:26:16 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=141

           Summary:  openssh-3.1p1-1.src.rpm will not build on RedHat Linux
                    6.1
           Product: Portable OpenSSH
           Version: -current
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Build system
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: wayne at qconcepts.net


When rebuilding openssh-3.1p1-1.src.rpm, on a RedHat Linux 6.1 machine, the 
following error occurs:

i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -Wall -Wpointer-arith -Wno-
uninitialized -I. -I.  -DSSHDIR=\"/etc/ssh\" -
D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -
D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/libexec/openssh/ssh-askpass\" -
D_PATH_SFTP_SERVER=\"/usr/libexec/openssh/sftp-server\" -
D_PATH_SSH_PIDDIR=\"/var/run\" -DSSH_RAND_HELPER=\"/usr/libexec/openssh/ssh-
rand-helper\" -DHAVE_CONFIG_H -c cipher.c
cipher.c: In function `cipher_init':
cipher.c:200: void value not ignored as it ought to be
cipher.c:206: warning: implicit declaration of function 
`EVP_CIPHER_CTX_set_key_length'
cipher.c:210: void value not ignored as it ought to be
cipher.c: In function `cipher_crypt':
cipher.c:220: void value not ignored as it ought to be
cipher.c: In function `cipher_cleanup':
cipher.c:227: void value not ignored as it ought to be
cipher.c: In function `ssh1_3des_init':
cipher.c:280: warning: assignment from incompatible pointer type
cipher.c:299: void value not ignored as it ought to be
cipher.c:300: void value not ignored as it ought to be
cipher.c:301: void value not ignored as it ought to be
cipher.c: In function `ssh1_3des_cbc':
cipher.c:314: warning: assignment from incompatible pointer type
cipher.c:318: void value not ignored as it ought to be
cipher.c:319: void value not ignored as it ought to be
cipher.c:320: void value not ignored as it ought to be
cipher.c: In function `ssh1_3des_cleanup':
cipher.c:329: warning: assignment from incompatible pointer type
cipher.c: In function `evp_ssh1_3des':
cipher.c:346: warning: assignment from incompatible pointer type
cipher.c:347: warning: assignment from incompatible pointer type
cipher.c:348: warning: assignment from incompatible pointer type
cipher.c:349: structure has no member named `flags'
cipher.c:349: `EVP_CIPH_CBC_MODE' undeclared (first use in this function)
cipher.c:349: (Each undeclared identifier is reported only once
cipher.c:349: for each function it appears in.)
cipher.c:349: `EVP_CIPH_VARIABLE_LENGTH' undeclared (first use in this function)
cipher.c: In function `evp_ssh1_bf':
cipher.c:392: warning: assignment from incompatible pointer type
cipher.c:394: warning: assignment from incompatible pointer type
cipher.c: In function `ssh_rijndael_init':
cipher.c:413: warning: assignment from incompatible pointer type
cipher.c: In function `ssh_rijndael_cbc':
cipher.c:440: warning: assignment from incompatible pointer type
cipher.c: In function `ssh_rijndael_cleanup':
cipher.c:477: warning: assignment from incompatible pointer type
cipher.c: In function `evp_rijndael':
cipher.c:494: warning: assignment from incompatible pointer type
cipher.c:495: warning: assignment from incompatible pointer type
cipher.c:496: warning: assignment from incompatible pointer type
cipher.c:497: structure has no member named `flags'
cipher.c:497: `EVP_CIPH_CBC_MODE' undeclared (first use in this function)
cipher.c:497: `EVP_CIPH_VARIABLE_LENGTH' undeclared (first use in this function)
cipher.c:498: `EVP_CIPH_ALWAYS_CALL_INIT' undeclared (first use in this 
function)
make: *** [cipher.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.2018 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.2018 (%build)


On this build, the following changes have been made on the openssh.spec file:

# Do we want to disable building of x11-askpass? (1=yes 0=no)
%define no_x11_askpass 1

# Do we want to disable building of gnome-askpass? (1=yes 0=no)
%define no_gnome_askpass 1

# Do we want to link against a static libcrypto? (1=yes 0=no)
%define static_libcrypto 0

# Do we want smartcard support (1=yes 0=no)
%define scard 0

# Use Redhat 7.0 pam control file
# %define redhat7 0

The machine has the following library versions:
glibc-profile-2.1.3-23
compat-glibc-5.2-2.0.7.1
glib-1.2.6-2
glib-devel-1.2.6-2
glib10-1.0.6-6
glibc-devel-2.1.2-11
glibc-2.1.3-23
rpm-4.0.2-6x
rpm-devel-4.0.2-6x
openssl-0.9.5a-7.6.x
openssl-misc-0.9.5a-3
openssl-devel-0.9.5a-7.6.x



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list