intel / intel/confidential-computing.sgx

2.15 can't make rpm_psw_pkg

Open
#757 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.5k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

hi, I run `make rpm_psw_pkg` in 2.15, but I came across an error in building `libsgx-dcap-default-qpl`:
```shell
+ rm -fr /home/linux-sgx/external/dcap_source/QuoteGeneration/installer/linux/rpm/libsgx-dcap-default-qpl/libsgx-dcap-default-qpl-1.12.101.1/BUILDROOT/libsgx-dcap-default-qpl-1.12.101.1-1.el7.x86_64/libsgx-dcap-default-qpl-dev
+ sed -i 's#^/etc/sgx_default_qcnl.conf#%config &#' /home/linux-sgx/external/dcap_source/QuoteGeneration/installer/linux/rpm/libsgx-dcap-default-qpl/libsgx-dcap-default-qpl-1.12.101.1/SPECS/list-libsgx-dcap-default-qpl

+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /home/linux-sgx/external/dcap_source/QuoteGeneration/installer/linux/rpm/libsgx-dcap-default-qpl/libsgx-dcap-default-qpl-1.12.101.1/BUILD/libsgx-dcap-default-qpl-1.12.101.1
extracting debug info from /home/linux-sgx/external/dcap_source/QuoteGeneration/installer/linux/rpm/libsgx-dcap-default-qpl/libsgx-dcap-default-qpl-1.12.101.1/BUILDROOT/libsgx-dcap-default-qpl-1.12.101.1-1.el7.x86_64/usr/lib64/libdcap_quoteprov.so.1.11.101.1
/usr/lib/rpm/debugedit: canonicalization unexpectedly shrank by one character
error: Bad exit status from /var/tmp/rpm-tmp.YAFz9l (%install)

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

I discovered a similar error in [redhat forum](https://bugzilla.redhat.com/show_bug.cgi?id=304121), in which it says this error is probably caused by `double slashes` in path.
But I couldn't find `double slashes` in the header files or makefile.

(FYI: I built 2.14 successfully in the same machine)

Thanks!

------
OS version: centos 7
rpm version: RPM version 4.11.3
gcc/g++ version: 5.3

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.