Software Porting Assessment Failure Due to a Decompression Error
Symptom
During software porting assessment, the assessment result shows that the analysis fails. The following figure shows the error information:
Figure 1 Software porting assessment failure
Possible Causes
The log information includes the following error:
[2025-03-04 14:16:49] [WARNING] [ProcessID:27744] [gunicorn] [scan_api:scan_binary:163] The Scan task ended with exception: Decompression failed. The following compressed package is abnormal:/opt/DevKit/workspace/devadmin/porting/package/kafka-2.4.1-1.el7.noarch.rpm
Based on the error details, the pre-decompression process has failed. The possible causes are as follows:
- The backend decompression command fails to be executed.
- The RPM package is incomplete.
Troubleshooting Procedure
- Check that the following tools have been installed.
which rpm2cpio which cpio
- Decompress the RPM package.
rpm2cpio kafka-2.4.1-1.el7.noarch.rpm | cpio -di
- If the decompression fails, the RPM package is incomplete. Verify the RPM package integrity to ensure that the RPM package is consistent with the original software package on the website. If no integrity verification file is available, download the RPM package again and ensure that the download is not interrupted.
- If the package is decompressed correctly, you are advised to uninstall the DevKit and install the latest version. Then, perform software porting assessment again.
Parent topic: FAQs