Yong Fu, I don't remember seeing this in any notes, are their other packages or notes that has not been shared regarding the status of the f/centos8 build and packages? The last note from you indicated that you had built the ISO, there is no mention of this issue. Thanks for any additional information you can provide. Thanks Sau! On 11/10/20 5:46 PM, Fu, YongX wrote:
Hi Bai, Haiqing
tpm2-openssl-engine needs openssl/dso.h, but openssl-devel rpm does not provide openssl/dso.h anymore. I recompiled openssl-devel to fix this problem. You are right, need update tpm2-openssl-engine code to make it available to openssl 1.1.1.8.
B,R
Yong Fu
*From:* Bai, Haiqing <Haiqing.Bai@windriver.com> *Sent:* Tuesday, November 10, 2020 5:07 PM *To:* starlingx-discuss@lists.starlingx.io *Cc:* Wold, Saul <Saul.Wold@windriver.com>; Tao, Yue <Yue.Tao@windriver.com>; Zhang, Xiao <xiao.zhang@windriver.com>; Fu, YongX <yongx.fu@intel.com>; Kalvala, Haridhar <haridhar.kalvala@intel.com> *Subject:* [centos8] build-pkgs failed to build on f/centos8 branch
If switch “tools” to f/centos8 branch, after downloading ok, build-pkgs failed and reported below error messages:
07:58:07 Failed to build packages: tpm2-openssl-engine-1.0-2.tis.src.rpm vm-topology-1.0-1.tis.src.rpm stx-portieris-helm-1.0-15.tis.src.rpm stx-openstack-helm-1.0-29.tis.src.rpm stx-platform-helm-1.0-8.tis.src.rpm stx-nginx-ingress-controller-helm-1.0-0.tis.src.rpm stx-monitor-helm-1.0-1.tis.src.rpm stx-cert-manager-helm-1.0-6.tis.src.rpm python-k8sapp-portieris-1.0-15.tis.src.rpm python-ryu-4.19-0.tis.2.src.rpm python-k8sapp-openstack-1.0-29.tis.src.rpm openstack-helm-1.0-23.tis.src.rpm portieris-helm-0.7.0-0.tis.src.rpm python-k8sapp-cert-manager-1.0-6.tis.src.rpm openstack-helm-infra-1.0-16.tis.src.rpm oidcauthtools-1.0-0.tis.src.rpm monitor-helm-elastic-1.0-1.tis.src.rpm monitor-helm-1.0-4.tis.src.rpm containerd-1.3.3-1.tis.src.rpm libibverbs-41mlnx1-OFED.4.7.0.0.2.47329.tis.1.src.rpm kubernetes-1.18.1-1.tis.2.src.rpm distributedcloud-client-1.0.0-1.tis.0.src.rpm distributedcloud-1.0.0-1.tis.3.src.rpm cert-manager-helm-1.0-1.tis.src.rpm mariadb-10.3.17-1.el8.tis.15.src.rpm
######## Mon Nov 9 07:58:07 UTC 2020: build-rpm-parallel --std failed with rc=1
Mon Nov 9 07:58:08 UTC 2020: build-rpm-parallel --std failed with rc=1
/localdisk/loadbuild/hbai/c81stx/std/results/hbai-c81stx-3.0-std: build result, to find the detailed fail reason
Package tpm2-openssl-engine build failed after openssl upgrade to openssl-1.1.1-8.el8.x86_64.rpm for “DSO” related APIs are not exported now.
/localdisk/loadbuild/hbai/c81stx/std/results/hbai-c81stx-3.0-std/build.log shows:
=====================================================
cc -g -O2 -Werror -Wno-unused-parameter -Wno-missing-braces -fno-strict-aliasing -c -o e_tpm2.o e_tpm2.c
gcc -g -O2 -Werror -Wno-unused-parameter -Wno-missing-braces -fno-strict-aliasing -c -o e_tpm2_err.o e_tpm2_err.c
e_tpm2.c:71:10: fatal error: openssl/dso.h: No such file or directory
#include <openssl/dso.h>
^~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: e_tpm2.o] Error 1
make: *** Waiting for unfinished jobs....
e_tpm2_err.c:67:10: fatal error: openssl/dso.h: No such file or directory
#include <openssl/dso.h>
^~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: e_tpm2_err.o] Error 1
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.7AY8yF (%build)
Bad exit status from /var/tmp/rpm-tmp.7AY8yF (%build)
====================================================
I need to update tpm2-openssl-engine code to make it available to openssl 1.1.1.8.
B,R
Haiqing Bai
-- Sau!