Common Problems in Software Package Rebuild
Table 1 lists common problems in software package rebuild and handling suggestions.
/opt is the tool installation directory. Replace it with the actual directory.
Problem |
Possible Causes |
Handling Suggestions |
||||||
|---|---|---|---|---|---|---|---|---|
The SO, static library, JAR, or binary files are missing. |
SO, static library, JAR, or binary files cannot be automatically downloaded. |
Manually download the SO, static library, JAR, or binary files to the /opt/DevKit/workspace/xx/porting/data directory (xx indicates the user name), and rebuild the software package. NOTE:
|
||||||
There are x86-based SO, static library, or binary dependency files. |
The architecture of the dependency files is incorrect. |
Manually download the SO, static library, or binary files of the Arm architecture, replace the files with the same names in the /opt/DevKit/workspace/xx/porting/data directory (xx indicates the user name), and rebuild the software package. NOTE:
|
||||||
Failed to download JAR files. |
The network connection times out or the drive space is insufficient. |
|
||||||
Failed to analyze the SO, JAR, static library, or binary files in an RPM or DEB package. |
The drive space is insufficient, the RPM/DEB package format is incorrect, or the software package does not need to be ported. |
Check the size of the /opt directory, check whether the RPM/DEB package is complete and in correct format, or use the Porting Advisor to check whether the software package needs to be ported. |
||||||
Failed to extract and analyze the control file or spec file. |
The drive space is insufficient or the RPM or DEB package format is incorrect. |
Check the size of the /opt directory or check whether the RPM/DEB package is complete and in correct format. |
||||||
Failed to rebuild the software package. |
Files failed to be replaced (the jar command is missing or the JAR package has embedded JAR packages), the workspace rpmbuilder is not cleared, or an error occurs during RPM/DEB package analysis. |
|
||||||
Failed to rebuild the software package due to the lack of rpmrebuild. |
rpmrebuild is not installed on the server. |
|