Wind River Support Network

HomeDefectsLIN8-12469
Fixed

LIN8-12469 : openssh fails building after upgrading to RCPL 33

Created: May 29, 2020    Updated: Oct 26, 2020
Resolved Date: Jun 23, 2020
Found In Version: 8.0.0.33
Fix Version: 8.0.0.34
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

After upgrading to RCPL33, project failed building on openssh ; it seems openssh-7.1p1-fips.patch can't apply :

*** Manual patch resolution mode ***
Dropping to a shell, so patch rejects can be fixed manually.
Run "quilt refresh" when patch is corrected, press CTRL+D to exit.

Applying patch openssh-7.1p1-fips.patch
patching file configure.ac
patching file mac.c
patching file myproposal.h
patching file readconf.c
patching file readconf.h
patching file scp.c
Hunk #1 FAILED at 395.
1 out of 1 hunk FAILED -- saving rejects to file scp.c.rej
patching file servconf.c
patching file servconf.h
patching file sftp.c
Hunk #1 succeeded at 2267 (offset 6 lines).
patching file ssh-add.c
patching file ssh-agent.c
Hunk #2 succeeded at 1208 (offset 19 lines).
patching file ssh-keygen.c
patching file ssh-keyscan.c
patching file ssh-keysign.c
patching file ssh-pkcs11-helper.c
patching file ssh.c
patching file ssh_config.0
patching file ssh_config.5
patching file sshconnect.c
patching file sshd.c
Hunk #2 succeeded at 438 (offset -1 lines).
Hunk #3 succeeded at 1480 (offset -4 lines).
Hunk #4 succeeded at 1762 (offset -4 lines).
Hunk #5 succeeded at 1851 (offset -4 lines).
Hunk #6 succeeded at 1865 (offset -4 lines).
Hunk #7 succeeded at 2003 (offset -4 lines).
patching file sshd_config.0
patching file sshd_config.5
patching file version.h
patching file cipher.c
patching file cipher-ctr.c
patching file dh.h
patching file entropy.c
patching file kex.c
patching file kexgexc.c
patching file kexgexs.c
patching file sandbox-seccomp-filter.c
patching file sshkey.c
Applied patch openssh-7.1p1-fips.patch (forced; needs refresh)

 

Note: even after fixing openssh-7.1p1-fips.patch manually (see detail in the comment)

The build fails later on...on openssh configure

 

Steps to Reproduce

1. configure project as follow ;

/opt/WR_INSTALL/WRL8/wrlinux-8/wrlinux/configure --enable-board=fsl-ls10xx --enable-rootfs=secure-core+initramfs --enable-kernel=standard --enable-parallel-pkgbuilds=4 --enable-jobs=6 --enable-reconfig --enable-ccache=yes --with-sstate-dir=../sstate --enable-addons=yes --with-init=sysvinit --enable-internet-download=no --with-template=feature/selinux,feature/openssl-fips,feature/analysis --enable-unsupported-config=yes --with-rcpl-version=0033
2. make (or make -C build openssh)
Live chat
Online